Goods stoppage planning method, device, equipment, storage medium and program product

CN122797976APending Publication Date: 2026-09-22HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510355311.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-21
Publication Date
2026-09-22

AI Technical Summary

Technical Problem

[0003]在需要生产线停线的情况下,目前主要通过人工经验对生产线内未完成加工的货物进行停货规划,以在生产线回线(即生产线停线后重新启动生产线并恢复生产的过程)的情况下能够缩短停线恢复周期并降低生产损失,但是这种方式对于人工经验依赖高,效率较低

Benefits of technology

[0021]在本申请中,目标规划站点中待加工货物数量等于其对应的停货站点停货数量之和,能够确保货物的正确分配和追踪,从而避免了货物丢失或错配的问题。同时,规定了目标停货站点中的加工设备在特定时间段内加工的货物数量与其单位加工时长的关系,从而确保了加工设备在停线后的恢复加工能力能够得到充分利用,且不会超出其处理能力。此外,还约束了每个加工设备在最大加工时段内所加工的货物数量应等于停货站点的停货总数量,以及加工设备在多个加工站点进行加工所需的总时长不得超过特定时间段的时长,以保证停货规划的可行性和效率。通过引入这些停货约束条件,能够保证电子设备在制定停货方案时更加全面地考虑各种因素,从而制定出更加高效、灵活的停货计划,从而有助于减少停线期间的货物积压和延误,提高生产线的整体运行效率和灵活性。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122797976A_ABST
    Figure CN122797976A_ABST
Patent Text Reader

Abstract

The application discloses a kind of stoppage planning method, device, equipment, storage medium and program product, belong to data processing field.The method comprises: obtaining the attribute information of production line, stoppage information and cargo information;Determine target stoppage planning result based on the attribute information of production line, stoppage information and cargo information.This application determines the number of goods that each processing site stays at the stoppage start time through the attribute information of production line, stoppage information and cargo information, so it can reduce the problem of inaccurate stoppage planning caused by manual judgment or calculation error.And, stoppage planning can greatly shorten the time of automation, improve overall production efficiency, It can also consider the overall situation of production line and the influence of stoppage on each processing site, so as to make more reasonable stoppage planning.This helps to optimize the resource allocation of production line, reduce the waste of resources and capacity loss caused by stoppage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing, and in particular to a method, apparatus, equipment, storage medium, and program product for planning outages. Background Technology

[0002] In industrial settings, production line downtime refers to the temporary suspension of production during the manufacturing process. Production line downtime can be categorized into planned and unplanned downtime. Planned downtime is scheduled to ensure normal production operations, based on production needs and available resources. Unplanned downtime is caused by factors such as equipment malfunction, raw material shortages, product quality issues, unstable process parameters, or human error.

[0003] In situations where production lines need to be stopped, the current practice is mainly to plan the shutdown of unfinished goods on the production line based on human experience. This is to shorten the downtime recovery cycle and reduce production losses when the production line is restarted (i.e., the process of restarting the production line and resuming production after a shutdown). However, this method is highly dependent on human experience and has low efficiency. Summary of the Invention

[0004] This application provides a method, apparatus, device, storage medium, and computer program for stoppage planning, which can improve the efficiency of stoppage planning. The technical solution is as follows:

[0005] In a first aspect, a stoppage planning method is provided, the method comprising: acquiring attribute information, stoppage information, and cargo information of a production line, wherein the attribute information includes station attribute information of multiple processing stations on the production line, the stoppage information indicates the start time and duration of the stoppage of the production line, and the cargo information indicates the quantity of cargo to be processed corresponding to the multiple processing stations at a target time, wherein the start time of the stoppage is later than the target time; and determining a target stoppage planning result based on the attribute information, the stoppage information, and the cargo information, wherein the target stoppage planning result includes the quantity of cargo remaining at the multiple processing stations at the start time of the stoppage.

[0006] This application automatically determines the quantity of goods remaining at each processing station at the start of a stoppage by using production line attribute information, stoppage information, and goods information. This reduces inaccuracies in stoppage planning caused by human judgment or calculation errors. Furthermore, automated stoppage planning significantly shortens planning time, improves overall production efficiency, and comprehensively considers the overall production line situation and the impact of stoppages on individual processing stations, resulting in more rational stoppage plans. This helps optimize production line resource allocation and reduce resource waste and capacity loss caused by stoppages.

[0007] In one possible implementation, the site attribute information includes at least one of the following: allowable duration, recovery duration corresponding to at least one processing device within the processing site, and unit processing duration for each processing device within the processing site. The allowable duration is the maximum duration for which goods can remain at the processing site; the recovery duration is the time required for a processing device to regain its processing capacity after a shutdown; and the unit processing duration is the time it takes for the processing device to process one item.

[0008] It should be noted that, to avoid unnecessary chemical reactions, cross-contamination, or other quality problems at different stations on the production line, each station has a corresponding queue duration (i.e., the maximum time goods can remain at a given station while ensuring a high yield rate). If the time goods remain at a station is less than or equal to the corresponding queue duration, chemical reactions or contamination are generally unlikely. Conversely, if the time goods remain at a station exceeds the corresponding queue duration, chemical reactions or contamination are likely, leading to a decrease in the yield rate or even scrapping. Therefore, in this application, for any given processing station, the allowable time is less than or equal to the corresponding queue duration. This ensures that the time goods remain at that station does not adversely affect the yield rate.

[0009] It should also be noted that each of the aforementioned processing stations corresponds to a processing step on the production line, and goods can complete the processing step corresponding to that station at that station. The quantity of goods awaiting processing at each processing station refers to the quantity of goods that are currently at that processing station but have not yet been processed by that station, i.e., the quantity of goods waiting to be processed by that station. The goods awaiting processing at each processing station can also be referred to as work-in-process.

[0010] It is understandable that any processing equipment can correspond to one processing station or multiple processing stations. If the processing equipment corresponds to multiple processing stations, it means that the processing equipment can perform multiple processing steps on the production line.

[0011] In one possible implementation, the target stop-cargo planning result is determined based on attribute information, stop-line information, and cargo information, according to the stop-cargo constraints.

[0012] In one possible implementation, the site attribute information includes the allowable duration and the recovery duration corresponding to at least one processing device within each processing site. In this case, based on the allowable duration of the multiple processing sites, the recovery duration corresponding to at least one processing device within each processing site, and the shutdown information, the equipment processing time period corresponding to each of the multiple processing sites is determined. The equipment processing time period includes the maximum processing time period corresponding to at least one processing device within the corresponding processing site. The maximum processing time period indicates the time period during which the corresponding processing device can process the goods remaining at the corresponding processing site after the shutdown ends. Based on the attribute information, the goods information, and the equipment processing time periods corresponding to the multiple processing sites, the target shutdown planning result is determined according to the shutdown constraints.

[0013] Add the shutdown start time to the shutdown duration, and then add it to the recovery time corresponding to the target processing equipment to obtain the upper limit of the maximum processing time period corresponding to the target processing equipment. The target processing equipment is any processing equipment within the target processing station, and the target processing station is any processing station among multiple processing stations. The sum of the shutdown start time and the allowable duration of the target processing station is determined as the lower limit of the maximum processing time period corresponding to the target processing equipment.

[0014] In one possible implementation, the target stoppage planning result includes stoppage information corresponding to at least one stoppage station. A stoppage station refers to a processing station used to hold goods during the stoppage period. Each stoppage station corresponds to at least one planned station. A planned station refers to a processing station among multiple processing stations that has work-in-process at the target time. The stoppage information includes at least one stoppage quantity, which corresponds one-to-one with at least one planned station corresponding to the stoppage station. The stoppage quantity indicates the quantity of work-in-process held at the stoppage station in the work-in-process corresponding to the planned station.

[0015] It is understandable that, for the first planned station corresponding to the first stop station, the first stop station is the first planned station, or the first stop station is a processing station on the production line located after the first planned station, that is, the processing steps of the first planned station are earlier than or equal to the processing steps of the first stop station. The first stop station is any one of at least one stop station, and the first planned station is any one of at least one stop station corresponding to the first stop station.

[0016] Understandably, since each stoppage site corresponds to at least one planned site, correspondingly, each planned site also corresponds to at least one stoppage site. When a planned site corresponds to multiple stoppage sites, the work-in-process at that planned site can be stored at multiple stoppage sites. Similarly, when a stoppage site corresponds to multiple planned sites, that stoppage site can hold goods from multiple planned sites during line downtime.

[0017] In one possible implementation, based on attribute information, cargo information, and the equipment processing time periods corresponding to multiple processing stations, at least one candidate cargo stoppage planning result is determined according to the cargo stoppage constraint; and one candidate cargo stoppage planning result is selected from the at least one candidate cargo stoppage planning result to obtain the target cargo stoppage planning result.

[0018] In one possible implementation, the candidate stoppage planning results include stoppage information corresponding to at least one stoppage station. A stoppage station refers to a processing station used to hold goods during the stoppage period. Each stoppage station corresponds to at least one planned station. A planned station refers to a processing station among multiple processing stations that has goods to be processed at the target time. The stoppage information includes at least one stoppage quantity, and at least one stoppage quantity corresponds one-to-one with at least one planned station corresponding to the stoppage station. The stoppage quantity indicates the number of goods held at the stoppage station among the goods to be processed corresponding to the planned station.

[0019] The conditions for suspending shipments include the following:

[0020] The quantity of goods to be processed corresponding to the target planning station is equal to the sum of the quantities of goods stopped at at least one of the target planning station's corresponding stop stations. The target planning station is any one of the processing stations that has goods to be processed at the target time. The product of the quantity m of goods processed by the target processing equipment in the target stop station in time period t and the unit processing time of the target processing equipment is equal to the time required for the target processing equipment in the target stop station to process m goods in time period t. The target stop station is any one of the at least one stop station, and the target processing equipment refers to any one of the processing equipment in the target stop station. The quantity of goods processed by each processing equipment in the target stop station in its corresponding maximum processing time period is equal to the total quantity of goods stopped at the target stop station. The total quantity of goods stopped at the target stop station is the sum of the quantities of goods stopped at at least one of the target stop stations. The sum of the time required for the target processing equipment to process goods at each of its corresponding processing stations in time period t is less than or equal to the duration of time period t.

[0021] In this application, the quantity of goods to be processed at the target planning site is equal to the sum of the quantities stopped at its corresponding stoppage sites. This ensures the correct allocation and tracking of goods, thereby avoiding the problems of lost or mismatched goods. Simultaneously, the relationship between the quantity of goods processed by the processing equipment at the target stoppage site within a specific time period and its unit processing time is specified. This ensures that the processing equipment's resumption of processing capacity after a shutdown is fully utilized and does not exceed its processing capacity. Furthermore, it constrains that the quantity of goods processed by each processing equipment during its maximum processing period should equal the total quantity stopped at the stoppage sites, and that the total processing time required for processing equipment across multiple processing sites should not exceed the duration of the specific time period, thus guaranteeing the feasibility and efficiency of the stoppage planning. By introducing these stoppage constraints, it ensures that electronic equipment can more comprehensively consider various factors when formulating stoppage plans, thereby developing more efficient and flexible stoppage plans. This helps reduce goods backlog and delays during downtime, improving the overall operating efficiency and flexibility of the production line.

[0022] In one possible implementation, the process of selecting a candidate stop-shipment planning result from at least one candidate stop-shipment planning result to obtain a target stop-shipment planning result includes: determining the processing score corresponding to each of the at least one candidate stop-shipment planning results, wherein the processing score indicates the completion degree of the processing flow of goods processed according to the corresponding candidate stop-shipment planning result before the start time of the stop-line; and selecting a candidate stop-shipment planning result from the at least one candidate stop-shipment planning result based on the processing score corresponding to each of the at least one candidate stop-shipment planning results to obtain the target stop-shipment planning result.

[0023] In this application, the processing score reflects the completion rate of the processing flow of goods processed according to the corresponding candidate stoppage planning results before the start of the stoppage, thus intuitively reflecting the differences in goods processing efficiency of different candidate schemes before the stoppage. Therefore, selecting a candidate stoppage planning result from at least one candidate stoppage planning result based on the processing score can ensure that the final determined target stoppage planning result can maximize the completion of the goods processing flow before the stoppage, reducing the impact of the stoppage on the production schedule.

[0024] The candidate stop-shipment plan with the highest processing score among at least one candidate stop-shipment plan is determined as the target stop-shipment plan.

[0025] Since the candidate stoppage plan with the highest processing score means that the processing flow of goods has been maximized before the line stoppage begins, this application identifies the candidate stoppage plan with the highest processing score as the target stoppage plan. This helps reduce production interruptions caused by line stoppages and improves the overall operating efficiency of the production line. Furthermore, since a high processing score often means that the processing equipment is used more efficiently before the line stoppage, this reduces the idle time of the processing equipment before the stoppage and improves resource utilization efficiency.

[0026] Secondly, a stoppage planning device is provided, which has the function of implementing the stoppage planning method described in the first aspect. The stoppage planning device includes at least one module for implementing the stoppage planning method provided in the first aspect.

[0027] Thirdly, an electronic device is provided, comprising a processor and a memory, the memory being used to store a computer program for executing the outage planning method provided in the first aspect. The processor is configured to execute the computer program stored in the memory to implement the outage planning method described in the first aspect.

[0028] Optionally, the electronic device may further include a communication bus for establishing a connection between the processor and the memory.

[0029] Fourthly, a computer-readable storage medium is provided, wherein a computer program is stored therein, and when the computer program is run on a computer or processor, the computer or processor performs the steps of the suspension planning method described in the first aspect.

[0030] Fifthly, a computer program product is provided, comprising computer instructions that, when executed on a computer or processor, cause the computer to perform the steps of the shutdown planning method described in the first aspect. Alternatively, a computer program is provided that, when executed on a computer or processor, causes the computer or processor to perform the steps of the shutdown planning method described in the first aspect.

[0031] The technical effects achieved by the second, third, fourth, and fifth aspects mentioned above are similar to those achieved by the corresponding technical means in the first aspect, and will not be repeated here. Attached Figure Description

[0032] Figure 1 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;

[0033] Figure 2This is a flowchart of a stop-shipment planning method provided in an embodiment of this application;

[0034] Figure 3 This is a schematic diagram of the structure of a stop-shipment planning device provided in an embodiment of this application. Detailed Implementation

[0035] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.

[0036] To facilitate understanding, before providing a detailed explanation of the outage planning method provided in the embodiments of this application, the application scenarios and implementation environment involved in the embodiments of this application will be introduced first.

[0037] First, the application scenarios involved in the embodiments of this application will be introduced.

[0038] In industrial settings, especially in fields with extremely high requirements for precision, hygiene standards, and quality control, such as chip manufacturing, food processing, pharmaceutical production, and chemical synthesis, production line shutdowns are not only an important part of the production process, but also a critical moment that tests a company's emergency response capabilities and production management level.

[0039] Production line downtime refers to the temporary suspension of production during the manufacturing process. Production line downtime can be divided into planned and unplanned downtime. Planned downtime is arranged to ensure normal production schedules, based on production needs and available resources. Unplanned downtime is caused by equipment failure, raw material shortages, product quality issues, unstable process parameters, or human error. In these industrial scenarios, production is typically organized in batches. A batch refers to a collection of goods or products of the same type produced within the same time period, following the same processes and standards. Batch management is crucial for ensuring product quality, controlling production costs, and improving production efficiency. When a production line needs to be stopped, unfinished batches of goods must be properly stored to avoid batch mixing, spoilage, or damage—this is known as stoppage planning.

[0040] Currently, most companies still rely on manual experience for stoppage planning. This means that technicians, based on their understanding of the production process and the characteristics of the goods, as well as past handling experience, formulate stoppage plans for goods that have not yet been processed. Essentially, they rely on manual experience to determine where the goods should be placed during the stoppage. The main purpose of this is to keep the goods at safe stations (i.e., stations where excessive waiting time will not adversely affect the yield of the goods) during the stoppage and return-to-line phases, thus ensuring the quality of the goods. Return-to-line refers to the process of restarting the production line and resuming normal production after a stoppage.

[0041] However, this approach relies heavily on human experience, and human decision-making can be influenced by subjective factors, leading to inconsistencies and uncertainties in decisions. In addition, human planning is relatively inefficient and struggles to cope with complex and ever-changing production environments and emergencies. In the face of emergency shutdowns, humans often need more time to assess all factors and make decisions, which may result in the inability to make the optimal decision in a timely manner, leading to poor timeliness. Furthermore, differences in experience, judgment, and emergency response capabilities among individuals may result in unreasonable shutdown planning, increasing the difficulty and time required to resume production.

[0042] Based on this, this application provides a stoppage planning method that automatically determines the quantity of goods remaining at each processing station at the start of a stoppage by using production line attribute information, stoppage information, and goods information. This reduces the problem of inaccurate stoppage planning caused by human judgment or calculation errors. Furthermore, automated stoppage planning significantly shortens the planning time, improves overall production efficiency, and comprehensively considers the overall situation of the production line and the impact of the stoppage on each processing station, thereby formulating a more reasonable stoppage plan. This helps optimize the resource allocation of the production line and reduce resource waste and capacity loss caused by stoppages.

[0043] The execution entity of the suspension planning method provided in this application can be a cloud platform or an electronic device. For example, a cloud platform can be a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms, or a cloud computing service center. Similarly, an electronic device can be a PC (Personal Computer), mobile phone, smartphone, tablet computer, etc.

[0044] Those skilled in the art should understand that the cloud platforms and electronic devices described above are merely examples. Other existing or future cloud platforms and electronic devices that are applicable to the embodiments of this application should also be included within the scope of protection of the embodiments of this application, and are hereby incorporated by reference.

[0045] Finally, the implementation environment involved in the embodiments of this application will be introduced.

[0046] Please refer to Figure 1 , Figure 1 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application. The electronic device may be... Figure 1The electronic device 101 shown is included. The electronic device includes at least one processor 101, a communication bus 102, a memory 103, and at least one communication interface 104.

[0047] Processor 101 can be a general-purpose central processing unit (CPU), a network processor (NP), a microprocessor, or one or more integrated circuits for implementing the solutions of this application, such as application-specific integrated circuits (ASICs), programmable logic devices (PLDs), or combinations thereof. The aforementioned PLD can be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), generic array logic (GAL), or any combination thereof.

[0048] The communication bus 102 is used to transmit information between the aforementioned components. The communication bus 102 can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, it is represented by only one thick line in the figure, but this does not mean that there is only one bus or one type of bus.

[0049] The memory 103 may be a read-only memory (ROM), a random access memory (RAM), an electrically erasable programmable read-only memory (EEPROM), an optical disc (including a compact disc read-only memory (CD-ROM), a compressed optical disc, a laser disc, a digital versatile optical disc, a Blu-ray disc, etc.), a magnetic disk storage medium, or other magnetic storage device, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures that can be accessed by a computer, but not limited thereto. The memory 103 may exist independently and be connected to the processor 101 via the communication bus 102. The memory 103 may also be integrated with the processor 101.

[0050] Communication interface 104 uses any transceiver-like device for communicating with other devices or communication networks. Communication interface 104 includes a wired communication interface and may also include a wireless communication interface. The wired communication interface may be, for example, an Ethernet interface. The Ethernet interface may be an optical interface, an electrical interface, or a combination thereof. The wireless communication interface may be a wireless local area network (WLAN) interface, a cellular network communication interface, or a combination thereof.

[0051] In a specific implementation, as one embodiment, the processor 101 may include one or more CPUs, such as Figure 1 CPU0 and CPU1 are shown in the diagram.

[0052] In a specific implementation, as one example, an electronic device may include multiple processors, such as... Figure 1 The processors 101 and 105 shown are illustrated. Each of these processors may be a single-core processor or a multi-core processor. Here, "processor" may refer to one or more devices, circuits, and / or processing cores used to process data (such as computer program instructions).

[0053] In a specific implementation, as one embodiment, the electronic device may further include an output device 106 and an input device 107. The output device 106 communicates with the processor 101 and can display information in various ways. For example, the output device 106 may be a liquid crystal display (LCD), a light-emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector, etc. The input device 107 communicates with the processor 101 and can receive user input in various ways. For example, the input device 107 may be a mouse, keyboard, touchscreen device, or sensing device, etc.

[0054] In some embodiments, memory 103 stores program code 110 for executing the scheme of this application, and processor 101 can execute the program code 110 stored in memory 103. The program code 110 may include one or more software modules, and the electronic device can implement the following by using processor 101 and the program code 110 in memory 103. Figure 2 The example provides a method for planning outages.

[0055] It should be noted that the application scenarios and implementation environments described in the embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. As those skilled in the art will know, with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.

[0056] The following is a detailed explanation of the outage planning method provided in the embodiments of this application.

[0057] Figure 2 This is a flowchart illustrating a stockout planning method provided in an embodiment of this application. This method is applied to a cloud platform or electronic device. For ease of description, the following section will use an electronic device as the execution subject for detailed explanation. Please refer to... Figure 2 The method includes the following steps.

[0058] Step 201: Obtain the production line's attribute information, stoppage information, and cargo information. The attribute information includes the site attribute information of multiple processing stations on the production line. The stoppage information indicates the start time and duration of the stoppage. The cargo information indicates the quantity of cargo to be processed at each of the multiple processing stations at the target time. The stoppage start time is later than the target time.

[0059] In some embodiments, the site attribute information includes at least one of the following: allowable duration, recovery duration corresponding to at least one processing device within the processing site, and unit processing duration for each processing device within the processing site. The allowable duration is the maximum duration for which goods remain at the processing site; the recovery duration is the time required for a processing device to regain its processing capacity after a shutdown; and the unit processing duration is the time it takes for the processing device to process one item.

[0060] It's important to note that in some industrial sectors, particularly those with extremely high requirements for product quality and safety, such as chip manufacturing, food processing, pharmaceutical production, and chemical synthesis, every step of the production process is crucial. In these industries, the handling of goods not only affects production efficiency but also directly impacts the final product quality and consumer health and safety. For example, in chip manufacturing, precision chips undergo numerous complex processes during production, such as photolithography, etching, and ion implantation. Each step requires strict control of time and environmental conditions to prevent damage to the chip surface or malfunctions in the internal circuitry. Similarly, in food processing, food undergoes multiple stages on the production line, including washing, cutting, cooking, and packaging. To ensure food hygiene, safety, and freshness, queue times at each station are carefully calculated to prevent prolonged exposure to unsuitable environments that could lead to spoilage or contamination. Likewise, in pharmaceutical production, drug manufacturing demands not only high cleanliness but also strict control of temperature, humidity, and light conditions during the production process. Even minor deviations can affect the efficacy and safety of the drug. Therefore, to avoid unnecessary chemical reactions, cross-contamination or other quality problems at different stations on the production line, each station on the production line has its corresponding queue time (i.e., the maximum time that goods can stay at the corresponding station while ensuring the yield rate).

[0061] If the time goods spend at a processing station is less than or equal to the corresponding queue time, the goods generally will not experience chemical reactions or contamination. However, if the time goods spend at a processing station exceeds the corresponding queue time, the goods will generally experience chemical reactions or contamination, leading to a decrease in product yield or even scrapping. Therefore, in this embodiment, for any one of the multiple processing stations, the allowable time for that processing station is less than or equal to the corresponding queue time. This ensures that the time goods spend at that station will not adversely affect the product yield.

[0062] It should also be noted that each of the aforementioned processing stations corresponds to a processing step on the production line, and goods can complete the processing step corresponding to that station at that station. The quantity of goods awaiting processing at each processing station refers to the quantity of goods that are currently at that processing station but have not yet been processed by that station at the target time, i.e., the quantity of goods waiting to be processed by that station. For ease of description, the goods awaiting processing at each processing station will be referred to as work-in-process.

[0063] It is understandable that any processing equipment can correspond to one processing station or multiple processing stations. If the processing equipment corresponds to multiple processing stations, it means that the processing equipment can perform multiple processing steps on the production line.

[0064] To facilitate understanding, the attribute information of the above production line will be introduced again in Table 1 below.

[0065] Table 1

[0066]

[0067] As shown in Table 1, the production line includes 100 processing stations, of which processing stations 10-13 are taken as an example.

[0068] Processing station 10 has a permitted duration of 1 hour and includes processing equipment (EQP) A. EQP A has a recovery time of 0 hours, and its unit processing time is 6 minutes per item. Processing station 11 has a permitted duration of 2 hours and includes EQP B. EQP B has a recovery time of 1 hour, and its unit processing time is 5 minutes per item. Processing station 12 has a permitted duration of 100 hours and includes processing equipment EQP C. EQP C has a recovery time of 0 hours, and its unit processing time is 6 minutes per item. Processing station 13 has a permitted duration of 6 hours and includes processing equipment EQP C and EQP D. EQP D has a recovery time of 1 hour, and its unit processing time is 6 minutes per item. At the target time, processing station 10 has 20 goods to be processed, processing station 11 has 20 goods to be processed, and processing stations 12 and 13 each have 0 goods to be processed.

[0069] Step 202: Based on attribute information, line stop information, and cargo information, determine the target cargo stop planning result. The target cargo stop planning result includes the quantity of cargo that is stopped at each of the multiple processing stations at the start of the line stop.

[0070] In one possible implementation, the target stop-cargo planning result is determined based on attribute information, stop-line information, and cargo information, according to the stop-cargo constraints.

[0071] In some embodiments, the site attribute information includes the allowable duration and the recovery duration corresponding to at least one processing device in the processing site. In this case, the process of determining the target stop-cargo planning result based on the attribute information, stop-line information and cargo information, according to the stop-cargo constraints, will be introduced in steps (1)-(2).

[0072] (1) Based on the allowable duration of multiple processing stations, the recovery duration of at least one processing equipment in each processing station, and the shutdown information, determine the equipment processing time period corresponding to each of the multiple processing stations. The equipment processing time period includes the maximum processing time period corresponding to at least one processing equipment in the corresponding processing station. The maximum processing time period indicates the time period during which the corresponding processing equipment can process the goods to be processed (i.e., work-in-process) at the corresponding processing station after the shutdown ends.

[0073] Add the shutdown start time to the shutdown duration, and then add it to the recovery time corresponding to the target processing equipment to obtain the upper limit of the maximum processing time period corresponding to the target processing equipment. The target processing equipment is any processing equipment within the target processing station, and the target processing station is any processing station among multiple processing stations. The sum of the shutdown start time and the allowable duration of the target processing station is determined as the lower limit of the maximum processing time period corresponding to the target processing equipment.

[0074] If the production line stoppage starts at time T, the target time is T-10 hours, and the stoppage duration is 4 hours, then taking processing stations 12 and 13 in Table 1 above as examples, the upper limit of the maximum processing time corresponding to processing equipment C in processing station 12 is the stoppage start time T plus the stoppage duration of 4 hours, and then added to the recovery time of 0 hours corresponding to processing equipment C, i.e., T+4; the lower limit of the maximum processing time corresponding to processing equipment C is the sum of the stoppage start time T and the allowable duration of 100 hours for processing station 12, i.e., T+100.

[0075] The upper limit of the maximum processing time for processing equipment C in processing station 13 is the sum of the shutdown start time T, the shutdown duration of 4 hours, and the recovery time of 0 hours for processing equipment C, i.e., T+4. The lower limit of the maximum processing time for processing equipment C is the sum of the shutdown start time T and the allowable duration of 6 hours for processing station 13, i.e., T+6. During the time period [T+4, T+6], the work-in-process at processing stations 12 and 13 share the processing capacity of processing equipment C (i.e., during the time period [T+4, T+6], processing equipment C can execute the processing steps corresponding to processing station 12 or processing station 13). During the time period [T+6, T+100], only the work-in-process at processing station 12 can continue to use the processing capacity of processing equipment C. The upper limit of the maximum processing time corresponding to processing equipment D in processing station 13 is the sum of the shutdown start time T, the shutdown duration of 4 hours, and the recovery time of 1 hour corresponding to processing equipment D, i.e., T+5; the lower limit of the maximum processing time corresponding to processing equipment D is the sum of the shutdown start time T and the allowable duration of 6 hours of processing station 13, i.e., T+6.

[0076] (2) Based on attribute information, cargo information and the equipment processing time periods corresponding to multiple processing stations, determine the target cargo stop planning result according to the cargo stop constraints.

[0077] In some embodiments, the target stoppage planning result includes stoppage information corresponding to at least one stoppage station. A stoppage station refers to a processing station used to hold goods during the stoppage period. Each stoppage station corresponds to at least one planned station. A planned station refers to a processing station among multiple processing stations that has work-in-process at the target time. The stoppage information includes at least one stoppage quantity, which corresponds one-to-one with at least one planned station corresponding to the stoppage station. The stoppage quantity indicates the number of work-in-process corresponding to the planned station that is held at the stoppage station.

[0078] It is understandable that, for the first planned station corresponding to the first stop station, the first stop station is the first planned station, or the first stop station is a processing station on the production line located after the first planned station, that is, the processing steps of the first planned station are earlier than or equal to the processing steps of the first stop station. The first stop station is any one of at least one stop station, and the first planned station is any one of at least one stop station corresponding to the first stop station.

[0079] Understandably, since each stoppage site corresponds to at least one planned site, correspondingly, each planned site also corresponds to at least one stoppage site. When a planned site corresponds to multiple stoppage sites, the work-in-process at that planned site can be stored at multiple stoppage sites. Similarly, when a stoppage site corresponds to multiple planned sites, that stoppage site can hold goods from multiple planned sites during line downtime.

[0080] In some embodiments, based on attribute information, cargo information, and the equipment processing time periods corresponding to multiple processing stations, at least one candidate cargo stoppage planning result is determined according to cargo stoppage constraints; a candidate cargo stoppage planning result is selected from the at least one candidate cargo stoppage planning result to obtain the target cargo stoppage planning result.

[0081] For example, the candidate stoppage planning results include stoppage information corresponding to at least one stoppage station. A stoppage station refers to a processing station used to hold goods during the stoppage period. Each stoppage station corresponds to at least one planned station. A planned station refers to a processing station among multiple processing stations that has goods to be processed at the target time. The stoppage information includes at least one stoppage quantity. The at least one stoppage quantity corresponds one-to-one with the at least one planned station corresponding to the stoppage station. The stoppage quantity indicates the number of goods held at the stoppage station among the goods to be processed corresponding to the planned station.

[0082] The suspension of shipment constraints include the following conditions A through D:

[0083] A. The quantity of goods to be processed corresponding to the target planning station is equal to the sum of the quantities of goods stopped at at least one stop station corresponding to the target planning station. The target planning station is any one of the processing stations that has goods to be processed at the target time.

[0084] B. The product of the number of goods m processed by the target processing equipment in the target stop site in time period t and the unit processing time of the target processing equipment is equal to the time required for the target processing equipment in the target stop site to process m goods in time period t. The target stop site is any one of at least one stop site, and the target processing equipment refers to any one of the processing equipment in the target stop site.

[0085] C. The quantity of goods processed by each processing device in the target stop site during its corresponding maximum processing time period is equal to the total quantity of goods stopped at the target stop site. The total quantity of goods stopped at the target stop site is the sum of at least one quantity of goods stopped at the target stop site.

[0086] D. The sum of the processing times required for the target processing equipment to perform processing at its respective processing stations within time period t is less than or equal to the duration of time period t.

[0087] In this embodiment, the quantity of goods to be processed at the target planning station is equal to the sum of the quantities stopped at its corresponding stop stations, ensuring correct allocation and tracking of goods and avoiding issues of lost or mismatched goods. Simultaneously, the relationship between the quantity of goods processed by processing equipment at the target stop station within a specific time period and its unit processing time is specified, ensuring that the processing equipment's recovery processing capacity after a shutdown is fully utilized and does not exceed its processing capacity. Furthermore, it is constrained that the quantity of goods processed by each processing equipment within its maximum processing period should equal the total quantity stopped at the stop stations, and that the total processing time required for processing equipment across multiple processing stations should not exceed the duration of the specific time period, thus guaranteeing the feasibility and efficiency of the stoppage planning. By introducing these stoppage constraints, it is possible to ensure that electronic equipment considers various factors more comprehensively when formulating stoppage plans, thereby developing more efficient and flexible stoppage plans, which helps reduce goods backlog and delays during downtime and improves the overall operating efficiency and flexibility of the production line.

[0088] For example, the above quality constraints can be expressed as formulas (1)-(4) below, where formula (1) corresponds to condition A in the quality constraints, formula (2) corresponds to condition B in the quality constraints, formula (3) corresponds to condition C in the quality constraints, and formula (4) corresponds to condition D in the quality constraints:

[0089]

[0090] Where Des(i) includes the i-th processing station among multiple processing stations and the processing stations after the i-th processing station, the i-th processing station being any one of the multiple planned stations, w i This refers to the quantity of goods to be processed at the i-th processing station at the target time, x. i,j This refers to the number of goods awaiting processing at the i-th processing station that are stationed at the j-th stopping station at the start of the line stop. Ori(j) includes at least one planned station corresponding to the j-th stopping station. Tw(e,j) refers to the maximum processing time of processing equipment e within the j-th stopping station. e,j,t This refers to the quantity of goods processed by processing equipment e at the j-th stopping point within time period t, c e,j This refers to the unit processing time of processing equipment e within the j-th stop site, d e,j,t This refers to the processing equipment e within the j-th stop site processing y within the time period t. e,j,t The time required for each device, Interval t Let m(e) be the total duration of time period t, and m(e) include at least one stop site containing processing equipment e among multiple stop sites.

[0091] It is understood that the above quality constraints expressed by formulas (1)-(4) are merely examples and are not intended to limit this application. In practical applications, formulas (1) to (4) can be flexibly modified and adjusted according to specific application scenarios, technical requirements, or optimization goals. Such modifications and adjustments may include, but are not limited to, modifications to variables, coefficients, operation symbols, or the order of operations in the formulas, as well as the introduction of new variables or parameters to more accurately describe the quality constraints. Any modified formulas that express the same or similar meaning as the essential meaning of the above quality constraints should be included within the scope of protection of this application.

[0092] In some embodiments, the process of selecting a candidate stop-shipment planning result from at least one candidate stop-shipment planning result to obtain the target stop-shipment planning result includes the following steps (1) and (2).

[0093] (1) Determine the processing score corresponding to at least one candidate stop planning result. The processing score indicates the completion of the processing flow of goods processed according to the corresponding candidate stop planning result before the start of the stop line.

[0094] For each candidate stoppage planning result in at least one candidate stoppage planning result, based on the stoppage information corresponding to at least one stoppage station included in the candidate stoppage planning result, the stoppage score of each stoppage station in the at least one stoppage station is determined, and the sum of the stoppage scores of each stoppage station in the at least one stoppage station is determined as the processing score corresponding to the candidate stoppage planning result.

[0095] The process of determining the outage score of each outage station among the at least one outage stations based on the outage information corresponding to each outage station in the candidate outage planning results includes: for each outage station among the at least one outage stations, based on the outage information of the outage station, determining at least one sub-score corresponding to the outage station, wherein the at least one sub-score corresponds one-to-one with at least one planned station corresponding to the outage station, and the sum of the at least one sub-score is determined as the outage score of the outage station.

[0096] For any out-of-stock quantity included in the out-of-stock information of the out-of-stock station, multiply the out-of-stock quantity by the target difference to obtain a sub-score corresponding to the out-of-stock station. The target difference is the difference between the order of the out-of-stock station on the production line and the order of the planned station corresponding to the out-of-stock quantity on the production line. By processing each out-of-stock quantity in the same way, at least one sub-score corresponding to the out-of-stock station can be obtained.

[0097] It should be noted that the order of a stopover site on the production line refers to the order of the processing steps corresponding to that stopover site. Similarly, the order of a planned site on the production line refers to the order of the processing steps corresponding to that planned site. For example, if the processing step corresponding to a stopover site is step 13, then the order of the stopover site on the production line is 13; if the processing step corresponding to a planned site is step 10, then the order of the planned site on the production line is 10. In this case, the target difference is the difference between 13 and 10, which is 13 - 10 = 3.

[0098] (2) Based on the processing scores corresponding to at least one candidate stop-shipment planning result, select one candidate stop-shipment planning result from at least one candidate stop-shipment planning result to obtain the target stop-shipment planning result.

[0099] In this embodiment, the processing score reflects the completion rate of the processing flow of goods processed according to the corresponding candidate stoppage planning results before the start of the stoppage, thus intuitively reflecting the differences in goods processing efficiency of different candidate schemes before the stoppage. Therefore, selecting a candidate stoppage planning result from at least one candidate stoppage planning result based on the processing score can ensure that the final determined target stoppage planning result can complete the goods processing flow to the maximum extent before the stoppage, reducing the impact of the stoppage on the production schedule.

[0100] The candidate stop-shipment plan with the highest processing score among at least one candidate stop-shipment plan is determined as the target stop-shipment plan.

[0101] Since the candidate stoppage plan with the highest processing score means that the processing flow of goods has been maximized before the line stoppage begins, this embodiment of the application determines the candidate stoppage plan with the highest processing score as the target stoppage plan. This helps to reduce production interruptions caused by line stoppages and improve the overall operating efficiency of the production line. Furthermore, since a high processing score often means that the processing equipment is used more efficiently before the line stoppage, this reduces the idle time of the processing equipment before the line stoppage and improves resource utilization efficiency.

[0102] In other embodiments, the target stop-shipment planning result can be obtained by directly selecting one candidate stop-shipment planning result from at least one candidate stop-shipment planning result according to the following formula (5).

[0103]

[0104] Where S refers to the target stop-shipment planning result, X1 refers to the processing score of the first candidate stop-shipment planning result among at least one candidate stop-shipment planning result, X n X refers to the processing score of the last candidate stop-shipment plan among at least one candidate stop-shipment plan results. q This refers to the processing score of any one of the candidate stop-shipment planning results in at least one candidate stop-shipment planning result, where n is the number of at least one candidate stop-shipment planning results, and x... i,j This refers to the quantity of goods awaiting processing at the i-th processing station that remained at the j-th stopping station at the start of the line stop, v i,j It refers to the difference between i and j.

[0105] It is understood that the above formula (5) is merely an example and is not intended to limit this application. In practical applications, formula (5) can be flexibly modified and adjusted according to specific application scenarios, technical requirements, or optimization goals. Any modified formula that expresses the same or similar meaning as the above formula (5) should be included within the scope of protection of this application.

[0106] In some embodiments, the target stop planning result can be determined based on the above formulas (1)-(5) by various methods such as mixed integer linear programming (MILP) solvers or heuristic algorithms.

[0107] It should be noted that mixed-integer linear programming (MILP) is an optimization technique widely used in various fields, often for solving problems related to enterprise production planning, route planning, and facility location. The function of the MILP solver is to find integer solutions that satisfy all constraints and optimize (maximize or minimize) the objective function.

[0108] It should also be noted that the basic principle of heuristic algorithms is to select appropriate rules based on the characteristics of the problem to quickly narrow down the solution space and thus find a better solution. It usually consists of two main components: the solution space and the objective function. The solution space defines the set of possible solutions to the problem (the solution space in this embodiment is the above formula (1)-(4)), while the objective function (the objective function in this embodiment is the above formula (5)) defines how to evaluate the quality of the solution. The algorithm steps may vary depending on the type of heuristic algorithm, but usually include stages such as initialization, evaluation, search (or generation of new solutions), acceptance or rejection of new solutions, and termination conditions.

[0109] Furthermore, the aforementioned heuristic algorithms include genetic algorithms, simulated annealing, ant colony optimization, particle swarm optimization, and tabu search. These algorithms have wide applications in combinatorial optimization, artificial intelligence, and search problems. Among them, genetic algorithms simulate the genetic and mutation processes in biological evolution, gradually finding the optimal solution through operations such as selection, crossover, and mutation. It is suitable for solving various complex optimization problems, such as function optimization and combinatorial optimization. Simulated annealing simulates the heat conduction process in metal annealing, allowing for a certain probability of accepting a poor solution, thus avoiding getting trapped in local optima. As the algorithm progresses, the probability of accepting a poor solution gradually decreases, eventually stabilizing near the global optimum. It is suitable for solving complex problems with many local optima. Ant colony optimization simulates the pheromone transfer process during ant foraging, finding the optimal solution by simulating ant behavior. It is suitable for solving various path planning problems. Particle swarm optimization simulates the group behavior and interactions during the movement of flocks of birds or schools of fish, finding the optimal solution by simulating particle behavior and interactions. It is suitable for solving continuous optimization problems and combinatorial optimization problems. Tabu search algorithms reduce repetitive searches by maintaining a tabu list to avoid repeatedly visiting solutions that have already been explored. It is suitable for solving various constrained optimization problems.

[0110] In some embodiments, in addition to determining the processing score of the candidate stop-shipment planning results and determining the candidate stop-shipment planning result with the largest processing score as the target stop-shipment planning result, any one of the at least one candidate stop-shipment planning results can also be directly determined as the target stop-shipment planning result. This application does not limit this.

[0111] This application's embodiments automatically determine the quantity of goods remaining at each processing station at the start of a stoppage by using production line attribute information, stoppage information, and goods information. This reduces inaccurate stoppage planning caused by human judgment or calculation errors. Furthermore, automated stoppage planning significantly shortens planning time, improves overall production efficiency, and comprehensively considers the overall production line situation and the impact of stoppages on individual processing stations, thus developing more reasonable stoppage plans. This helps optimize production line resource allocation and reduce resource waste and capacity loss caused by stoppages.

[0112] Furthermore, in this embodiment, for any one of the multiple processing stations, the allowable time for that processing station is less than or equal to the queue time for that station. This ensures that the duration of goods staying at that station does not adversely affect the yield rate. The number of goods to be processed at the target planning station is equal to the sum of the number of goods stopped at its corresponding stop stations, ensuring correct allocation and tracking of goods and avoiding the problems of lost or mismatched goods. Simultaneously, the relationship between the number of goods processed by the processing equipment at the target stop station within a specific time period and its unit processing time is specified, ensuring that the processing equipment's recovery processing capacity after a shutdown is fully utilized and does not exceed its processing capacity. In addition, it is constrained that the number of goods processed by each processing equipment within the maximum processing period should be equal to the total number of goods stopped at the stop stations, and the total time required for processing equipment to process goods at multiple processing stations should not exceed the duration of the specific time period, to ensure the feasibility and efficiency of the stop planning. By introducing these stoppage constraints, it is possible to ensure that electronic equipment manufacturers consider various factors more comprehensively when formulating stoppage plans, thereby developing more efficient and flexible stoppage plans. This helps to reduce inventory backlog and delays during line stoppages and improves the overall operational efficiency and flexibility of the production line.

[0113] Since the processing score reflects the completion rate of the processing flow of goods processed according to the corresponding candidate stoppage planning results before the start of the stoppage, it directly reflects the differences in goods processing efficiency of different candidate schemes before the stoppage. Therefore, selecting a candidate stoppage planning result from at least one candidate stoppage planning result based on the processing score can ensure that the final determined target stoppage planning result can complete the goods processing flow to the maximum extent before the stoppage, reducing the impact of the stoppage on the production schedule. Since the candidate stoppage planning result with the largest processing score means that the goods processing flow has been advanced to the maximum extent before the stoppage starts, this embodiment of the application determines the candidate stoppage planning result with the largest processing score as the target stoppage planning result. This helps to reduce production interruptions during the stoppage and improve the overall operating efficiency of the production line. Furthermore, since a high processing score often means that the processing equipment is used more efficiently before the stoppage, this can reduce the idle time of the processing equipment before the stoppage and improve resource utilization efficiency.

[0114] Figure 3 This is a schematic diagram of a stop-shipment planning device provided in an embodiment of this application. This stop-shipment planning device can be implemented as part or all of the aforementioned electronic device by software, hardware, or a combination of both. See also... Figure 3 The device includes an acquisition module 301 and a determination module 302.

[0115] The acquisition module is used to acquire the production line's attribute information, stoppage information, and goods information. The attribute information includes the station attribute information of multiple processing stations on the production line. The stoppage information indicates the start time and duration of the stoppage. The goods information indicates the quantity of goods to be processed at each processing station at the target time. The stoppage start time is later than the target time. For detailed implementation processes, please refer to the corresponding content in the above embodiments; they will not be repeated here.

[0116] The determination module is used to determine the target stop-cargo planning result based on attribute information, stop-line information, and cargo information. The target stop-cargo planning result includes the quantity of cargo at each of the multiple processing stations at the start of the stop. For detailed implementation processes, please refer to the corresponding content in the above embodiments, which will not be repeated here.

[0117] In one possible implementation, the determining module 302 is specifically used for:

[0118] Based on attribute information, line stop information, and cargo information, the target cargo stop planning result is determined according to the cargo stop constraints.

[0119] In one possible implementation, the site attribute information includes the allowable duration and the recovery duration corresponding to at least one processing device within the processing site. The allowable duration is the maximum duration for which goods stay at the processing site, and the recovery duration is the time required for the processing device to resume processing capacity after shutdown.

[0120] Module 302 is specifically used for:

[0121] Based on the allowable duration of multiple processing stations, the recovery time corresponding to at least one processing device in each processing station, and the shutdown information, the equipment processing time period corresponding to each of the multiple processing stations is determined. The equipment processing time period includes the maximum processing time period corresponding to at least one processing device in the corresponding processing station. The maximum processing time period indicates the time period during which the corresponding processing device can process the goods remaining at the corresponding processing station after the shutdown ends.

[0122] Based on attribute information, cargo information, and the processing time periods of equipment corresponding to multiple processing stations, the target cargo stoppage planning result is determined according to the cargo stoppage constraints.

[0123] In one possible implementation, the determining module 302 is specifically used for:

[0124] Add the stop time to the start time of the stop, and then add it to the recovery time corresponding to the target processing equipment to obtain the upper limit of the maximum processing time period corresponding to the target processing equipment. The target processing equipment is any processing equipment within the target processing station, and the target processing station is any processing station among multiple processing stations.

[0125] The sum of the line stop start time and the allowable duration of the target processing station is determined as the lower limit of the maximum processing time period corresponding to the target processing equipment.

[0126] In one possible implementation, the determining module 302 is specifically used for:

[0127] Based on attribute information, cargo information, and the equipment processing time periods corresponding to multiple processing stations, at least one candidate cargo stoppage planning result is determined according to the cargo stoppage constraint conditions.

[0128] Select one candidate stop-shipment plan from at least one candidate stop-shipment plan to obtain the target stop-shipment plan.

[0129] In one possible implementation, the candidate stoppage planning results include stoppage information corresponding to at least one stoppage station. A stoppage station refers to a processing station used to hold goods during the stoppage period. Each stoppage station corresponds to at least one planned station. A planned station refers to a processing station among multiple processing stations that has goods to be processed at the target time. The stoppage information includes at least one stoppage quantity, and at least one stoppage quantity corresponds one-to-one with at least one planned station corresponding to the stoppage station. The stoppage quantity indicates the number of goods held at the stoppage station among the goods to be processed corresponding to the planned station.

[0130] In one possible implementation, the site attribute information also includes the unit processing time of each processing device within the processing site, where the unit processing time is the time it takes for the processing device to process one item.

[0131] The conditions for suspending shipments include the following:

[0132] The quantity of goods to be processed corresponding to the target planning station is equal to the sum of the quantities of goods stopped at at least one stop station corresponding to the target planning station. The target planning station is any one of the processing stations that has goods to be processed at the target time.

[0133] The product of the number of goods m processed by the target processing equipment in the target stop site during time period t and the unit processing time of the target processing equipment is equal to the time required for the target processing equipment in the target stop site to process m goods during time period t. The target stop site is any one of at least one stop site, and the target processing equipment refers to any one of the processing equipment in the target stop site.

[0134] The quantity of goods processed by each processing device in the target stop site during its corresponding maximum processing time period is equal to the total quantity of goods stopped at the target stop site. The total quantity of goods stopped at the target stop site is the sum of at least one quantity of goods stopped at the target stop site.

[0135] The sum of the processing times required for the target processing equipment to perform processing at its respective processing stations within time period t is less than or equal to the duration of time period t.

[0136] In one possible implementation, the determining module 302 is specifically used for:

[0137] Determine the processing score corresponding to at least one candidate stoppage planning result. The processing score indicates the completion rate of the processing flow of goods processed according to the corresponding candidate stoppage planning result before the start of the stoppage.

[0138] Based on the processing scores corresponding to at least one candidate stop-shipment planning result, select one candidate stop-shipment planning result from the at least one candidate stop-shipment planning result to obtain the target stop-shipment planning result.

[0139] This application's embodiments automatically determine the quantity of goods remaining at each processing station at the start of a stoppage by using production line attribute information, stoppage information, and goods information. This reduces inaccurate stoppage planning caused by human judgment or calculation errors. Furthermore, automated stoppage planning significantly shortens planning time, improves overall production efficiency, and comprehensively considers the overall production line situation and the impact of stoppages on individual processing stations, thus developing more reasonable stoppage plans. This helps optimize production line resource allocation and reduce resource waste and capacity loss caused by stoppages.

[0140] Furthermore, in this embodiment, for any one of the multiple processing stations, the allowable time for that processing station is less than or equal to the queue time for that station. This ensures that the duration of goods staying at that station does not adversely affect the yield rate. The number of goods to be processed at the target planning station is equal to the sum of the number of goods stopped at its corresponding stop stations, ensuring correct allocation and tracking of goods and avoiding the problems of lost or mismatched goods. Simultaneously, the relationship between the number of goods processed by the processing equipment at the target stop station within a specific time period and its unit processing time is specified, ensuring that the processing equipment's recovery processing capacity after a shutdown is fully utilized and does not exceed its processing capacity. In addition, it is constrained that the number of goods processed by each processing equipment within the maximum processing period should be equal to the total number of goods stopped at the stop stations, and the total time required for processing equipment to process goods at multiple processing stations should not exceed the duration of the specific time period, to ensure the feasibility and efficiency of the stop planning. By introducing these stoppage constraints, it is possible to ensure that electronic equipment manufacturers consider various factors more comprehensively when formulating stoppage plans, thereby developing more efficient and flexible stoppage plans. This helps to reduce inventory backlog and delays during line stoppages and improves the overall operational efficiency and flexibility of the production line.

[0141] Since the processing score reflects the completion rate of the processing flow of goods processed according to the corresponding candidate stoppage planning results before the start of the stoppage, it directly reflects the differences in goods processing efficiency of different candidate schemes before the stoppage. Therefore, selecting a candidate stoppage planning result from at least one candidate stoppage planning result based on the processing score can ensure that the final determined target stoppage planning result can complete the goods processing flow to the maximum extent before the stoppage, reducing the impact of the stoppage on the production schedule. Since the candidate stoppage planning result with the largest processing score means that the goods processing flow has been advanced to the maximum extent before the stoppage starts, this embodiment of the application determines the candidate stoppage planning result with the largest processing score as the target stoppage planning result. This helps to reduce production interruptions during the stoppage and improve the overall operating efficiency of the production line. Furthermore, since a high processing score often means that the processing equipment is used more efficiently before the stoppage, this can reduce the idle time of the processing equipment before the stoppage and improve resource utilization efficiency.

[0142] It should be noted that the stoppage planning device provided in the above embodiments is only illustrated by the division of the above functional modules when performing stoppage planning. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the stoppage planning device and the stoppage planning method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0143] This application also provides a computer-readable storage medium storing instructions that, when executed on a computer or processor, cause the computer or processor to perform the steps of the shutdown planning method described in the above embodiments.

[0144] This application also provides a computer program product containing instructions that, when executed on a computer or processor, cause the computer or processor to perform the steps of the out-of-stock planning method described in the above embodiments. Alternatively, a computer program is provided that, when executed on a computer or processor, causes the computer or processor to perform the steps of the out-of-stock planning method described in the above embodiments.

[0145] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer, or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., digital versatile disc (DVD)), or a semiconductor medium (e.g., solid state disk (SSD)). It is worth noting that the computer-readable storage medium mentioned in the embodiments of this application can be a non-volatile storage medium; in other words, it can be a non-transient storage medium.

[0146] It should be understood that "multiple" as mentioned herein refers to two or more. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B; "and / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. In addition, to facilitate a clear description of the technical solutions of the embodiments of this application, the terms "first," "second," etc., are used in the embodiments of this application to distinguish identical or similar items with substantially the same function and effect. Those skilled in the art will understand that the terms "first," "second," etc., do not limit the quantity or execution order, and the terms "first," "second," etc., do not necessarily imply that they are different.

[0147] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in the embodiments of this application are all authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the production line attribute information, stoppage information, and cargo information involved in the embodiments of this application were all obtained with full authorization.

[0148] The above descriptions are embodiments provided in this application and are not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for planning outages, characterized in that, The method includes: Obtain the attribute information, stop information, and goods information of the production line. The attribute information includes the station attribute information of multiple processing stations on the production line. The stop information indicates the start time and duration of the stop of the production line. The goods information indicates the quantity of goods to be processed corresponding to the multiple processing stations at the target time. The start time of the stop is later than the target time. Based on the attribute information, the line stop information, and the cargo information, a target cargo stop planning result is determined. The target cargo stop planning result includes the quantity of cargo that is at each of the multiple processing stations at the start of the line stop.

2. The method as described in claim 1, characterized in that, The determination of the target cargo stop planning result based on the attribute information, the line stop information, and the cargo information includes: Based on the attribute information, the line stop information, and the cargo information, the target cargo stop planning result is determined according to the cargo stop constraints.

3. The method as described in claim 2, characterized in that, The site attribute information includes the allowable duration and the recovery duration corresponding to at least one processing device within the processing site. The allowable duration is the maximum duration for which goods stay at the processing site, and the recovery duration is the time required for the processing device to resume processing capacity after shutdown. The process of determining the target cargo stoppage planning result based on the attribute information, the line stoppage information, and the cargo information, according to the cargo stoppage constraints, includes: Based on the allowable duration of the multiple processing stations, the recovery time corresponding to at least one processing device in each processing station, and the shutdown information, the equipment processing time period corresponding to the multiple processing stations is determined. The equipment processing time period includes the maximum processing time period corresponding to at least one processing device in the corresponding processing station. The maximum processing time period indicates the time period during which the corresponding processing device can process the goods remaining at the corresponding processing station after the shutdown ends. Based on the attribute information, the cargo information, and the equipment processing time periods corresponding to the multiple processing stations, the target cargo stoppage planning result is determined according to the cargo stoppage constraints.

4. The method as described in claim 3, characterized in that, The determination of the equipment processing time periods corresponding to the multiple processing stations based on the allowable duration of the multiple processing stations, the recovery time corresponding to at least one processing device in each processing station, and the line stop information includes: Add the stop time to the stop start time, and then add it to the recovery time corresponding to the target processing equipment to obtain the upper limit of the maximum processing time period corresponding to the target processing equipment. The target processing equipment is any processing equipment within the target processing station, and the target processing station is any processing station among the plurality of processing stations. The sum of the line stop start time and the allowable duration of the target processing station is determined as the lower limit of the maximum processing time period corresponding to the target processing equipment.

5. The method as described in claim 3 or 4, characterized in that, The determination of the target stoppage planning result based on the attribute information, the cargo information, and the equipment processing time periods corresponding to the multiple processing stations, according to the stoppage constraints, includes: Based on the attribute information, the cargo information, and the equipment processing time periods corresponding to the multiple processing stations, at least one candidate cargo suspension planning result is determined according to the cargo suspension constraints. Select one candidate stop-shipment plan from the at least one candidate stop-shipment plan results to obtain the target stop-shipment plan result.

6. The method as described in claim 5, characterized in that, The candidate stoppage planning results include stoppage information corresponding to at least one stoppage station. The stoppage station refers to a processing station used to hold goods during the stoppage period. Each stoppage station corresponds to at least one planned station. The planned station refers to a processing station among multiple processing stations that has goods to be processed at the target time. The stoppage information includes at least one stoppage quantity. The at least one stoppage quantity corresponds one-to-one with the at least one planned station corresponding to the stoppage station. The stoppage quantity indicates the number of goods to be processed that are held at the stoppage station.

7. The method as described in claim 6, characterized in that, The site attribute information also includes the unit processing time of each processing device within the processing site, wherein the unit processing time is the time it takes for the processing device to process one item; The suspension of shipment constraints include the following conditions: The quantity of goods to be processed corresponding to the target planning station is equal to the sum of the quantities of goods stopped at at least one stop station corresponding to the target planning station. The target planning station is any one of the processing stations that has goods to be processed at the target time among the plurality of processing stations. The product of the number of goods m processed by the target processing equipment in the target stop site during time period t and the unit processing time of the target processing equipment is equal to the time required for the target processing equipment in the target stop site to process m goods during time period t. The target stop site is any one of at least one stop site, and the target processing equipment refers to any one of the processing equipment in the target stop site. The quantity of goods processed by each processing device in the target stop-shipment site during its corresponding maximum processing period is equal to the total quantity of goods stopped at the target stop-shipment site. The total quantity of goods stopped at the target stop-shipment site is the sum of at least one quantity of goods stopped at the target stop-shipment site. The sum of the processing times required for the target processing equipment to perform processing at its respective processing stations within the time period t is less than or equal to the duration of the time period t.

8. The method according to any one of claims 5-7, characterized in that, The step of selecting a candidate shipment stoppage plan from the at least one candidate shipment stoppage plan to obtain the target shipment stoppage plan includes: Determine the processing score corresponding to each of the at least one candidate stoppage planning results, wherein the processing score indicates the degree of completion of the processing flow of goods processed according to the corresponding candidate stoppage planning results before the start time of the stoppage. Based on the processing scores corresponding to the at least one candidate stop-shipment planning result, a candidate stop-shipment planning result is selected from the at least one candidate stop-shipment planning result to obtain the target stop-shipment planning result.

9. A stop-shipment planning device, characterized in that, The device includes: The acquisition module is used to acquire the attribute information, stop information and goods information of the production line. The attribute information includes the station attribute information of multiple processing stations on the production line. The stop information indicates the start time and duration of the stop of the production line. The goods information indicates the quantity of goods to be processed corresponding to the multiple processing stations at the target time. The start time of the stop is later than the target time. The determination module is used to determine the target stop-cargo planning result based on the attribute information, the stop-line information, and the cargo information. The target stop-cargo planning result includes the quantity of cargo that is stopped at each of the multiple processing stations at the start time of the stop-line.

10. The apparatus as claimed in claim 9, characterized in that, The determining module is specifically used for: Based on the attribute information, the line stop information, and the cargo information, the target cargo stop planning result is determined according to the cargo stop constraints.

11. The apparatus as claimed in claim 10, characterized in that, The site attribute information includes the allowable duration and the recovery duration corresponding to at least one processing device within the processing site. The allowable duration is the maximum duration for which goods stay at the processing site, and the recovery duration is the time required for the processing device to resume processing capacity after shutdown. The determining module is specifically used for: Based on the allowable duration of the multiple processing stations, the recovery time corresponding to at least one processing device in each processing station, and the shutdown information, the equipment processing time period corresponding to the multiple processing stations is determined. The equipment processing time period includes the maximum processing time period corresponding to at least one processing device in the corresponding processing station. The maximum processing time period indicates the time period during which the corresponding processing device can process the goods remaining at the corresponding processing station after the shutdown ends. Based on the attribute information, the cargo information, and the equipment processing time periods corresponding to the multiple processing stations, the target cargo stoppage planning result is determined according to the cargo stoppage constraints.

12. The apparatus as claimed in claim 11, characterized in that, The determining module is specifically used for: Add the stop time to the stop start time, and then add it to the recovery time corresponding to the target processing equipment to obtain the upper limit of the maximum processing time period corresponding to the target processing equipment. The target processing equipment is any processing equipment within the target processing station, and the target processing station is any processing station among the plurality of processing stations. The sum of the line stop start time and the allowable duration of the target processing station is determined as the lower limit of the maximum processing time period corresponding to the target processing equipment.

13. The apparatus as claimed in claim 11 or 12, characterized in that, The determining module is specifically used for: Based on the attribute information, the cargo information, and the equipment processing time periods corresponding to the multiple processing stations, at least one candidate cargo suspension planning result is determined according to the cargo suspension constraints. Select one candidate stop-shipment plan from the at least one candidate stop-shipment plan results to obtain the target stop-shipment plan result.

14. The apparatus as claimed in claim 13, characterized in that, The candidate stoppage planning results include stoppage information corresponding to at least one stoppage station. The stoppage station refers to a processing station used to hold goods during the stoppage period. Each stoppage station corresponds to at least one planned station. The planned station refers to a processing station among multiple processing stations that has goods to be processed at the target time. The stoppage information includes at least one stoppage quantity. The at least one stoppage quantity corresponds one-to-one with the at least one planned station corresponding to the stoppage station. The stoppage quantity indicates the number of goods to be processed that are held at the stoppage station.

15. The apparatus as claimed in claim 14, characterized in that, The site attribute information also includes the unit processing time of each processing device within the processing site, wherein the unit processing time is the time it takes for the processing device to process one item; The suspension of shipment constraints include the following conditions: The quantity of goods to be processed corresponding to the target planning station is equal to the sum of the quantities of goods stopped at at least one stop station corresponding to the target planning station. The target planning station is any one of the processing stations that has goods to be processed at the target time among the plurality of processing stations. The product of the number of goods m processed by the target processing equipment in the target stop site during time period t and the unit processing time of the target processing equipment is equal to the time required for the target processing equipment in the target stop site to process m goods during time period t. The target stop site is any one of at least one stop site, and the target processing equipment refers to any one of the processing equipment in the target stop site. The quantity of goods processed by each processing device in the target stop-shipment site during its corresponding maximum processing period is equal to the total quantity of goods stopped at the target stop-shipment site. The total quantity of goods stopped at the target stop-shipment site is the sum of at least one quantity of goods stopped at the target stop-shipment site. The sum of the processing times required for the target processing equipment to perform processing at its respective processing stations within the time period t is less than or equal to the duration of the time period t.

16. The apparatus according to any one of claims 13-15, characterized in that, The determining module is specifically used for: Determine the processing score corresponding to each of the at least one candidate stoppage planning results, wherein the processing score indicates the degree of completion of the processing flow of goods processed according to the corresponding candidate stoppage planning results before the start time of the stoppage. Based on the processing scores corresponding to the at least one candidate stop-shipment planning result, a candidate stop-shipment planning result is selected from the at least one candidate stop-shipment planning result to obtain the target stop-shipment planning result.

17. An electronic device, characterized in that, The electronic device includes a memory and a processor; The memory is used to store computer programs; The processor is configured to execute the computer program to implement the steps of the method according to any one of claims 1 to 8.

18. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed on a computer or processor, causes the computer or processor to perform the method as described in any one of claims 1 to 8.

19. A computer program product, characterized in that, The computer program product includes computer instructions that, when executed by a computer or processor, cause the steps of the method as described in any one of claims 1 to 8 to be performed.