A quality inspection method, device, equipment and storage medium of a production process

By identifying the event objects and status identifiers of production events, clear inspection tasks are generated, inspector qualification scores are calculated, and sampling stringency is dynamically adjusted using a state machine. This solves the problems of inspection task omissions and rule conflicts, and achieves efficient and dynamic closed-loop management of inspection tasks.

CN123180843APending Publication Date: 2026-11-27GUANGZHOU SIE CONSULTING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611557211.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-09
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In the quality management of discrete manufacturing, the existing technology lacks a systematic automatic triggering mechanism, which leads to the omission of key nodes in inspection tasks, conflicting inspection rules, static and fixed adjustment of sampling strictness, difficulty in matching inspector qualifications, and the inability to form a closed loop of inspection results.

Method used

By identifying the event objects and status identifiers of production events, clear inspection tasks are generated based on the rule base, inspector qualification scores are calculated, and sampling strictness is dynamically adjusted using a state machine, forming a closed loop of triggering, generation, and feedback.

Benefits of technology

It achieves conflict-free assignment of inspection tasks, avoids errors in human experience-based judgment, dynamically adjusts sampling stringency, and forms a closed-loop feedback mechanism for inspection tasks, thereby improving the efficiency and quality of inspection tasks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123180843A_ABST
    Figure CN123180843A_ABST
Patent Text Reader

Abstract

The application provides a quality inspection method, device and equipment of a production process and a storage medium. All hit rules are determined from a rule library through an event type, an event parameter and an event subject, a task description is determined according to a priority of each hit rule, an effective range granularity, a sampling strictness and an inspection attribute, so that the same production event can determine an explicit and conflict-free task description even when multiple rules are hit at the same time, an inspection task of a to-be-inspected object is generated according to a state machine maintained according to a state identifier and the task description, an inspection qualification score of an inspector is calculated according to the inspection task to determine a target inspector, so as to determine a quality inspection result, and the manual designation is avoided to match the situation of the qualification. The state machine maintained according to the state identifier is updated according to the quality inspection result, and the quality inspection result is used as the basis for updating the state machine instead of being statically solidified, so that the sampling strictness of a subsequent inspection task continuously adapts to the quality performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of production technology, and in particular to a quality inspection method, apparatus, equipment and storage medium for a production process. Background Technology

[0002] In quality management of discrete manufacturing, the triggering and allocation of inspection tasks have long relied on manual experience: team leaders decide based on experience which process to inspect or perform special inspections after completion, lacking a systematic automatic triggering mechanism and easily overlooking key inspection nodes. While some existing systems can automatically generate inspection tasks after production orders are placed or processes report work, their triggering logic is fixed as a single event, not supporting multi-dimensional configurable rules based on processes, batches, or abnormal events. When multiple rules are triggered simultaneously, the lack of priority ranking and conflict resolution mechanisms easily leads to duplicate inspection tasks or conflicting inspection requirements. Furthermore, adjusting sampling stringency relies on manual execution of national standards, requiring quality personnel to manually compile batch acceptance sequences and manually switch sampling plans. This approach cannot independently maintain stringency status at a fine-grained level, nor can it be coupled with production anomalies such as rework for real-time transfer. Consequently, sampling plans are generally statically and rigidly executed within enterprise information systems, losing their dynamic adjustment capabilities. In addition, inspection tasks are mostly manually assigned to inspectors by managers. When multiple production lines and work centers are operating in parallel, it is difficult to achieve quantitative matching based on inspection qualifications, which can easily lead to qualification mismatch or uneven workload. Moreover, the inspection results are only archived as conclusive records and cannot drive the triggering of subsequent inspections or the adjustment of the strictness, thus failing to form a closed loop. Summary of the Invention

[0003] This application provides a quality inspection method, apparatus, equipment, and storage medium for a production process to solve at least one problem existing in the related technology. The technical solution is as follows: In a first aspect, embodiments of this application provide a method for quality inspection in a production process, including: Determine the event object of the production event triggered by the completion of the production of the object to be inspected, and determine the corresponding status identifier based on the event object. The event object includes at least the event type, event parameters, and event body. Based on the event type, event parameters, and event subject, all matching rules are determined from the rule base, and the task description is determined based on the priority, scope granularity, sampling strictness, and inspection attributes of each matching rule. Based on the state machine maintained by the state identifier and the task description, the inspection task of the object to be inspected is generated, and based on the inspection task, the inspection qualification score of the inspector is calculated to determine the target inspector. The state machine affects the sampling strictness of the inspection task. Determine the quality inspection results of the objects to be inspected obtained by the target inspector in performing the inspection task, and update the state machine maintained by the status identifier based on the inspection quality results.

[0004] In one implementation, determining all matching rules from the rule base based on the event type, event parameters, and event body includes: Based on the event type, determine all candidate rules that match the event type from the rule base; Based on the event parameters and candidate rules, condition judgment is performed, and based on the event subject and candidate rules, the scope of effectiveness is judged to determine all candidate hit rules that pass both the condition judgment and the scope of effectiveness judgment. Based on the priority and granularity of the effective scope of the candidate hit rules, the candidate hit rules are filtered to determine all hit rules.

[0005] In one implementation, the step of filtering candidate hit rules based on their priority and scope of effectiveness to determine all hit rules includes: Compare the priorities of all candidate hit rules. If all priorities are different, determine all candidate hit rules as the corresponding hit rules. If there are candidate hit rules with the same priority, compare the granularity of their effective range and determine the candidate hit rule with the same priority and the smallest effective range granularity as the hit rule.

[0006] In one implementation, generating the inspection task for the object to be inspected based on the state machine maintained by the state identifier and the task description includes: Determine the current sampling strictness in the state machine maintained by the state flag, and compare the sampling strictness with the sampling strictness in the task description to determine the final sampling strictness with the highest strictness level; Based on the final sampling stringency and task description, generate inspection tasks for the objects to be inspected. Among them, the priority of the inspection task determines the order of the inspection task in the task pool to be assigned.

[0007] In one implementation, calculating the inspector's qualification score to determine the target inspector based on the inspection task includes: Determine the qualification information of each inspector, the number of tasks to be inspected, the urgency of the tasks to be inspected, and the distance between the inspection point and the object to be inspected; Based on the qualification requirements and qualification information in the inspection task, determine the skill matching degree; based on the number of tasks to be inspected, determine the workload balance degree; and based on the distance, determine the inspection distance measurement. The degree of task matching is determined by whether the inspection task can be executed immediately based on the urgency of the task to be inspected, or by whether the task limit value has been reached based on the number of tasks to be inspected. Based on skill matching, workload balance, inspection distance measurement, and task matching, the inspection qualification score of each inspector is determined, and the inspector with the highest inspection qualification score is identified as the target inspector.

[0008] In one implementation, the sampling strictness level of the state machine maintained by the status identifier is from high to low as tightened, normal and relaxed, and the state machine maintained by the status identifier has a non-conformance counter, a cumulative rework counter and a conformance counter. The state machine maintained by updating the status identifier is updated based on the inspection quality results. If the inspection quality result is qualified, add the count to the qualified counter; if the inspection quality result is unqualified, add the count to the unqualified counter; if the inspection quality result is unqualified and the event type is rework, add the count to the cumulative rework counter. If the current sampling strictness in the state machine maintained by the status flag is normal, if the count of the non-conforming counter reaches the first quantity or the count of the cumulative rework counter reaches the second quantity, the current sampling strictness will be updated to tightened; if the count of the conforming counter reaches the third quantity, the current sampling strictness will be updated to relaxed. If the current sampling strictness in the state machine maintained by the status flag is tightened, when the count of the qualified counter reaches the fourth number, the current sampling strictness will be updated to normal. If the current sampling strictness in the state machine maintained by the status flag is relaxed, when the count of the non-conforming counter is added, the current sampling strictness will be updated to normal.

[0009] In one embodiment, the method further includes: Generate a context snapshot based on the preset inspection ledger fields; Using the inspection task as the central node, and based on the context snapshot, we construct association edges pointing to multiple business domains to form an association network centered on the inspection task; the association network is used for traversal with the inspection task as the center.

[0010] Secondly, embodiments of this application provide a quality inspection device for a production process, comprising: The first determining module is used to determine the event object of the production event triggered by the completion of the production of the object to be inspected, and to determine the corresponding status identifier based on the event object. The event object includes at least the event type, event parameters, and event body. The second determination module is used to determine all hit rules from the rule base based on the event type, event parameters, and event subject, and to determine the task description based on the priority, effective scope granularity, sampling strictness, and inspection attributes of each hit rule. The third determination module is used to generate inspection tasks for the objects to be inspected based on the state machine maintained by the status identifier and the task description, and to calculate the inspector's inspection qualification score based on the inspection task to determine the target inspector. The state machine affects the sampling strictness of the inspection task. The update module is used to determine the quality inspection results of the objects to be inspected obtained by the target inspector in performing the inspection task, and update the state machine maintained by the status identifier according to the inspection quality results.

[0011] In one implementation, the third determining module is further configured to: Generate a context snapshot based on the preset inspection ledger fields; Using the inspection task as the central node, and based on the context snapshot, we construct association edges pointing to multiple business domains to form an association network centered on the inspection task; the association network is used for traversal with the inspection task as the center.

[0012] Thirdly, embodiments of this application provide an electronic device, including: a processor and a memory, wherein the memory stores instructions that are loaded and executed by the processor to implement the methods in any of the above-described embodiments.

[0013] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed, implements the methods in any of the above-described embodiments.

[0014] The beneficial effects of the above technical solution include at least the following: By identifying the event object of the production event triggered by the completion of the production of the object to be inspected, and determining the corresponding status identifier based on the event object, all matching rules are determined from the rule base according to the event type, event parameters, and event subject. The task description is determined according to the priority, effective scope granularity, sampling strictness, and inspection attributes of each matching rule. This ensures that even if the same production event matches multiple rules simultaneously, a clear and conflict-free task description can be determined, avoiding errors caused by relying on human experience. The inspection task of the object to be inspected is generated based on the state machine maintained by the status identifier and the task description. Based on the inspection task, the inspector's inspection qualification score is calculated to determine the target inspector. The quality inspection result of the object to be inspected obtained by the target inspector executing the inspection task is determined, avoiding qualification mismatches due to manual assignment. The state machine affects the sampling strictness of the inspection task. The inspection task is generated by the state machine maintained by the status identifier combined with the task description. The state machine maintained by the status identifier is updated according to the quality inspection result. The current quality inspection result serves as the basis for updating the state machine rather than being statically fixed, so that the sampling strictness of subsequent inspection tasks continuously adapts to the quality performance, forming a closed loop of triggering, generation, and feedback.

[0015] The above overview is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments, and features described above, these aspects, embodiments, and features will become readily apparent from the accompanying drawings and the following detailed description. Attached Figure Description

[0016] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the various drawings denote the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings depict only some embodiments disclosed in this application and should not be construed as limiting the scope of this application.

[0017] Figure 1 This is a flowchart illustrating the steps of a quality inspection method for the production process according to an embodiment of this application; Figure 2 This is a structural block diagram of a quality inspection device for a production process according to an embodiment of this application; Figure 3 This is a structural block diagram of an electronic device according to an embodiment of this application. Detailed Implementation

[0018] Definitions: Process: The part of the process that is continuously completed at the same work center during product processing; it is the basic unit of the process route.

[0019] Process step: The next level of subdivision of a process, referring to the part of the process that is completed continuously while the surface being processed and the processing tools remain unchanged.

[0020] Work center: The smallest organizational unit in the factory model that undertakes processing or assembly operations, corresponding to a production line, a work group, or a group of equipment.

[0021] Patrol inspection: Inspection personnel conduct roving sampling inspections of the production process according to a preset frequency (such as every N pieces produced or every T hours).

[0022] Specialized inspection: Specialized inspection performed by qualified full-time inspection personnel for key processes and processes with special characteristics.

[0023] Sampling stringency level: This refers to the level of leniency or strictness of sampling inspection. This invention establishes three levels: normal inspection, tightened inspection, and relaxed inspection. Tightened inspection refers to the inspection stringency level where the sampling ratio is increased from the normal level when quality performance deteriorates; relaxed inspection refers to the inspection stringency level where the sampling ratio is decreased from the normal level when quality performance remains stable.

[0024] Production batch number: A number used to identify a collection of products produced within the same order and the same production period.

[0025] Furnace batch number: This number identifies the raw materials or hot-processed parts that come from the same furnace / smelting batch and is used for material-level quality traceability.

[0026] PBOM (Process Bill of Material): A list of materials generated during the process design phase that reflects the product's processing route, including the correspondence between processes and materials and version information.

[0027] Inspection log: A structured data table that records information such as inspection items, inspection results, inspection personnel, and inspection time for each inspection task. This invention uses the inspection log, which contains 45 fields, as the data base.

[0028] Event bus: A message channel within the MES (Manufacturing Execution System) used to publish / subscribe to production execution events (such as process completion and batch switching).

[0029] mod operation: The modulo operation is to find the remainder when two numbers are divided. For example, "cumulative completed quantity mod 50 = 0" means that the cumulative completed quantity is an integer multiple of 50.

[0030] Task pool to be assigned: A buffer queue that stores inspection tasks that have been generated but have not yet been assigned to inspectors. Tasks in the pool are arranged in ascending order of priority value (the smaller the value, the higher the priority, i.e., urgent tasks are ranked first) and are waiting to be assigned. The task priority is taken from the highest priority in its hit rules.

[0031] Frozen for inspection: A system-level control mark for the output of the process corresponding to the inspection task that is in a suspended state. The marked output is prohibited from flowing into the next process until the corresponding inspection task is completed and the result is qualified.

[0032] Hungarian Algorithm: A classic combinatorial optimization algorithm for solving the optimal assignment problem in a bipartite graph. It can find the globally minimum cost (or maximum score) solution for the "task-executor" assignment in polynomial time.

[0033] Process capability stability: refers to the ability of a process to continuously produce qualified products under statistically controlled conditions. This invention uses a process capability index Cp / Cpk of not less than 1.33 and no abnormal fluctuations within a continuous monitoring period as the criteria for determining "process capability stability".

[0034] Quality profile: A set of quantitative features constructed based on the inspector's historical inspection records, including at least two indicators: error rate and average completion time.

[0035] Error rate: The percentage of tasks that an inspector has incorrectly or missed in their historical inspection tasks, which were discovered through re-inspection or downstream processes, out of the total number of tasks they have completed.

[0036] In the following description, only certain exemplary embodiments are briefly described. As those skilled in the art will recognize, the described embodiments can be modified in various ways without departing from the spirit or scope of this application. Therefore, the drawings and description are considered to be exemplary in nature and not restrictive.

[0037] Reference Figure 1 The flowchart illustrates a quality inspection method for a production process according to an embodiment of this application. This quality inspection method may include at least steps S100-S400: S100, determine the event object of the production event triggered by the completion of the production of the object to be inspected, and determine the corresponding status identifier based on the event object.

[0038] Optionally, the event object includes at least the event type, event parameters, and event body.

[0039] S200. Based on the event type, event parameters, and event subject, determine all hit rules from the rule base, and determine the task description based on the priority, effective scope granularity, sampling strictness, and inspection attributes of each hit rule.

[0040] S300. Based on the state machine maintained by the state identifier and the task description, generate the inspection task for the object to be inspected, and calculate the inspector's inspection qualification score based on the inspection task to determine the target inspector. The state machine affects the sampling strictness of the inspection task.

[0041] S400. Determine the quality inspection results of the object to be inspected obtained by the target inspector in performing the inspection task, and update the state machine maintained by the status identifier based on the inspection quality results.

[0042] The technical solution of this application embodiment determines the event object of the production event triggered by the completion of the production of the object to be inspected, and determines the corresponding status identifier based on the event object. It then determines all matching rules from the rule base according to the event type, event parameters, and event subject, and determines the task description according to the priority, effective scope granularity, sampling strictness, and inspection attributes of each matching rule. This ensures that even when multiple rules are matched simultaneously for the same production event, a clear and conflict-free task description can be determined, avoiding errors caused by relying on human experience. The inspection task for the object to be inspected is generated based on the state machine maintained by the status identifier and the task description. Based on the inspection task, the inspector's inspection qualification score is calculated to determine the target inspector. The quality inspection result of the object to be inspected obtained by the target inspector executing the inspection task is determined, avoiding qualification mismatches due to manual assignment. The state machine affects the sampling strictness of the inspection task. The inspection task is generated by combining the state machine maintained by the status identifier with the task description. The state machine maintained by the status identifier is updated according to the quality inspection result. This quality inspection result serves as the basis for updating the state machine rather than being statically fixed, allowing the sampling strictness of subsequent inspection tasks to continuously adapt to quality performance, forming a closed loop of triggering, generation, and feedback.

[0043] In one implementation, the object to be inspected can be the output of a certain process. For example, when a certain process is completed, the output of the completed process is the object to be inspected. When it is determined that the object to be inspected has been completed, a corresponding production event will be triggered in the MES system event bus. Therefore, by monitoring the MES system event bus, the production event can be determined, and thus the unified event object of the production event can be determined based on a standardized format, and the corresponding status identifier can be determined based on the event object.

[0044] Optionally, the event object includes, but is not limited to, event ID, event type (such as process completion report, batch switching, equipment change, rework trigger, etc.), event subject (such as one or more of the production order, process, production batch, or equipment that generated the event), event parameters (carrying specific values, corresponding to the event type, such as the quantity completed this time, the cumulative number of reworks, etc.), and occurrence time. Optionally, the status identifier can be formed based on one or more combinations of event type, event parameters, and event subject. For example, a production batch can have corresponding materials, and the materials, equipment, and processes used in a certain process can all be extracted. For example, a combination key of equipment × process × material can be formed as the status identifier. Other embodiments can use other methods, without specific limitations.

[0045] In one implementation, step S200 involves determining all matching rules from the rule base based on the event type, event parameters, and event subject, including steps S210-S230: S210. Based on the event type, determine all candidate rules that match the event type from the rule base.

[0046] Optionally, the rule base contains multiple rules R. Each rule R includes an event type, rule ID, triggered event type (which can be one or more), conditional expression, inspection attributes (such as inspection type, inspection item), sampling strictness (such as sampling strictness level), priority, scope of application, and action (such as generating an inspection task for the corresponding inspection type and specific inspection items). The sampling strictness (the strictness level of the sampling strictness) is the expected sampling strictness requirement of this rule, serving as one of the sampling strictness bases. The strictest sampling strictness is subsequently determined using a state machine as the final sampling strictness. For example, the sampling strictness levels, from highest to lowest, are tightened, normal, and relaxed. Therefore, based on the event type, all candidate rules matching the event type can be determined from the rule base.

[0047] S220. Based on the event parameters and candidate rules, perform condition judgment and based on the event subject and candidate rules, determine the scope of effectiveness and identify all candidate hit rules that pass both the condition judgment and the scope of effectiveness judgment.

[0048] Optionally, a conditional judgment is performed based on the event parameters and the conditional expressions in the candidate rules to determine whether the conditional expressions are satisfied. If both are satisfied, the conditional judgment passes. Furthermore, an effective scope judgment is performed based on the event subject and the candidate rules to determine whether the event subject is within the effective scope. If so, the effective scope judgment passes, and all candidate rules that pass both the conditional judgment and the effective scope judgment are determined as candidate hit rules.

[0049] For example, conditional expressions support threshold judgments, such as "cumulative completed quantity mod 50 = 0" (an inspection is triggered every 50 pieces) and "cumulative number of reworks ≥ 3", to determine whether the conditional expression is satisfied.

[0050] S230. Based on the priority and granularity of the effective scope of the candidate hit rules, filter the candidate hit rules to determine all hit rules.

[0051] Optionally, the effective scope granularity in the rule includes three levels. The smaller the effective scope granularity, the higher its priority, such as material level > process level > work center level. The priority is represented by positive integers, and the smaller the value, the higher the priority.

[0052] First, compare the priorities of all candidate hit rules. If all priorities are different, determine all candidate hit rules as the corresponding hit rules.

[0053] Optionally, the priorities of all candidate hit rules are compared. If all priorities are different, all candidate hit rules are directly determined as the corresponding hit rules.

[0054] Secondly, if there are candidate hit rules with the same priority, compare the granularity of the effective range of the candidate hit rules with the same priority, and determine the candidate hit rule with the same priority and the smallest effective range granularity as the hit rule.

[0055] Optionally, if there are candidate hit rules with the same priority, such as candidate hit rules A and B, then the granularity of the effective scope of candidate hit rules A and B is compared, and the candidate hit rule with the same priority and the smallest effective scope granularity is determined as the hit rule. For example, if the effective scope granularity of candidate hit rule A is at the effective scope level, and that of candidate hit rule B is at the process level, then A is determined as the hit rule among candidate hit rules A and B.

[0056] Therefore, when there is a priority conflict, the hit rules among the candidate hit rules are determined based on the above steps, and then combined with other candidate hit rules that do not conflict in priority, and finally all hit rules are determined.

[0057] In one implementation, in step S200, a task description containing these elements is determined based on the priority, granularity of the effective scope, sampling strictness, and inspection attributes (such as inspection type and verification items) of each hit rule. Furthermore, based on the inspection type of the inspection attributes, the qualification requirements corresponding to the predefined inspection type can be determined, and these qualification requirements are also added to the task description.

[0058] In one implementation, the state machine affects the sampling strictness of the inspection task; in step S300, the inspection task of the object to be inspected is generated based on the state machine maintained by the state identifier and the task description, including steps S310-S320: S310. Determine the current sampling strictness in the state machine maintained by the status flag, and compare the sampling strictness with the sampling strictness in the task description to determine the final sampling strictness with the highest strictness level.

[0059] In this embodiment, a state machine is maintained using state identifiers. Each state identifier uniquely corresponds to a state machine, and the state machine contains, but is not limited to, the current sampling strictness, a non-conforming counter, a cumulative rework counter, and a conforming counter. Specifically, when the system first encounters a state identifier, it automatically creates the aforementioned current sampling strictness (default value, such as normal), non-conforming counter, cumulative rework counter, and conforming counter, initializes all counters, and sets the three counters to 0. Subsequently, whenever the corresponding conditions are met, the corresponding counter is incremented by 1 or cleared. Because the state machine is maintained based on state identifiers, the state machine for the same state identifier is continuously and dynamically updated adaptively, rather than being statically fixed. Therefore, it can more reasonably and objectively reflect the quality status of the same state identifier. For example, a state identifier consisting of equipment A, process 03, and material M1 may be used in different subsequent production tasks, allowing for continuous monitoring and dynamic adjustment.

[0060] Optionally, the current sampling strictness in the state machine maintained by the status flag is read, and the sampling strictness is compared with the sampling strictness in the task description to determine the final sampling strictness with the highest strictness level. For example, since the sampling strictness levels from high to low are tightened, normal, and relaxed, if one is normal and the other is relaxed, then the highest / strictest normal level is determined as the final sampling strictness. It should be noted that tightened, normal, and relaxed only affect the sampling ratio for inspection; for example, tightened is 25%, normal is 10%, and relaxed is 5%, without specific limitations.

[0061] S320. Based on the final sampling strictness and task description, generate the inspection task for the object to be inspected.

[0062] Optionally, the sampling strictness in the task description is updated to the final sampling strictness, and then an inspection task for the object to be inspected is generated based on the updated task description and the actions in the hit rules. Optionally, the task information in the inspection task includes a task description, and therefore involves inspection attributes (such as inspection type and verification items), qualification requirements, priority, etc.

[0063] It's important to note that the priority of each inspection task determines its ranking in the task pool. Higher priority tasks rank higher and are assigned earlier. For example, in task allocation: all tasks in the task pool are sorted in ascending order of priority (lower values ​​indicate higher priority, i.e., from highest to lowest urgency), and executed one by one. In scenarios involving batch allocation of target inspectors, the "inspection task - inspector" score matrix can be input into a Hungarian algorithm to find the globally optimal assignment.

[0064] In one implementation, after generating the inspection task for the object to be inspected, steps S301-S302 may also be included: S301. Generate a context snapshot based on the preset inspection ledger fields.

[0065] Optionally, the preset inspection log fields include, but are not limited to, inspection items, inspection results, inspection personnel, inspection time, and related fields in the 13-level information chain. The content of the related fields can be obtained from the manufacturing execution system, and the generated context snapshot can contain the 13-level information chain: production order number → process task number → process number → process step → work center → equipment number → operator → production batch number → furnace batch number → material code → material version → drawing version → PBOM version.

[0066] S302. Taking the inspection task as the central node, construct association edges pointing to multiple business domains based on the context snapshot to form an association network centered on the inspection task; the association network is used for traversal with the inspection task as the center.

[0067] Optionally, taking the inspection task as the central node, and based on the context snapshot, connection edges pointing to multiple business domains are constructed to form a star-shaped connection network centered on the inspection task. For example, six business domains are radiated outward from the inspection task: such as the production order domain, factory model domain, equipment management domain, material batch domain, personnel qualification domain, and process document domain (PBOM / drawings). The edge construction rules for the connection edges from the inspection task to the business domains are as follows: the production order number (order_no) in the context snapshot is used to connect to the production order module to obtain order status and scheduling information; the work center (work_center_code) is used to connect to the factory model to obtain the production line hierarchy; the equipment number (machine_code) is used to connect to the equipment management module to obtain equipment operation and maintenance records; the production batch number (batch_no) is used to connect to all material batch flow records; the operator (operator) is used to connect to personnel skills and qualification information; and the PBOM version (pbom_version) is used to connect to the process document domain to obtain drawings and process versions.

[0068] The association network can be used for traceability traversal centered on inspection tasks. For example, data from various business domains related to the inspection task can be obtained along each association edge. Specifically, starting from any inspection record, a bidirectional traversal is performed along the association edges of the star-shaped association network: reverse tracing (the source of the material batch corresponding to the inspection item, equipment operating status, operator qualifications, and drawing version), and forward tracing (production orders and downstream batches within the scope of the inspection result's impact). A single query outputs the complete traceability path, replacing manual cross-module queries.

[0069] In this embodiment of the application, the associated edges are not statically built up once, but are maintained incrementally by event-driven mechanisms. For example, when a data change event occurs in a certain business domain (such as adding maintenance records for equipment or transferring material batches), the system locates the central node that identifies all inspection tasks in that business domain, updates the attributes of the corresponding associated edges, and does not rebuild the entire graph.

[0070] In one implementation, step S300 involves calculating the inspector's qualification score based on the inspection task to determine the target inspector, including steps S330-S360: S330. Determine the qualification information of each inspector, the number of tasks to be inspected, the urgency of the tasks to be inspected, and the distance between the inspector and the inspection point of the object to be inspected.

[0071] Optionally, based on pre-established corresponding systems / databases, allocation systems, factory models, etc., the qualification information of each inspector, the number of tasks to be inspected, the urgency of the tasks to be inspected, and the distance between the inspector and the inspection point of the object to be inspected can be determined.

[0072] For example, the system queries the qualification information (such as certified inspection qualifications and qualification levels) of the personnel qualification management system through the personnel qualification association edges in the star-shaped association network; it determines the number of tasks to be inspected and the urgency of the tasks to be inspected for each inspector in each shift from the task allocation engine of the allocation system and the task pool to be assigned; the inspection point refers to the location where the inspector performs the inspection task. The system reads the hierarchy of the factory model (including verification points and work centers) in the factory model domain through the association edges. The distance between the inspection points of the object to be inspected can refer to the physical distance (normalized to 0-1), or it can be the hierarchical distance between the work center where the inspection point of the object to be inspected is located and the work center where the inspector is stationed (working).

[0073] S340. Determine the skill matching degree based on the qualification requirements and qualification information in the inspection task, determine the workload balance degree based on the number of tasks to be inspected, and determine the inspection distance measurement based on the distance.

[0074] Optionally, if the inspector does not possess certified inspection qualifications, the inspector is directly excluded, and the hard constraint is directly applied. If certified inspection qualifications exist, the skill matching degree S is determined by comparing the required qualification level with the qualification level in the inspector's qualification information. For example, if the qualification level in the inspector's qualification information is not lower than the qualification level in the inspector's qualification information, S=1; if it is one level lower, S=0.6; if it is two levels or more lower, it is considered that the inspector does not possess certified inspection qualifications, and the inspector is excluded.

[0075] Optionally, the workload balance L is determined based on the number of tasks to be inspected: L = 1 (The number of tasks to be inspected by the inspector ÷ the largest number of tasks to be inspected in the shift to which the inspector belongs). If there are no tasks to be inspected in the shift to which the inspector belongs, then L=1.

[0076] Optionally, the test distance measure D (proximity of the test point) is determined based on the distance: D = 1 D' represents the hierarchical distance in the factory model between the inspector's permanent work center and the work center where the inspection point is located, divided by the maximum hierarchical distance in the factory model. If the inspector's permanent work center and the work center where the inspection point is located are the same center, then D=1 is directly determined. For example, the factory model has hierarchical workshops, production lines, and work centers. There may be multiple workshops, each with one or more production lines, and each production line has one or more work centers. If different work centers belong to the same production line, then D' can be 0.2; for work centers of different production lines, D' is 0.4; and for work centers of different workshops, D' is 0.2. The above is an example and does not impose specific limitations.

[0077] S350. Determine whether the inspection task can be executed immediately based on the urgency of the task to be inspected to determine the task matching degree, or determine whether the task upper limit value has been reached based on the number of tasks to be inspected to determine the task matching degree.

[0078] Optionally, the task matching degree P can be: (1) Determine whether the inspection task can be executed immediately based on the urgency of the task to be inspected to determine the task matching degree.

[0079] For example, the urgency of a task to be inspected can be determined based on the inspection type or event type in the rules. The corresponding urgency level for each inspection type or event type, and when a task is considered an urgent task, can be pre-defined. The task matching degree is determined based on whether the inspection task can be executed immediately. Assuming the urgency of a task to be inspected determines it to be an urgent task—for example, if the urgency of the next unprocessed task to be inspected is lower than the urgency of the inspection task—it is considered that the inspection task can be executed immediately, and the task matching degree P is 1. If there is a delayed response (i.e., the urgency of the next unprocessed task to be inspected is not lower than the urgency of the inspection task, but within a preset number of tasks starting from the first task to be inspected, there are tasks with a lower urgency than the inspection task), it is considered a delayed response, and P is 0.5. Otherwise, P = 0.2. If the task to be inspected is not an urgent task, i.e., a normal task, then P is 0.8.

[0080] (2) Determine whether the task matching degree is reached based on the number of tasks to be inspected. For example, if the number of tasks to be inspected reaches the task limit, then P=0 directly. If the task limit is not reached and is less than the quantity threshold, then P=0.5. If it is greater than or equal to the quantity threshold, then P=0.2. The above are examples and do not constitute a limitation.

[0081] S360. Based on skill matching, workload balance, inspection distance measurement, and task matching, determine the inspection qualification score of each inspector, and identify the inspector with the highest inspection qualification score as the target inspector.

[0082] Optionally, a weighted sum is performed based on the skill matching degree S, workload balance degree L, inspection distance measure D, and task matching degree P, with their respective weights. For example, the default weights are 0.4, 0.3, 0.2, and 0.1, respectively, to determine the inspection qualification score of each inspector. The inspector with the highest inspection qualification score is then identified as the target inspector.

[0083] In this embodiment, the weights can be dynamically adjusted according to the task type (urgency of the task). For example, for urgent tasks, the weights of workload balancing degree L and task matching degree P can be increased from the default level, while other weights are decreased to ensure that the sum of all weights remains 1. Furthermore, the historical allocation effect of subsequent write-backs (such as the false negative rate of a certain inspector in a stricter task) can be used as input for weight correction to fine-tune the weights of the corresponding factors.

[0084] In one implementation, if all inspectors lack certified inspection qualifications, a downgrade strategy is adopted: the inspection task is automatically suspended and transferred to the management queue, while a warning message is pushed to the quality supervisor, prompting for authorization of temporary qualifications or cross-work center scheduling. During the suspension period, the output of the corresponding process is marked as pending inspection and frozen in the system, preventing it from flowing into the next process. Example: During the night shift, a batch of materials triggers stricter inspection, but none of the inspectors on duty have the non-destructive testing qualifications for this material. The task is suspended and a warning is pushed to the quality supervisor. After the supervisor remotely authorizes a qualified inspector to provide cross-work center support, the task re-enters the allocation process. When a new inspector is added, if the newly hired inspector has no historical load and quality profile data, the load is counted as 0 (L=1), the skill score is calculated based on their certified qualifications, and the quality profile uses the baseline value issued by the team / shift. After accumulating no less than 10 inspection records, it is switched to the individual's actual value to achieve cold start processing.

[0085] In one implementation, after determining the target inspector and the inspection task, the target inspector executes the inspection task, inspecting the object to be inspected based on the final sampling stringency and verification items in the inspection task, and obtaining the quality inspection result of the object to be inspected. The system can then acquire this quality inspection result. In one implementation, step S400 updates the state machine maintained by the status identifier based on the inspection quality result, including steps S410-S440: S410. If the inspection quality result is qualified, add the count of the qualified counter; if the inspection quality result is unqualified, add the count of the unqualified counter; if the inspection quality result is unqualified and the event type is rework, add the count of the cumulative rework counter.

[0086] Optionally, the pass counter comes in two forms: a standard pass counter and a continuous pass counter. (1) Ordinary qualified counter: If the inspection quality result is qualified, add the count of the ordinary qualified counter, such as +1.

[0087] (2) Continuous pass counter: If the inspection quality result is qualified and it is qualified at least twice in a row, add the count of the continuous pass counter, such as +1. If the next inspection quality result is qualified, continue to add 1. If the next inspection quality result is unqualified, then it is not a continuous pass and is cleared to zero.

[0088] Similarly, there are two types of defect counters: ordinary defect counters and continuous defect counters. (1) For ordinary non-conforming counters, if the inspection quality result is non-conforming, add the count of the non-conforming counter, such as +1.

[0089] (2) Consecutive Nonconformity Counter: If the inspection quality result is nonconforming, and there are at least two consecutive nonconformities, increment the consecutive nonconformity counter by 1; if the next inspection quality result is nonconforming, increment by 1 again; if the next inspection quality result is conforming, then it is not a consecutive nonconformity and the count is reset to zero. If the inspection quality result is nonconforming and the event type is rework, increment the cumulative rework counter by 1.

[0090] S420. If the current sampling strictness in the state machine maintained by the status identifier is normal, if the count of the non-conforming counter reaches the first quantity or the count of the cumulative rework counter reaches the second quantity, update the current sampling strictness to tighten; if the count of the conforming counter reaches the third quantity, update the current sampling strictness to relax.

[0091] Optionally, if the current sampling strictness in the state machine maintained by the status identifier is normal, if the count of the non-conforming counter (ordinary non-conforming counter / continuous non-conforming counter) reaches the first quantity (e.g., 2) or the count of the cumulative rework counter reaches the second quantity (e.g., 3), the current sampling strictness is updated to tightened; if the count of the conforming counter (ordinary non-conforming counter / continuous non-conforming counter) reaches the third quantity (e.g., 10), the current sampling strictness is updated to relaxed.

[0092] S430. If the current sampling strictness in the state machine maintained by the status flag is tightened, when the count of the qualified counter reaches the fourth quantity, the current sampling strictness will be updated to normal.

[0093] Optionally, if the current sampling strictness in the state machine maintained by the status identifier is tightened, when the count of the pass counter (normal non-pass counter / continuous non-pass counter) reaches the fourth quantity (e.g., 5), the current sampling strictness is updated to normal.

[0094] S440. If the current sampling strictness in the state machine maintained by the status flag is relaxed, when the count of the non-conforming counter is added, the current sampling strictness is updated to normal.

[0095] Optionally, if the current sampling strictness in the state machine maintained by the state flag is relaxed, the current sampling strictness is updated to normal when the count of the non-conforming counter is added (i.e., just +1).

[0096] In this embodiment of the application, to ensure the consistency between the counters and the process status, the following reset rules are defined: when a certain status identifier experiences an equipment change event, the three counters are cleared and the status is reset as a normal inspection (process conditions have changed, and historical statistics are no longer applicable); when the material version or drawing version is changed, the counters involving all combinations of that material are cleared and reset; daily equipment inspections and planned shutdowns do not trigger resets; the reset event itself is recorded as a system log for subsequent auditing and tracing.

[0097] In this embodiment, the state machine maintained by state identifiers ensures that the stringency status of different materials processed by the same equipment, or the same material undergoing different processes, remains independent, achieving precise aggregation of inspection resources towards specific quality fluctuation points. The cumulative number of rework attempts is incorporated into the state machine as an independent transfer trigger source, allowing process anomalies to bypass the batch acceptance sequence and directly drive stricter transfers—a trigger path not present in existing national standard transfer rules. Furthermore, the existing national standard transfer rule GB / T 2828.1 differs in that its transfer determination is based on batch-by-batch acceptance sampling sequences, requiring manual statistics of batch acceptance before switching schemes. This differs from the state machine of this invention, which is driven by production events, with immediate determination and automatic transfer upon inspection result write-back or rework event arrival. This invention requires no manual intervention.

[0098] In one implementation, a personalized view with dual-dimensional filtering can be generated based on the input, analysis process, and results of the aforementioned steps. After obtaining the identifier of the currently logged-in user, the "My Inspection Log" function filters and displays the data according to two dimensions: the first dimension is the user qualification dimension, which only displays tasks for which the user has the qualification to perform inspections; the second dimension is the task status dimension, which only displays tasks that have been assigned to the user but have not been completed. Dual-dimensional filtering ensures that inspectors see a task list that matches their qualifications and belongs to them, thus realizing a personalized workbench with one view per person.

[0099] In one implementation, a closed-loop write-back mechanism for test results is involved: after the inspectors complete the inspection task, the result data is written back along three paths: Path 1 → Update the sampling strictness and various counters in the state machine according to the dimension of the state identifier, and drive the tightening / loosening state transition; Path 2 → Update the inspector's real-time load count (number of tasks to be inspected) and quality profile (error rate, average completion time) as input for weight allocation correction; Path 3 →: Write the test results as attribute increments into the corresponding edges of the star-shaped association network for subsequent traversal.

[0100] Therefore, a self-optimizing closed loop of "trigger → snapshot → allocation → feedback traceability" can ultimately be formed.

[0101] The embodiments of this application have at least the following effects: (1) Actively trigger the determination of the event object of the production event, and trigger the rule governance capability: not only realize the automatic perception and automatic generation of production events such as process completion, batch switching, and abnormal occurrence, eliminating the risk of human omission; further, through the rule priority, effective scope granularity sorting and the resolution mechanism of selected rules, the problem of task duplication and requirement conflict when multiple rules are concurrently hit is solved.

[0102] (2) The sampling strictness dynamically adapts to the quality performance and exceeds the manual execution mode of the national standard: Based on the three-state transition state machine of the three-dimensional independent counter such as the status identifier "equipment × process × material", the transfer rule of GB / T 2828.1 that relies on manual statistical switching is upgraded to event-driven automatic real-time transfer, and a new rework number coupling trigger path is added, so that the inspection resources automatically gather to the quality fluctuation point and are released from the stable process. Compared with the static fixed sampling ratio scheme, the overall inspection workload is reduced while ensuring the detection capability.

[0103] (3) From isolated inspection to full-link traceability: By generating a context snapshot of the preset inspection ledger fields that are fixed at the time of task generation and an event-driven incremental update of the 6-domain star-shaped association network, each inspection record becomes a traceable snapshot of all manufacturing elements. It supports one-click bidirectional traversal along the association edge, ensuring the time point determinism of the inspection record and lower update overhead. The implementation example estimates that the time for investigating quality problems can be shortened from several hours to minutes.

[0104] (4) From manual assignment to dynamic weighted intelligent matching: The allocation algorithm with four-factor normalized weighting and dynamic weighting and normalization according to task type, combined with qualification hard constraints, downgrade warning and cold start strategy, ensures the professionalism, balance and timeliness of task allocation, and covers boundary scenarios such as unqualified personnel on night shift.

[0105] (5) Forming a self-optimizing closed loop of “trigger → snapshot → allocation → feedback”: The test results are written back along three paths, which drives the transfer of sampling strictness, the correction of allocation weight and the update of related edges, so that the system continuously optimizes the triggering and allocation strategies over time. Each module is interdependent and works together, and the overall effect exceeds the simple superposition of each feature.

[0106] (6) Personalized workbench with one view per person: After logging in, inspectors can automatically see the inspection tasks within their own qualification scope and belonging to them through dual-dimensional filtering, without having to manually filter in all ledgers. The example estimates that the task search operation time can be reduced by more than 50%.

[0107] Reference Figure 2 The diagram shows a structural block diagram of a quality inspection device for a production process according to an embodiment of this application. The device may include: The first determining module is used to determine the event object of the production event triggered by the completion of the production of the object to be inspected, and to determine the corresponding status identifier based on the event object. The event object includes at least the event type, event parameters, and event body. The second determination module is used to determine all hit rules from the rule base based on the event type, event parameters, and event subject, and to determine the task description based on the priority, effective scope granularity, sampling strictness, and inspection attributes of each hit rule. The third determination module is used to generate inspection tasks for the objects to be inspected based on the state machine maintained by the status identifier and the task description, and to calculate the inspector's inspection qualification score based on the inspection task to determine the target inspector. The state machine affects the sampling strictness of the inspection task. The update module is used to determine the quality inspection results of the objects to be inspected obtained by the target inspector in performing the inspection task, and update the state machine maintained by the status identifier according to the inspection quality results.

[0108] In one implementation, the third determining module is further configured to: Generate a context snapshot based on the preset inspection ledger fields; Using the inspection task as the central node, and based on the context snapshot, we construct association edges pointing to multiple business domains to form an association network centered on the inspection task; the association network is used for traversal with the inspection task as the center.

[0109] The functions of each module in the device of this application embodiment can be found in the corresponding description in the above method, and will not be repeated here.

[0110] Reference Figure 3 The diagram illustrates a structural block diagram of an electronic device according to an embodiment of this application. The electronic device includes a memory 310 and a processor 320. The memory 310 stores instructions that can be executed on the processor 320. The processor 320 loads and executes these instructions to implement the quality inspection method for the production process described in the above embodiment. The number of memories 310 and processors 320 can be one or more.

[0111] In one embodiment, the electronic device further includes a communication interface 330 for communicating with external devices and exchanging data. If the memory 310, processor 320, and communication interface 330 are implemented independently, they can be interconnected via a bus to communicate with each other. This bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. This bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0112] Optionally, in a specific implementation, if the memory 310, processor 320 and communication interface 330 are integrated on a single chip, the memory 310, processor 320 and communication interface 330 can communicate with each other through an internal interface.

[0113] This application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the quality inspection method for the production process provided in the above embodiments.

[0114] This application also provides a chip, which includes a processor for calling and executing instructions stored in a memory, causing a communication device on which the chip is installed to execute the method provided in this application.

[0115] This application also provides a chip, including: an input interface, an output interface, a processor, and a memory. The input interface, output interface, processor, and memory are connected through an internal connection path. The processor is used to execute code in the memory. When the code is executed, the processor is used to execute the method provided in the application embodiment.

[0116] It should be understood that the aforementioned processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. General-purpose processors can be microprocessors or any conventional processor. It is worth noting that the processor can be a processor supporting the Advanced Reduced Instruction Set Computing (RISC) machine (ARM) architecture.

[0117] Further, optionally, the aforementioned memory may include read-only memory and random access memory, and may also include non-volatile random access memory. The memory may be volatile or non-volatile, or may include both. Non-volatile memory may include read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which serves as an external cache. Many forms of RAM are available by way of example, but not limitation. Examples include static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).

[0118] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the flow or function according to this application is generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another.

[0119] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of those different embodiments or examples.

[0120] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "a plurality of" means two or more, unless otherwise explicitly specified.

[0121] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process. Furthermore, the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functionality involved.

[0122] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus or device (such as a computer-based system, a processor-included system or other system that can fetch and execute instructions from, an instruction execution system, apparatus or device).

[0123] It should be understood that various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. All or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware, the program being stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiments.

[0124] Furthermore, the functional units in the various embodiments of this application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. This storage medium can be a read-only memory, a disk, or an optical disk, etc.

[0125] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various variations or substitutions within the technical scope disclosed in this application, and these should all be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A quality inspection method for a production process, characterized in that, include: Determine the event object of the production event triggered by the completion of the production of the object to be inspected, and determine the corresponding status identifier based on the event object. The event object includes at least the event type, event parameters, and event body. Based on the event type, event parameters, and event subject, all matching rules are determined from the rule base, and the task description is determined based on the priority, scope granularity, sampling strictness, and inspection attributes of each matching rule. Based on the state machine maintained by the state identifier and the task description, the inspection task of the object to be inspected is generated, and the inspection qualification score of the inspector is calculated according to the inspection task to determine the target inspector. The state machine affects the sampling strictness of the inspection task. Determine the quality inspection results of the objects to be inspected obtained by the target inspector in performing the inspection task, and update the state machine maintained by the status identifier based on the inspection quality results.

2. The quality inspection method for the production process according to claim 1, characterized in that: The process of determining all matching rules from the rule base based on event type, event parameters, and event subject includes: Based on the event type, determine all candidate rules that match the event type from the rule base; Based on the event parameters and candidate rules, condition judgment is performed, and based on the event subject and candidate rules, the scope of effectiveness is judged to determine all candidate hit rules that pass both the condition judgment and the scope of effectiveness judgment. Based on the priority and granularity of the effective scope of the candidate hit rules, the candidate hit rules are filtered to determine all hit rules.

3. The quality inspection method for the production process according to claim 2, characterized in that: The process involves filtering candidate hit rules based on their priority and granularity of effectiveness, to determine all hit rules, including: Compare the priorities of all candidate hit rules. If all priorities are different, determine all candidate hit rules as the corresponding hit rules. If there are candidate hit rules with the same priority, compare the granularity of their effective range and determine the candidate hit rule with the same priority and the smallest effective range granularity as the hit rule.

4. The quality inspection method for the production process according to any one of claims 1-3, characterized in that: The step of generating the inspection task for the object to be inspected based on the state machine maintained by the state identifier and the task description includes: Determine the current sampling strictness in the state machine maintained by the state flag, and compare the sampling strictness with the sampling strictness in the task description to determine the final sampling strictness with the highest strictness level; Based on the final sampling stringency and task description, generate inspection tasks for the objects to be inspected. Among them, the priority of the inspection task determines the order of the inspection task in the task pool to be assigned.

5. The quality inspection method for the production process according to any one of claims 1-3, characterized in that: The step of calculating the inspector's qualification score to determine the target inspector based on the inspection task includes: Determine the qualification information of each inspector, the number of tasks to be inspected, the urgency of the tasks to be inspected, and the distance between the inspection point and the object to be inspected; Based on the qualification requirements and qualification information in the inspection task, determine the skill matching degree; based on the number of tasks to be inspected, determine the workload balance degree; and based on the distance, determine the inspection distance measurement. The degree of task matching is determined by whether the inspection task can be executed immediately based on the urgency of the task to be inspected, or by whether the task limit value has been reached based on the number of tasks to be inspected. Based on skill matching, workload balance, inspection distance measurement, and task matching, the inspection qualification score of each inspector is determined, and the inspector with the highest inspection qualification score is identified as the target inspector.

6. The quality inspection method for the production process according to claim 4, characterized in that: The sampling strictness level of the state machine for status identification maintenance is from high to low as tightened, normal, and relaxed. The state machine for status identification maintenance includes a non-conforming counter, a cumulative rework counter, and a conforming counter. The state machine maintained by updating the status identifier is updated based on the inspection quality results. If the inspection quality result is qualified, add the count to the qualified counter; if the inspection quality result is unqualified, add the count to the unqualified counter; if the inspection quality result is unqualified and the event type is rework, add the count to the cumulative rework counter. If the current sampling strictness in the state machine maintained by the status flag is normal, if the count of the non-conforming counter reaches the first quantity or the count of the cumulative rework counter reaches the second quantity, the current sampling strictness will be updated to tightened; if the count of the conforming counter reaches the third quantity, the current sampling strictness will be updated to relaxed. If the current sampling strictness in the state machine maintained by the status flag is tightened, when the count of the qualified counter reaches the fourth number, the current sampling strictness will be updated to normal. If the current sampling strictness in the state machine maintained by the status flag is relaxed, when the count of the non-conforming counter is added, the current sampling strictness will be updated to normal.

7. The quality inspection method for the production process according to any one of claims 1-3, characterized in that: The method further includes: Generate a context snapshot based on the preset inspection ledger fields; Using the inspection task as the central node, and based on the context snapshot, we construct association edges pointing to multiple business domains to form an association network centered on the inspection task; the association network is used for traversal with the inspection task as the center.

8. A quality inspection device for a production process, characterized in that, include: The first determining module is used to determine the event object of the production event triggered by the completion of the production of the object to be inspected, and to determine the corresponding status identifier based on the event object. The event object includes at least the event type, event parameters, and event body. The second determination module is used to determine all hit rules from the rule base based on the event type, event parameters, and event subject, and to determine the task description based on the priority, effective scope granularity, sampling strictness, and inspection attributes of each hit rule. The third determination module is used to generate inspection tasks for the objects to be inspected based on the state machine maintained by the status identifier and the task description, and to calculate the inspector's inspection qualification score based on the inspection task to determine the target inspector. The state machine affects the sampling strictness of the inspection task. The update module is used to determine the quality inspection results of the objects to be inspected obtained by the target inspector in performing the inspection task, and update the state machine maintained by the status identifier according to the inspection quality results.

9. An electronic device, characterized in that, include: A processor and a memory, wherein instructions are stored in the memory and loaded and executed by the processor to implement the method as claimed in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed, implements the method as described in any one of claims 1-7.