Abnormal link positioning method, device and electronic equipment in production line
By constructing a circulation network and using probabilistic models and optimization algorithms, the problem of difficulty in locating abnormal links in the assembly line is solved, fast and accurate abnormal process identification is achieved, and production efficiency is improved.
Patent Information
- Application Number
- CN202011473643.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-15
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2040-12-15
AI Technical Summary
In the manufacturing assembly line, due to the complex production process, it is difficult to locate abnormal links that lead to a decrease in product yield, resulting in long troubleshooting times and affecting production efficiency.
By obtaining product circulation data, we build a circulation network, count the yield rate of each circulation path, use probability models and optimization algorithms to locate abnormal links, and quickly and accurately identify abnormal processes.
It achieves rapid and accurate positioning of abnormal links in the production line, reduces troubleshooting time, and improves production efficiency.
Smart Images

Figure CN112559594B
Abstract
Description
Technical Field
[0001] This invention relates to the field of processing and manufacturing, and more specifically, to a method for locating abnormal links in a production line, a device for locating abnormal links in a production line, an electronic device, and a computer-readable storage medium. Background Technology
[0002] In the manufacturing assembly line production process, each product usually needs to go through multiple production and processing steps from raw materials to become a finished product. Abnormalities in raw materials or production equipment may affect the yield rate of the final product, causing significant losses to the manufacturer.
[0003] In existing technologies, when an anomaly occurs, manufacturers often only see that the final product yield rate is abnormal. Due to the complexity of the production process, it is often very difficult to pinpoint which specific production link caused the anomaly. Currently, it often requires engineers' experience to manually conduct on-site inspections, which is difficult to pinpoint accurately, resulting in long inspection times and impacting production. Summary of the Invention
[0004] One objective of this disclosure is to provide a new technical solution for locating abnormal processes in a production line.
[0005] According to a first aspect of this disclosure, a method for locating abnormal links in a production line is provided, comprising:
[0006] Obtain production flow data for each product in the product collection on the production line, as well as the labels indicating whether each product is a good product;
[0007] Construct the flow network of the production line, wherein the production flow data of one product corresponds to a flow path in the process network;
[0008] Based on the labels indicating whether each product is a good product, the yield rate corresponding to each circulation path in the circulation network is calculated.
[0009] Based on each flow path in the flow network and the yield rate corresponding to each flow path, abnormal links in the production line are located.
[0010] Optionally, the production flow data includes: batch information of materials used to produce the products, and identification information of equipment used in each process of the production line through which the materials pass.
[0011] Optionally, the process of constructing the flow network of the production line includes:
[0012] Based on the batch information of the materials used to produce the products and the marking information of the equipment in each process of the production line, the flow relationship and direction of the materials used to produce the products and the processes are obtained.
[0013] Using the batch information of all materials involved in the product set and the equipment identification information of each process of the production line as nodes, the flow relationship between nodes as edges, and the flow direction as the direction of the edges, a flow network is constructed.
[0014] Optionally, the step of calculating the yield rate corresponding to each circulation path in the circulation network based on the label indicating whether each product is a good product includes:
[0015] Obtain the first total number of products on each circulation path in the circulation network;
[0016] Obtain the second total number of products labeled as "good" on each of the aforementioned circulation paths;
[0017] The yield rate for each of the said circulation paths is obtained based on the first total quantity and the second total quantity corresponding to each circulation path.
[0018] Optionally, each of the aforementioned flow paths includes batch information nodes for the materials used to produce the product, and identification information nodes for the equipment in each process of the production line through which the materials pass.
[0019] The step of locating abnormal links in the production line based on the yield rate corresponding to each flow path in the flow network includes:
[0020] Using the pass rate of each node on each circulation path in the circulation network as an unknown parameter and the good product rate corresponding to the circulation path as a known parameter, a system of probabilistic model equations is constructed.
[0021] Solve the system of probability model equations to obtain the pass rate of each node in the circulation network;
[0022] Based on the pass rate of each node in the circulation network, abnormal links in the production line are located.
[0023] Optionally, solving the system of probabilistic equations to obtain the pass rate of each node in the circulation network includes:
[0024] Obtain the target optimization algorithm, wherein the target optimization algorithm includes at least one of the following algorithms: quadratic programming algorithm, particle swarm optimization algorithm, and genetic algorithm;
[0025] Based on the target optimization algorithm and the set constraints, the probabilistic model equations are solved to obtain the pass rate of each node in the circulation network.
[0026] The constraints set include those concerning the pass rate of each node in the circulation network.
[0027] Optionally, the constraint on the pass rate of each node in the circulation network is that the pass rate of each node is a natural number between 0 and 1.
[0028] Optionally, the step of locating abnormal links in the production line based on the pass rate of each node in the circulation network includes:
[0029] Based on the pass rate of each node in the circulation network, the abnormality rate of each node is obtained;
[0030] Based on the abnormality rate of each node, the abnormal links in the production line are located.
[0031] Optionally, locating abnormal links in the production line based on the abnormality rate of each node includes:
[0032] For each node, obtain the pre-set anomaly rate;
[0033] The anomaly rate of each node is compared with the corresponding set anomaly rate;
[0034] If the abnormality rate of a node is greater than a set abnormality rate, the node is determined to be an abnormal node.
[0035] Optionally, the step of locating abnormal links in the production line based on the abnormality rate of each node further includes:
[0036] Sort the abnormality rates of each node in descending order;
[0037] Obtain the nodes corresponding to the predetermined number of anomaly rates and designate them as anomaly nodes.
[0038] Optionally, the probabilistic model equations may also include weights corresponding to each flow path;
[0039] The method further includes:
[0040] Obtain the first total number of products on each circulation path in the circulation network;
[0041] Based on the first total quantity, adjust the weights corresponding to the flow path in the probability model equation set;
[0042] Based on the adjusted weights, and according to the target optimization algorithm and the set constraints, the probabilistic model equations are solved to obtain the pass rate of each node in the circulation network.
[0043] Optionally, the method further includes:
[0044] If the yield rate of any circulation path in the circulation network is lower than the set yield rate threshold, the yield rate of any circulation path will be adjusted.
[0045] Based on each flow path in the flow network and the yield rate corresponding to each adjusted flow path, abnormal links in the production line are located.
[0046] Optionally, the method further includes:
[0047] If any node in the circulation network meets the set filtering conditions, the node is deleted from the circulation network to adjust the circulation path in the circulation network.
[0048] Based on each flow path in the adjusted flow network and the yield rate corresponding to each flow path, abnormal links in the production line are located.
[0049] Optionally, the method further includes:
[0050] If the number of devices in any process exceeds a set threshold, the multiple devices in that process will be merged.
[0051] Using the batch information of all materials involved in the product set and the identification information of the equipment after the merging process of each process of the production line as nodes, the flow relationship between nodes as edges, and the flow direction as the direction of the edges, the flow network is reconstructed.
[0052] Optionally, the method further includes:
[0053] The flow network is divided into multiple sub-flow networks, and abnormal links in the production line are located based on the yield rate corresponding to each flow path in the multiple sub-flow networks.
[0054] Optionally, the method further includes:
[0055] In response to a request to obtain the mining results of the mining flow network, the set display mode is obtained;
[0056] The constructed circulation network is displayed according to the described display mode.
[0057] Optionally, obtaining the production flow data of each product in the product set from its production line and the label indicating whether each product is a good product includes:
[0058] The system sends a request to the product data system via an interface to retrieve production flow data of each product in the product set on the production line and a label indicating whether each product is a good product; wherein the request carries at least one of the identification information of the product set and the identification information of each product.
[0059] The system receives production flow data for each product and labels indicating whether each product is good or not in response to the request.
[0060] According to a second aspect of this disclosure, an abnormal link positioning device for a production line is also provided, comprising:
[0061] The acquisition module is used to acquire production flow data of each product in the product collection on the production line and the label indicating whether each product is a good product;
[0062] The construction module is used to construct the flow network of the production line, wherein the production flow data of one product corresponds to a flow path in the process network;
[0063] The statistics module is used to calculate the yield rate of each circulation path in the circulation network based on the label indicating whether each product is a good product.
[0064] The positioning module is used to locate abnormal links in the production line based on each flow path in the flow network and the yield rate corresponding to each flow path.
[0065] Optionally, the production flow data includes: batch information of materials used to produce the products, and identification information of equipment used in each process of the production line through which the materials pass.
[0066] Optionally, the building module is specifically used for:
[0067] Based on the batch information of the materials used to produce the products and the marking information of the equipment in each process of the production line, the flow relationship and direction of the materials used to produce the products and the processes are obtained.
[0068] Using the batch information of all materials involved in the product set and the equipment identification information of each process of the production line as nodes, the flow relationship between nodes as edges, and the flow direction as the direction of the edges, a flow network is constructed.
[0069] Optionally, the statistics module is specifically used for:
[0070] Obtain the first total number of products on each circulation path in the circulation network;
[0071] Obtain the second total number of products labeled as "good" on each of the aforementioned circulation paths;
[0072] The yield rate for each of the said circulation paths is obtained based on the first total quantity and the second total quantity corresponding to each circulation path.
[0073] Optionally, each of the aforementioned flow paths includes batch information nodes for the materials used to produce the product, and identification information nodes for the equipment in each process of the production line through which the materials pass. The positioning module is specifically used for:
[0074] Using the pass rate of each node on each circulation path in the circulation network as an unknown parameter and the good product rate corresponding to the circulation path as a known parameter, a system of probabilistic model equations is constructed.
[0075] Solve the system of probability model equations to obtain the pass rate of each node in the circulation network;
[0076] Based on the pass rate of each node in the circulation network, abnormal links in the production line are located.
[0077] Optionally, the positioning module is specifically used for:
[0078] Obtain the target optimization algorithm, wherein the target optimization algorithm includes at least one of the following algorithms: quadratic programming algorithm, particle swarm optimization algorithm, and genetic algorithm;
[0079] Based on the target optimization algorithm and the set constraints, the probabilistic model equations are solved to obtain the pass rate of each node in the circulation network.
[0080] The constraints set include those concerning the pass rate of each node in the circulation network.
[0081] Optionally, the constraint on the pass rate of each node in the circulation network is that the pass rate of each node is a natural number between 0 and 1.
[0082] Optionally, the positioning module is specifically used for:
[0083] Based on the pass rate of each node in the circulation network, the abnormality rate of each node is obtained;
[0084] Based on the abnormality rate of each node, the abnormal links in the production line are located.
[0085] Optionally, the positioning module is specifically used for:
[0086] For each node, obtain the pre-set anomaly rate;
[0087] The anomaly rate of each node is compared with the corresponding set anomaly rate;
[0088] If the abnormality rate of a node is greater than a set abnormality rate, the node is determined to be an abnormal node.
[0089] Optionally, the positioning module is specifically used for:
[0090] Sort the abnormality rates of each node in descending order;
[0091] Obtain the nodes corresponding to the predetermined number of anomaly rates and designate them as anomaly nodes.
[0092] Optionally, the probabilistic model equations also include weights corresponding to each flow path; the positioning module is further used for:
[0093] Obtain the first total number of products on each circulation path in the circulation network;
[0094] Based on the first total quantity, adjust the weights corresponding to the flow path in the probability model equation set;
[0095] Based on the adjusted weights, and according to the target optimization algorithm and the set constraints, the probabilistic model equations are solved to obtain the pass rate of each node in the circulation network.
[0096] Optionally, the positioning module is further configured to:
[0097] If the yield rate of any circulation path in the circulation network is lower than the set yield rate threshold, the yield rate of any circulation path will be adjusted.
[0098] Based on each flow path in the flow network and the yield rate corresponding to each adjusted flow path, abnormal links in the production line are located.
[0099] Optionally, the positioning module is further configured to:
[0100] If any node in the circulation network meets the set filtering conditions, the node is deleted from the circulation network to adjust the circulation path in the circulation network.
[0101] Based on each flow path in the adjusted flow network and the yield rate corresponding to each flow path, abnormal links in the production line are located.
[0102] Optionally, building modules are also used for:
[0103] If the number of devices in any process exceeds a set threshold, the multiple devices in that process will be merged.
[0104] Using the batch information of all materials involved in the product set and the identification information of the equipment after the merging process of each process of the production line as nodes, the flow relationship between nodes as edges, and the flow direction as the direction of the edges, the flow network is reconstructed.
[0105] Optionally, the positioning module is further configured to:
[0106] The flow network is divided into multiple sub-flow networks, and abnormal links in the production line are located based on the yield rate corresponding to each flow path in the multiple sub-flow networks.
[0107] Optionally, the device further includes a display module, the display module being used for:
[0108] In response to a request to obtain the mining results of the mining flow network, the set display mode is obtained;
[0109] The constructed circulation network is displayed according to the described display mode.
[0110] Optionally, the acquisition module is specifically used for:
[0111] The system sends a request to the product data system via an interface to retrieve production flow data of each product in the product set on the production line and a label indicating whether each product is a good product; wherein the request carries at least one of the identification information of the product set and the identification information of each product.
[0112] The system receives production flow data for each product and labels indicating whether each product is good or not in response to the request.
[0113] According to a third aspect of this disclosure, an apparatus is also provided comprising at least one computing device and at least one storage device, wherein the at least one storage device is configured to store instructions for controlling the at least one computing device to perform the method described in accordance with the first aspect above.
[0114] According to a fourth aspect of this disclosure, a computer-readable storage medium is also provided, wherein a computer program is stored thereon, the computer program implementing the method described in the first aspect above when executed by a processor.
[0115] One beneficial effect of this disclosure is that the method according to the embodiments of this disclosure can correspond the production flow data of a product to a flow path of the constructed production line flow network. At the same time, based on the label of whether each product is a good product, the yield rate corresponding to each flow path in the flow network is calculated. Then, based on each flow path in the flow network and the yield rate corresponding to each flow path, abnormal links in the production line are located. That is, the embodiments of this disclosure use the production flow data between each process in the product production process to quickly and accurately locate abnormal links in the production process. Attached Figure Description
[0116] Other features and advantages of the invention will become clear from the following detailed description of exemplary embodiments of the invention with reference to the accompanying drawings.
[0117] Figure 1 This is a block diagram showing an example of a hardware configuration of an electronic device that can be used to implement embodiments of the present disclosure;
[0118] Figure 2 A flowchart illustrating a method for locating abnormal links in a production line according to an embodiment of this disclosure is shown.
[0119] Figure 3 A schematic diagram of the flow network according to an embodiment of the present disclosure is shown;
[0120] Figure 4 A schematic diagram of a flow network according to another embodiment of this disclosure is shown;
[0121] Figure 5 A schematic block diagram of an abnormal process device in a production line according to an embodiment of this disclosure is shown. Detailed Implementation
[0122] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that, unless otherwise specifically stated, the relative arrangement, numerical expressions, and values of the components and steps set forth in these embodiments do not limit the scope of the invention.
[0123] The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit the invention or its application or use.
[0124] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, such techniques, methods, and equipment should be considered part of the specification.
[0125] In all the examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limitations. Therefore, other examples of exemplary embodiments may have different values.
[0126] It should be noted that similar labels and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be discussed further in subsequent figures.
[0127] Hereinafter, various embodiments and examples according to the present invention will be described with reference to the accompanying drawings.
[0128] <Hardware Configuration>
[0129] The method of this disclosure embodiment can be implemented by at least one electronic device, that is, the apparatus 5000 for implementing the method can be arranged on the at least one electronic device. Figure 1 The hardware structure of any electronic device is shown. Figure 1 The electronic device shown can be a portable computer, desktop computer, workstation, server, etc., or any other device with a processor or other computing device and a memory or other storage device, which is not limited here.
[0130] like Figure 1 As shown, the electronic device 1000 may include a processor 1100, a memory 1200, an interface device 1300, a communication device 1400, a display device 1500, an input device 1600, a speaker 1700, a microphone 1800, etc. The processor 1100 is used to execute computer programs. These computer programs can be written using instruction sets based on architectures such as x86, Arm, RISC, MIPS, and SSE. The memory 1200 may include, for example, ROM (Read-Only Memory), RAM (Random Access Memory), or non-volatile memory such as a hard disk. The interface device 1300 may include, for example, a USB interface or a headphone jack. The communication device 1400 may be capable of wired or wireless communication, specifically including Wi-Fi communication, Bluetooth communication, 2G / 3G / 4G / 5G communication, etc. The display device 1500 may be, for example, an LCD screen or a touch screen. The input device 1600 may include, for example, a touch screen, a keyboard, or motion input. Electronic device 1000 can output voice information through speaker 1700 and collect voice information through microphone 1800, etc.
[0131] Figure 1 The electronic devices shown are merely illustrative and are in no way intended to limit the invention, its application, or use. In embodiments applied to this disclosure, the memory 1200 of the electronic device 1000 is used to store instructions for controlling the processor 1100 to operate and execute the abnormal link location method in a production line according to embodiments of this disclosure. Those skilled in the art can design instructions based on the disclosed scheme. How the instructions control the processor to operate is well known in the art and will not be described in detail here.
[0132] In one embodiment, an apparatus is provided that includes at least one computing device and at least one storage device, the at least one storage device being used to store instructions for controlling the at least one computing device to perform a method according to any embodiment of the present disclosure.
[0133] The device may include at least one Figure 1 The electronic device 1000 shown is intended to provide at least one computing device, such as a processor, and at least one storage device, such as a memory, without limitation herein.
[0134] <Method Implementation>
[0135] In this embodiment, a method for locating abnormal links in a production line is provided. This method can be implemented by an electronic device, which can be, for example, […]. Figure 1 The electronic device 1000 shown can be a server or a terminal device. That is, the method in this embodiment can be implemented by a server, a terminal device, or both.
[0136] In applications where the method in this embodiment is implemented with the participation of a terminal device, the interaction may include human-computer interaction. In applications where the method in this embodiment is implemented with the participation of a server, the interaction may include interaction between the server and the terminal device.
[0137] according to Figure 2 As shown, the abnormal link location method in the production line of this embodiment may include the following steps S2100 to S2400:
[0138] Step S2100: Obtain the production flow data of each product in the product set on the production line and the label indicating whether each product is a good product.
[0139] A product collection can be a collection of the same product produced by any manufacturer, and this same product can typically have the same materials. For example, the product collection could be a collection of vehicles produced by a vehicle manufacturer, or a collection of parts produced by any parts manufacturer.
[0140] The production flow data of a product includes: batch information of the materials used to produce the product, and identification information of the equipment used in each process of the production line through which the materials pass.
[0141] A product typically undergoes multiple processing steps from raw materials to the final product. (Refer to...) Figure 3As shown, starting with material A, the process proceeds through process B, then process C, and finally process D to produce the final product. The same material A may correspond to multiple production batches; for example, material A may correspond to three batches {A1, A2, A3}. Process B corresponds to four machines {B1, B2, B3, B4}, similarly, process C corresponds to two machines {C1, C2}, and process D corresponds to three machines {D1, D2, D3}. Of course... Figure 1 This is merely an example; in reality, a production line may involve a variety of different materials and more processes, and the number of devices corresponding to each process may vary. Furthermore, new materials may be introduced during the intermediate stages of production.
[0142] The label for a product being "good" can be understood as follows: when a product is "good", its corresponding label is 1; otherwise, its corresponding label is 0. A product being "good" can also be understood as a qualified product, while a product being "unqualified" can be understood as an unqualified product.
[0143] In this embodiment, the step S2100, which involves obtaining the production flow data of each product in the product set on the production line and the label indicating whether each product is a good product, may further include the following steps S2110 to S2120:
[0144] Step S2110: Send a request to the product data system via the acquisition interface to obtain the production flow data of each product in the product set on the production line and the label of whether each product is a good product.
[0145] The request must include at least one of the following: the identification information of the product set and the identification information of each individual product.
[0146] In this step S2110, a human-computer interaction interface can be provided to obtain production flow data of each product and the label of whether each product is a good product from the product data system based on user requests, thereby improving the targeting of data acquisition.
[0147] Step S2120: Receive the production flow data of each product and the label indicating whether each product is good or bad, returned by the product data system in response to the request.
[0148] After obtaining the production flow data of each product in the product collection on the production line and the labels indicating whether each product is good or bad, proceed to:
[0149] Step S2200: Construct the flow network of the production line.
[0150] The flow network of a production line can be a network structure diagram constructed based on the actual structure of the production line. This constructed flow network can be... Figure 3 The network structure diagram is shown below.
[0151] The production flow data of a product corresponds to a flow path in the process network, such as Figure 3 The flow network shown is illustrated in the diagram. Solid line 1 represents a flow path, which corresponds to the production flow data of one product: material A1 - equipment B1 in process B - equipment C1 in process C - equipment D2 in process D. Solid line 2 represents another flow path, which also corresponds to the production flow data of one product: material A2 - equipment B4 in process B - equipment C2 in process C - equipment D1 in process D.
[0152] In this embodiment, the construction of the production line flow network in step S2200 may further include the following steps S2210 to S2220:
[0153] Step S2210: Based on the batch information of the materials used to produce the product and the marking information of the equipment in each process of the production line, obtain the material flow relationship and flow direction between each process of the product.
[0154] In this step S2210, materials and equipment are abstracted as nodes, and the flow relationships between nodes are abstracted as edges, such as... Figure 3 As shown by the middle arrow, during the production process, the intermediate products produced in each process are randomly distributed to multiple nodes in the next process. Each dotted line represents a set of flow relationships.
[0155] Step S2220: Using the batch information of all materials involved in the product set and the identification information of the equipment of each process in the production line as nodes, the flow relationship between nodes as edges, and the flow direction as the direction of the edges, a flow network is constructed.
[0156] After establishing the production line's workflow network, proceed to:
[0157] Step S2300: Based on the label indicating whether each product is a good product, calculate the yield rate corresponding to each circulation path in the circulation network.
[0158] The yield rate refers to the proportion of good products that ultimately pass the test on the production line to the theoretically produced quantity from the input materials.
[0159] In this embodiment, step S2300, which calculates the yield rate corresponding to each circulation path in the circulation network based on the label indicating whether each product is a good product, can further include the following steps S2310 to S2330:
[0160] Step S2310: Obtain the first total number of products on each circulation path in the circulation network.
[0161] For example, such as Figure 3The circulation network shown can calculate the total number of products on circulation path 1 and the total number of products on circulation path 2, etc. In order to distinguish the total number of products on any circulation path from the total number of good products on that circulation path, the total number of products on the circulation path is referred to as the first total number, and the total number of good products on that circulation path is referred to as the second total number.
[0162] Step S2320: Obtain the second total number of products labeled as "good" on each circulation path.
[0163] Continuing with the example of step S2320 above, one could calculate the total number of good products on flow path 1 and the total number of good products on flow path 2, etc.
[0164] Step S2330: Obtain the yield rate for each flow path based on the first total quantity and the second total quantity corresponding to each flow path.
[0165] In step S2330, the yield rate of a given circulation path can be obtained by using the first total number of products corresponding to each circulation path in the circulation network and the second total number of good products on that circulation path.
[0166] Continuing with the example of step S2330 above, the yield rate P on any flow path in the flow network i The calculation formula is as follows:
[0167]
[0168] Where i represents a circulation path in the circulation network, and the value of i is any integer from 1 to n, n is the total number of circulation paths in the circulation network, and M i N represents the first total quantity of products on the i-th distribution path. i This represents the second total number of products labeled as "good" on the i-th distribution path. For example, the yield rate of distribution path 1. For example, the yield rate on circulation path 2 wait.
[0169] After calculating the yield rate for each distribution path in the distribution network based on the product's label indicating whether it is a good or bad product, the process proceeds to:
[0170] Step S2400: Based on each flow path in the flow network and the yield rate corresponding to each flow path, locate the abnormal link in the production line.
[0171] In this embodiment, due to the complexity of the production line, any abnormality in any part of the production line may affect the yield rate of the final product.
[0172] In this embodiment, after obtaining each flow path in the flow network and the yield rate corresponding to each flow path, abnormal links in the production line can be quickly located.
[0173] In this embodiment, since each flow path includes batch information nodes of the materials used to produce the product and identification information nodes of the equipment in each process of the production line through which the materials pass, the step S2400 of locating abnormal links in the production line based on each flow path in the flow network and the yield rate corresponding to each flow path can further include the following steps S2410 to S2430:
[0174] Step S2410: Using the pass rate of each node on each flow path in the flow network as an unknown parameter and the good product rate corresponding to the flow path as a known parameter, construct a system of probabilistic model equations.
[0175] For example, such as Figure 3 In the flow network shown, the pass rate of material A1 on flow path 1 can be denoted as P. A1 The pass rate of equipment B1 in process B can be denoted as P. B1 The pass rate of equipment C1 in process C is marked as P. C1 Furthermore, the pass rate of equipment D2 in process D can be denoted as P. D2 Furthermore, the yield rate corresponding to flow path 1 is P1 calculated based on step S2300 above. The yield rate of material A2 on flow path 2 can be denoted as P. A2 The pass rate of equipment B4 in process B can be denoted as P. B4 The pass rate of equipment C2 in process C is marked as P. C2 Furthermore, the pass rate of equipment D1 in process D can be denoted as P. D1 Furthermore, the yield rate corresponding to flow path 2 is P2 calculated based on step S2300 above. Alternatively, it could be the pass rate of each node traversed by flow path i, and the yield rate P on flow path i calculated based on step S2300 above. i Here, the system of probabilistic model equations constructed in step S2410 can be summarized as follows:
[0176]
[0177] Among them, the above P A1 *P B1 *P C1 *P D2 =P1 represents the pass rate P of each node on flow path 1. A1 P A1 P C1P C1 The probabilistic model equation constructed using the yield rate P1 corresponding to the flow path 1 as a known parameter, where P is an unknown parameter, can also be understood as follows: the yield rate corresponding to the flow path 1 is approximately equal to the product of the pass rates of each node traversed by the flow path 1. The above P... A2 *P B4 *P C2 *P D1 =P2 represents the pass rate P of each node on flow path 2. A2 P B4 P C2 P D1 The probability model equation constructed with the yield rate P2 corresponding to the flow path 2 as the known parameter is also understood as the yield rate corresponding to the flow path 2 being approximately equal to the product of the pass rates of each node through which the flow path 2 passes. For each flow path in the flow network, the probability model equation of the flow path can be constructed, and thus the probability model equation set of formula (3) is obtained.
[0178] Step S2420: Solve the system of probabilistic model equations to obtain the pass rate of each node in the circulation network.
[0179] Continuing with the example of step S2410 above, after constructing the probability model equation set shown in (3), the unknown parameters in the probability model equation set can be solved to obtain the pass rate of each node in the circulation network.
[0180] In this embodiment, solving the system of probability equations in step S2420 to obtain the pass rate of each node in the circulation network can further include the following steps S2421 to S2422:
[0181] Step S2421: Obtain the target optimization algorithm.
[0182] The objective optimization algorithm may include at least one of the following algorithms: quadratic programming algorithm, particle swarm optimization algorithm, and genetic algorithm.
[0183] Step S2422: Based on the target optimization algorithm and the set constraints, solve the system of probabilistic equations to obtain the pass rate of each node in the circulation network.
[0184] The constraints include a constraint on the pass rate of each node in the circulation network. This constraint on the pass rate of each node in the circulation network is that the pass rate of each node is a natural number between 0 and 1.
[0185] The following example demonstrates the process of solving a system of probabilistic model equations. First, the system of probabilistic model equations in (3) is transformed into a system of linear equations:
[0186]
[0187] Then, the linear equations in (4) are converted into matrix form:
[0188]
[0189] Here, the matrix equation in (4) above can be simplified to A*L X =L form, where each row of matrix A represents a flow path, and each column represents a node. Nodes traversed by the flow path are assigned a value of 1, and nodes not traversed are assigned a value of 0. L X The vector represents the logarithmic value of the pass rate of each node, which is the unknown parameter to be solved. The L on the right side of the equal sign is the logarithmic value of the yield rate observed for each circulation path.
[0190] Among them, L X There are constraints: each element takes a value between 0 and 1, and the corresponding logarithm takes a value L. X Then it is less than or equal to 0. This disclosure uses a constrained objective optimization algorithm to solve the above linear equation system, and can obtain the pass rate of each node. The solution process can be as follows: For matrix equation (5), A*L X =L, we need to find an optimal set of L' X Make A*L' X If the deviation from L on the right side of the equation is minimized, and this deviation includes, but is not limited to, the mean square error (MSE) and the mean absolute error (MAE), then the final problem to be solved is:
[0191]
[0192] In formula (6) above, n represents the number of circulation paths, f represents the error function, and w i This represents the weight of each flow path.
[0193] Step S2430: Based on the pass rate of each node in the circulation network, locate the abnormal link in the production line.
[0194] In this embodiment, the step S2430 of locating abnormal links in the production line based on the pass rate of each node in the flow network may further include:
[0195] Step S2431: Obtain the abnormality rate of each node based on the pass rate of each node in the transfer network.
[0196] Step S2432: Locate the abnormal links in the production line based on the abnormality rate of each node.
[0197] In one example, the step S2432 of locating abnormal links in the production line based on the abnormality rate of each node may further include: obtaining a pre-set abnormality rate for each node; comparing the abnormality rate of each node with the corresponding set abnormality rate; and determining the node as an abnormal node if the abnormality rate of the node is greater than the set abnormality rate.
[0198] In one example, the step S2432 of locating abnormal links in the production line based on the abnormality rate of each node may further include: sorting the abnormality rates of each node in descending order; and obtaining the nodes corresponding to the first predetermined number of abnormality rates as abnormal nodes.
[0199] According to the method of this disclosure, the production flow data of a product can be mapped to a flow path in the flow network of the constructed production line. At the same time, based on the label of whether each product is a good product, the yield rate corresponding to each flow path in the flow network is calculated. Then, based on each flow path in the flow network and the yield rate corresponding to each flow path, abnormal links in the production line are located. That is, the embodiments of this disclosure use the production flow data between each process in the product production process to quickly and accurately locate abnormal links in the production process.
[0200] In one embodiment, according to the above formula (6), the probability model equations may also include the weight w corresponding to the i-th flow path. i Here, because the actual production process is quite complex and may involve a large number of transfer paths, but some transfer paths correspond to very few products, resulting in low confidence in the yield rate of the statistically obtained transfer path. Therefore, the abnormal link location method in the production line of this disclosure embodiment may further include the following steps S3100 to S3300:
[0201] Step S3100: Obtain the first total number of products on each circulation path in the circulation network.
[0202] Step S3200: Adjust the weights of the corresponding flow paths in the probability model equations based on the first total quantity.
[0203] The first total quantity can be proportional to the weight.
[0204] For example, the larger the total number of products on the circulation path, the higher the weight of the corresponding circulation path in the probability model equations.
[0205] For example, the smaller the total number of products on the circulation path, the smaller the weight of the corresponding circulation path in the probability model equations.
[0206] Step S3300: Based on the adjusted weights, solve the probabilistic model equations according to the target optimization algorithm and the set constraints to obtain the pass rate of each node in the circulation network.
[0207] According to the method of this disclosure, when the number of products on the circulation path is particularly small, the weight of the circulation path in the probability model equation set can be adjusted to be smaller, thereby reducing its impact on the location of the entire abnormal link.
[0208] In one embodiment, during practical application, it is possible that all products on a certain flow path are unqualified, that is, the label indicating whether a product is good or bad is 0 for all products on that flow path, resulting in a yield rate of 0 for that flow path. Here, the abnormal link location method in the production line of this disclosure embodiment may further include the following steps S4100 to S4200:
[0209] Step S4100: If the yield rate of any flow path in the flow network is lower than the set yield rate threshold, adjust the yield rate of any flow path.
[0210] The set yield rate threshold can be a value set according to the actual application scenario and actual application requirements. The yield rate threshold can be 0.
[0211] For example, if the yield rate of a certain circulation path is 0, the yield rate of that circulation path can be adjusted to a smaller value.
[0212] Step S4200: Based on each flow path in the flow network and the yield rate corresponding to each adjusted flow path, locate the abnormal link in the production line.
[0213] According to the method of this disclosure, when the yield rate of any flow path is 0, it supports replacing the yield rate of that flow path, so as to more accurately locate the abnormal link in the production line.
[0214] In one embodiment, for processes that do not lead to product defects during production, direct deletion from the flow network is supported. Here, the abnormal link location method in the production line of this disclosure embodiment may further include the following steps S5100 to S5200:
[0215] Step S5100: If any node in the flow network meets the set filtering conditions, delete any node from the flow network to adjust the flow path in the flow network.
[0216] Step S5200: Based on each flow path in the adjusted flow network and the yield rate corresponding to each flow path, locate the abnormal links in the production line.
[0217] In one embodiment, when a process involves a large number of devices, it is also supported to merge multiple devices into one node. Here, the abnormal link location method in the production line of this disclosure embodiment may further include the following steps S6100 to S6200:
[0218] Step S6100: If the number of devices in any process exceeds the set device number threshold, the multiple devices in any process are merged.
[0219] The threshold for the number of devices can be set according to the actual application scenario and actual application requirements.
[0220] For example, these multiple devices can be merged into a single node.
[0221] Step S6200: Using the batch information of all materials involved in the product set and the equipment identification information after merging the processes of each step of the production line as nodes, the flow relationship between nodes as edges, and the flow direction as the direction of the edges, the flow network is reconstructed.
[0222] In one embodiment, the abnormal link location method in the production line of this disclosure may further include: in response to a request to obtain the mining results of the mining flow network, obtaining a set display mode; and displaying the constructed flow network according to the display mode.
[0223] The display mode can be in graphical form.
[0224] In this embodiment, the flow network can be provided according to a set display mode based on the request to obtain the mining results of the flow network, so that the display output has a more user-friendly visual appearance.
[0225] In one embodiment, the method for locating abnormal links in a production line according to this disclosure may further include: dividing the flow network to obtain multiple sub-flow networks, so as to locate the abnormal links in the production line according to the yield rate corresponding to each flow path in the multiple sub-flow networks.
[0226] In this embodiment, for complex flow networks, it supports splitting the process according to the flow path sequence to form multiple sub-flow networks. Then, it starts solving from the last sub-flow network and recursively solves the preceding sub-flow networks.
[0227] For example, such as Figure 4As shown, since the entire production process is quite long, we will only focus on processes C and D here. There may be many processes before process C, and many processes after process D. To solve the sub-flow network composed of processes C and D, we first introduce a virtual node B' upstream of this sub-flow network, representing the intermediate outputs after all processes before B (including B). Each node B' in process B... i Each corresponds to a virtual node B. i Each virtual node has an implicit pass rate. This pass rate represents the total impact of all preceding processes. It can be viewed as the material input for this sub-flow network. Similarly, virtual nodes are introduced downstream of this sub-flow network, and for each node E... i Introducing virtual node E i Similarly, each virtual node E i There is a bank's pass rate This represents the total impact of all subsequent processes. After introducing virtual nodes, a system of model equations can be constructed, such as... Figure 4 The solid line 1 represents the flow path 1. We can then calculate the yield rate P1 along the flow path 1, which passes through nodes B1, C1, D1, and E1, where P1 = P'. B1 *P C1 *P D1 *P' E1 Similarly, statistics can be compiled. Figure 4 The solid line 2 represents the observed product qualification rate P2 = P' along the flow path 2 passing through nodes B2, C3, D3, and E2. B2 *P C3 *P D3 *P' E2 This leads to the following set of model equations:
[0228]
[0229] After obtaining the system of equations, it can be solved in conjunction with the solution of the whole network. The pass rate of the virtual node in the solution does not represent the pass rate of the corresponding node, but is the total impact of all previous or subsequent processes.
[0230] <Device Embodiment>
[0231] In this embodiment, an abnormal link location device 5000 is provided in a production line, such as... Figure 5 As shown, it includes an acquisition module 5100, a construction module 5200, a statistics module 5300, and a positioning module 5400.
[0232] The acquisition module 5100 is used to acquire production flow data of each product in the product collection on the production line and the label indicating whether each product is a good product.
[0233] The construction module 5200 is used to construct the flow network of the production line, wherein the production flow data of a product corresponds to a flow path in the process network.
[0234] The statistics module 5300 is used to calculate the yield rate of each circulation path in the circulation network based on the label indicating whether each product is a good product.
[0235] The positioning module 5400 is used to locate abnormal links in the production line based on each flow path in the flow network and the yield rate corresponding to each flow path.
[0236] In one embodiment, each piece of infectious disease diagnosis and treatment data includes a patient identification identifier, and one or both of the time of onset and the time of diagnosis.
[0237] In one embodiment, the production flow data includes: batch information of the materials used to produce the product, and identification information of the equipment used in each process of the production line through which the materials pass.
[0238] In one embodiment, the building module 5200 is specifically used for:
[0239] Based on the batch information of the materials used in the production process and the equipment identification information of each process in the production line, the flow relationship and flow direction of the materials used in the production process are obtained. A flow network is constructed with the batch information of all materials involved in the product set and the equipment identification information of each process in the production line as nodes, the flow relationship between nodes as edges, and the flow direction as the direction of the edges.
[0240] In one embodiment, the statistics module 5300 is specifically used to: obtain a first total number of products on each circulation path in the circulation network; obtain a second total number of products labeled as good on each circulation path; and obtain the yield rate on each circulation path based on the first total number and the second total number corresponding to each circulation path.
[0241] In one embodiment, each flow path includes batch information nodes for the materials used to produce the product and identification information nodes for the equipment in each process of the production line through which the materials pass. The positioning module 5400 is specifically used to: construct a system of probabilistic model equations using the pass rate of each node on each flow path in the flow network as an unknown parameter and the yield rate corresponding to the flow path as a known parameter; solve the system of probabilistic model equations to obtain the pass rate of each node in the flow network; and locate abnormal links in the production line based on the pass rate of each node in the flow network.
[0242] In one embodiment, the positioning module 5400 is specifically used for: acquiring a target optimization algorithm, wherein the target optimization algorithm includes at least one of quadratic programming algorithm, particle swarm optimization algorithm, and genetic algorithm; solving the probabilistic model equations according to the target optimization algorithm and set constraints to obtain the pass rate of each node in the circulation network; wherein the set constraints include constraints on the pass rate of each node in the circulation network.
[0243] In one embodiment, the constraint on the pass rate of each node in the circulation network is that the pass rate of each node is a natural number between 0 and 1.
[0244] In one embodiment, the positioning module 5400 is specifically used to: obtain the abnormality rate of each node based on the pass rate of each node in the circulation network; and locate the abnormal link in the production line based on the abnormality rate of each node.
[0245] In one embodiment, the positioning module 5400 is specifically configured to: obtain a preset anomaly rate for each node; compare the anomaly rate of each node with the corresponding preset anomaly rate; and determine the node as an abnormal node if the anomaly rate of the node is greater than the preset anomaly rate.
[0246] In one embodiment, the positioning module 5400 is specifically used to: sort the abnormality rates of each node in descending order; and obtain the nodes corresponding to the first predetermined number of abnormality rates as abnormal nodes.
[0247] In one embodiment, the probabilistic model equations further include weights corresponding to each circulation path; the positioning module 5400 is further configured to: obtain a first total number of products on each circulation path in the circulation network; adjust the weights corresponding to the circulation paths in the probabilistic model equations based on the first total number; and solve the probabilistic model equations based on the adjusted weights, according to the target optimization algorithm and the set constraints, to obtain the pass rate of each node in the circulation network.
[0248] In one embodiment, the positioning module 5400 is further configured to: adjust the yield rate on any flow path when the yield rate corresponding to any flow path in the flow network is lower than a set yield rate threshold; and locate abnormal links in the production line based on the yield rates corresponding to each flow path in the flow network and the adjusted yield rates of each flow path.
[0249] In one embodiment, the positioning module 5400 is further configured to: delete any node in the flow network to adjust the flow path in the flow network if any node in the flow network meets the set filtering conditions; and locate abnormal links in the production line based on each flow path and the yield rate corresponding to each flow in the adjusted flow network.
[0250] In one embodiment, the construction module 5200 is further configured to: merge multiple devices in any process when the number of devices in any process exceeds a set threshold; and reconstruct the flow network using the batch information of all materials involved in the product set and the identification information of the devices after merging in each process of the production line as nodes, the flow relationship between nodes as edges, and the flow direction as the direction of the edges.
[0251] In one embodiment, the positioning module 5400 is further configured to: divide the flow network to obtain multiple sub-flow networks, so as to locate the abnormal link in the production line according to the yield rate corresponding to each flow path in the multiple sub-flow networks.
[0252] In one embodiment, the device 5000 further includes a display module (not shown).
[0253] The display module is used to respond to a request to obtain the mining results of the mining flow network, obtain a set display mode, and display the constructed flow network according to the display mode.
[0254] In one embodiment, the acquisition module is specifically configured to: send a request to the product data system via an acquisition interface to acquire production flow data of each product in the product set on the production line and a label indicating whether each product is a good product; wherein the request carries at least one of the identification information of the product set and the identification information of each product; and receive the production flow data of each product and the label indicating whether each product is a good product returned by the product data system in response to the request.
[0255] <Storage Medium Examples>
[0256] This embodiment provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method according to any one of the above method embodiments.
[0257] This invention can be an apparatus, method, and / or computer program product. A computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for causing a processor to implement various aspects of the invention.
[0258] Computer-readable storage media can be tangible devices capable of holding and storing instructions for use by an instruction execution device. Computer-readable storage media can be, for example—but not limited to—electrical storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital multifunction disc (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or recessed protrusions storing instructions thereon, and any suitable combination thereof. The computer-readable storage media used herein are not to be construed as transient signals themselves, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber optic cables), or electrical signals transmitted through wires.
[0259] The computer-readable program instructions described herein can be downloaded from computer-readable storage media to various computing / processing devices, or downloaded via a network, such as the Internet, local area network, wide area network, and / or wireless network, to an external computer or external storage device. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards them to the computer-readable storage media in the respective computing / processing device.
[0260] The computer program instructions used to perform the operations of this invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk, C++, etc., and conventional procedural programming languages such as the "C" language or similar programming languages. The computer-readable program instructions may be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, electronic circuitry, such as programmable logic circuitry, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), is personalized by utilizing state information from the computer-readable program instructions. This electronic circuitry can execute the computer-readable program instructions to implement various aspects of the invention.
[0261] Various aspects of the present invention are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0262] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processor of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0263] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0264] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions. It will be known to those skilled in the art that implementation in hardware, implementation in software, and implementation using a combination of software and hardware are equivalent.
[0265] The various embodiments of the present invention have been described above. These descriptions are exemplary and not exhaustive, and are not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical application, or technical improvements to the embodiments in the market, or to enable others skilled in the art to understand the embodiments disclosed herein. The scope of the invention is defined by the appended claims.
Claims
1. A method for locating abnormal links in a production line. include: Obtain the production flow data of each product in the product set on the production line and the label of whether each product is a good product; Constructing a circulation network of the production line, wherein the production circulation data of a product corresponds to a circulation path in the circulation network; According to the label of whether each product is a good product, the good product rate corresponding to each circulation path in the circulation network is counted; According to each circulation path in the circulation network and the yield rate corresponding to each circulation path, the abnormal link in the production line is located, The production flow data includes: batch information of materials used to produce products, identification information of equipment in each process of the production line through which the materials pass, The construction of the circulation network of the production line includes: According to the batch information of the materials for producing the products and the identification information of the equipment in each process of the production line, the flow relationship and flow direction between the materials for producing the products and each process are obtained; A circulation network is constructed with the batch information of all materials involved in the product set and the identification information of the equipment in each process of the production line as nodes, the flow relationship between nodes as edges, and the flow direction as the direction of the edge.
2. The method according to claim 1, in, The method of counting the yield rate corresponding to each circulation path in the circulation network according to the label of whether each product is a good product includes: Acquire a first total quantity of products on each circulation path in the circulation network; Obtaining a second total quantity of products labeled as good products on each of the circulation paths; The yield rate on each circulation path is obtained according to the first total quantity and the second total quantity corresponding to each circulation path.
3. The method according to claim 1, in, Each of the circulation paths includes the batch information nodes of the materials used to produce the products and the identification information nodes of the equipment in each process of the production line through which the materials pass. The method of locating abnormal links in the production line according to the yield rate corresponding to each circulation path in the circulation network includes: The qualified rate of each node on each circulation path in the circulation network is an unknown parameter, and the good rate corresponding to the circulation path is a known parameter, to construct a probability model equation group; Solving the probability model equation group to obtain the qualified rate of each node in the circulation network; According to the qualified rate of each node in the circulation network, the abnormal link in the production line is located.
4. The method according to claim 3, in, The step of solving the probability model equation group to obtain the qualified rate of each node in the flow network includes: Obtaining a target optimization algorithm, wherein the target optimization algorithm includes at least one of a quadratic programming algorithm, a particle swarm algorithm, and a genetic algorithm; Solving the probability model equations according to the target optimization algorithm and the set constraints to obtain the qualified rate of each node in the circulation network; The set constraint conditions include constraints on the pass rate of each node in the circulation network.
5. The method according to claim 4, in, The constraint on the pass rate of each node in the circulation network is: the pass rate of each node is a natural number between 0 and 1.
6. The method according to claim 3, in, The method of locating abnormal links in the production line according to the qualified rate of each node in the circulation network includes: According to the qualified rate of each node in the circulation network, the abnormal rate of each node is obtained; According to the abnormality rate of each of the nodes, the abnormal links in the production line are located.
7. The method according to claim 6, in, The locating of abnormal links in the production line according to the abnormality rate of each node includes: For each of the nodes, obtaining a preset abnormality rate; Comparing the abnormality rate of each node with the corresponding set abnormality rate; When the abnormality rate of the node is greater than a set abnormality rate, the node is determined to be an abnormal node.
8. The method according to claim 6, in, The method of locating abnormal links in the production line according to the abnormality rate of each node further includes: Sort the abnormality rates of the nodes in descending order; The nodes corresponding to the previously predetermined number of abnormal rates are obtained as abnormal nodes.
9. The method according to claim 4, in, The probability model equation group also includes a weight corresponding to each flow path; The method further comprises: Acquire a first total quantity of products on each circulation path in the circulation network; According to the first total number, adjusting the weight of the flow path in the probability model equation group; Based on the adjusted weights, according to the target optimization algorithm and the set constraints, the probability model equations are solved to obtain the pass rate of each node in the circulation network.
10. The method according to claim 1, in, The method further comprises: When the yield rate corresponding to any circulation path in the circulation network is lower than a set yield rate threshold, adjusting the yield rate on any circulation path; According to each circulation path in the circulation network and the yield rate corresponding to each adjusted circulation path, the abnormal link in the production line is located.
11. The method according to claim 1, in, The method further comprises: When any node in the circulation network satisfies a set filtering condition, deleting the any node from the circulation network to adjust a circulation path in the circulation network; Based on each circulation path in the adjusted circulation network and the yield rate corresponding to each circulation path, the abnormal link in the production line is located.
12. The method according to claim 1, in, The method further comprises: When the number of equipment in any process exceeds the set equipment number threshold, multiple equipment in any process are merged; The flow network is reconstructed using the batch information of all materials involved in the product set and the identification information of the equipment after the merge processing in each process of the production line as nodes, the flow relationship between nodes as edges, and the flow direction as the direction of the edge.
13. The method according to claim 1, in, The method further comprises: The circulation network is divided to obtain a plurality of sub-circulation networks, so as to locate abnormal links in the production line according to the yield rate corresponding to each circulation path in the plurality of sub-circulation networks.
14. The method according to claim 1, in, The method further comprises: In response to a request for obtaining a mining result of mining a flow network, obtaining a set display mode; The constructed flow network is displayed according to the display mode.
15. The method according to claim 1, in, The obtaining of the production flow data on the production flow line of each product in the product set and the label of whether each product is a good product includes: Sending a request to the product data system through an acquisition interface to obtain production flow data of each product in the product set on the production line and a label indicating whether each product is a good product; wherein the request carries at least one of the identification information of the product set and the identification information of each product; The production flow data of each product and a label indicating whether each product is a good product are received and returned by the product data system in response to the request.
16. A device for locating abnormal links in a production line. include: The acquisition module is used to obtain the production flow data of each product in the product set on the production line and the label of whether each product is a good product; A construction module, used to construct a circulation network of the production line, wherein the production circulation data of a product corresponds to a circulation path in the circulation network; A statistical module, for counting the yield rate corresponding to each circulation path in the circulation network according to the label of whether each product is a good product; A positioning module is used to locate abnormal links in the production line according to each circulation path in the circulation network and the yield rate corresponding to each circulation path, The production flow data includes: batch information of materials used to produce products, identification information of equipment in each process of the production line through which the materials pass, The building blocks are specifically used for: According to the batch information of the materials for producing the products and the identification information of the equipment in each process of the production line, the flow relationship and flow direction between the materials for producing the products and each process are obtained; A circulation network is constructed with the batch information of all materials involved in the product set and the identification information of the equipment in each process of the production line as nodes, the flow relationship between nodes as edges, and the flow direction as the direction of the edge.
17. The device according to claim 16, in, The statistical module is specifically used for: Acquire a first total quantity of products on each circulation path in the circulation network; Obtaining a second total quantity of products labeled as good products on each of the circulation paths; The yield rate on each circulation path is obtained according to the first total quantity and the second total quantity corresponding to each circulation path.
18. The device according to claim 16, in, Each of the circulation paths includes the batch information nodes of the materials used to produce the products and the identification information nodes of the equipment in each process of the production line through which the materials pass. The positioning module is specifically used to: The qualified rate of each node on each circulation path in the circulation network is an unknown parameter, and the good rate corresponding to the circulation path is a known parameter, to construct a probability model equation group; Solving the probability model equation group to obtain the qualified rate of each node in the circulation network; According to the qualified rate of each node in the circulation network, the abnormal link in the production line is located.
19. The device according to claim 18, in, The positioning module is specifically used for: Obtaining a target optimization algorithm, wherein the target optimization algorithm includes at least one of a quadratic programming algorithm, a particle swarm algorithm, and a genetic algorithm; Solving the probability model equations according to the target optimization algorithm and the set constraints to obtain the qualified rate of each node in the circulation network; The set constraint conditions include constraints on the pass rate of each node in the circulation network.
20. The device according to claim 19, in, The constraint on the pass rate of each node in the circulation network is: the pass rate of each node is a natural number between 0 and 1.
21. The device according to claim 18, in, The positioning module is specifically used for: According to the qualified rate of each node in the circulation network, the abnormal rate of each node is obtained; According to the abnormality rate of each of the nodes, the abnormal links in the production line are located.
22. The device according to claim 21, in, The positioning module is specifically used for: For each of the nodes, obtaining a preset abnormality rate; Comparing the abnormality rate of each node with the corresponding set abnormality rate; When the abnormality rate of the node is greater than a set abnormality rate, the node is determined to be an abnormal node.
23. The device according to claim 21, in, The positioning module is specifically used for: Sort the abnormality rates of the nodes in descending order; The nodes corresponding to the previously predetermined number of abnormal rates are obtained as abnormal nodes.
24. The device according to claim 19, in, The probability model equation group also includes a weight corresponding to each flow path; the positioning module is also used to: Acquire a first total quantity of products on each circulation path in the circulation network; According to the first total number, adjusting the weight of the flow path in the probability model equation group; Based on the adjusted weights, according to the target optimization algorithm and the set constraints, the probability model equations are solved to obtain the pass rate of each node in the circulation network.
25. The device according to claim 16, in, The positioning module is also used for: When the yield rate corresponding to any circulation path in the circulation network is lower than a set yield rate threshold, adjusting the yield rate on any circulation path; According to each circulation path in the circulation network and the yield rate corresponding to each adjusted circulation path, the abnormal link in the production line is located.
26. The device according to claim 16, in, The positioning module is also used for: When any node in the circulation network satisfies a set filtering condition, deleting the any node from the circulation network to adjust a circulation path in the circulation network; Based on each circulation path in the adjusted circulation network and the yield rate corresponding to each circulation path, the abnormal link in the production line is located.
27. The device according to claim 16, in, The building blocks are also used to: When the number of equipment in any process exceeds the set equipment number threshold, multiple equipment in any process are merged; The flow network is reconstructed using the batch information of all materials involved in the product set and the identification information of the equipment after the merge processing in each process of the production line as nodes, the flow relationship between nodes as edges, and the flow direction as the direction of the edge.
28. The device according to claim 16, in, The positioning module is also used for: The circulation network is divided to obtain a plurality of sub-circulation networks, so as to locate abnormal links in the production line according to the yield rate corresponding to each circulation path in the plurality of sub-circulation networks.
29. The device according to claim 16, in, The device further comprises a display module, wherein the display module is configured to: In response to a request for obtaining a mining result of mining a flow network, obtaining a set display mode; The constructed flow network is displayed according to the display mode.
30. The device according to claim 16, in, The acquisition module is specifically used for: Sending a request to the product data system through an acquisition interface to obtain production flow data of each product in the product set on the production line and a label indicating whether each product is a good product; wherein the request carries at least one of the identification information of the product set and the identification information of each product; The production flow data of each product and a label indicating whether each product is a good product are received and returned by the product data system in response to the request.
31. An apparatus comprising at least one computing device and at least one storage device, in, The at least one storage device is used to store instructions, which implement the method according to any one of claims 1 to 15 when executed by the at least one computing device.
32. A computer-readable storage medium, in, A computer program is stored thereon, which implements the method according to any one of claims 1 to 15 when executed by a processor.
