Product tracing method, device, equipment and storage medium
By analyzing the number of unqualified products and outbound information of the process line through computer equipment and determining the difficulty of traceability, the problem of low efficiency and accuracy of product traceability in the MES system was solved, and efficient and accurate product traceability was achieved.
Patent Information
- Application Number
- CN202510123367.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-26
- Publication Date
- 2025-09-23
- Estimated Expiration
- 2045-01-26
AI Technical Summary
The existing Manufacturing Execution System (MES) has low efficiency and accuracy in product traceability and cannot meet the needs of actual production.
By obtaining the number and total number of unqualified products produced by each process line in the target batch, calculating the proportion of unqualified products, and combining the outbound time and outbound distance, the traceability difficulty is determined, and product traceability is performed when the traceability difficulty is less than or equal to the preset threshold.
The efficiency and accuracy of product traceability are improved. By analyzing the product quality of different process lines, the target process lines where unqualified products appear are determined and targeted traceability is carried out.
Smart Images

Figure CN119941282B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of product detection, and in particular to a product tracing method, apparatus, device, and storage medium. Background Art
[0002] Currently, most existing Manufacturing Execution Systems (MES) only provide a system platform. Since the system can only obtain limited product information in real time, when product traceability is needed later, the efficiency and accuracy of traceability are low, which cannot meet the product traceability requirements in actual production. Summary of the Invention
[0003] In order to solve the above technical problems, the present disclosure provides a product tracing method, device, equipment and storage medium.
[0004] A first aspect of the present disclosure provides a product tracing method, comprising:
[0005] In response to the completion of production of the products in the target batch, obtaining the number of unqualified products produced by each process line in the target batch and the total number of products produced by each process line;
[0006] Determine the target process line in the target batch based on the proportion of the number of unqualified products produced by each process line in the target batch to the total number of products produced by the process line;
[0007] For each target process line in the target batch, calculate the difficulty of tracing the unqualified products on the target process line based on the delivery time and delivery distance of all unqualified products on the target process line;
[0008] When the difficulty of tracing back the unqualified product is less than or equal to the preset traceability threshold, the unqualified product corresponding to the traceability difficulty is determined as the target product that needs to be traced;
[0009] Trace the target product.
[0010] A second aspect of the present disclosure provides a product tracing device, comprising:
[0011] an acquisition module, configured to acquire, in response to completion of production of products in a target batch, the number of unqualified products produced by each process line in the target batch and the total number of products produced by each process line;
[0012] A first determination module is configured to determine a target process line in a target batch based on a ratio of the number of unqualified products produced by each process line in the target batch to the total number of products produced by the process line;
[0013] A calculation module is used to calculate the traceability difficulty of unqualified products on each target process line in the target batch based on the delivery time and delivery distance of all unqualified products on the target process line;
[0014] The second determination module is configured to determine, when the traceability difficulty of the unqualified product is less than or equal to a preset traceability threshold, that the unqualified product corresponding to the traceability difficulty is a target product that needs to be traced;
[0015] The traceability module is used to trace the target product.
[0016] A third aspect of the present disclosure provides a computer device including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the product tracing method of the first aspect can be implemented.
[0017] A fourth aspect of the present disclosure provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the product tracing method of the first aspect can be implemented.
[0018] The technical solution provided by the present disclosure has the following advantages compared with the existing technology:
[0019] The present disclosure obtains the number of unqualified products produced by each process line in the target batch and the total number of products produced by each process line in response to the completion of product production in the target batch; determines the target process line in the target batch based on the proportion of the number of unqualified products produced by each process line in the target batch in the total number of products produced by the process line; for each target process line in the target batch, calculates the difficulty of tracing the unqualified products on the target process line based on the outbound delivery time and outbound delivery distance of all unqualified products on the target process line; when the difficulty of tracing the unqualified products is less than or equal to a preset tracing threshold, determines that the unqualified products corresponding to the tracing difficulty are target products that need to be traced; and traces the target products. The present disclosure can improve the efficiency and accuracy of product tracing by analyzing the product quality of different process lines in the same batch, determining the target process line where unqualified products appear in a concentrated manner, and then determining the target products in the batch that need to be traced based on the difficulty of tracing the unqualified products on the target process line, and then tracing the target products. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0021] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0022] Figure 1 is a flow chart of a product tracing method provided by an embodiment of the present disclosure;
[0023] Figure 2 is a flow chart of another product tracing method provided by an embodiment of the present disclosure;
[0024] Figure 3 This is a schematic structural diagram of a product tracing device provided by an embodiment of the present disclosure;
[0025] Figure 4 It is a structural diagram of a computer device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0026] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features therein can be combined with each other in the absence of conflict.
[0027] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0028] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0029] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.
[0030] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".
[0031] The product traceability method provided in the embodiments of the present disclosure may be executed by a computer device, which may be understood as any device with processing and computing capabilities. The device may include, but is not limited to, mobile terminals such as smartphones, laptops, and tablet computers (PADs), as well as fixed electronic devices such as digital TVs and desktop computers.
[0032] In order to better understand the inventive concept of the embodiments of the present disclosure, the technical solutions of the embodiments of the present disclosure are described below in conjunction with exemplary embodiments.
[0033] Figure 1 is a flowchart of a product tracing method provided by an embodiment of the present disclosure, which can be executed by a computer device, such as Figure 1 As shown, the product tracing method provided in this embodiment includes the following steps:
[0034] Step 110 : In response to the completion of production of products in the target batch, the number of unqualified products produced by each process line in the target batch and the total number of products produced by each process line are obtained.
[0035] In an embodiment of the present disclosure, when the production of products in the target batch is completed, the computer device can obtain the number of unqualified products produced by each process line in the target batch and the total number of products produced by each process line in response to the completion of the production of products in the target batch.
[0036] The process line can include the front process line, the middle process line, the back process line, etc.
[0037] In some embodiments, obtaining the number of unqualified products produced by each process line in the target batch may include steps 1101-1103:
[0038] Step 1101: Perform quality inspection on each product in the target batch to obtain a quality value of each product, where the quality value is a comprehensive indicator reflecting product quality.
[0039] The quality value can be understood as a comprehensive indicator of product quality. For example, it can reflect the overall performance of the product in terms of dimensional accuracy and appearance quality. A larger quality value indicates lower product quality; a smaller quality value indicates higher product quality.
[0040] Specifically, the above-mentioned quality inspection of each product in the target batch to obtain the quality value of each product may include S11-S13:
[0041] S11. Obtain the actual size and surface defect value of each product in the target batch.
[0042] In the embodiments of this disclosure, surface defects refer to various imperfections or irregularities that appear on the surface of a product during the manufacturing process. These features may affect the product's appearance, function, and durability. The surface defect value can be understood as an indicator reflecting the degree of surface defects on a product.
[0043] S12. For each product in the target batch, calculate the difference between the actual size and the designed size of the product to obtain the size deviation value of the product.
[0044] S13. De-dimensionalize the size deviation value and surface defect value of the product to obtain the target size deviation value and target surface defect value of the product.
[0045] Dedimensionalization can be understood as removing some or all units of a physical quantity by replacing them with an appropriate variable in order to simplify an experiment or calculation. Dedimensionalization eliminates inconsistencies between data units and transforms the data into a unitless dataset, facilitating subsequent weighted calculations.
[0046] In the embodiment of the present disclosure, the dimensional deviation value and surface defect value of the product are dedimensionalized, and the dimensional deviation value and surface defect value of the product can be converted into unitless data to obtain the target dimensional deviation value and target surface defect value of the product.
[0047] S13. Sum the target size deviation value and the target surface defect value of the product to obtain the quality value of the product.
[0048] Step 1102: When the quality value of the product is greater than a preset quality threshold, the product is determined to be an unqualified product.
[0049] In the embodiment of the present disclosure, the computer device may determine that a product is an unqualified product when the quality value of the product is greater than a preset quality threshold.
[0050] The preset quality threshold can be set as needed and is not limited here.
[0051] Step 1103: Count the number of unqualified products produced by each process line in the target batch.
[0052] Step 120: Determine the target process line in the target batch based on the proportion of the number of unqualified products produced by each process line in the target batch to the total number of products produced by the process line.
[0053] In an embodiment of the present disclosure, for each process line in the target batch, the computer device can determine whether the process line is qualified based on the proportion of the number of unqualified products produced by the process line in the total number of products produced by the process line, and thus obtain the target process line in the target batch.
[0054] In some embodiments, determining the target process line in the target batch based on the proportion of the number of unqualified products produced by each process line in the target batch to the total number of products produced by the process line may include steps 1201 and 1202:
[0055] Step 1201: For each process line in the target batch, calculate the ratio between the number of unqualified products produced by the process line and the total number of products produced by the process line.
[0056] Step 1202: When the ratio between the number of unqualified products produced by the process line and the total number of products produced by the process line is greater than a preset threshold, determine that the process line corresponding to the ratio is the target process line in the target batch.
[0057] Step 130: For each target process line in the target batch, the difficulty of tracing the unqualified products on the target process line is calculated based on the delivery time and delivery distance of all unqualified products on the target process line.
[0058] In an embodiment of the present disclosure, for each target process line in a target batch, a computer device can calculate the difficulty of tracing unqualified products on the target process line based on the outbound time and outbound distance of all unqualified products on the target process line.
[0059] The library in the embodiment of the present disclosure can be understood as a storeroom or warehouse for storing products.
[0060] The product's outbound time can be understood as the time it takes for the product to leave the warehouse.
[0061] The product's outbound distance can be understood as the distance between the product and the warehouse or depot after the product leaves the warehouse.
[0062] In some embodiments, calculating the difficulty of tracing back unqualified products on the target process line based on the delivery time and delivery distance of all unqualified products on the target process line may include steps 1301-1305:
[0063] Step 1301: For each target process line in a target batch, obtain the delivery time and delivery distance of each unqualified product on the target process line.
[0064] In the embodiment of the present disclosure, after obtaining the target process line in the target batch, the computer device can obtain the outbound time and outbound distance of each unqualified product on the target process line for each target process line in the target batch.
[0065] In some embodiments, the above-mentioned obtaining of the delivery time and delivery distance of each unqualified product on the target process line may include S21-S23:
[0066] S21. For each unqualified product on the target process line, obtain the delivery time, delivery location, and delivery destination location of the unqualified product.
[0067] The outgoing time can be understood as the moment when the product is shipped out of the warehouse.
[0068] The outbound location can be understood as the location where the product is located when it leaves the warehouse.
[0069] The outbound destination can be understood as the location where the product is planned to arrive after leaving the warehouse.
[0070] S22: Calculate the difference between the current actual time and the delivery time of the unqualified product to obtain the delivery time of the unqualified product.
[0071] S23. Calculate the distance between the delivery terminal position and the delivery position of the unqualified product to obtain the delivery distance of the unqualified product.
[0072] Step 1302: Calculate the average outbound time of all unqualified products on the target process line to obtain the average outbound time of all unqualified products on the target process line.
[0073] Step 1303: Calculate the average outbound distance of all unqualified products on the target process line to obtain the average outbound distance of all unqualified products on the target process line.
[0074] Step 1304: De-dimensionalize the average delivery time and average delivery distance corresponding to the target process line to obtain the target average delivery time and target average delivery distance corresponding to the target process line.
[0075] In the embodiment of the present disclosure, the average outbound time and average outbound distance corresponding to the target process line are de-dimensionalized, and the average outbound time and average outbound distance can be converted into unitless data to obtain the target average outbound time and target average outbound distance corresponding to the target process line.
[0076] Step 1305: Sum the target average delivery time and target average delivery distance corresponding to the target process line to obtain the difficulty of tracing unqualified products on the target process line.
[0077] Step 140: When the traceability difficulty of the unqualified product is less than or equal to a preset traceability threshold, determine that the unqualified product corresponding to the traceability difficulty is a target product that needs to be traced.
[0078] In the embodiment of the present disclosure, the preset tracing threshold can be set as needed and is not limited here.
[0079] When the difficulty of tracing back an unqualified product is less than or equal to a preset tracing threshold, it means that the unqualified product was shipped out shortly and the distance is close, so the tracing difficulty is relatively small and the probability of successfully tracing back the unqualified product is relatively high. Therefore, the computer device can identify the unqualified product corresponding to the tracing difficulty as a target product that needs to be traced back.
[0080] When the difficulty of tracing an unqualified product is greater than the preset tracing threshold, it means that the unqualified product has been out of the warehouse for a long time and is far away, making it difficult to trace back. The probability of successfully tracing back the unqualified product is small, so the computer device can give up tracing the unqualified product.
[0081] Step 150: trace the target product.
[0082] Therefore, by analyzing the product quality of different process lines in the same batch, we can determine the target process line where unqualified products appear in large numbers, and then determine the target products in the batch that need to be traced based on the difficulty of tracing the unqualified products on the target process line. Then, by tracing the target products, we can improve the efficiency and accuracy of product traceability.
[0083] Figure 2 is a flowchart of a product tracing method provided by an embodiment of the present disclosure, which can be executed by a computer device, such as Figure 2 As shown, the product tracing method provided in this embodiment includes the following steps:
[0084] Step 210: In response to the completion of production of products in the target batch, obtain the number of unqualified products produced by each process line in the target batch and the total number of products produced by each process line.
[0085] Step 220: Determine the target process line in the target batch based on the proportion of the number of unqualified products produced by each process line in the target batch to the total number of products produced by the process line.
[0086] Step 230: For each target process line in the target batch, the difficulty of tracing the unqualified products on the target process line is calculated based on the delivery time and delivery distance of all unqualified products on the target process line.
[0087] Step 240: When the traceability difficulty of the unqualified product is less than or equal to the preset traceability threshold, determine that the unqualified product corresponding to the traceability difficulty is a target product that needs to be traced.
[0088] Step 250: Obtain the quality value of each target product in the target batch. The quality value is a comprehensive indicator reflecting the quality of the product.
[0089] For details, please refer to the contents of S11-S13, which will not be repeated here.
[0090] Step 260 : Based on the quality value of each target product in the target batch, all target products in the target batch are sorted in descending order of quality value to obtain a traceable product sequence.
[0091] Step 270: trace the target products in the traceable product sequence in sequence.
[0092] Therefore, by analyzing the product quality of different process lines in the same batch, the target process line where unqualified products appear in large numbers is determined, and then according to the difficulty of tracing the unqualified products on the target process line, the target products in the batch that need to be traced are determined. Then, the target products are traced in order from large to small according to their quality values. This allows priority to be given to tracing products of poor quality, thereby improving the efficiency and accuracy of product tracing.
[0093] It should be noted that the above-mentioned product traceability method can be executed by a manufacturing execution system (MES) in a computer device.
[0094] Figure 3 This is a schematic diagram of the structure of a product tracing device provided by an embodiment of the present disclosure. The device can be understood as the above-mentioned computer device or some functional modules in the above-mentioned computer device. Figure 3 As shown, the product tracing device 300 includes:
[0095] An acquisition module 310 is configured to acquire, in response to completion of production of products in a target batch, the number of unqualified products produced by each process line in the target batch and the total number of products produced by each process line;
[0096] A first determining module 320 is configured to determine a target process line in the target batch based on a ratio of the number of unqualified products produced by each process line in the target batch to the total number of products produced by the process line;
[0097] A calculation module 330 is configured to calculate, for each target process line in the target batch, the difficulty of tracing the unqualified products on the target process line based on the delivery time and delivery distance of all unqualified products on the target process line;
[0098] The second determining module 340 is configured to determine, when the tracing difficulty of the unqualified product is less than or equal to a preset tracing threshold, that the unqualified product corresponding to the tracing difficulty is a target product that needs to be traced;
[0099] The tracing module 350 is used to trace the target product.
[0100] Optionally, the acquisition module includes:
[0101] A detection submodule is used to perform quality detection on each product in the target batch to obtain a quality value of each product, where the quality value is a comprehensive indicator reflecting the quality of the product;
[0102] A first determination submodule, configured to determine that the product is an unqualified product when the quality value of the product is greater than a preset quality threshold;
[0103] The statistics submodule is used to count the number of unqualified products produced by each process line in the target batch.
[0104] Optionally, the detection submodule includes:
[0105] an acquisition unit, configured to acquire the actual size and surface defect value of each product in the target batch;
[0106] a calculation unit, configured to calculate, for each product in the target batch, a difference between the actual size and the designed size of the product, to obtain a size deviation value of the product;
[0107] a de-dimensionalization processing unit, configured to perform de-dimensionalization processing on the size deviation value and the surface defect value of the product to obtain a target size deviation value and a target surface defect value of the product;
[0108] The summing unit is used to sum the target size deviation value and the target surface defect value of the product to obtain the quality value of the product.
[0109] Optionally, the first determining module includes:
[0110] A first calculation submodule is configured to calculate, for each process line in the target batch, a ratio between the number of unqualified products produced by the process line and the total number of products produced by the process line;
[0111] The second determining submodule is configured to determine, when the ratio is greater than a preset threshold, that the process line corresponding to the ratio is the target process line in the target batch.
[0112] Optionally, the calculation module includes:
[0113] The first acquisition submodule is used to obtain, for each target process line in the target batch, the outbound time and outbound distance of each unqualified product on the target process line;
[0114] The second calculation submodule is used to calculate the average delivery time of all unqualified products on the target process line to obtain the average delivery time of all unqualified products on the target process line;
[0115] The third calculation submodule is used to calculate the average outbound distance of all unqualified products on the target process line to obtain the average outbound distance of all unqualified products on the target process line;
[0116] A dimension removal submodule is used to perform dimension removal on the average delivery time and average delivery distance corresponding to the target process line to obtain the target average delivery time and target average delivery distance corresponding to the target process line;
[0117] The summing submodule is used to sum the target average delivery time and target average delivery distance corresponding to the target process line to obtain the traceability difficulty of unqualified products on the target process line.
[0118] Optionally, the acquisition submodule includes:
[0119] An acquisition unit, configured to acquire, for each unqualified product on the target process line, the delivery time, delivery location, and delivery destination location of the unqualified product;
[0120] A difference calculation unit is used to calculate the difference between the current actual time and the delivery time to obtain the delivery time of the unqualified product;
[0121] The calculation unit is used to calculate the distance between the outbound terminal position and the outbound position of the unqualified product to obtain the outbound distance of the unqualified product.
[0122] Optionally, the above traceability module includes:
[0123] A second acquisition submodule is configured to obtain a quality value of each target product in the target batch, where the quality value is a comprehensive indicator reflecting product quality;
[0124] A sorting submodule is used to sort all target products in the target batch in descending order of quality value based on the quality value of each target product in the target batch to obtain a traceable product sequence;
[0125] The tracing submodule is used to trace the target products in the traceable product sequence in sequence.
[0126] The product tracing device provided in the embodiments of the present disclosure can implement the method of any of the above embodiments, and its execution method and beneficial effects are similar, which will not be repeated here.
[0127] An embodiment of the present disclosure also provides a computer device, which includes a processor and a memory, wherein a computer program is stored in the memory. When the computer program is executed by the processor, the method of any of the above embodiments can be implemented. The execution method and beneficial effects are similar and will not be repeated here.
[0128] Figure 4 is a structural diagram of a computer device provided by an embodiment of the present disclosure, such as Figure 4 As shown, the computer device 400 may include a processor 410 and a memory 420, wherein the memory 420 stores a computer program 421. When the computer program 421 is executed by the processor 410, it can implement the method provided by any of the above embodiments. The execution method and beneficial effects are similar and will not be repeated here.
[0129] Of course, to simplify, Figure 4 Only some of the components related to the present invention in the computer device 400 are shown, and components such as a bus, input / output interface, input device, and output device are omitted. In addition, the computer device 400 may also include any other appropriate components according to specific application scenarios.
[0130] An embodiment of the present disclosure provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the method of any of the above embodiments can be implemented. The execution method and beneficial effects are similar and will not be repeated here.
[0131] The computer-readable storage medium can be any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, but is not limited to, a system, device or component of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0132] The computer program can be written in any combination of one or more programming languages to implement the program code for performing the operations of the embodiments of the present disclosure, including object-oriented programming languages such as Java, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code can be executed entirely on the user's computer device, partially on the user's computer device, as a stand-alone software package, partially on the user's computer device and partially on a remote computer device, or entirely on a remote computer device or server.
[0133] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.
[0134] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details have been included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0135] The foregoing description is intended only to provide specific embodiments of the present disclosure, intended to enable those skilled in the art to understand and implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the embodiments described herein, but rather to be construed in the broadest manner consistent with the principles and novel features disclosed herein.
Claims
1. A product tracing method, characterized in that: include: In response to the completion of production of products in the target batch, obtaining the number of unqualified products produced by each process line in the target batch and the total number of products produced by each process line; Determining a target process line in the target batch based on the proportion of the number of unqualified products produced by each process line in the target batch to the total number of products produced by the process line; For each target process line in the target batch, the difficulty of tracing the unqualified products on the target process line is calculated based on the delivery time and delivery distance of all unqualified products on the target process line; When the tracing difficulty of the unqualified product is less than or equal to a preset tracing threshold, determining the unqualified product corresponding to the tracing difficulty as a target product that needs to be traced; The target product is traced.
2. The method according to claim 1, characterized in that The obtaining of the number of unqualified products produced by each process line in the target batch includes: Performing quality testing on each product in the target batch to obtain a quality value for each product, wherein the quality value is a comprehensive indicator reflecting the quality of the product; When the quality value of the product is greater than a preset quality threshold, determining the product as an unqualified product; Count the number of unqualified products produced by each process line in the target batch.
3. The method according to claim 2, characterized in that The step of performing quality testing on each product in the target batch to obtain a quality value of each product includes: Obtaining actual dimensions and surface defect values of each product in the target batch; For each product in the target batch, calculating the difference between the actual size and the designed size of the product to obtain a size deviation value of the product; De-dimensionalizing the size deviation value and the surface defect value of the product to obtain a target size deviation value and a target surface defect value of the product; The target size deviation value and the target surface defect value of the product are summed to obtain the quality value of the product.
4. The method according to claim 1, wherein Determining the target process line in the target batch based on the proportion of the number of unqualified products produced by each process line in the target batch to the total number of products produced by the process line includes: For each process line in the target batch, calculating the ratio between the number of unqualified products produced by the process line and the total number of products produced by the process line; When the ratio is greater than a preset threshold, the process line corresponding to the ratio is determined to be the target process line in the target batch.
5. The method according to claim 1, wherein The calculating, for each target process line in the target batch, the difficulty of tracing back the unqualified products on the target process line based on the delivery time and delivery distance of all unqualified products on the target process line, includes: For each target process line in the target batch, obtain the outbound time and outbound distance of each unqualified product on the target process line; Calculate the average outbound time of all unqualified products on the target process line to obtain the average outbound time of all unqualified products on the target process line; Calculate the average outbound distance of all unqualified products on the target process line to obtain the average outbound distance of all unqualified products on the target process line; De-dimensionalize the average delivery time and average delivery distance corresponding to the target process line to obtain the target average delivery time and target average delivery distance corresponding to the target process line; The target average outbound time and target average outbound distance corresponding to the target process line are summed to obtain the difficulty of tracing unqualified products on the target process line.
6. The method according to claim 5, characterized in that The step of obtaining the delivery time and delivery distance of each unqualified product on the target process line includes: For each unqualified product on the target process line, obtaining the delivery time, delivery location, and delivery destination location of the unqualified product; Subtract the current actual time from the delivery time to obtain the delivery time of the unqualified product; The distance between the outbound terminal position and the outbound position of the unqualified product is calculated to obtain the outbound distance of the unqualified product.
7. The method according to claim 1, characterized in that The tracing of the target product includes: Obtaining a quality value of each target product in the target batch, wherein the quality value is a comprehensive indicator reflecting product quality; Based on the quality value of each target product in the target batch, all target products in the target batch are sorted in descending order of quality value to obtain a traceable product sequence; The target products in the traceable product sequence are traced in sequence.
8. A product tracing device, characterized in that: include: an acquisition module, configured to acquire, in response to completion of production of products in a target batch, the number of unqualified products produced by each process line in the target batch and the total number of products produced by each process line; a first determining module, configured to determine a target process line in the target batch based on a proportion of the number of unqualified products produced by each process line in the target batch to the total number of products produced by the process line; A calculation module is configured to calculate, for each target process line in the target batch, the difficulty of tracing the unqualified products on the target process line based on the delivery time and delivery distance of all unqualified products on the target process line; A second determining module is configured to determine, when the tracing difficulty of the unqualified product is less than or equal to a preset tracing threshold, that the unqualified product corresponding to the tracing difficulty is a target product that needs to be traced; The tracing module is used to trace the target product.
9. A computer device, characterized in that: include: A memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the product tracing method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that The storage medium stores a computer program, and when the computer program is executed by a processor, the product tracing method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Time-axis-based quality tracing method
CN107767017A
Product quality tracing evaluation method and equipment
CN111080323A