Quality inspection daily report generation method and device

By recognizing the quality inspection data format and matching processing rules, daily quality inspection reports are automatically generated, solving the problem of low generation efficiency in existing technologies and achieving highly efficient and automated generation of daily quality inspection reports.

CN123181995APending Publication Date: 2026-11-27VOYAH AUTOMOBILE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611117630.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-27
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

The existing method for generating daily quality inspection reports cannot automatically adapt to changes in data format, resulting in low generation efficiency and a high risk of errors.

Method used

By identifying the format type of quality inspection data and matching the corresponding data processing rules, daily quality inspection reports are automatically generated without the need to write separate scripts for each format.

Benefits of technology

It has enabled the efficient and automatic generation of daily quality inspection reports, improving generation efficiency and reducing manual intervention and error rates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123181995A_ABST
    Figure CN123181995A_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a quality inspection daily report generation method and device, the method comprising: in response to receiving a quality inspection daily report generation instruction, obtaining quality inspection data and each statistical indicator to be filled in a preset quality inspection daily report template, the quality inspection data containing quality inspection records obtained by performing quality inspection on labeled data of each image frame, the image frame being used for training a target vehicle-mounted model; determining, from a plurality of preset data format types, a target data format type matched with the quality inspection data; determining, from a plurality of preset data processing rules, a target data processing rule matched with the target data format type; determining, according to the target data processing rule, statistical values corresponding to each statistical indicator from the quality inspection data; and filling each statistical value into a corresponding position of the preset quality inspection daily report template to generate a quality inspection daily report. The technical scheme provided by the embodiments of the present application can improve the generation efficiency of the quality inspection daily report.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of quality inspection daily report generation technology, and more specifically, to a method and apparatus for generating a quality inspection daily report. Background Technology

[0002] Currently, many vehicle-mounted models, such as the Visual Language Model for Autonomous Driving (VLM), rely on a large amount of high-quality pre-labeled data for training, and daily quality inspection reports are a crucial step in ensuring the quality of this pre-labeled data. Typically, quality inspectors check the labeling results frame by frame and summarize the results into a daily report.

[0003] There are three main methods for generating daily quality inspection reports: first, manual statistics and form filling, which is inefficient and prone to errors; second, writing fixed scripts for specific Excel formats to extract data, but this method becomes ineffective and needs to be rewritten if the table structure or column names change; and third, using data dashboards for semi-automatic statistics, but this method still requires manual copying of data into documents, failing to achieve full automation. Therefore, all of the above methods for generating daily quality inspection reports suffer from a lack of adaptability to changes in data formats, making it impossible to generate daily quality inspection reports automatically and efficiently. Summary of the Invention

[0004] The embodiments of this application provide a method and apparatus for generating daily quality inspection reports. Based on the technical solution provided in this application, by identifying the format type of quality inspection data and matching the corresponding data processing rules, it can adaptively process quality inspection data of different formats. It can automatically generate daily quality inspection reports without writing separate scripts for each format, thereby improving the generation efficiency of daily quality inspection reports.

[0005] Other features and advantages of this application will become apparent from the following detailed description, or may be learned in part from practice of this application.

[0006] According to a first aspect of the embodiments of this application, a method for generating a daily quality inspection report is provided. The method includes: in response to receiving a daily quality inspection report generation instruction, acquiring quality inspection data and various statistical indicators to be filled in a preset daily quality inspection report template, wherein the quality inspection data includes quality inspection records obtained by quality inspection of labeled data of each image frame, and the image frames are used to train a target vehicle-mounted model; determining a target data format type that matches the quality inspection data from a preset variety of data format types; determining a target data processing rule that matches the target data format type from a preset variety of data processing rules; determining statistical values ​​corresponding to each statistical indicator from the quality inspection data according to the target data processing rule; and filling each statistical value into the corresponding position of the preset daily quality inspection report template to generate a daily quality inspection report.

[0007] According to a second aspect of the embodiments of this application, a quality inspection daily report generation apparatus is provided. The apparatus includes: a response unit, configured to respond to receiving a quality inspection daily report generation instruction, acquire quality inspection data and various statistical indicators to be filled in a preset quality inspection daily report template, wherein the quality inspection data includes quality inspection records obtained by quality inspection of the labeled data of each image frame, and the image frames are used to train a target vehicle-mounted model; a first determining unit, configured to determine a target data format type that matches the quality inspection data from a preset variety of data format types; a second determining unit, configured to determine a target data processing rule that matches the target data format type from a preset variety of data processing rules; a third determining unit, configured to determine statistical values ​​corresponding to each statistical indicator from the quality inspection data according to the target data processing rule; and a generation unit, configured to fill each statistical value into the corresponding position of the preset quality inspection daily report template to generate a quality inspection daily report.

[0008] The technical solution of this application first responds to receiving a quality inspection daily report generation instruction, obtains quality inspection data and various statistical indicators to be filled in the preset quality inspection daily report template. The quality inspection data includes quality inspection records obtained by quality inspection of the labeled data of each image frame, and the image frames are used to train the target vehicle model. Second, from a variety of preset data format types, a target data format type that matches the quality inspection data is determined. Third, from a variety of preset data processing rules, a target data processing rule that matches the target data format type is determined. Fourth, according to the target data processing rule, the statistical values ​​corresponding to each statistical indicator are determined from the quality inspection data. Finally, each statistical value is filled into the corresponding position of the preset quality inspection daily report template to generate the quality inspection daily report.

[0009] Therefore, based on the technical solution of this application, in the process of generating daily quality inspection reports, by identifying the format type of quality inspection data and matching the corresponding data processing rules, the corresponding daily quality inspection report can be automatically generated for each data format type based on the matching data processing rules. There is no need to write separate scripts to extract relevant data for each data format type, and no manual intervention is required during the processing to manually copy and extract data. The technical solution of this application will automatically generate the corresponding daily quality inspection report based on the corresponding data processing rules, thereby improving the generation efficiency of daily quality inspection reports.

[0010] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0011] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings: Figure 1 A flowchart illustrating a method for generating a daily quality inspection report according to an embodiment of this application is shown; Figure 2 This illustration shows a detailed process for determining statistical values ​​corresponding to various statistical indicators from quality inspection data according to target data processing rules, based on one embodiment of this application. Figure 1 ; Figure 3 This illustration shows a detailed process for determining statistical values ​​corresponding to various statistical indicators from quality inspection data according to target data processing rules, based on one embodiment of this application. Figure 2 ; Figure 4 This illustration shows a detailed process for determining statistical values ​​corresponding to various statistical indicators from quality inspection data according to target data processing rules, based on one embodiment of this application. Figure 3 ; Figure 5 A block diagram of a daily quality inspection report generation apparatus according to an embodiment of this application is shown. Detailed Implementation

[0012] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided to make this application more comprehensive and complete, and to fully convey the concept of the exemplary embodiments to those skilled in the art.

[0013] Furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a thorough understanding of embodiments of this application. However, those skilled in the art will recognize that the technical solutions of this application can be practiced without one or more of the specific details, or other methods, components, apparatuses, steps, etc., can be employed. In other instances, well-known methods, apparatuses, implementations, or operations are not shown or described in detail to avoid obscuring various aspects of this application.

[0014] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.

[0015] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.

[0016] It should be noted that "multiple" in this article refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.

[0017] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such uses of these terms can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described.

[0018] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of the embodiments of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this invention, and not all of them. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention.

[0019] It should be noted that the method for generating daily quality inspection reports provided in this application can be executed by an automated generation agent. This agent can be deployed on a local server or a cloud server to receive user-inputted quality inspection data and automatically generate daily quality inspection reports.

[0020] The following detailed description of some embodiments of this application will be provided in conjunction with the accompanying drawings. Unless otherwise specified, the following embodiments and features can be combined with each other.

[0021] See Figure 1 The diagram illustrates a flowchart of a method for generating a daily quality inspection report according to an embodiment of this application, specifically including the following steps 110 to 150: Step 110: In response to receiving the quality inspection daily report generation instruction, obtain the quality inspection data and the statistical indicators to be filled in the preset quality inspection daily report template. The quality inspection data includes the quality inspection record obtained by quality inspection of the labeled data of each image frame. The image frame is used to train the target vehicle model.

[0022] In this embodiment, the user triggers a daily quality inspection report generation command through a client or interactive interface. This command carries the storage path of the quality inspection data. After receiving the command, the intelligent agent reads the quality inspection data from local storage, network storage, or a database according to the storage path.

[0023] In this embodiment, the image frame is used to train the target vehicle-mounted model. This target vehicle-mounted model can be a Visual Language Model (VLM) applied to the field of autonomous driving. Specifically, the image frame can include a single image frame or any frame from video data. Specifically, this application does not limit the scope of the application.

[0024] It should be noted that the quality inspection data originates from the quality inspection process of the training data for the Visual Language Model (VLM) for autonomous driving. Specifically, data annotators annotate each image frame in the road scene, including information such as traffic light status, key target attributes, and driving decisions. Quality inspectors review the annotation results frame by frame to determine their accuracy and record the quality inspection conclusions for each frame in the original data file, forming a quality inspection record.

[0025] It should also be noted that the preset quality inspection daily report template is a pre-configured standardized document template for displaying quality inspection results. It specifies the basic information format, statistical indicators, statistical table structure, and various statistical indicators that need to be filled in for the daily report.

[0026] In some implementations, the source of the preset quality inspection daily report template can be determined according to the following priority method.

[0027] With the highest priority, if a user uploads their own template file, the agent directly reads the actual chapter structure and table column configuration of the file and dynamically adapts it based on the file content, without relying on any built-in version description.

[0028] The next highest priority is given to agents that execute the specified version if the user has not uploaded a template file but has explicitly specified a version number in the text when triggering the command. For example, if the user enters "use V1 version template", the agent will call the pre-stored V1 version template format for adaptation.

[0029] As a fallback strategy, if the user neither uploads a template file nor specifies a version number, the agent uses the latest version of the template. In one implementation, the latest version template is version V2, which includes all pre-set statistical metrics.

[0030] The above implementation method allows for version upgrades of the quality inspection daily report template without modifying the core code of the intelligent agent. When the template structure changes, adaptation can be completed simply by adding or updating the version description in the intelligent agent, or by having the user directly upload the new template file, thereby reducing maintenance costs and improving the system's scalability.

[0031] In some implementations, the statistical metrics include at least one of the following: overall pass rate, secondary dimension pass rate, tertiary dimension pass rate, and scenario category pass rate.

[0032] The overall pass rate is the proportion of image frames that pass quality inspection out of all image frames. For example, if 41 images are inspected on a given day, and 31 of them pass and 10 fail, the overall pass rate is 31 ÷ 41 × 100% ≈ 75.6%.

[0033] The pass rate for the second-level dimensions is the proportion of image frames that pass quality inspection in each preset second-level dimension out of all image frames involving that preset second-level dimension. Each preset second-level dimension is a quality inspection category divided when quality inspecting the labeled data of image frames.

[0034] In one implementation, the secondary dimensions include traffic light categories, key traffic participants categories, decision-making and reasoning categories, and scenario category categories.

[0035] For example, in the secondary dimension of traffic lights, quality inspectors need to determine the correctness of the traffic light annotations in each frame when inspecting image frames, including the light status (e.g., red, green, yellow) and arrow type. If a total of 100 images are involved in the traffic light quality inspection that day (i.e., all 100 images contain traffic lights that need to be verified), and 90 of them are correct in all annotations related to traffic lights, then the pass rate for this secondary dimension is 90 ÷ 100 × 100% = 90%. The remaining 10 frames have at least one incorrect traffic light annotation in this secondary dimension.

[0036] For the secondary dimension of key traffic participants, quality inspectors need to determine whether the annotations of key traffic participants in each frame are correct, such as the type of participant (e.g., vehicle, pedestrian, bicycle), image location, relative position, motion state, prediction intent, and impact on the vehicle.

[0037] For the second-level dimension of decision-making and reasoning, quality inspectors need to determine whether the annotations for decision-making and reasoning in each frame are correct, including lateral decisions (such as changing lanes and turning) and vertical decisions (such as accelerating, decelerating, and stopping).

[0038] For the second-level dimension of scene category, quality inspectors need to determine whether the annotation of scene category in each frame is correct, that is, whether the scene type annotated in the frame matches the actual scene.

[0039] The pass rate for each of the three preset three-dimensional dimensions is the proportion of image frames that pass quality inspection out of all image frames involving that three-dimensional dimension. Each preset three-dimensional dimension is a quality inspection subclass under the corresponding two-dimensional dimension. Specifically, the three-dimensional dimensions under the traffic light category include traffic light status and traffic light arrow type; the three-dimensional dimensions under the key traffic participant category include key target type, relative position, motion state, prediction intent, and impact on the vehicle; the three-dimensional dimensions under the decision-making and reasoning category include lateral decision-making and vertical decision-making; and the three-dimensional dimensions under the scene category include scene category and scene subcategory.

[0040] For example, for the third-level dimension of traffic light status, quality inspectors need to verify the color labeling of traffic lights in the image frame by frame to ensure it is correct (e.g., labeling a red light as a green light in the image is an error in this dimension). For the third-level dimension of key target type, quality inspectors need to verify the type labeling of key traffic participants in the image frame by frame to ensure it is correct (e.g., labeling a passenger car as a truck in the image is an error in this dimension). For the third-level dimension of relative position, quality inspectors need to verify the position labeling of key traffic participants in the image frame by frame to ensure it is correct (e.g., labeling a vehicle directly in front of the image as being to the right front is an error in this dimension).

[0041] For the third-level dimension of motion state, quality inspectors need to verify the accuracy of the motion state labeling of key traffic participants in the image frame by frame (for example, labeling a stationary vehicle as moving slowly is an error in this dimension). For the third-level dimension of predicted intent, quality inspectors need to verify the accuracy of the predicted intent labeling of key traffic participants in the image frame by frame (for example, labeling a pedestrian preparing to go straight as preparing to turn left is an error in this dimension).

[0042] For the Level 3 dimension of impact on the vehicle, quality inspectors need to verify frame-by-frame the accuracy of the labeling of key traffic participants' impact on the vehicle (e.g., labeling a vehicle occupying the vehicle's lane as not affecting the vehicle is an error in this dimension). For the Level 3 dimension of lateral decision-making, quality inspectors need to verify frame-by-frame the accuracy of the labeling of the vehicle's lateral decisions (e.g., labeling an intersection where the vehicle should turn left as going straight is an error in this dimension). For the Level 3 dimension of longitudinal decision-making, quality inspectors need to verify frame-by-frame the accuracy of the labeling of the vehicle's longitudinal decisions (e.g., labeling a situation where the vehicle should slow down and stop as driving at a constant speed is an error in this dimension). For the Level 3 dimension of scene type, quality inspectors need to verify frame-by-frame the accuracy of the labeling of the scene category in the image (e.g., labeling a construction site as a regular scene is an error in this dimension). For the third-level dimension of scene subtype, quality inspectors need to verify the accuracy of the scene sub-categories labeling in the image frame by frame (for example, labeling an overly complex construction section scene as a regular scene is an error in this dimension).

[0043] It's important to note that there's a hierarchical relationship between the pass rates for secondary and tertiary dimensions. Tertiary dimensions are sub-items of quality control within secondary dimensions. Therefore, if a frame has an error in a particular tertiary dimension, it will also inevitably have an error in the corresponding secondary dimension. For example, if a frame has an error in the traffic light status (tertiary dimension), it will also fail the quality control for traffic lights (secondary dimension).

[0044] The scene category pass rate is the proportion of image frames that pass quality inspection within each preset scene category out of all image frames in that preset scene category. In other words, all quality inspection image frames are first grouped according to scene category, and then the overall pass rate within each scene category group is calculated separately.

[0045] For example, suppose the image frames inspected on a given day involve four scene categories: construction and accident scenes, complex intersection scenes, hazard warning scenes, and routine scenes. One image frame belongs to the construction and accident scene category, and this frame passes the quality inspection as a whole; therefore, the pass rate for this scene category is 1 ÷ 1 × 100% = 100%. Two image frames belong to the complex intersection scene category, and both of them pass the quality inspection as a whole; therefore, the pass rate for this scene category is 2 ÷ 2 × 100% = 100%. Three image frames belong to the hazard warning scene category, and one of them passes the quality inspection as a whole; therefore, the pass rate for this scene category is 1 ÷ 3 × 100% ≈ 33.3%. Thirty-five image frames belong to the routine scene category, and 27 of them pass the quality inspection as a whole; therefore, the pass rate for this scene category is 27 ÷ 35 × 100% ≈ 77.1%. This shows that the data quality varies across different scene categories, and the scene category pass rate can help identify the types of scenes prone to quality problems.

[0046] It's important to note that the scene category pass rate differs from the scene class pass rate in the aforementioned secondary dimension. The scene class pass rate in the secondary dimension assesses the accuracy of the scene annotations themselves, determining whether the scene category annotations on image frames match the actual scene. In contrast, the scene category pass rate assesses the overall quality of image frames within each scene category, indicating how many frames belonging to the same scene category have no errors found across all annotation dimensions. The former measures the accuracy of scene annotations, while the latter measures the overall data quality across all annotation dimensions for different scenes. Both reflect the data quality from different perspectives.

[0047] See also Figure 1 Step 120: Determine the target data format type that matches the quality inspection data from a variety of preset data format types.

[0048] In some implementations, the multiple data format types include at least one of standard data format type, single-table data format type, and unknown data format type; wherein, the quality inspection data package of standard data format type contains statistical values ​​corresponding to each statistical indicator; the quality inspection data of single-table data format type does not contain statistical values ​​corresponding to each statistical indicator, and the header names of each data column match their record content; the unknown data format type does not contain statistical values ​​corresponding to each statistical indicator, and the header names of each data column do not match their record content.

[0049] The standard data format, such as an Excel file, contains multiple summary tables with pre-defined names, including "Frame-by-Frame Statistics," "Secondary Label Pass Rate," "Third-Level Label Pass Rate," and "Scene Category Pass Rate Statistics." The "Frame-by-Frame Statistics" table records the quality inspection results for each image frame; the "Secondary Label Pass Rate" table pre-calculates the pass rates for each secondary dimension; the "Third-Level Label Pass Rate" table pre-calculates the pass rates for each tertiary dimension; and the "Scene Category Pass Rate Statistics" table pre-calculates the pass rates for each scene category. Since this format already includes the statistical values ​​corresponding to each indicator, the agent can directly read the required data from these summary tables without manual calculation. When reading the data, the agent can use a fuzzy matching strategy to identify column names in each table, ignoring differences in spaces, capitalization, full-width / half-width characters, and slashes / underscores, thus ensuring compatibility with column name differences between different historical versions.

[0050] The single-table data format type contains only one raw data table (e.g., a table named "summaries"), without any pre-calculated summary statistics. This raw data table records the quality inspection details of each image frame row by row. The column headers accurately reflect the meaning of the data in each column. Since this format does not include the statistical values ​​corresponding to each statistical indicator, the agent needs to initiate a data inference process after identifying the meaning of each column's data to calculate the various statistical indicators based on the raw data. The core difference between the single-table data format type and the standard data format type is that the former does not contain pre-calculated summary statistics, requiring the agent to infer them manually; the latter contains complete summary statistics and can be directly read. The specific form of the single-table data format type is shown in Table 1 below.

[0051]

[0052] Table 1 Among these, the unknown data format type refers to quality inspection data files that are neither standard multi-table format nor single-table original format, where the column header names do not reflect the actual meaning of the data in the column. For example, a column header name might be "Col001," but its record content might be quality inspection conclusions such as "pass" or "fail," indicating a mismatch between the header name and the record content; another column header name might be "Col002," but its record content might be erroneous descriptive text.

[0053] The above classification of data formats enables the agent to adaptively process quality inspection data from different sources and in different formats. Regardless of the format of the quality inspection data output by the upstream tools, the agent can generate daily reports through format recognition and corresponding data processing rules, without the need to write separate adaptation code for each format.

[0054] In one specific embodiment of step 120, the agent performs structural detection on the acquired quality inspection data file to determine which of the preset multiple data format types the file belongs to.

[0055] Specifically, the agent first reads the worksheet structure of the quality inspection data file, obtaining a list of all worksheet names and column header information for each worksheet. Then, the agent compares the detected structural information with features of various preset data format types.

[0056] For standard data format types, the agent detection file is checked to see if it also contains summary tables with preset names, such as "Statistics for Each Frame," "Pass Rate for Secondary Labels," "Pass Rate for Tertiary Labels," and "Statistics for Scene Category Pass Rate." If all of the above summary tables exist, the target data format type is determined to be a standard data format type.

[0057] For single-table data format types, the agent checks whether the file contains only one original data table, and whether the header names of each column in this table reflect the meaning of its recorded content. Specifically, the agent checks for the presence of key fields such as "Review Status," "Difference Count," "Modified Content," and "Scenario Category." If only one original data table exists and all of the above key fields can be identified, then the target data format type is determined to be a single-table data format type.

[0058] For unknown data format types, if the file structure detected by the agent does not conform to the characteristics of either the standard data format type or the single-table data format type, such as the number of worksheets in the file not matching or the table header name not corresponding to the preset key field, then the target data format type is determined to be an unknown data format type.

[0059] In one implementation, the agent uses a fuzzy matching strategy when identifying column header names, ignoring differences such as spaces, capitalization, full-width and half-width characters, and slashes and underscores, thereby ensuring compatibility with column name differences between different historical versions and avoiding misjudgment of format type due to inconsistent column name writing.

[0060] See also Figure 1 Step 130: Determine the target data processing rule that matches the target data format type from a variety of preset data processing rules.

[0061] In this embodiment, the data processing rules are matched with the data format type, and specifically with the statistical indicators that need to be analyzed.

[0062] See also Figure 1 Step 140: According to the target data processing rules, determine the statistical values ​​corresponding to each statistical indicator from the quality inspection data.

[0063] In some implementations, if the data format type is a standard data format type, the corresponding target data processing rule is to directly extract the statistical values ​​corresponding to each statistical indicator from the quality inspection data of the standard data format type, and obtain the data for adjusting the preset quality inspection daily report template directly without going through the calculation.

[0064] In step 140, in some implementations, if the data format type is a single-table data format type and the statistical indicator includes the second-level dimension pass rate, the specific implementation of step 140 can be as follows: Figure 2 Perform the steps shown.

[0065] See Figure 2 This illustration shows a detailed process for determining statistical values ​​corresponding to various statistical indicators from quality inspection data according to target data processing rules, based on an embodiment of this application. Figure 1 Specifically, it includes the following steps 141A to 147A: Step 141A: For each preset secondary dimension, determine whether there is a difference count column in the quality inspection data that corresponds to the preset secondary dimension; the difference count column is used to record the number of errors in the annotation data of the image frame on the preset secondary dimension.

[0066] Typically, in quality inspection data, for each secondary dimension, there is a corresponding difference count column, where the value in the difference count column is 0 or greater than 0. As shown in Table 1 above, there are difference count columns for traffic lights, key traffic participants, decision-making and reasoning, and scenario categories.

[0067] See also Figure 2 Step 142A: If it exists, obtain the difference count value of each image frame in the difference count column.

[0068] It is understandable that if a difference count column exists, then each image frame has a corresponding difference count value in that column. This difference count value is 0 or greater than 0.

[0069] See also Figure 2 Step 143A: If the difference count value is greater than 0, the image frame is determined to have failed the quality inspection in the preset secondary dimension.

[0070] Understandably, if the difference count column is greater than 0, it means that the annotation data of the image frame in the preset second-level dimension is incorrect. Accordingly, if there is an error, it is determined that the image frame has failed the quality inspection in the second-level dimension.

[0071] See also Figure 2Step 144A: If it does not exist, obtain the modified content text column in the quality inspection data, and perform keyword scanning on the modified content text of each image frame. If a keyword corresponding to the preset second-level dimension is scanned, it is determined that the image frame has not passed the quality inspection in the preset second-level dimension. The modified content text column is used to record the erroneous description text of the image frame's annotation data in each preset third-level dimension.

[0072] Understandably, if the difference count column is missing, it means that the current quality inspection data does not separately count the number of errors for each secondary dimension. In this case, it is impossible to directly determine whether the image frame passes the quality inspection in that secondary dimension based on the numerical value. Therefore, the process switches to obtaining the modified content text column from the quality inspection data. The agent performs keyword scanning on the modified content text of each image frame. For example, for the traffic light category secondary dimension, it scans whether the modified content text contains keywords related to "traffic light"; for the key traffic participant category secondary dimension, it scans whether it contains the keyword "participant"; for the decision-making reasoning category secondary dimension, it scans whether it contains keywords related to "decision"; and for the scene category secondary dimension, it scans whether it contains keywords related to "scene". If a keyword corresponding to the preset secondary dimension is found, it means that the image frame has a labeling error in that preset secondary dimension, and the image frame is determined to have failed the quality inspection in that preset secondary dimension.

[0073] See also Figure 2 Step 145A: Count the number of image frames that pass the quality inspection in the preset second-level dimension in each image frame, and use it as the first quantity.

[0074] Understandably, through the aforementioned steps 141A to 144A, the agent has determined whether each image frame passes quality inspection in the preset second-level dimension. Specifically, if a difference count column exists and the difference count value is 0, or if the difference count column does not exist but no corresponding keyword is scanned in the modified content text, then the image frame is determined to have passed quality inspection in the preset second-level dimension. The agent traverses all image frames frame by frame, counts the number of image frames that have passed quality inspection, and uses this count as the first quantity.

[0075] See also Figure 2 Step 146A: Count the number of image frames in each image frame that involve the preset second-level dimension, and use this as the second quantity.

[0076] Understandably, for each preset secondary dimension, it is necessary to determine the total number of image frames involved in that secondary dimension. Since each image frame needs to be labeled and quality checked across all preset secondary dimensions, the number of image frames involved in that preset secondary dimension is the total number of image frames in the quality check data. The agent directly counts the total number of image frames included in the quality check data and uses this result as the secondary quantity.

[0077] See also Figure 2 Step 147A: Calculate the ratio of the first quantity to the second quantity, which is used as the pass rate of the second-level dimension of the preset second-level dimension.

[0078] For example, if the total number of image frames involving the secondary dimension of traffic lights is 100, and the number of image frames that pass the quality inspection is 90, then the pass rate of this secondary dimension is 90 ÷ 100 × 100% = 90%.

[0079] In step 140, in some implementations, if the data format is a single-table data format and the statistical indicators include three-level dimension pass rates, the specific implementation of step 140 can be as follows: Figure 3 Perform the steps shown.

[0080] Figure 3 This illustration shows a detailed process for determining statistical values ​​corresponding to various statistical indicators from quality inspection data according to target data processing rules, based on one embodiment of this application. Figure 2 Specifically, this includes the following steps 141B to 146B: Step 141B: Obtain the modified content text column from the quality inspection data. The modified content text column is used to record the error description text of the image frame annotation data in each preset three-level dimension.

[0081] Understandably, in a single-table data format, the quality inspection data does not include pre-calculated pass rate statistics for the three dimensions, so these need to be calculated manually from the raw data. The agent first retrieves the modified content text column from the quality inspection data. This modified content text column records the error description text for each image frame's annotation data in each preset three dimensions. For example, if the modified content text for a frame is "Traffic light color labeling error, green light labeled as red light," it indicates that the frame has an annotation error in the three-dimensional aspect of traffic light status.

[0082] See also Figure 3 Step 142B: For each preset three-level dimension, perform keyword matching on the modified text of each image frame.

[0083] Understandably, the agent iterates through the modified text of each image frame, matching keywords corresponding to each preset three-level dimension within the text. For example, for the three-level dimension of traffic light status, it matches the keywords "color" or "traffic light.color"; for the three-level dimension of traffic light arrow type, it matches the keywords "arrow" or "traffic light.arrow"; for the three-level dimension of key target type, it matches the keywords "type" or "target type"; for the three-level dimension of relative position, it matches the keywords "relative position"; for the three-level dimension of motion state, it matches the keywords "motion state"; for the three-level dimension of predictive intent, it matches the keywords "predictive intent" or "intent"; for the three-level dimension of impact on the vehicle, it matches the keywords "vehicle impact" or "impact"; for the three-level dimension of lateral decision-making, it matches the keywords "lateral decision-making" or "lateral"; for the three-level dimension of vertical decision-making, it matches the keywords "vertical decision-making" or "vertical"; for the three-level dimension of scene type, it matches the keywords "scene type"; and for the three-level dimension of scene subtype, it matches the keywords "scene subtype". During the matching process, the agent supports both Chinese and English keyword systems.

[0084] See also Figure 3 If, in step 143B, a keyword corresponding to the preset three-level dimension is matched in the modified content text, the image frame is determined to have failed the quality inspection in the preset three-level dimension.

[0085] Understandably, if a keyword corresponding to a preset third-level dimension is matched in the modified text of an image frame, it indicates that the image frame has an annotation error in that preset third-level dimension, and the agent determines that the image frame fails the quality check in that preset third-level dimension. It should be noted that an image frame may contain errors in multiple third-level dimensions, and the modified text may simultaneously match keywords from multiple preset third-level dimensions. In this case, the frame is judged to have failed in multiple third-level dimensions. Furthermore, traffic lights and participants share some third-level dimension names, and the agent distinguishes them by the prefix identifier (traffic light or participant) in the modified text.

[0086] See also Figure 3 Step 144B counts the number of image frames that pass the quality inspection in the preset three-dimensional dimension in each image frame, and uses this as the third quantity.

[0087] Understandably, through the aforementioned steps 142B to 143B, the agent has determined whether each image frame passes the quality inspection in the preset three-level dimension. The agent iterates through all image frames frame by frame, counts the number of image frames that pass the quality inspection in the preset three-level dimension (i.e., no keyword corresponding to the three-level dimension is matched in the modified content text), and uses this statistical result as the third quantity.

[0088] See also Figure 3 Step 145B counts the number of image frames in each image frame that involve the preset three-level dimension, and uses this as the fourth quantity.

[0089] Understandably, for each preset three-level dimension, it is necessary to determine the total number of image frames involved in that three-level dimension. Since each image frame needs to be labeled and quality checked across all preset three-level dimensions, the number of image frames involved in that preset three-level dimension is the total number of image frames in the quality check data. The agent directly counts the total number of image frames included in the quality check data and uses this result as the fourth quantity.

[0090] See also Figure 3 Step 146B calculates the ratio of the third quantity to the fourth quantity, which is used as the pass rate of the third dimension of the preset three-level dimension.

[0091] For example, if the total number of image frames involving the three-level dimension of traffic light status is 100, and the number of image frames that pass the quality inspection is 90, then the pass rate of the three-level dimension is 90 ÷ 100 × 100% = 90%.

[0092] In step 140, in some implementations, if the data format type is a single-table data format type and the statistical indicators include the scene category pass rate, the specific implementation of step 140 can be performed according to the steps shown in Figure 4: See Figure 4 This illustration shows a detailed process for determining statistical values ​​corresponding to various statistical indicators from quality inspection data according to target data processing rules, based on an embodiment of this application. Figure 3 Specifically, this includes the following steps 141C to 145C: Step 141C: Obtain the scene category column and scene subcategory column from the quality inspection data. The scene category column is used to record the scene category to which the image frame belongs, and the scene subcategory column is used to record the subcategory to which the image frame belongs under the scene category.

[0093] Understandably, in a single-table data format, the quality inspection data includes a scene category column and a scene subcategory column. The scene category column records the major scene category to which each image frame belongs, such as "city road," "highway," or "parking lot." The scene subcategory column records the sub-category of each image frame within its major scene category, such as "intersection," "main road," or "underground." The agent retrieves these two columns of data as the basis for calculating the scene category pass rate.

[0094] See also Figure 4Step 142C: According to the preset mapping relationship, the original category names in the scene category column are mapped to standard category names, and the original sub-category names in the scene sub-category column are mapped to standard sub-category names.

[0095] Understandably, the way scene categories and scene subcategories are written may differ across different batches of quality inspection data. For example, the same scene category might be written as "Main and Auxiliary Roads_Elevated Bridge Location" or "Main and Auxiliary Roads / Elevated Bridge Location" in different data batches, and the same scene subcategory might be written as "Elevated Bridge" or "Elevated Road". The agent maintains a preset mapping table to map various variant writings to a unified standard name. Based on this preset mapping table, the agent maps the original category names in the scene category column to standard category names, and the original subcategory names in the scene subcategory column to standard subcategory names, thereby ensuring the accuracy of subsequent grouping statistics.

[0096] See also Figure 4 Step 143C: Based on the mapped standard category name and standard subcategory name, perform joint grouping of the scene category column and scene subcategory column.

[0097] Understandably, the agent groups image frames with the same scene category and the same scene subcategory according to the mapped standard category name and standard subcategory name. For example, all image frames with the scene category "city road" and the scene subcategory "intersection" are grouped into one group; all image frames with the scene category "highway" and the scene subcategory "main road" are grouped into another group.

[0098] See also Figure 4 Step 144C: ​​For each group, determine the total number of image frames that pass the quality inspection and the total number of image frames in the group.

[0099] Understandably, for each group, the agent counts the number of image frames that pass the quality inspection as a whole within that group, as well as the total number of image frames within that group. Here, "passing the quality inspection as a whole" means that no errors were found in the image frame across all labeled dimensions, i.e., the frame's review status is "passed".

[0100] See also Figure 4 Step 145C: Calculate the ratio of the number of image frames to the total number of image frames, which is used as the scene category pass rate for this group.

[0101] Understandably, the agent divides the number of image frames that passed the quality inspection within the group (as determined in step 144C) by the total number of image frames within that group, and the resulting percentage is the scene category pass rate for that group. For example, if the total number of image frames belonging to the "City Roads - Intersections" group is 10, and 6 of them passed the quality inspection, then the scene category pass rate for that group is 6 ÷ 10 × 100% = 60%.

[0102] In step 140, in some embodiments, if the target data format type is an unknown data format type and the statistical indicators include the second-level dimension pass rate, the specific implementation of step 140 can be performed according to the following steps, specifically including steps 141D to 146D: Step 141D: For each preset secondary dimension, obtain the record content of each data column in the quality inspection data.

[0103] Understandably, with unknown data format types, the header names of each data column in the quality inspection data cannot reflect their actual data meaning. Therefore, the agent cannot directly locate the required data column based on the header names. The agent first obtains the record content of all data columns in the quality inspection data as the data basis for subsequent keyword scanning.

[0104] Step 142D: Perform keyword scanning on the record content of each data column to locate the difference count column corresponding to the preset secondary dimension.

[0105] Understandably, the agent scans each data column sequentially, searching for the difference count column that corresponds to the current preset secondary dimension. For example, for the traffic light secondary dimension, the agent scans each column to see if it contains keywords such as "traffic light" or "trafficLights," and if the column's value is 0 or a positive integer. For the key traffic participant secondary dimension, it scans for keywords such as "participants." For the decision-making secondary dimension, it scans for keywords such as "decision" or "decision." For the scene category secondary dimension, it scans for keywords such as "scene" or "sceneCategory." If a column's content matches these keyword features, then that column is identified as the difference count column corresponding to the preset secondary dimension.

[0106] Step 143D: If the difference count column is located, determine the pass rate of the second-level dimension of the preset second-level dimension based on the difference count column.

[0107] Understandably, if the agent successfully locates the difference count column, then proceed as described above. Figure 2The method shown determines the pass rate of the preset second-level dimension. Specifically, it reads the difference count value of each image frame in the difference count column. If the difference count value is greater than 0, the image frame is determined to have failed quality inspection in the preset second-level dimension. The ratio of the number of image frames that passed quality inspection to the total number of image frames involving the preset second-level dimension is used as the pass rate of the preset second-level dimension.

[0108] Step 144D: If the difference count column is not located, continue to scan the record content for keywords to locate the modified text column in the quality inspection data.

[0109] Understandably, if the agent fails to locate the difference count column through keyword scanning, it indicates that the current quality inspection data does not separately count the number of errors for each secondary dimension. The agent continues to scan the records in each data column for keywords to find the modified content text column. Specifically, it scans each column's records for keywords such as "modified content," "error description," "problem description," or "error description." If a column's records contain these keyword characteristics, then that column is identified as the modified content text column.

[0110] Step 145D: If the modified content text column is located, determine the pass rate of the second-level dimension of the preset second-level dimension based on the modified content text column.

[0111] Understandably, if the agent successfully locates the modified text column, it scans the modified text of each image frame in that column to determine whether the image frame passes quality control in that preset second-level dimension. Specifically, for the current preset second-level dimension, it scans the modified text of each image frame to see if there are keywords corresponding to that preset second-level dimension. For example, for the traffic light category second-level dimension, it scans whether the modified text contains keywords related to "traffic light"; if the corresponding keyword is found, the image frame is determined to have failed quality control in that preset second-level dimension. The ratio of the number of image frames that pass quality control to the total number of image frames involving that preset second-level dimension is used as the pass rate of that preset second-level dimension.

[0112] Step 146D: If the difference count column and the modified content text column are not located, mark the pass rate of the second-level dimension of the preset second-level dimension as missing and record the reason for the missing.

[0113] Understandably, if the agent fails to locate both the difference count column and the modified content text column through keyword scanning, it indicates that the current quality inspection data lacks the data source required to calculate the pass rate of this preset secondary dimension. In this case, the agent cannot determine the pass rate of the secondary dimension of this preset secondary dimension, so it marks the pass rate of the secondary dimension of this preset secondary dimension as missing and records the reason for the missing information (such as "difference count column and modified content text column not located"), so as to inform the user in the subsequently generated daily report.

[0114] In step 140, in some embodiments, if the target data format type is an unknown data format type, and the statistical indicators include the pass rate of the three-level dimension, the specific implementation of step 140 can be as follows: steps 141E to 144E: Step 141E: Obtain the record content of each data column in the quality inspection data.

[0115] Understandably, with unknown data format types, the header names of each data column in the quality inspection data cannot reflect their actual data meaning. Therefore, the agent cannot directly locate the text column to be modified based on the header names. The agent first obtains the record content of all data columns in the quality inspection data as the data basis for subsequent keyword scanning.

[0116] Step 142E: For each preset three-level dimension, perform keyword scanning on the recorded content of each data column to locate the modified text column in the quality inspection data.

[0117] Understandably, the agent scans each data column one by one to find the modified content text column. Specifically, it scans each column for keywords such as "modified content," "error description," "problem description," or "error description." If a column contains these keywords, it is identified as the modified content text column. It's important to note that the modified content text column is a unified column containing error description text for all three preset dimensions, rather than each preset three-level dimension having its own modified content column. After locating the column, the agent matches the corresponding keywords within the column's records for each preset three-level dimension.

[0118] Step 143E: If the modified content text column is located, the pass rate of the three-level dimension of the preset three-level dimension is determined based on the modified content text column.

[0119] Understandably, if the agent successfully locates the modified text column, then it will proceed as described above. Figure 3The method shown determines the pass rate for each preset three-level dimension. Specifically, for each preset three-level dimension, keywords corresponding to that preset three-level dimension are matched in the modified text of each image frame. If a match is found, the image frame is determined to have failed quality control for that preset three-level dimension. The ratio of the number of image frames that passed quality control to the total number of image frames involving that preset three-level dimension is used as the pass rate for that preset three-level dimension.

[0120] Step 144E: If the modified content text column is not located, mark the pass rate of the third-level dimension of the preset third-level dimension as missing and record the reason for the missing.

[0121] Understandably, if the agent fails to locate the modified text column through keyword scanning, it indicates that the current quality inspection data lacks the data source required to calculate the pass rate of the three-level dimensions. In this case, the agent cannot determine the pass rate of each preset three-level dimension, so it marks the pass rate of that preset three-level dimension as missing and records the reason for the missing (such as "modified text column not located"), so as to inform the user in the subsequently generated daily report.

[0122] In step 140, in some implementations, if the target data format type is an unknown data format type, and the statistical indicators include the scene category pass rate, the specific implementation of step 140 can be performed as follows: Under unknown data format types, the header names of each data list in the quality inspection data cannot reflect their actual data meaning. Therefore, the agent cannot directly locate the scene category column and scene subcategory column based on the header names. The agent locates valid data columns by scanning the record content of each data column for keywords: scanning whether the record content of each column contains keywords such as "scene," "scene category," "scene," "scene classification," "scene subcategory," and "subcategory," and locating the matched columns as scene category columns and scene subcategory columns, respectively. If these two columns are located, the original category names are mapped to standard names according to the same method as for single-table data format types (see steps 141C to 145C above) based on the preset mapping relationship. The mapped standard names are then jointly grouped, and the ratio of the overall number of image frames that pass the quality inspection within each group to the total number of image frames is counted as the scene category pass rate of that group. If the scene category column or scene subcategory column cannot be located, the scene category pass rate of that scene category is marked as missing, and the reason for the missing is recorded.

[0123] See also Figure 1 Step 150: Fill each statistical value into the corresponding position of the preset quality inspection daily report template to generate the quality inspection daily report.

[0124] Specifically, the agent, based on the statistical table types defined in the template, fills the overall pass rate into the "Overall Pass Rate" statistical table of the daily report; fills the pass rates of each secondary dimension into the corresponding dimension row of the "Secondary Label Pass Rate" table; fills the pass rates of each tertiary dimension into the corresponding label row of the "Tertiary Label Pass Rate" table; and fills the pass rates of each scene category into the corresponding scene row of the "Scene Category Pass Rate Statistics" table. For statistical indicators that cannot be calculated due to missing data, "Missing" is entered in the corresponding position along with a note explaining the reason for the missing data.

[0125] Meanwhile, the agent populates basic information for the daily report based on the fixed field configurations defined in the template, such as the quality inspection date, quality inspector, and tool version. For write-protected fixed lines (such as tool name, annotation strategy, etc.), the agent does not perform an overwrite operation.

[0126] After filling in all statistical values ​​and basic information, the agent generates a complete daily quality inspection report. This daily quality inspection report can be in a structured document format (such as Lark Docs, Word Docs, etc.) or a plain text format, depending on the template type and user configuration.

[0127] In some embodiments of this application, after filling the corresponding positions of the preset quality inspection daily report template with the statistical values ​​to generate the quality inspection daily report, the following steps 210 to 230 can also be performed: Step 210: Obtain the access token for the target document, which is located on the target document platform.

[0128] Step 220: Call the document writing interface of the target document platform and send the access token to the target document platform so that the target document platform can verify the writing permission based on the access token.

[0129] Step 230: When the verification pass information returned by the target document platform is received, the daily quality inspection report is written to the target document.

[0130] In step 210, in some implementations, after generating a complete daily quality inspection report, the agent needs to write the report to a user-specified target document. This target document is located on a target document platform (e.g., a collaborative office platform like Lark). When triggering the daily quality inspection report generation command, the user can provide a link to the target document. The agent extracts the target document's access token from this link. For example, for the Lark platform, the target document's link might be "https: / / larksuite.com / docx / abc123def456", and the agent extracts "abc123def456" as the access token. The agent supports extracting access tokens from links in various formats, including links containing paths like / docx / or / wiki / , links containing the Larksuite.com domain, and links containing the "?" parameter.

[0131] In step 220, it can be understood that the agent calls the document writing interface (API) provided by the target document platform, sending the access token obtained in step 210 to the target document platform through this interface. After receiving the access token, the target document platform verifies whether the agent has write permissions to the target document. If the token is valid and the agent has the corresponding permissions, the target document platform returns a verification pass message; if the token is invalid or the permissions are insufficient, a verification failure message is returned.

[0132] In step 230, it can be understood that after receiving the verification pass information returned by the target document platform, the intelligent agent sends the quality inspection daily report generated in step 150 to the target document platform through the document writing interface, and the target document platform writes the quality inspection daily report into the target document. In one implementation, the intelligent agent writes the quality inspection daily report into the target document in a full replacement mode, that is, the newly generated quality inspection daily report completely replaces the existing content in the target document, rather than appending to the original content. After the writing is completed, the target document platform returns a writing success message to the intelligent agent, and the intelligent agent then outputs a writing completion notification to the user.

[0133] In some implementations, if the target document platform returns a verification failure message, the agent re-executes step 210, that is, re-acquires the access token for the target document and attempts to write again. If the retry still fails, the agent outputs the complete quality inspection daily report to the user interface for the user to manually copy and paste into the target document.

[0134] In some implementations, after the agent successfully writes the daily quality inspection report to the target document, it also outputs a summary to the user. This summary informs the user of key processing information and precautions related to the generation of this daily report, allowing the user to quickly understand the data source and quality status of the report.

[0135] Specifically, the summary information should include at least the following: the format type of the quality inspection data identified (standard data format type, single-table data format type, or unknown data format type); the data extrapolation mode used (directly read from the summary table, extrapolated from the original data, or extrapolated at a lower level); the overall pass rate in the daily report; whether the statistical values ​​of each secondary and tertiary dimension are extrapolated values ​​(so that users can understand the accuracy and reliability of the data); explanation of missing dimensions, i.e., which statistical indicators cannot be calculated due to missing data and the reasons for the missing data; and a list of locations where screenshots need to be manually inserted, i.e., which locations in the quality inspection daily report require users to manually add screenshots of error cases to improve the readability of the daily report.

[0136] In some implementations, the aforementioned summary information can be appended to the beginning of the daily quality inspection report as a "Compilation Instructions" or "Summary" section, and written into the target document along with the daily report. In another implementation, the summary information can also be output separately to the user interface after writing, allowing users to quickly access it.

[0137] In some embodiments of this application, the technical solutions are as follows: First, in response to receiving a quality inspection daily report generation instruction, quality inspection data and statistical indicators to be filled in a preset quality inspection daily report template are obtained. The quality inspection data includes quality inspection records obtained by quality inspection of the labeled data of each image frame, and the image frames are used to train the target vehicle model. Second, a target data format type matching the quality inspection data is determined from a variety of preset data format types. Third, a target data processing rule matching the target data format type is determined from a variety of preset data processing rules. Fourth, statistical values ​​corresponding to each statistical indicator are determined from the quality inspection data according to the target data processing rule. Finally, each statistical value is filled into the corresponding position of the preset quality inspection daily report template to generate a quality inspection daily report.

[0138] Based on the technical solution of this application, at least the following beneficial effects are achieved: Significantly improved efficiency: This application automates data parsing, statistical indicator calculation, and daily report filling through an intelligent agent, reducing the time for generating daily quality inspection reports from 1-2 hours of manual operation to 1-2 minutes. Based on generating one daily report per day and 250 working days per year, this saves approximately 400 hours of labor costs annually, significantly improving the efficiency of daily quality inspection report generation.

[0139] Strong format adaptability: This application uses three preset data format types—standard data format, single-table data format, and unknown data format—and matches them with corresponding data processing rules. It can handle all historical Excel format variations and exhibits excellent adaptability to changes in the output format of upstream tools. When the format of quality inspection data changes, there is no need to rewrite the adaptation code, reducing system maintenance costs.

[0140] Data extrapolation accuracy is guaranteed: When the summary table is missing, this application employs a hierarchical extrapolation mechanism that combines numerical judgment of the difference count column with semantic scanning of the modified content text to completely restore the pass rate of all three-level tag dimensions. Experimental verification shows that the extrapolation results are completely consistent with the results of directly reading the summary table, and the data accuracy is unaffected.

[0141] Zero-cost template upgrade: This application uses an intelligent agent to parse the template structure to determine the statistical indicators that need to be filled. When the daily report template structure changes, the user only needs to upload the new template file, and the intelligent agent can automatically adapt and generate the daily report according to the new format without modifying the core code of the intelligent agent, thus achieving zero-cost adaptation for template upgrades.

[0142] End-to-end automation: This application achieves a complete automated process from quality inspection data acquisition, format recognition, data calculation, daily report filling, to final writing to the target document platform. Corresponding fallback strategies are set up for abnormal situations such as token acquisition failure, interface call anomalies, and format recognition failures, ensuring that usable daily report content can be delivered to the user under any abnormal circumstances.

[0143] Based on the same inventive concept, embodiments of the present invention provide a quality inspection daily report generation device, which can be used to execute the quality inspection daily report generation method in the above embodiments of this application. For details not disclosed in the embodiments of this application, please refer to the embodiments of the quality inspection daily report generation method described above.

[0144] See Figure 5 The diagram shows a block diagram of a daily quality inspection report generation apparatus according to an embodiment of this application.

[0145] like Figure 5 As shown, a quality inspection daily report generation device 500 according to an embodiment of this application includes: a response unit 501, a first determination unit 502, a second determination unit 503, a third determination unit 504, and a generation unit 505.

[0146] The system includes a response unit 501, which responds to a received quality inspection daily report generation instruction by acquiring quality inspection data and various statistical indicators to be filled in a preset quality inspection daily report template. The quality inspection data includes quality inspection records obtained by quality inspection of the labeled data of each image frame, and the image frames are used to train the target vehicle-mounted model. A first determining unit 502 is used to determine a target data format type that matches the quality inspection data from a variety of preset data format types. A second determining unit 503 is used to determine a target data processing rule that matches the target data format type from a variety of preset data processing rules. A third determining unit 504 is used to determine the statistical values ​​corresponding to each statistical indicator from the quality inspection data according to the target data processing rules. A generation unit 505 is used to fill each statistical value into the corresponding position of the preset quality inspection daily report template to generate a quality inspection daily report.

[0147] In some embodiments of this application, based on the aforementioned scheme, the multiple data format types include at least one of standard data format type, single-table data format type, and unknown data format type; wherein, the quality inspection data package of standard data format type contains statistical values ​​corresponding to each statistical indicator; the quality inspection data of single-table data format type does not contain statistical values ​​corresponding to each statistical indicator, and the header name of each data column matches its record content; the unknown data format type does not contain statistical values ​​corresponding to each statistical indicator, and the header name of each data column does not match its record content.

[0148] In some embodiments of this application, based on the aforementioned scheme, each statistical indicator includes at least one of the following: overall pass rate, secondary dimension pass rate, tertiary dimension pass rate, and scene category pass rate; wherein, the overall pass rate is the proportion of image frames that pass quality inspection out of all image frames; the secondary dimension pass rate is the proportion of image frames that pass quality inspection in each preset secondary dimension out of all image frames involving that preset secondary dimension, where each preset secondary dimension is a quality inspection category divided when quality inspecting the labeled data of image frames; the tertiary dimension pass rate is the proportion of image frames that pass quality inspection in each preset tertiary dimension out of all image frames involving that tertiary dimension, where each preset tertiary dimension is a quality inspection subclass under the corresponding secondary dimension; and the scene category pass rate is the proportion of image frames that pass overall quality inspection in each preset scene category out of all image frames involving that preset scene category.

[0149] In some embodiments of this application, based on the aforementioned scheme, if the target data format type is a single-table data format type and the statistical indicators include the pass rate of the secondary dimension, the third determining unit 504 is further configured to: for each preset secondary dimension, determine whether there is a difference count column in the quality inspection data corresponding to the preset secondary dimension; the difference count column is used to record the number of errors in the annotation data of the image frame on the preset secondary dimension; if it exists, obtain the difference count value of each image frame in the difference count column; if the difference count value is greater than 0, determine that the image frame has not passed the quality inspection on the preset secondary dimension; if it does not exist, obtain the quality inspection data. The modified content text column is used to record the erroneous description text of the image frame's annotation data in each preset secondary dimension. The number of image frames that pass the quality inspection in each preset secondary dimension is counted as the first quantity. The number of image frames that involve the preset secondary dimension in each image frame is counted as the second quantity. The ratio of the first quantity to the second quantity is calculated as the pass rate of the second secondary dimension.

[0150] In some embodiments of this application, based on the aforementioned scheme, if the target data format type is a single-table data format type and the statistical indicators include the three-level dimension pass rate, the third determining unit 504 is further configured to: obtain the modified content text column in the quality inspection data, the modified content text column being used to record the error description text of the image frame's annotation data in each preset three-level dimension; for each preset three-level dimension, perform keyword matching on the modified content text of each image frame; if a keyword corresponding to the preset three-level dimension is matched in the modified content text, it is determined that the image frame has not passed the quality inspection in the preset three-level dimension; count the number of image frames that have passed the quality inspection in the preset three-level dimension in each image frame, as the third quantity; count the number of image frames that involve the preset three-level dimension in each image frame, as the fourth quantity; calculate the ratio of the third quantity to the fourth quantity, as the three-level dimension pass rate of the preset three-level dimension.

[0151] In some embodiments of this application, based on the aforementioned scheme, if the target data format type is a single-table data format type and the statistical indicators include scene category pass rate, the third determining unit 504 is further configured to: obtain the scene category column and scene sub-category column in the quality inspection data, wherein the scene category column is used to record the scene category to which the image frame belongs, and the scene sub-category column is used to record the sub-category to which the image frame belongs under the scene category; according to a preset mapping relationship, map the original category name in the scene category column to the standard category name, and map the original sub-category name in the scene sub-category column to the standard sub-category name; jointly group the scene category column and scene sub-category column according to the mapped standard category name and standard sub-category name; for each group, determine the number of image frames that pass the quality inspection as a whole in the group and the total number of image frames in the group; calculate the ratio of the number of image frames to the total number of image frames as the scene category pass rate of the group.

[0152] In some embodiments of this application, based on the aforementioned scheme, if the target data format type is an unknown data format type, and the statistical indicators include the second-level dimension pass rate, the third determining unit 504 is further configured to: for each preset second-level dimension, obtain the record content of each data column in the quality inspection data; perform keyword scanning on the record content of each data column to locate the difference count column corresponding to the preset second-level dimension; if the difference count column is located, determine the second-level dimension pass rate of the preset second-level dimension based on the difference count column; if the difference count column is not located, continue to perform keyword scanning on the record content to locate the modified content text column in the quality inspection data; if the modified content text column is located, determine the second-level dimension pass rate of the preset second-level dimension based on the modified content text column; if neither the difference count column nor the modified content text column is located, mark the second-level dimension pass rate of the preset second-level dimension as missing, and record the reason for the missing.

[0153] In some embodiments of this application, based on the aforementioned scheme, if the target data format type is an unknown data format type, and the statistical indicators include the three-level dimension pass rate, the third determining unit 504 is further configured to: obtain the record content of each data column in the quality inspection data; for each preset three-level dimension, perform keyword scanning on the record content of each data column to locate the modified content text column in the quality inspection data; if the modified content text column is located, determine the three-level dimension pass rate of the preset three-level dimension based on the modified content text column; if the modified content text column is not located, mark the three-level dimension pass rate of the preset three-level dimension as missing, and record the reason for the missing.

[0154] In some embodiments of this application, based on the aforementioned scheme, after filling the corresponding positions of the preset quality inspection daily report template with the statistical values ​​to generate the quality inspection daily report, the generation unit 505 is further configured to: obtain the access token of the target document, the target document being located on the target document platform; call the document writing interface of the target document platform to send the access token to the target document platform so that the target document platform can verify the writing permission based on the access token; and when the verification pass information returned by the target document platform is received, write the quality inspection daily report into the target document.

[0155] The above description is merely an embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. A method for generating a daily quality inspection report, characterized in that, The method includes: In response to receiving the daily quality inspection report generation instruction, the system obtains the quality inspection data and the statistical indicators to be filled in the preset daily quality inspection report template. The quality inspection data includes the quality inspection record obtained by quality inspection of the labeled data of each image frame. The image frame is used to train the target vehicle model. From a variety of preset data format types, determine the target data format type that matches the quality inspection data; From a variety of preset data processing rules, determine the target data processing rule that matches the target data format type; According to the target data processing rules, determine the statistical values ​​corresponding to each of the statistical indicators from the quality inspection data; Fill the corresponding positions of the preset quality inspection daily report template with the statistical values ​​to generate the quality inspection daily report.

2. The method according to claim 1, characterized in that, The various data format types include at least one of standard data format type, single-table data format type, and unknown data format type; wherein, the quality inspection data package of the standard data format type contains statistical values ​​corresponding to each of the statistical indicators; the quality inspection data of the single-table data format type does not contain statistical values ​​corresponding to each of the statistical indicators, and the header name of each data column matches its record content; the unknown data format type does not contain statistical values ​​corresponding to each of the statistical indicators, and the header name of each data column does not match its record content.

3. The method according to claim 2, characterized in that, Each of the aforementioned statistical indicators includes at least one of the following: overall pass rate, secondary dimension pass rate, tertiary dimension pass rate, and scenario category pass rate; wherein, The overall pass rate is the proportion of image frames that passed quality inspection out of all image frames; The pass rate of the second-level dimension is the proportion of image frames that pass the quality inspection in each preset second-level dimension out of all image frames involving that preset second-level dimension. Each preset second-level dimension is a quality inspection category divided when the labeled data of the image frame is quality inspected. The pass rate of the three-level dimension is the proportion of image frames that pass quality inspection in each preset three-level dimension to all image frames involving that three-level dimension, and each preset three-level dimension is a quality inspection subclass under the corresponding two-level dimension. The scene category pass rate is the proportion of image frames that pass the quality inspection under each preset scene category out of all image frames involving that preset scene category.

4. The method according to claim 3, characterized in that, If the target data format type is the single-table data format type, and the statistical indicators include the second-level dimension pass rate, then determining the statistical values ​​corresponding to each of the statistical indicators from the quality inspection data according to the target data processing rules includes: For each preset secondary dimension, determine whether there is a difference count column in the quality inspection data that corresponds to the preset secondary dimension; the difference count column is used to record the number of errors in the annotation data of the image frame on the preset secondary dimension; If it exists, obtain the difference count value of each image frame in the difference count column; If the difference count value is greater than 0, the image frame is determined to have failed the quality inspection in the preset secondary dimension. If it does not exist, the modified content text column in the quality inspection data is obtained, and keyword scanning is performed on the modified content text of each image frame. If a keyword corresponding to the preset second-level dimension is scanned, the image frame is determined to have failed the quality inspection in the preset second-level dimension. The modified content text column is used to record the erroneous description text of the image frame's annotation data in each preset third-level dimension. The number of image frames that pass the quality inspection in the preset second-level dimension is counted and used as the first quantity. The number of image frames in each image frame that involve the preset second-level dimension is counted and used as the second quantity; Calculate the ratio of the first quantity to the second quantity, and use it as the pass rate of the second-level dimension of the preset second-level dimension.

5. The method according to claim 3, characterized in that, If the target data format type is the single-table data format type, and the statistical indicators include the three-level dimension pass rate, then determining the statistical values ​​corresponding to each of the statistical indicators from the quality inspection data according to the target data processing rules includes: Obtain the modified content text column from the quality inspection data. The modified content text column is used to record the error description text of the image frame annotation data in each preset three-level dimension. For each preset three-level dimension, keyword matching is performed on the modified text of each image frame; If a keyword corresponding to the preset three-level dimension is matched in the modified text, the image frame is determined to have failed the quality inspection in the preset three-level dimension. The number of image frames that pass the quality inspection in the preset three dimensions is counted and used as the third quantity. The number of image frames in each image frame that involve the preset three-level dimension is counted and used as the fourth quantity; Calculate the ratio of the third quantity to the fourth quantity, and use it as the pass rate of the preset three-dimensional dimension.

6. The method according to claim 3, characterized in that, If the target data format type is the single-table data format type, the statistical indicators include the scenario category pass rate. The step of determining the statistical values ​​corresponding to each statistical indicator from the quality inspection data according to the target data processing rules includes: Obtain the scene category column and scene subcategory column from the quality inspection data. The scene category column is used to record the scene category to which the image frame belongs, and the scene subcategory column is used to record the subcategory to which the image frame belongs under the scene category. According to the preset mapping relationship, the original category names in the scene category column are mapped to standard category names, and the original subcategory names in the scene subcategory column are mapped to standard subcategory names. Based on the mapped standard category name and standard subcategory name, the scene category column and the scene subcategory column are jointly grouped; For each group, determine the total number of image frames that pass the quality inspection within that group and the total number of image frames within that group; The ratio of the number of image frames to the total number of image frames is calculated as the scene category pass rate for that group.

7. The method according to claim 3, characterized in that, If the target data format type is the unknown data format type, the statistical indicators include the pass rate of the secondary dimension. The step of determining the statistical values ​​corresponding to each statistical indicator from the quality inspection data according to the target data processing rules includes: For each preset secondary dimension, obtain the record content of each data column in the quality inspection data; Perform keyword scanning on the records in each data column to locate the difference count column corresponding to the preset secondary dimension; If the difference count column is located, the pass rate of the second-level dimension of the preset second-level dimension is determined based on the difference count column; If the difference count column is not located, continue to scan the record content for keywords to locate the modified content text column in the quality inspection data; If the modified content text column is located, the pass rate of the second-level dimension of the preset second-level dimension is determined based on the modified content text column; If the difference count column and the modified content text column are not located, the pass rate of the second-level dimension of the preset second-level dimension is marked as missing, and the reason for the missing is recorded.

8. The method according to claim 3, characterized in that, If the target data format type is the unknown data format type, the statistical indicators include the pass rate of the three-level dimensions, and determining the statistical values ​​corresponding to each of the statistical indicators from the quality inspection data according to the target data processing rules includes: Obtain the record content of each data column in the quality inspection data; For each preset three-level dimension, keyword scanning is performed on the recorded content of each data column to locate the modified text column in the quality inspection data; If the modified content text column is located, the pass rate of the three-level dimension of the preset three-level dimension is determined based on the modified content text column; If the modified text column is not located, mark the pass rate of the preset three-level dimension as missing and record the reason for the missing.

9. The method according to claim 1, characterized in that, After filling the corresponding positions of the preset quality inspection daily report template with the statistical values ​​to generate the quality inspection daily report, the process includes: Obtain an access token for the target document, which is located on the target document platform; The document writing interface of the target document platform is invoked to send the access token to the target document platform so that the target document platform can verify the writing permission based on the access token; When the verification pass information returned by the target document platform is received, the daily quality inspection report is written into the target document.

10. A daily quality inspection report generation device, characterized in that, The device includes: The response unit is used to respond to the receipt of the quality inspection daily report generation instruction, obtain the quality inspection data and the statistical indicators to be filled in the preset quality inspection daily report template, wherein the quality inspection data includes the quality inspection record obtained by quality inspection of the labeled data of each image frame, and the image frame is used to train the target vehicle model. The first determining unit is used to determine a target data format type that matches the quality inspection data from a preset variety of data format types; The second determining unit is used to determine, from a variety of preset data processing rules, a target data processing rule that matches the target data format type; The third determining unit is used to determine the statistical values ​​corresponding to each of the statistical indicators from the quality inspection data according to the target data processing rules. The generation unit is used to fill the corresponding positions of the various statistical values ​​into the preset quality inspection daily report template to generate a quality inspection daily report.