A circuit board health detection report generation method and system

By using a self-monitoring agent and a function detection program that share a clock source on an embedded board, combined with timestamps and physical signatures, the problem of the inability to correlate detection results with operating conditions in a circuit board testing system is solved, thus achieving the authenticity and traceability of the detection results.

CN123176502APending Publication Date: 2026-11-27JIANGSU WANHE TECH GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In existing circuit board testing systems, functional test results cannot accurately reflect the operating status of the board, and the test results cannot be correlated with the operating conditions, leading to the acceptance of unreliable results, and test results under abnormal operating conditions cannot be traced.

Method used

An onboard self-monitoring agent and function detection program that share the same clock source are run on the embedded board to collect running status parameters and generate anomaly logs. Combined with the function detection results, a test report with timestamps is generated. The data is aligned by timestamps and the physical signature is verified by PC-based monitoring and analysis software to generate a structured test report.

Benefits of technology

It achieves alignment between functional test results and board operating status, ensuring the authenticity of test results, identifying test results under abnormal operating conditions, and distinguishing whether test results were actually executed through physical signatures, thereby improving the credibility and traceability of test reports.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123176502A_ABST
    Figure CN123176502A_ABST
Patent Text Reader

Abstract

A circuit board health detection report generation method and system, the on-board self-monitoring agent and the function detection program share the same clock source timing on the embedded board card, the function detection program executes according to the execution schedule and generates the function detection result with timestamp, the on-board self-monitoring agent collects the running state parameters to obtain the time sequence data during the detection, and generates the abnormal log containing the timestamp when any parameter exceeds the preset threshold; the time sequence data, the abnormal log, the function detection result and the execution schedule are reported to the PC end, the PC end aligns the time sequence data and the function detection result according to the timestamp, judges the working condition, and checks the physical signature of the function detection result according to the execution schedule; the orphan certificate mark and the recheck mark are generated when the physical signature is missing, and the recheck mark is generated when the working condition is abnormal; the structured detection report containing the function detection result, the working condition and the mark is generated, so that the two types of recheck reasons that the board card is unhealthy and the detection is not truly executed can be distinguished.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of embedded system testing and quality inspection technology, and in particular to a method and system for generating circuit board health inspection reports. Background Technology

[0002] Embedded circuit boards must undergo functional testing on the production line before leaving the factory. The testing program tests the boards according to preset test items and generates functional test results. These results are directly accepted as the basis for judging the quality of the boards, and test reports are issued or the boards are released for shipment based on them. The authenticity of the test results directly determines the effectiveness of quality control.

[0003] Existing board monitoring systems typically install monitoring units on the boards to obtain status snapshots and fault records such as voltage, current, and temperature through a query-response method. These are read by a host computer via Ethernet, and their purpose is for equipment maintenance and fault location. The monitoring data is independent of the functional testing process. Existing automated testing systems apply stimuli to the boards from an external testing platform and collect responses. Functional test results are recorded by the functional testing program itself, and the testing platform cannot read the operating system-level status parameters inside the boards.

[0004] The above method has the following problems: First, the functional test results are generated by the functional test program itself. When the functional test program fails silently, misses test items, or the test results are mismatched between boards, the test records do not match the actual execution process. This discrepancy cannot be identified, and unreliable test results are still accepted. Second, the board's own operating status parameters are not collected during the functional test. Test results generated by the board under abnormal operating conditions cannot be distinguished from test results generated under normal operating conditions. Third, the board's operating condition data and functional test results belong to different data collection entities and different timing sources. It is impossible to establish a correspondence between operating conditions and test results. Test results generated under abnormal operating conditions are not traceable. Summary of the Invention

[0005] In view of the above problems, a method and system for generating circuit board health inspection reports are proposed to overcome or at least partially solve the above problems, specifically:

[0006] A method for generating a circuit board health inspection report includes:

[0007] An onboard self-monitoring agent and a function detection program, which share the same clock source, run on the embedded board. The function detection program performs function detection according to the execution schedule and generates function detection results with timestamps. During the function detection, the onboard self-monitoring agent collects the running status parameters of the embedded board to obtain timing data. When any running status parameter exceeds a preset threshold, an exception log containing timestamps is generated.

[0008] The timing data, exception logs, functional test results, and execution schedule are reported to the PC-side monitoring and analysis software. The PC-side monitoring and analysis software aligns the timing data and functional test results according to the timestamp, determines the working condition based on the aligned timing data and exception logs, and verifies the physical signature of the functional test results according to the execution schedule. The physical signature is used to characterize that the functional test is actually executed on the embedded board.

[0009] When the functional test result lacks a physical signature, an isolated certificate mark and a re-inspection mark are generated on the functional test result. When the operating condition is abnormal, a re-inspection mark is generated on all functional test results. The isolated certificate mark is used to indicate that the functional test result lacks a physical signature.

[0010] Generate a structured test report, which includes functional test results and operating conditions, as well as isolated test markers and retest markers.

[0011] Optionally, the running status parameters include temperature, core voltage, CPU utilization, and memory utilization; the execution schedule includes the execution window for each test item, which is defined by a start time and an end time; the physical signature verification conditions are configured corresponding to the test items, and the verification conditions include one or more of the following:

[0012] The CPU utilization rate within the test execution window is higher than the first preset value;

[0013] The memory usage rate within the test execution window is higher than the second preset value;

[0014] The core voltage fluctuates within the test execution window. Core voltage fluctuation occurs when the difference between the maximum and minimum values ​​of the core voltage within the test execution window exceeds the fluctuation threshold.

[0015] The temperature rises within the test execution window. The temperature rise is defined as the difference between the last sampled value and the first sampled value of the temperature within the test execution window being greater than the rise threshold.

[0016] The verification conditions are used to determine whether the expected load characteristics of the test item are presented in the test item execution window;

[0017] When all items in the aligned timing data within the test item execution window meet the verification conditions, the functional test result corresponding to the test item is determined to have a physical signature; when the number of items in the aligned timing data within the test item execution window that meet the verification conditions is less than the total number of verification conditions, the functional test result corresponding to the test item is determined to lack a physical signature.

[0018] Optionally, the onboard self-monitoring agent collects data at a sampling period of 1 second.

[0019] Optionally, the exception log also includes out-of-limit values, which are the measured values ​​when the parameter exceeds a preset threshold.

[0020] Optionally, the onboard self-monitoring agent begins data collection before the functional testing program starts; the start time of the functional testing is the start time of the execution window of the first test item in the execution schedule; when the running status parameters exceed a preset threshold within a period before the start time of the functional testing, an anomaly log containing a timestamp is generated; the PC-side monitoring and analysis software determines the source of the anomaly based on the timestamp of the first anomaly log and the execution schedule, with the first anomaly log being the anomaly log with the earliest timestamp; when the timestamp of the first anomaly log is earlier than the start time of the functional testing, the source of the anomaly is determined to be an existing fault; when the timestamp of the first anomaly log is not earlier than the start time of the functional testing, the source of the anomaly is determined to be a detection-induced fault; when an anomaly log has been generated, the structured test report includes the source of the anomaly.

[0021] Optionally, the PC-based monitoring and analysis software uses a sliding time window with a length of 64 sampling points to segment the aligned time series data. The starting sampling point interval between adjacent sliding time windows is 8 sampling points. The segmented time series data segments are used as input for operating condition determination. The time series data segments contain the number of abnormal log entries. The number of abnormal log entries is the number of abnormal log entries whose timestamps are located between the first sampling time and the last sampling time of the time series data segment.

[0022] Optionally, the operating condition determination is performed through a multi-task health model. The input to the multi-task health model is a time series data segment, and the multi-task health model includes:

[0023] The local feature branch, consisting of a one-dimensional causal convolutional layer and a pooling layer, is used to extract local mutation features from time-series data segments.

[0024] The trend feature branch, consisting of a gated recurrent unit layer, is used to extract time-series trend features from time-series data segments.

[0025] The fusion backbone is used to concatenate local mutation features and temporal trend features and then generate a shared representation through a fully connected layer;

[0026] The anomaly detection head, quality grading head, and trend prediction head share a common representation. The anomaly detection head outputs anomaly scores, the quality grading head outputs health levels, which include four levels: excellent, good, medium, and poor, and the trend prediction head outputs the future indicator trajectory.

[0027] The PC-based monitoring and analysis software determines the operating condition based on the anomaly score of all time-series data segments. When the anomaly score of at least one time-series data segment is higher than the preset judgment threshold, the operating condition is determined to be abnormal.

[0028] The structured test report also includes a health level and a future indicator trajectory. The health level is the worst level among all the health levels of all time series data segments, and the future indicator trajectory is the indicator trajectory output by the trend prediction head for the last time series data segment.

[0029] Optionally, semi-supervised pre-training can be performed on local feature branches, trend feature branches, and fusion backbone using normal operating condition samples;

[0030] The multi-task health model is fine-tuned using multi-task joint loss, which includes focus loss, labeled smoothed cross-entropy loss, and Huber loss. Focus loss is used for the anomaly detection head, labeled smoothed cross-entropy loss is used for the quality grading head, and Huber loss is used for the trend prediction head.

[0031] The multi-task joint loss is adaptively weighted using homoscedasticity uncertainty, and the task weights used in the adaptive weighting are learnable parameters.

[0032] Optionally, the retest markers include a retest marker and a rejection marker. The retest marker indicates that the functional test results need to be retested, and the rejection marker indicates that the embedded board needs to be rejected. When the same operating status parameter exceeds the preset threshold once during the functional test, a retest marker is generated on all functional test results. When the functional test results lack a physical signature, a retest marker is generated on the functional test results. When the same operating status parameter exceeds the preset threshold multiple times during the functional test, a rejection marker is generated on all functional test results, and the rejection marker replaces the retest marker on all functional test results.

[0033] A circuit board health test report generation system includes an onboard self-monitoring agent, a functional test program and a network communication and reporting module deployed on an embedded board, and PC-side monitoring and analysis software and an automatic test report generation module deployed on a PC.

[0034] The onboard self-monitoring agent and the function testing program share the same clock source for timing. The function testing program performs function testing according to the execution schedule and generates function testing results with timestamps. The onboard self-monitoring agent is used to collect the running status parameters of the embedded board during function testing to obtain timing data. When any running status parameter exceeds a preset threshold, an exception log containing timestamps is generated.

[0035] The network communication and reporting module is used to report time-series data, anomaly logs, functional test results, and execution schedules to the PC-side monitoring and analysis software. The PC-side monitoring and analysis software is used to align the time-series data and functional test results by timestamp, determine the operating condition based on the aligned time-series data and anomaly logs, and verify the physical signature of the functional test results according to the execution schedule. The physical signature is used to characterize that the functional test was actually executed on the embedded board. When the functional test result lacks a physical signature, an isolated certificate mark and a re-inspection mark are generated on the functional test result. When the operating condition is abnormal, a re-inspection mark is generated on all functional test results. The isolated certificate mark is used to indicate that the functional test result lacks a physical signature.

[0036] The automatic test report generation module is used to generate structured test reports, which include functional test results and operating conditions, as well as isolated test evidence markers and retest markers.

[0037] This invention uses an onboard self-monitoring agent and a function testing program to share the same clock source for timing. This allows the operating status parameters collected during function testing and the function testing results to share the same timing source. After the PC aligns the two data points one by one according to the timestamp, a clock-domain-free correspondence is established between the operating data and the test results. This solves the problem in the prior art where the two data points belong to different acquisition entities and different timing sources and cannot be associated. As a result, the test results generated under abnormal operating conditions can be perceived and traced. When the operating condition is abnormal, a re-inspection mark is generated on the function test results, and unreliable test results are no longer directly accepted.

[0038] Meanwhile, this invention utilizes the known condition that the functional testing program executes according to the execution schedule. The physical state that the board should exhibit during the execution period of each test item is used as the physical signature of that test item. When a functional test result lacks the required physical trace within the corresponding execution period, it indicates that the test item was not actually executed or that the result was not generated by the board in this test. Since the physical signature comes from the onboard self-monitoring agent, a data channel independent of the functional testing program, the silent failure, missed test cases, or board cross-processing of the test program itself will not affect the determination of the physical signature. This allows the test record to obtain physical evidence independent of the record generator for the first time, solving the problem that test records cannot be identified even when they do not match the actual execution process. Based on this, the test report generates an isolated evidence marker to indicate that the test result lacks a physical signature, which is listed alongside the operating condition elements indicating abnormal board conditions. This distinguishes between two types of re-inspection reasons: board unhealthiness and failure to actually execute the test. The report is no longer just a carrier of test results but becomes a test credential with self-auditing capabilities.

[0039] The physical signature verification of this invention is based on the premise that the execution schedule is known. It is integrated with the existing process of onboard acquisition, data reporting, and report generation, and has low implementation cost. It is suitable for batch testing on the production line and random inspection of the factory. Attached Figure Description

[0040] To more clearly illustrate the technical solution of the present invention, the accompanying drawings used in the description of the present invention will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0041] Figure 1 This is a schematic diagram of the architecture and networking of a circuit board health test report generation system provided in an embodiment of the present invention;

[0042] Figure 2 This is a schematic diagram of the onboard self-monitoring and anomaly log generation process provided in an embodiment of the present invention;

[0043] Figure 3 This is a schematic diagram of the structure of a multi-task health model provided in an embodiment of the present invention;

[0044] Figure 4 This is an example of a structured inspection report provided in an embodiment of the present invention;

[0045] Figure 5 This is an example of a batch-level statistical process control control chart provided in an embodiment of the present invention;

[0046] Figure 6 This is a schematic diagram of the digital twin model structure of the board state space provided in an embodiment of the present invention;

[0047] Figure 7 This is a schematic diagram of the training process and multi-task loss structure of a multi-task health model provided in an embodiment of the present invention. Detailed Implementation

[0048] To make the above-mentioned objects, features, and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.

[0049] This invention provides a method and system for generating circuit board health inspection reports, specifically including:

[0050] A method for generating a circuit board health inspection report includes:

[0051] An onboard self-monitoring agent and a function detection program, which share the same clock source, run on the embedded board. The function detection program performs function detection according to the execution schedule and generates function detection results with timestamps. During the function detection, the onboard self-monitoring agent collects the running status parameters of the embedded board to obtain timing data. When any running status parameter exceeds a preset threshold, an exception log containing timestamps is generated.

[0052] The timing data, exception logs, functional test results, and execution schedule are reported to the PC-side monitoring and analysis software. The PC-side monitoring and analysis software aligns the timing data and functional test results according to the timestamp, determines the working condition based on the aligned timing data and exception logs, and verifies the physical signature of the functional test results according to the execution schedule. The physical signature is used to characterize that the functional test is actually executed on the embedded board.

[0053] When the functional test result lacks a physical signature, an isolated certificate mark and a re-inspection mark are generated on the functional test result. When the operating condition is abnormal, a re-inspection mark is generated on all functional test results. The isolated certificate mark is used to indicate that the functional test result lacks a physical signature.

[0054] Generate a structured test report, which includes functional test results and operating conditions, as well as isolated test markers and retest markers.

[0055] Specifically, such as Figure 1 As shown, the method is executed in a detection environment consisting of an embedded board and a PC. The embedded board is connected to the PC via Ethernet, and during batch analysis, the PC is connected to a server via a network. The embedded board is a Raspberry Pi series board running the Linux operating system. In an optional embodiment, the embedded board is an Allwinner, Rockchip, or NXP i.MX series board running the Linux operating system. The acquisition interface of the onboard self-monitoring agent is adapted to the sensor and operating system status interface of the corresponding platform, and the clock reading interface uses the clock_gettime function of the Linux system.

[0056] An onboard self-monitoring agent and a function detection program are deployed on the embedded board. These two programs run as independent processes within the embedded board's operating system. The function detection program is an existing component on the embedded board, deployed alongside the onboard self-monitoring agent. This invention does not alter the internal execution logic of the function detection program. The program performs function tests according to a schedule and records a timestamp via a clock read interface when each test result is generated. This timestamp is appended to the output of the function detection program. Process independence ensures that the evidence channel does not depend on the state of the object being verified. The collected values ​​from the exit of the function detection program until the end of the test item's execution period are written into the timing data. Failure of the function detection program does not interrupt the evidence channel. The PC-side monitoring and analysis software performs physical signature verification only if the evidence channel is intact. The determination of missing physical signatures does not rely on the function detection program's own records. The onboard self-monitoring agent and the function detection program share the same clock source. The timing method involves both the onboard self-monitoring agent and the function detection program calling the clock read interface provided by the board's operating system when recording time information. The clock read interface is the `clock_gettime` function of the Linux system. The clock identifier is either `CLOCK_REALTIME` or `CLOCK_MONOTONIC` and remains unchanged within a single detection task. The read value is recorded in seconds and may contain decimal places. Therefore, the timestamps generated by the onboard self-monitoring agent and the function detection program are comparable due to their shared source. The PC does not need to perform cross-clock domain correction when processing the timestamps. This shared timetamp source is the basis for subsequent timestamp alignment and execution schedule verification.

[0057] The execution schedule is generated during the test task configuration phase. Both the embedded board and the PC hold identical copies of the execution schedule. The execution schedule is determined before functional testing begins and remains unchanged during functional testing. The execution schedule records the execution period and order of each test item. The execution period is the time range within which the test item is executed. The functional testing program executes the test items according to the execution schedule within their respective execution periods. Table 1 provides an example of an execution schedule.

[0058] Table 1

[0059]

[0060] The functional testing period is a time range defined by the execution schedule. The start of the functional testing period is the beginning of the execution time of the first test item in the execution schedule, and the end is the end of the execution time of the last test item in the execution schedule. Table 1 corresponds to the functional testing period from 2026-05-2014:00:00 to 2026-05-2014:12:00. The functional testing program executes functional tests according to the execution schedule. The execution method is that the functional testing program starts the test item at the beginning of its execution time and ends the test item at the end of its execution time. Test items are executed sequentially. When each functional test result is generated, the functional testing program calls the clock read interface and uses the read value as the timestamp of the functional test result. Each functional test result includes a test item identifier, test item name, conclusion, and timestamp. The conclusion is either "pass" or "fail". The functional test results are stored in the local storage of the embedded board in the order they are generated.

[0061] like Figure 2 As shown, the onboard self-monitoring agent collects timing data from the embedded board's operating status parameters during functional testing. These operating status parameters characterize the embedded board's operating status, including temperature, core voltage, CPU utilization, and memory utilization. These parameters are read from the embedded board's sensors and the operating system status interface. The acquisition method involves the onboard self-monitoring agent periodically collecting data according to a set sampling period. Each sampling period involves one acquisition, reading all operating status parameters in a single acquisition. Upon completion of each acquisition, the clock reading interface is called, and the read value is used as the timestamp for that acquisition. This timestamp, along with the acquired values ​​of each operating status parameter, constitutes a timing data record. All timing data records during functional testing constitute the timing data, which is stored in the embedded board's local storage in the order of acquisition. Preset thresholds are set for each operating status parameter. After each acquisition, the onboard self-monitoring agent compares the acquired value with the corresponding preset threshold. An exception log is generated when any operating status parameter's acquired value exceeds the corresponding preset threshold. The exception log contains a timestamp and a parameter name. The timestamp is the value obtained from the clock read interface at the time of generation, and the parameter name is the name of the parameter that was exceeded. The exception log is stored locally on the embedded board along with other records from the same acquisition.

[0062] After functional testing is completed, the embedded board reports timing data, exception logs, functional test results, and execution schedules to the PC-based monitoring and analysis software. The report is transmitted via a TCP connection established over Ethernet. The data is organized using structured text encoding in JSON format, with each record retaining its original fields, and the timestamp field is transmitted with its original value. When the data volume is large during functional testing, the embedded board reports in batches according to a set period. The PC-based monitoring and analysis software receives each batch of data and merges them according to the timestamp. The PC-based monitoring and analysis software then stores the received reported data according to record type.

[0063] The PC-based monitoring and analysis software aligns time-series data with functional test results based on timestamps. The timestamps of both time-series data and functional test results originate from the same clock source, making their values ​​directly comparable. The alignment method involves performing a search on each functional test result. The time-series data is searched for sampling points with the same timestamp as the functional test result. If a matching timestamp exists, the functional test result is aligned with that sampling point. If no matching timestamp exists, the sampling point with the smallest absolute difference in timestamps is searched, and the functional test result is aligned with that sampling point. After alignment, a correspondence is established between each functional test result and the corresponding sampling point's time-series data. This correspondence is stored in the PC-based monitoring and analysis software's memory data structure.

[0064] The operating condition is a judgment attribute for the entire functional test, with values ​​including normal and abnormal. The PC-based monitoring and analysis software determines the operating condition based on aligned time-series data and abnormal logs, using rule-based judgment, executed on a per-function-test basis. The PC-based monitoring and analysis software counts the number of abnormal log entries with timestamps within the functional test period. When the number of abnormal log entries is greater than 0, the operating condition is judged as abnormal; when the number of abnormal log entries is equal to 0, the operating condition is judged as normal. The aligned time-series data is used in the operating condition judgment to verify that the timestamps of the abnormal logs are within the functional test period. After the operating condition judgment is completed, the operating condition for the entire functional test is obtained.

[0065] Physical signatures are used to characterize the actual execution of functional tests on the embedded board. The physical fact corresponding to the physical signature is that when a test item is actually executed, the embedded board generates physical changes corresponding to the load type of the test item. These physical changes are reflected as changes in operating status parameters through the board's sensors and the operating system's status interface, and fall into the timing data. When a test item is actually executed, the timing data within the execution period of the test item presents the expected load characteristics corresponding to the test item. The expected load characteristics are determined by the test item definition. When a test item lacks actual execution, the timing data within the execution period of the test item lacks the expected load characteristics. When the execution schedule is known, the expected load characteristics of each test item are determined before the functional test begins, and verification is performed using a deterministic rule comparison method. The PC-side monitoring and analysis software performs physical signature verification on each functional test result according to the execution schedule. The execution method is to determine the execution period of the test item in the execution schedule based on the test item identifier contained in the functional test result, extract the sampling points whose timestamps are located within the execution period from the aligned timing data, and compare the sampling points with the expected load characteristics of the test item. If the sampling points within the execution period exhibit the expected load characteristics, the function test result is determined to have a physical signature; if the sampling points within the execution period lack the expected load characteristics, the function test result is determined to lack a physical signature. Physical signature verification is performed independently for each function test result, and the verification result is either "physical signature present" or "physical signature absent."

[0066] The PC-based monitoring and analysis software generates a tag after physical signature verification. The tag is appended to the functional test result record. The tag fields include an isolated signature tag field and a re-inspection tag field. Field values ​​include presence and absence, with an initial value of absence. When a functional test result lacks a physical signature, the isolated signature tag field and the re-inspection tag field of the functional test result are set to presence. When the operating condition is abnormal, the re-inspection tag field of all functional test results is set to presence. The two triggering conditions are determined independently. If the same functional test result simultaneously meets both triggering conditions, both the isolated signature tag and the re-inspection tag exist simultaneously, and the re-inspection tag field is set to presence once. The isolated signature tag indicates that a functional test result lacks a physical signature, and the re-inspection tag indicates that the corresponding test conclusion needs to be re-verified.

[0067] The PC-based monitoring and analysis software submits the functional test results, operating conditions, and marker fields to the automatic test report generation module. This module then renders and generates a structured test report according to a report template. The structured test report includes functional test results, operating conditions, and isolated evidence markers and re-inspection markers. Functional test results are presented item by item in the report. Each result includes the test item identifier, test item name, conclusion, timestamp, isolated evidence marker, and re-inspection marker. For marker fields, results with existing values ​​are displayed with corresponding markers; results with non-existent values ​​are left blank. Operating conditions are presented as an independent field in the report, with values ​​of "normal" or "abnormal." The structured test report is presented in the following format: Figure 4 As shown in Table 2, examples of report fields are provided.

[0068] Table 2

[0069]

[0070] The process of generating a complete circuit board health test report is executed in the following order: During the test task configuration phase, an execution schedule is generated and deployed on the embedded board and the PC. The onboard self-monitoring agent and functional test program on the embedded board run, sharing the same clock source. The functional test program executes each test item sequentially according to the execution schedule and generates timestamped functional test results. During functional testing, the onboard self-monitoring agent collects operating status parameters at a set sampling period to obtain timing data. When any operating status parameter exceeds a preset threshold, an anomaly log containing a timestamp is generated. After functional testing, the embedded board reports the timing data, anomaly log, functional test results, and execution schedule to the PC-side monitoring and analysis software via Ethernet. The PC-side monitoring and analysis software aligns the timing data with the functional test results according to the timestamps, determines the operating condition based on the aligned timing data and anomaly log, and verifies the physical signature of the functional test results according to the execution schedule. When a functional test result lacks a physical signature, an isolated signature marker and a re-inspection marker are generated on the functional test result. When the operating condition is abnormal, a re-inspection marker is generated on all functional test results. The automatic test report generation module generates a structured test report, which includes functional test results and operating conditions, as well as isolated test evidence markers and retest markers. Through the above process, when the functional test program silently fails or skips a test item, the corresponding functional test result lacks a physical signature during its execution period. The functional test result is then marked with isolated test evidence markers and retest markers. When the operating condition is abnormal, all functional test results are marked with retest markers. Based on this, the report distinguishes between two types of retest reasons: board unhealthy and test not being truly executed.

[0071] In the case of batch cross-boarding, functional test results originate from the testing process of another board and are registered under the name of the embedded board. In this case, the timing data of the embedded board lacks the expected load characteristics of the test items during their execution period. When the PC-side monitoring and analysis software performs physical signature verification according to the execution schedule, it determines that the functional test results lack a physical signature. The functional test results are marked with an isolated evidence flag and a re-inspection flag. Both the cross-boarding case and the silent failure case of the functional test program appear as a lack of physical signature at the physical signature verification level. Both types of cases enter the re-inspection process. During the re-inspection, the reviewer verifies the actual source board of the functional test results. Physical signature verification ensures that the functional test results generated by cross-boarding are identified before acceptance.

[0072] In a preferred embodiment of the present invention, the operating status parameters include temperature, core voltage, CPU utilization, and memory utilization; the execution schedule includes the execution window for each test item, which is defined by a start time and an end time; the verification conditions for the physical signature are configured corresponding to the test items, and the verification conditions include one or more of the following:

[0073] The CPU utilization rate within the test execution window is higher than the first preset value;

[0074] The memory usage rate within the test execution window is higher than the second preset value;

[0075] The core voltage fluctuates within the test execution window. Core voltage fluctuation occurs when the difference between the maximum and minimum values ​​of the core voltage within the test execution window exceeds the fluctuation threshold.

[0076] The temperature rises within the test execution window. The temperature rise is defined as the difference between the last sampled value and the first sampled value of the temperature within the test execution window being greater than the rise threshold.

[0077] The verification conditions are used to determine whether the expected load characteristics of the test item are presented in the test item execution window;

[0078] When all items in the aligned timing data within the test item execution window meet the verification conditions, the functional test result corresponding to the test item is determined to have a physical signature; when the number of items in the aligned timing data within the test item execution window that meet the verification conditions is less than the total number of verification conditions, the functional test result corresponding to the test item is determined to lack a physical signature.

[0079] Specifically, the operating status parameters include temperature, core voltage, CPU utilization, and memory utilization. These four parameters are read via the embedded board's sensors and the operating system status interface, with the reading path determined by the parameters. Temperature is read from the board's temperature sensor; the onboard self-monitoring agent reads the temperature value from the Linux operating system's sysfs interface, in the file ` / sys / class / thermal / thermal_zone0 / temp`. The values ​​in this file are recorded in millidegrees Celsius. The onboard self-monitoring agent then divides the read value by 1000 to convert it to a temperature acquisition value recorded in degrees Celsius. Core voltage is read from the board's voltage monitoring interface; the onboard self-monitoring agent reads the core voltage value through the query channel provided by the board firmware. For Raspberry Pi series boards, the query channel is the `measure_volts core` subcommand of the `vcgencmd` command, and the read value is recorded in volts (V). CPU utilization is calculated via the operating system status interface. The onboard self-monitoring agent reads the CPU time counter from the ` / proc / stat` file. The difference between the values ​​read from two adjacent sampling periods gives the CPU time increment within the sampling period. The CPU utilization rate is the difference between 1 and the ratio of the idle time increment to the total time increment, and the result is recorded as a percentage. Memory utilization is calculated via the operating system status interface. The onboard self-monitoring agent reads the `MemTotal` and `MemAvailable` fields from the ` / proc / meminfo` file. The memory utilization rate is the ratio of the difference between `MemTotal` and `MemAvailable` to `MemTotal`, and the result is recorded as a percentage. Temperature and core voltage are directly read values. CPU utilization and memory utilization are calculated values ​​obtained by converting them using the operating system counter. All four types of collected values ​​are written to the timing data record along with their corresponding sampling timestamps.

[0080] Preset thresholds are set according to various operating status parameters. The preset thresholds for CPU utilization and memory utilization are both 95%, for temperature is 70℃, and for core voltage is a range of 1.15V to 1.35V, defined by a lower limit of 1.15V and an upper limit of 1.35V. After each data acquisition, the onboard self-monitoring agent compares the acquired value with the corresponding preset threshold. An exception log is generated when any of the following occurs: temperature above 70℃, core voltage below 1.15V, core voltage above 1.35V, CPU utilization above 95%, or memory utilization above 95%. The preset threshold values ​​can be adjusted by the operator according to the model of the object being monitored.

[0081] The execution schedule includes the execution window for each test item. The execution schedule contains five fields: test item identifier, test item name, execution order, start time, and end time. The execution schedule is structured data and stored row by row for each test item. The execution window for each test item is defined by the start time and end time, and the execution window is the time range from the start time to the end time of the test item. In the execution schedule example in Table 1, the execution period column consists of two fields: start time and end time. In Table 1, the start time for T01 is 2026-05-2014:00:00, and the end time is 2026-05-2014:05:00. The test item execution window for T01 is from 2026-05-2014:00:00 to 2026-05-2014:05:00; the test item execution window for T02 is from 2026-05-2014:05:00 to 2026-05-2014:10:00; and the test item execution window for T03 is from 2026-05-2014:10:00 to 2026-05-2014:12:00. The test item execution window corresponds to the execution period, and the execution window defines the execution period as a specific numerical range using the start and end time fields. The functional testing program executes test items within the test item execution window. The sampling points within the test item execution window are generated by the onboard self-monitoring agent's acquisition actions within the test item execution window.

[0082] The verification conditions for physical signatures are configured corresponding to the test items. Verification conditions are managed through configuration data. The configuration data records the set of verification conditions for each test item according to the test item identifier. This configuration data is determined before functional testing begins, with the embedded board and the PC each holding a copy of the identical configuration data. The set of verification conditions for each test item comprises all the verification conditions used to determine the physical signature for that test item. Verification conditions include one or more of the following: CPU utilization rate is higher than a first preset value within the test item execution window; memory utilization rate is higher than a second preset value within the test item execution window; core voltage fluctuations occur within the test item execution window, where the difference between the maximum and minimum core voltage values ​​within the test item execution window is greater than a fluctuation threshold; temperature increases within the test item execution window, where the difference between the last sampled temperature value and the first sampled temperature value within the test item execution window is greater than an increase threshold.

[0083] The physical basis for the four verification conditions is as follows: A CPU utilization rate higher than the first preset value corresponds to the physical fact that the CPU is subjected to a full load of computational tasks during the execution of the CPU stress test, and the increased CPU utilization rate is a defining fact of the CPU stress test. A memory utilization rate higher than the second preset value corresponds to the physical fact that the memory is subjected to a full load of access tasks during the execution of the memory stress test, and the increased memory utilization rate is a defining fact of the memory stress test. Core voltage fluctuations correspond to the physical fact of dynamic load response caused by load jumps. The load changes abruptly at the start and end of the test, causing core voltage fluctuations. When the fluctuation amplitude exceeds the fluctuation threshold, it is a physical trace of the actual execution of the test. Temperature rise corresponds to the physical fact of the accumulated thermal effect of power consumption. During the execution of the test, the electrical power consumed by the board accumulates as heat. Thermal capacity and thermal resistance cause the temperature response to lag behind load changes, and the temperature shows an upward trend within the test execution window.

[0084] The judgment method executes each verification condition sequentially. The judgment for CPU utilization exceeding a first preset value is based on the maximum value of the CPU utilization samples within the test item execution window; if the maximum value exceeds the first preset value, the item is considered valid. The judgment for memory utilization exceeding a second preset value is based on the maximum value of the memory utilization samples within the test item execution window; if the maximum value exceeds the second preset value, the item is considered valid. The judgment for core voltage fluctuations is based on the maximum and minimum values ​​of the core voltage samples within the test item execution window; if the difference between the maximum and minimum values ​​is greater than the fluctuation threshold, the item is considered valid. The judgment for temperature rise is based on the last sampled value and the first sampled value of the temperature within the test item execution window. The last sampled value is the temperature value collected at the sampling point with the latest timestamp, and the first sampled value is the temperature value collected at the sampling point with the earliest timestamp; if the difference between the last sampled value and the first sampled value is greater than the rise threshold, the item is considered valid. All the above judgments are deterministic numerical comparisons. When the test item definition is known, the set of verification conditions for each test item is determined before the functional testing begins. The expected load characteristic is the load characteristic corresponding to the fulfillment of all items in the set of verification conditions within the test item execution window. Table 3 provides an example of the engineering configuration for the verification conditions. The configuration in Table 3 is used in conjunction with the execution schedule in Table 1.

[0085] Table 3

[0086]

[0087] The verification condition set for T01 contains three verification conditions, the verification condition set for T02 contains two verification conditions, and the verification condition set for T03 contains one verification condition. When the storage read / write test item is executed, it generates memory buffer read / write load; an increase in memory usage is the actual execution trace of this test item. The number of items in the verification condition set is the total number of verification conditions. The total number of verification conditions for T01 is 3, for T02 it is 2, and for T03 it is 1.

[0088] The verification condition thresholds and health thresholds are separated. The first preset value of 60% and the second preset value of 60% are the verification condition thresholds, while the preset thresholds for CPU utilization (95%) and memory utilization (95%) are the health thresholds. Verification condition thresholds must be within the range of the health thresholds. When CPU utilization is 40%, a value exceeding the first preset value is invalidated; if the value does not exceed the preset threshold of 95%, no abnormal log is generated, and the operating condition judgment is not triggered in this situation. In this case, the physical signature judgment and the operating condition judgment are independent. Verification condition thresholds within the range of the health thresholds allow the two judgment paths to run independently. Functional test results lacking physical signatures and functional test results with abnormal operating conditions are marked differently in the report.

[0089] The rules for determining the physical signature are as follows: If all items in the aligned timing data within the test item execution window satisfy the verification conditions, the functional test result corresponding to the test item is determined to have a physical signature; if the number of items in the aligned timing data within the test item execution window that satisfy the verification conditions is less than the total number of verification conditions, the functional test result corresponding to the test item is determined to lack a physical signature. The aligned timing data within the test item execution window consists of data composed of sampling points with timestamps located within the test item execution window. The number of items satisfying the verification conditions is the number of verification conditions in the verification condition set that are deemed valid.

[0090] Based on the configuration of T01 in Table 3, two judgment examples are given. Example 1: The maximum CPU utilization rate within the T01 execution window is 95%, which is higher than the first preset value of 60%, so the verification condition is met; the maximum core voltage is 1.24V, and the minimum is 1.17V, with a difference of 0.07V between the maximum and minimum values, which is greater than the fluctuation threshold of 0.05V, so the verification condition is met; the last sampled temperature value is 62.4℃, and the first sampled temperature value is 61.8℃, with a difference of 0.6℃ between the last sampled value and the first sampled value, which is greater than the rise threshold of 0.5℃, so the verification condition is met; the number of satisfied items is 3, which is equal to the total number of items 3, so it is determined that the function detection result corresponding to T01 has a physical signature. Example 2: The maximum CPU utilization rate within the T01 execution window is 40%, which is less than the first preset value of 60%, so this verification condition is not met; the difference between the maximum and minimum core voltage values ​​is 0.02V, which is less than the fluctuation threshold of 0.05V, so this verification condition is not met; the difference between the last sampled temperature value and the first sampled temperature value is 0.3℃, which is less than the rise threshold of 0.5℃, so this verification condition is not met; the number of satisfied items is 0, which is less than the total number of items of 3, so it is determined that the functional test result corresponding to T01 lacks a physical signature. Example 2 is a typical manifestation within the T01 execution window when the functional test program fails silently. The judgment result of lacking a physical signature causes the functional test result to be marked with isolated evidence and re-examination.

[0091] Physical signature verification is performed once for each functional test result. The execution process is as follows: Based on the test item identifiers included in the functional test result, determine the test item execution window in the execution timetable of Table 1; extract the sampling points whose timestamps are located within the test item execution window from the aligned time-series data; obtain the set of verification conditions for the test item from the configuration data in Table 3; evaluate each verification condition in the set of verification conditions according to the judgment method; count the number of satisfied conditions; if the number of satisfied conditions equals the total number of conditions, a physical signature is determined to exist; if the number of satisfied conditions is less than the total number of conditions, a physical signature is determined to be missing. The conclusion of physical signature verification is independent of the conclusion field of the functional test result. The conclusion field records the functional judgment result of the test item, and the physical signature records the physical evidence of the actual execution of the test item. After a functional test result is determined to lack a physical signature, an isolated evidence marker and a re-examination marker are generated on the functional test result according to the triggering condition of missing physical signature.

[0092] In a preferred embodiment of the present invention, the onboard self-monitoring agent collects data with a sampling period of 1 second.

[0093] The onboard self-monitoring agent creates a periodic timer upon startup. This timer is created via the Linux operating system's `timerfd` interface, with a timer interval set to 1 second. The agent performs one data acquisition each time the timer triggers. A single acquisition includes reading all running status parameters, obtaining the timestamp of the acquisition via the clock read interface, comparing the acquired value with the corresponding parameter's preset threshold, generating an exception log based on the comparison result, and writing the acquired value and timestamp to the time-series data record. The periodic timer and the selected clock identifier for this detection task share the same source; the timer trigger and the acquisition timestamp are obtained from the same clock identifier. The timestamp interval between two adjacent acquisitions is 1 second, and the timestamps in the time-series data record are arranged at 1-second intervals on the timeline. A single acquisition takes less than one second, and one acquisition can be completed within the sampling period.

[0094] The sampling period is set to 1 second to match the length of the test item execution window. In Table 1, the test item execution window lengths for T01 and T02 are both 300 seconds, and the test item execution window length for T03 is 120 seconds. When sampling is performed with a 1-second sampling period, 300 sampling points are generated in each of the test item execution windows for T01 and T02, and 120 sampling points are generated in the test item execution window for T03. The total number of sampling points for a complete functional test is 720. Table 4 shows the correspondence between the test item execution window and the number of sampling points.

[0095] Table 4

[0096]

[0097] When the number of sampling points within the test execution window is the value mentioned above, the determination of the maximum value, minimum value, last sampled value, and first sampled value are all performed on a sufficient number of sampling points. The determination result is jointly determined by the earliest and latest timestamp sampling points within the window, as well as all sampling points within the window. The determination of temperature rise uses the difference between the last sampled value and the first sampled value. The first sampled value is the temperature value collected at the sampling point with the earliest timestamp, and the last sampled value is the temperature value collected at the sampling point with the latest timestamp. The 1-second sampling period ensures that the time span between the last sampled value and the first sampled value is equal to the length of the test execution window, and the temperature rise determination covers the entire range of the test execution window.

[0098] When the sampling period is 1 second, the amount of time-series data is within the range that can be completely reported. Each time-series data record contains one timestamp field and four running status parameter fields. After being encoded in JSON format, a single record is approximately 150 bytes. The 720 records for a complete functional test total approximately 105 kilobytes. The TCP connection established via Ethernet can be used to complete the reporting in one go after the functional test is completed. When reporting in batches according to the set period during the functional test, the amount of data in each reporting batch is lower than the total value.

[0099] The sampling period determines the observable scale of change in time-series data. Rapid changes lasting less than 1 second will not be included in the time-series data; rapid changes occur and end between adjacent sampling points, and the time-series data does not retain the values ​​of rapid changes. Changes lasting more than 1 second are presented in at least one sampling point. The determination of core voltage fluctuations is based on the difference between the maximum and minimum core voltage sampling values ​​within the test execution window. The difference between the maximum and minimum values ​​reflects the core voltage level change that lasts longer than the sampling period. The core voltage level change caused by load jumps at the start and end of the test can be captured by the sampling points on this time scale. The time constant of temperature is on the order of tens of seconds. A 1-second sampling period constitutes oversampling of temperature changes. The temperature rise process within the test execution window is presented by multiple sampling points. The first and last sampling values ​​used for temperature rise determination are separated by the length of the test execution window. The temperature rise within this time span can be reflected by the difference between the two sampling values.

[0100] When a data acquisition delay occurs, the onboard self-monitoring agent records a timestamp based on the actual trigger time. The agent does not perform any supplementary acquisition actions; the delayed acquisition record is located at the actual trigger time on the timeline. Subsequent acquisitions continue according to the triggering of the periodic timer. This processing method ensures that the timestamps of the time-series data always reflect the true time of the acquisition action. Physical signature verification and operational condition determination use time-series data based on timestamps, and delayed sampling points participate in the determination at their true time.

[0101] In a preferred embodiment of the present invention, the anomaly log further includes an out-of-limit value, which is the measured value when the parameter exceeds a preset threshold.

[0102] "Exceeding limits" refers to situations where the parameter exceeds a preset threshold. The value for exceeding the limit is the sampled value of the parameter during the sampling action that determines the limit exceedance; the sampled value is the measured value when the parameter exceeds the preset threshold. After each data collection, the onboard self-monitoring agent performs a threshold comparison. When it determines that a certain operating status parameter exceeds the corresponding preset threshold, it writes the parameter's sampled value in this data collection to the "Exceeding Limit Value" field of the anomaly log. The exceeding limit value, the timestamp of the anomaly log, and the parameter name are all taken from the same data collection action. The exceeding limit value is the same as the parameter's sampled value in the same data collection record and is not converted separately. Temperature and core voltage are directly read values, and the corresponding exceeding limit values ​​are the read values ​​of this data collection; CPU utilization and memory utilization are calculated values, and the corresponding exceeding limit values ​​are the calculated values ​​of this data collection.

[0103] The preset threshold for core voltage is a voltage range. When the core voltage exceeds this range, the exceeding value is the core voltage value acquired in this sampling session. The acquired value is either lower than the lower limit or higher than the upper limit of the voltage range. Comparing the exceeding value with the voltage range determines whether the exceeding limit is on the lower or upper limit side. The exceeding value is recorded in the same numerical representation as the sampling records: temperature is recorded in degrees Celsius, core voltage in volts, and CPU and memory utilization are recorded as percentages. The numerical representation of the exceeding value is the same as the acquired values ​​of the parameters in the same sampling session.

[0104] When multiple operating status parameters exceed their corresponding preset thresholds during the same sampling action, the onboard self-monitoring agent generates anomaly logs for each parameter. Each parameter exceeding the preset threshold corresponds to one anomaly log, and the exceeding value of each anomaly log is the collected value of that parameter during the sampling action. When the same operating status parameter continuously exceeds its corresponding preset threshold in multiple adjacent sampling actions, the onboard self-monitoring agent generates one anomaly log for each exceeding sampling action. The exceeding value of each anomaly log is the collected value of the parameter during that sampling action. The number of anomaly log entries increases with the number of exceeding sampling actions. When the number of anomaly log entries is greater than 0, the operating condition is determined to be abnormal.

[0105] The out-of-limit values ​​are reported to the PC-based monitoring and analysis software along with the anomaly log. The PC-based monitoring and analysis software retains the out-of-limit value field when storing the anomaly log. The out-of-limit value is used to present the measured range by which the parameter exceeds the preset threshold. After the report is issued, the reviewer can determine the time, parameter, and measured value of the out-of-limit occurrence based on the timestamp, parameter name, and out-of-limit value in the anomaly log. The measured range serves as the basis for the reviewer to judge the degree of out-of-limit.

[0106] Table 5 provides an example of an anomaly log from another functional test. The test date in Table 5 is 2026-05-21, and the time value of the test period is the same as the execution time schedule in Table 1.

[0107] Table 5

[0108]

[0109] The timestamp of the first abnormal log in Table 5 is located within the execution window of test item T01. The core voltage acquisition value of 1.12V is lower than the lower limit of the voltage range of 1.15V, exceeding the limit on the lower limit side. The timestamp of the second abnormal log is also located within the execution window of test item T01. The temperature acquisition value of 73.5℃ is higher than the preset temperature threshold of 70℃, exceeding the limit on the upper limit side. The timestamp of the third abnormal log is located within the execution window of test item T02. The memory utilization rate of 97.2% is higher than the preset memory utilization rate threshold of 95%. The exceeding values ​​of the three abnormal logs are all acquisition values ​​of parameters in the corresponding sampling actions. The number of abnormal log entries for the corresponding function detection in Table 5 is greater than 0, and the operating condition is judged as abnormal.

[0110] In a preferred embodiment of the present invention, the onboard self-monitoring agent begins data collection before the function testing program starts; the start time of the function testing is the start time of the execution window of the first test item in the execution schedule; when the running status parameters exceed a preset threshold within a period before the start time of the function testing, an anomaly log containing a timestamp is generated; the PC-side monitoring and analysis software determines the source of the anomaly based on the timestamp of the first anomaly log and the execution schedule, with the first anomaly log being the anomaly log with the earliest timestamp; when the timestamp of the first anomaly log is earlier than the start time of the function testing, the source of the anomaly is determined to be an existing fault; when the timestamp of the first anomaly log is not earlier than the start time of the function testing, the source of the anomaly is determined to be a detection-induced fault; when the anomaly log has been generated, the structured test report contains the source of the anomaly.

[0111] The onboard self-monitoring agent begins data collection before the functional testing program starts. The startup order of the onboard self-monitoring agent and the functional testing program is guaranteed by the service configuration of the embedded board's operating system. The onboard self-monitoring agent is configured as an operating system service. The functional testing program is triggered by the operator or automated production line at the start of the testing task. The onboard self-monitoring agent's service startup time precedes the functional testing program's trigger time. After the service startup is complete, the onboard self-monitoring agent performs data collection according to the sampling period, and performs threshold comparison after each data collection. The function test program start time is the moment when it begins running on the embedded board. The function test start time is the start time of the execution window of the first test item in the execution schedule. The first test item execution window is the execution window corresponding to the test item with execution order 1. In Table 1, the test item with execution order 1 is T01. The execution window of test item T01 is from 2026-05-2014:00:00 to 2026-05-2014:05:00, and the function test start time is 2026-05-2014:00:00. The data acquisition start time of the onboard self-monitoring agent, the function test program start time, and the function test start time are arranged chronologically. The data acquisition start time of the onboard self-monitoring agent precedes the function test program start time, and the function test program start time precedes the function test start time. The function test program begins executing the first test item at the function test start time. The time range between the start time of data collection by the onboard self-monitoring agent and the start time of function testing is the period before the start time of function testing, which includes the initialization period after the function testing program starts and the period before the function testing program starts.

[0112] When the operating status parameter exceeds a preset threshold within a period prior to the start time of the functional test, an anomaly log containing a timestamp is generated. The onboard self-monitoring agent performs data collection according to the sampling cycle within the time period. After each collection, a threshold comparison is performed. If the comparison determines that the operating status parameter exceeds the corresponding preset threshold, the anomaly log is generated in the same way as during the functional test. The timestamp of the anomaly log is the timestamp of that collection action, located before the start time of the functional test. The remaining fields of the anomaly log include the exceeded value, which is the measured value when the parameter exceeds the preset threshold. The anomaly logs generated within the time period and those generated during the functional test together constitute the complete anomaly log for one test task. All anomaly logs, along with other data, are reported to the PC-based monitoring and analysis software.

[0113] The PC-based monitoring and analysis software determines the source of the anomaly based on the timestamp of the first anomaly log and the execution schedule. The first anomaly log is the one with the earliest timestamp. After receiving the anomaly logs for a test task, the PC-based monitoring and analysis software sorts the logs in ascending order of timestamps, taking the first anomaly log at the top of the sorted list as the first anomaly log. The timestamp of the first anomaly log at the top of the sorted list is the earliest value among all anomaly log timestamps. The start time of the functional test is determined by the PC-based monitoring and analysis software according to the execution schedule. The determination method is to take the start time of the execution window of the test item with execution order 1 in the execution schedule. When the timestamp of the first anomaly log is earlier than the start time of the functional test, the source of the anomaly is determined to be a pre-existing fault. The technical meaning of the pre-existing fault is that the embedded board already had a defect that caused the operating status parameters to exceed the limits before the functional test started. When the timestamp of the first anomaly log is not earlier than the start time of the functional test, the source of the anomaly is determined to be a test-induced fault. The technical meaning of the test-induced fault is that the operating status parameters of the embedded board exceeded the limits due to the test load applied by the functional test. The timestamp of the first exception log being earlier than the start time of the functional test and the timestamp of the first exception log not being earlier than the start time of the functional test cover all possible situations. The exception source determination is not repeated for each exception log, and a single test task determines a unique exception source.

[0114] After the anomaly source is determined, the process proceeds to mark and report generation. Mark generation is triggered by two conditions: missing physical signature and abnormal operating condition. When an anomaly log has been generated, the structured inspection report includes the anomaly source, which is presented as an independent field in the report, with a value of either an original fault or a detection-induced fault. When no anomaly log has been generated, the structured inspection report does not present the anomaly source field. When the anomaly source is an original fault, the reviewer performs fault location and removal processing on the embedded board; when the anomaly source is a detection-induced fault, the reviewer performs troubleshooting processing on the testing phase. The two processing paths are distinguished by the anomaly source field in the report.

[0115] Table 6 provides an example of the start-up sequence of a detection task. The detection tasks in Table 6 are matched with those in Table 1, and the time values ​​are all values ​​for May 20, 2026.

[0116] Table 6

[0117]

[0118] In Table 6, the data collection start time of the onboard self-monitoring agent is earlier than the start time of the function test program, the start time of the function test program is earlier than the start time of the function test, and the time period before the start time of the function test is from 13:50:00 to 14:00:00.

[0119] Table 6 provides two examples of anomaly source determination. Example 1: After sorting all anomaly logs of a testing task in ascending order of timestamps, the timestamp of the first anomaly log is 2026-05-20 13:52:10, which is earlier than the start time of the functional test at 14:00:00. The anomaly source is determined to be an existing fault, and the reviewer performs fault location and removal processing on the embedded board. Example 2: After sorting all anomaly logs of a testing task in ascending order of timestamps, the timestamp of the first anomaly log is 2026-05-20 14:03:12, which is not earlier than the start time of the functional test at 14:00:00. The anomaly source is determined to be a test-induced fault, and the reviewer performs troubleshooting processing on the testing phase. The determination results of Examples 1 and 2 are uniquely determined by the chronological relationship between the timestamp of the first anomaly log and the start time of the functional test, and are independent of the number of anomaly log entries.

[0120] In a preferred embodiment of the present invention, the PC-based monitoring and analysis software divides the aligned time-series data into segments using a sliding time window with a length of 64 sampling points. The starting sampling point interval between adjacent sliding time windows is 8 sampling points. The segmented time-series data segments are used as inputs for operating condition determination. Each time-series data segment contains the number of abnormal log entries, which is the number of abnormal log entries whose timestamps are located between the first and last sampling times of the time-series data segment.

[0121] The aligned time-series data is a sequence of sample points arranged in ascending order of timestamps after the alignment operation. The number of sample points for a complete functional test is 720, determined by the 1-second sampling period and the test duration specified in Table 1. The segmentation method is based on the position of the sample points in the sequence. The first sliding time window takes the 1st to 64th sample points, the second sliding time window takes the 9th to 72nd sample points, the third sliding time window takes the 17th to 80th sample points, and so on for subsequent sliding time windows. The starting sample point of the kth sliding time window is the (8×(k−1)+1)th sample point, and the ending sample point of the kth sliding time window is the (8×(k−1)+64)th sample point. There are 56 overlapping sampling points between adjacent sliding time windows. With a sampling period of 1 second, the overlap duration is 56 seconds. The overlapping segmentation makes the time periods corresponding to adjacent sliding time windows connect with each other. The slow changes in the operating status parameters present a continuous transition within the adjacent sliding time windows. The operating condition judgment retains the criteria for both slow changes and short-term sudden changes. When the total number of sampling points is 720, the starting sampling points of the sliding time window are: 1, 9, 17, 25, 33, 41, 49, 57, 65, 73, 81, 89, 97, 105, 113, 121, 129, 137, 145, 153, 161, 169, 177, 185, 193, 201, 209, 217, 225, 233, 241, 249, 257, 265, 273, 281, 289, 297, 305, 313, 321, 329, 337, 345, 353, 361, 369, 377, 385, 393, 4 The sampling points are 01, 409, 417, 425, 433, 441, 449, 457, 465, 473, 481, 489, 497, 505, 513, 521, 529, 537, 545, 553, 561, 569, 577, 585, 593, 601, 609, 617, 625, 633, 641, 649, and 657. The total number of sliding time windows is 83. The last sliding time window takes the 657th to 720th sampling points. The coverage of the 83 sliding time windows is contiguous, and the sampling point sequence of a complete functional test is completely segmented. When the total number of sampling points is less than 64, all sampling points constitute one time-series data segment; when the total number of sampling points is more than 64 and the remaining sampling points after the last sliding time window are less than 64, the remaining sampling points constitute one time-series data segment. The detection duration corresponding to the execution schedule in Table 1 results in a total of 720 sampling points, thus avoiding the generation of a tail time-series data segment with fewer than 64 sampling points.

[0122] The segmented time-series data is used as input for operational condition determination. Each time-series data segment contains 64 sampling points of collected operating status parameters. The number of abnormal log entries in a time-series data segment is the number of abnormal log entries whose timestamps fall between the first and last sampling times of the time-series data segment. The first sampling time is the timestamp of the first sampling point of the time-series data segment, and the last sampling time is the timestamp of the 64th sampling point of the time-series data segment. The first and last sampling times define the time period corresponding to the time-series data segment. The method for counting abnormal log entries is to perform a search on all abnormal logs of a single detection task using PC-based monitoring and analysis software. The search condition is that the timestamp of the abnormal log is between the first and last sampling times of the time-series data segment. The number of abnormal log entries retrieved is the number of abnormal log entries in the time-series data segment. The number of abnormal log entries is a non-negative integer. If there are no abnormal logs within the time period corresponding to the time-series data segment, the number of abnormal log entries is 0. With a sampling period of 1 second, one time series data segment corresponds to a 64-second time period. The interval between the starting sampling points of adjacent time series data segments is 8 sampling points, and the interval between the starting times of adjacent time series data segments is 8 seconds.

[0123] Table 7 provides an example of the time-series data segment for a single detection task corresponding to the execution schedule in Table 1. Table 7 takes a portion of the time-series data segment from adjacent sliding time windows. The first and last sampling times are calculated based on the detection start time of 14:00:00 in Table 1 and a 1-second sampling period. The number of abnormal log entries is based on a temperature abnormality log generated at 14:03:12.

[0124] Table 7

[0125]

[0126] The timestamp located between the first and last sampling times of a time-series data segment includes cases where the timestamp is the same as the first sampling time and cases where the timestamp is the same as the last sampling time. In Table 7, the last sampling time of time-series data segment number 17 is 14:03:11, and the timestamp 14:03:12 for the temperature anomaly log is after the last sampling time; the number of anomaly log entries in this time-series data segment is 0. For time-series data segment number 18, the first sampling time is 14:02:16, and the last sampling time is 14:03:19; the timestamp 14:03:12 for the temperature anomaly log is between the first and last sampling times. In the first time series data segment, the number of abnormal log entries was 1. For time series data segment number 25, the first sampling time was 14:03:12, and the timestamp of the temperature abnormal log was the same as the first sampling time; therefore, the number of abnormal log entries for this time series data segment was 1. For time series data segment number 26, the first sampling time was 14:03:20, and the timestamp of the temperature abnormal log, 14:03:12, was before the first sampling time; therefore, the number of abnormal log entries for this time series data segment was 0. Table 7 shows that time series data segments with 1 abnormal log entry are segments 18 to 25, a total of 8. The number of sliding time windows matching the time range of the temperature abnormal log with the timestamp of 14:03:12 is consistent, and the abnormal log entry count is consistent with the time span of the sliding time windows.

[0127] The time-series data segments are stored sequentially in the memory data structure of the PC-side monitoring and analysis software. Each time-series data segment stores the sequence of sampled values ​​and the number of abnormal log entries. Operating condition judgments are executed one by one according to the time-series data segments. A complete functional test yields judgment inputs for 83 time-series data segments. The segmentation of time-series data segments and the counting of abnormal log entries are performed after the alignment operation is completed in the PC-side monitoring and analysis software. The segmentation and counting operations do not change the original sampled points and timestamps of the aligned time-series data. The statistical result is a numerical segment of abnormal log entries appended to the time-series data segment; this numerical segment does not alter the original record of the abnormal log.

[0128] In a preferred embodiment of the present invention, the operating condition determination is performed through a multi-task health model. The input of the multi-task health model is a time-series data segment, and the multi-task health model includes:

[0129] The local feature branch, consisting of a one-dimensional causal convolutional layer and a pooling layer, is used to extract local mutation features from time-series data segments.

[0130] The trend feature branch, consisting of a gated recurrent unit layer, is used to extract time-series trend features from time-series data segments.

[0131] The fusion backbone is used to concatenate local mutation features and temporal trend features and then generate a shared representation through a fully connected layer;

[0132] The anomaly detection head, quality grading head, and trend prediction head share a common representation. The anomaly detection head outputs anomaly scores, the quality grading head outputs health levels, which include four levels: excellent, good, medium, and poor, and the trend prediction head outputs the future indicator trajectory.

[0133] The PC-based monitoring and analysis software determines the operating condition based on the anomaly score of all time-series data segments. When the anomaly score of at least one time-series data segment is higher than the preset judgment threshold, the operating condition is determined to be abnormal.

[0134] The structured test report also includes a health level and a future indicator trajectory. The health level is the worst level among all the health levels of all time series data segments, and the future indicator trajectory is the indicator trajectory output by the trend prediction head for the last time series data segment.

[0135] Specifically, the multi-task health model runs with the trained model parameters, which are determined before deployment. The multi-task health model is deployed on PC-based monitoring and analysis software, and the model file is stored in ONNX format. The PC-based monitoring and analysis software loads the model file and performs forward computation via the ONNX Runtime inference engine; model loading occurs once upon software startup. Rule-based determination and multi-task health model determination are two implementation methods for condition determination. When the multi-task health model is enabled, condition determination is performed through the multi-task health model.

[0136] Preprocessing is performed on the time-series data segment before it enters the multi-task health model. Preprocessing is performed in the following order: If a sampling failure causes a missing value in a channel, the missing value is filled in by linear interpolation of adjacent sampling points. Then, the first-order difference is calculated for the four channels: temperature, core voltage, CPU utilization, and memory utilization. The first-order difference is the difference between the values ​​of adjacent sampling points, resulting in four difference channels. The number of abnormal log entries is the same for all sampling points within the time-series data segment, and the abnormal log entry count channel does not participate in the first-order difference calculation. The four operating status parameter channels, the four difference channels, and the abnormal log entry count channel constitute nine input channels. Normalization is then performed on each channel. The normalization method is to subtract the training set mean from the collected value and divide by the training set standard deviation. The training set mean and standard deviation are the training set statistics saved upon completion of training. If the time-series data segment length is less than 64 sampling points, after normalization, the sequence is padded with 0 at the beginning to reach 64 sampling points. 0 corresponds to the training set mean level in the normalization space. After preprocessing, the input tensor of the multi-task health model is obtained. The size of the input tensor is (B, 9, 64), where B is the batch size, B is 1 during inference, 9 is the number of input channels, and 64 is the number of sampling points.

[0137] In another implementation, the preprocessing of the multi-task health model also calculates the moving mean, moving variance, and slope-derived features. The moving mean is the average value of the collected values ​​within a window centered at the sampling point and with a window length of 8 sampling points. The moving variance is the variance of the collected values ​​within the window. When the window exceeds the boundary of the time-series data segment, it is calculated using the available sampling points within the time-series data segment. The slope is the slope obtained by linear fitting of the collected values ​​of each channel within the time-series data segment. The moving mean, moving variance, and slope are calculated per channel. Each running status parameter channel corresponds to three derived feature channels. The derived feature channels, running status parameter channels, first-order difference channels, and abnormal log entry number channels together constitute the input channels. The number of input channels increases from 9 to 21, and the input tensor size is adjusted to (B, 21, 64). The number of input channels for the A1 convolution and B1 gated recurrent units in Table 8 is adapted to the adjusted number of input channels. The number of layers and the number of output channels of each layer of the multi-task health model remain unchanged. The number of parameters of the multi-task health model changes accordingly with the number of input channels. Normalization and other preprocessing steps remain unchanged.

[0138] In another implementation, the operating status parameters also include CPU temperature, memory temperature, current, clock frequency, and communication latency, totaling 10 channels. Preprocessing calculates four types of derived features for the 10 channels: first-order difference, moving average, moving variance, and slope. From these four types of derived features, the first-order difference of the temperature channel, the moving variance of the core voltage channel, the moving average of the CPU utilization channel, and the slope of the memory utilization channel are selected to form four derived feature channels, increasing the number of feature channels from 10 to 14. The input tensor size is (B, 14, 64). With this configuration, the gated recurrent unit layer has 14 input channels, 64 hidden units, and 2 layers. The layer-by-layer parameter count of the multi-task health model is calculated according to the statistical standards recorded in Table 8: First convolutional layer 1376, Second convolutional layer 6208, Third convolutional layer 24704, Gated recurrent unit layer 39936, Projection layer 4160, Fusion layer 24832, Anomaly detection head 8321, Quality grading head 8516, Trend prediction head 9296, with a total parameter count of approximately 1.27 × 10⁻⁶. 5 When stored as FP32 floating-point numbers, the model size is approximately 0.49 megabytes. The trend prediction head outputs 16 elements, corresponding to the predicted values ​​of temperature, core voltage, CPU utilization, and memory utilization over the next four sampling periods. The number of output elements in the last layer of the trend prediction head has been adjusted from 64 to 16, while the rest of the structure and decision-making method remain unchanged.

[0139] The multi-task health model includes local feature branches, trend feature branches, a fusion backbone, an anomaly detection head, a quality grading head, and a trend prediction head. The local feature branch consists of a one-dimensional causal convolutional layer and a pooling layer. The one-dimensional causal convolutional layer uses causal padding, and the convolutional kernel only uses the current sampling point and the sampling points before the current sampling point in the time dimension. The local feature branch extracts local mutation features from the input tensor. The local mutation features are features that reflect short-term changes within the time series data segment. The trend feature branch consists of a gated recurrent unit layer. The gated recurrent unit processes the sampling points of the time series data segment in chronological order. The trend feature branch extracts time series trend features from the input tensor. The time series trend features are features that reflect the changing trend across sampling points within the time series data segment. A projection layer is set after the gated recurrent unit layer of the trend feature branch. The projection layer maps the last hidden state to the time series trend features. The fusion backbone concatenates the local mutation features and the time series trend features and generates a shared representation through a fully connected layer. The shared representation is the vector output by the fusion backbone. The anomaly detection head, quality grading head, and trend prediction head use the shared representation as common input. The three heads share a single feature extraction calculation. The forward calculation is performed once to obtain all the outputs of the three heads. The multi-task health model is named MTF-Net (Multi-Task Fusion Network), and its structure is as follows: Figure 3 As shown in Table 8, the layer-by-layer structure and parameter count of the multi-task health model are given. The parameter count is calculated as the product of the number of input channels, the number of output channels, and the kernel length of the convolutional layer plus the number of output channels. The fully connected layer is calculated as the product of the number of input elements and the number of output elements plus the number of output elements. The gated recurrent unit is calculated as the sum of the parameters of the update gate, the reset gate, and the candidate gate. The bias is included in the parameter count.

[0140] Table 8

[0141]

[0142] In Table 8, B represents the batch size, which is 1 during inference, and the time dimension is 64. A1 to A5 constitute local feature branches, B1 and B2 constitute trend feature branches, F1 and F2 constitute the fusion backbone, HA is the anomaly detection head, HB is the quality grading head, and HC is the trend prediction head. The total number of parameters in the multi-task health model is 128901, approximately 1.29 × 10⁻⁶. 5 When stored as FP32 floating-point numbers, the model size is approximately 0.49 megabytes, enabling real-time inference on PC-based monitoring and analysis software. The input for local feature branches uses a channel-first time format, while the input for trend feature branches uses a time-first format; format conversion is completed during the preprocessing stage.

[0143] The anomaly detection head outputs anomaly scores, which are then mapped to values ​​between 0 and 1 using a Sigmoid activation. The quality grading head outputs a health level distribution, which is then mapped to normalized probabilities of four levels using a Softmax activation. The level with the highest probability is taken as the health level of the time-series data segment. The health levels include Excellent, Good, Average, and Poor. The trend prediction head outputs a 64-bit vector, which is arranged in blocks according to parameters. The first 16 elements are the predicted values ​​of temperature for the next 16 sampling periods, the 17th to 32nd elements are the predicted values ​​of core voltage for the next 16 sampling periods, the 33rd to 48th elements are the predicted values ​​of CPU utilization for the next 16 sampling periods, and the 49th to 64th elements are the predicted values ​​of memory utilization for the next 16 sampling periods. The sampling period is 1 second, and the next 16 sampling periods correspond to the next 16 seconds.

[0144] The PC-based monitoring and analysis software determines the operating condition based on the anomaly scores of all time-series data segments. When the anomaly score of at least one time-series data segment exceeds a preset threshold (0.5), the operating condition is deemed abnormal. Each of the 83 time-series data segments obtained from a complete functional test is processed sequentially, resulting in 83 sets of anomaly scores, health levels, and future indicator trajectories. The structured test report also includes health levels and future indicator trajectories. The health level is the worst among all time-series data segments, ranked from best to worst (Excellent, Good, Medium, Poor). The worst level is the closest to "Poor" in the overall health level ranking. The future indicator trajectory is the trajectory output by the trend prediction header for the last time-series data segment, numbered 83. The time-series data segment numbers are arranged in ascending order based on the starting sampling point's position in the sampling point sequence. The predicted values ​​of future indicator trajectories are values ​​in the normalized space. Before the report is used, inverse normalization is performed on the training set statistics. The inverse normalization method is to multiply the predicted value by the standard deviation of the training set and then add the mean of the training set. After inverse normalization, the temperature is in degrees Celsius, the core voltage is in volts, and the CPU utilization and memory utilization are in percentages.

[0145] Table 9 provides an example of the output from another detection task executed using the timeline in Table 1. The detection task was performed on May 22, 2026. At 14:09:30, the task generated a memory usage anomaly log, which fell into time-series data segments with sequence numbers 65 to 72. Table 9 lists the output of some time-series data segments. Time-series data segments not listed have anomaly scores below 0.2 and a health level of "excellent". The time-series data segments not listed in Table 9 are those with sequence numbers 73 to 82.

[0146] Table 9

[0147]

[0148] In Table 9, at least one time-series data segment has an anomaly score higher than the preset judgment threshold of 0.5. The anomaly score of time-series data segment number 66 is 0.55, that of time-series data segment number 67 is 0.73, that of time-series data segment number 68 is 0.81, and that of time-series data segment number 69 is 0.68, thus the operating condition is judged as abnormal. The health levels of all time-series data segments include excellent, good, and medium, with the worst level being medium. The health level in the report is medium. After inverse normalization, the indicator trajectory output by the trend prediction head of the last time-series data segment shows that the temperature dropped from 62.1℃ to 61.6℃, the core voltage stabilized at around 1.21V, the CPU utilization rate dropped from 4% to 2%, and the memory utilization rate dropped from 19% to 16%. The future indicator trajectory in the report is a numerical trajectory.

[0149] In addition to functional test results, operating conditions, and marking elements, the structured test report adds health level elements and future indicator trajectory elements. The health level is presented in text, and the future indicator trajectory is presented in a numerical list and line graph. The horizontal axis of the line graph is the future sampling period number, and the vertical axis is the corresponding physical unit value.

[0150] In a preferred embodiment of the present invention, semi-supervised pre-training is performed on local feature branches, trend feature branches and fusion backbone using normal operating condition samples;

[0151] The multi-task health model is fine-tuned using multi-task joint loss, which includes focus loss, labeled smoothed cross-entropy loss, and Huber loss. Focus loss is used for the anomaly detection head, labeled smoothed cross-entropy loss is used for the quality grading head, and Huber loss is used for the trend prediction head.

[0152] The multi-task joint loss is adaptively weighted using homoscedastic uncertainty, and the task weights used in the adaptive weighting are learnable parameters.

[0153] Specifically, such as Figure 7 As shown, the parameter determination process of the multi-task health model includes two stages: semi-supervised pre-training and multi-task fine-tuning. The parameter determination process is completed before the deployment of the multi-task health model.

[0154] The training data is structured by source. Normal operating condition samples are taken from testing tasks performed on boards under no-injection fault conditions. The time-series data segments corresponding to these normal operating condition samples form the normal operating condition window. This window consists of 7 days of operating data from each of the 28 boards in the training set, collected at a 1-second sampling period, with a total of approximately 1.69 × 10⁻⁶ sampling points. 7 The normal operating window is approximately 2.1 × 10⁻⁶, divided by a sliding time window length of 64 sampling points and a step size of 8 sampling points. 6There are 10 normal operating condition windows used for semi-supervised pre-training. Labeled samples are used for multi-task fine-tuning. The time series data segment corresponding to the labeled samples is the labeled window, which includes a normal operating condition window and an abnormal operating condition window. The abnormal operating condition window is approximately 3.7 × 10⁻⁶. 4 There are approximately 1.2 × 10⁶ abnormal windows, originating from two sources: natural failure logs and windows corresponding to these two types. 4 The injection failure window is approximately 2.5 × 10⁻⁶. 4 The injected faults are simulated as voltage dips, thermal stress, and memory leaks. Anomaly windows are labeled with fault type, which is categorized by injected fault type and natural failure type. The dataset is grouped by board identifier: the training set comes from 28 boards, the validation set from 6 boards, and the test set from 6 boards. Windows from the same board do not cross sets, and this grouping avoids data leakage between the training and validation sets for the same board. Table 10 shows the composition of the training data.

[0155] Table 10

[0156]

[0157] Semi-supervised pre-training uses normal operating condition samples to train the local feature branch, trend feature branch, and fusion backbone. No anomaly detection head, quality grading head, or trend prediction head is added during pre-training. A projection layer is added after the fusion backbone during pre-training; this projection layer is a fully connected layer with 128 input elements and 64 output elements. Pre-training is performed using a contrastive learning approach. Contrastive learning applies two data augmentations to a normal operating condition window to obtain two augmented views. The two augmented views from the same window constitute a positive sample pair, while the augmented views from other windows in the same batch are negative samples. The two augmented views are mapped to two 64-dimensional vectors via the local feature branch, trend feature branch, fusion backbone, and projection layer, respectively. The contrastive loss is the NT-Xent loss, calculated by dividing the cosine similarity of the two vectors by a temperature coefficient of 0.2, normalizing with Softmax, and then calculating using cross-entropy. Positive sample pairs are represented closer together, and negative sample pairs are represented further apart. The data augmentation methods are additive Gaussian noise, amplitude scaling, and channel dropping. The standard deviation of additive Gaussian noise is 0.01 times the standard deviation of the corresponding channel training set. The scaling factor of amplitude scaling is randomly selected between 0.8 and 1.2. Channel dropping sets a single channel to 0 with a probability of 0.2.

[0158] In another implementation, data augmentation also includes time warping. Time warping involves applying a random offset to the timestamps of the sampling points of the time-series data segment and then resampling according to the sampling period. The offset amplitude does not exceed half a sampling period. Resampling is performed using linear interpolation. The abnormal log entry count channel does not participate in time warping. The trend label remains the same as before augmentation. Time warping is performed before normalization. Time warping changes the temporal rhythm of changes within the time-series data segment without changing the amplitude of the changes. Time warping is used in conjunction with additive Gaussian noise, amplitude scaling, and channel dropping. The number of windows after data augmentation is increased by 2 to 3 times, and the expanded windows are added to the training set.

[0159] The normal operating window used in pre-training is an unlabeled window, and the pre-training is semi-supervised. After pre-training, the projection layer is removed, and the parameters obtained from pre-training are retained for the local feature branch, trend feature branch, and fusion backbone. These parameters are used as the initial parameters for multi-task fine-tuning. The pre-training optimizer is AdamW, with a learning rate of 1e-3, weight decay of 1e-4, batch size of 256, and training for 50 epochs. Early stopping is performed on the contrastive loss on the validation set.

[0160] In another implementation, pre-training is performed using an autoencoder reconstruction method. The local feature branch, trend feature branch, and fusion backbone constitute the encoder. A reconstruction layer is added after the fusion backbone. The reconstruction layer is a fully connected layer. The number of output elements of the reconstruction layer is the product of the number of input channels and the number of sampling points. The output of the reconstruction layer is rearranged to have the same shape as the input channel data. The reconstruction loss is the mean square error. The reconstruction layer is removed after pre-training is completed.

[0161] Multi-task fine-tuning uses a multi-task joint loss to fine-tune the multi-task healthy model. During the fine-tuning phase, all parameters are unfrozen, and the parameters of local feature branches, trend feature branches, fusion backbone, anomaly detection head, quality grading head, and trend prediction head are all updated during fine-tuning. The multi-task joint loss includes focus loss, labeled smoothed cross-entropy loss, and Huber loss. Focus loss is used for the anomaly detection head, labeled smoothed cross-entropy loss for the quality grading head, and Huber loss for the trend prediction head. The focus loss is calculated as L_anom=−α_t·(1−p_t)^γ·log(p_t), where p_t is the prediction probability. When the label is anomaly, p_t is equal to the anomaly score 'a'; when the label is normal, p_t is equal to 1−a. α is set to 0.75, and γ is set to 2. The focus loss reduces the loss contribution of easily separable windows, and training is stable when the anomaly window is a minority class. The labeled smoothed cross-entropy loss is calculated as L_grad=−Σ_c[((1−ε)·y_c+ε / K)·log(p_c)], where y_c is the true level distribution, p_c is the health level distribution, ε is 0.1, and K is 4. Label smoothing reduces overfitting at the level boundaries. The Huber loss is calculated element-wise, averaging the loss calculated from the 64 elements output by the trend prediction head. The Huber loss is calculated linearly when the absolute value of the element error is greater than 0.1, and squared when the absolute value of the element error is less than or equal to 0.1. The Huber loss is robust to trajectory outliers. During the fine-tuning phase, the label for each window is determined by the window source. The outlier label for abnormal windows is 1, and the outlier label for normal operating condition windows is 0. The health level label is marked according to the out-of-limit situations within the window. The trend label is the running status parameter value of the 16 sampling points after the last sampling point of the window, and the trend label corresponds to the 64 elements output by the trend prediction head.

[0162] The multi-task joint loss is adaptively weighted using homoscedastic uncertainty, and the task weights used in the adaptive weighting are learnable parameters. The weighting method is as follows: L_total=Σ_{i∈{anom,grad,rul}}[1 / (2σ_i 2 The weights are calculated as [(L_i) + logσ_i], where σ_i is the task weight, and i represents the focus loss, labeled smoothing cross-entropy loss, and Huber loss for anom, grad, and rul, respectively. σ_i is initialized to 1.0 and is updated along with the network parameters during fine-tuning. σ_i is a learnable parameter, and the task weights are automatically determined by the training data, eliminating the need for manual adjustment of the weight ratios of the three tasks. Numerical stability is handled by using logσ_i. 2 For learnable parameters to participate in optimization, 1 / (2σ_i) 2The loss term and log σ_i are calculated using learnable parameters. The fine-tuning optimizer is AdamW, with a learning rate of 1e-3 and a weight decay of 1e-4. A 5-epoch warm-up is performed, followed by cosine annealing to schedule the learning rate. The batch size is 128, and training lasts 100 epochs. Normal and abnormal windows are extracted in a 3:1 ratio within the fine-tuning batch. Early stopping is performed on the validation set AUC-PR, with a patience of 10. Table 11 shows the loss term and task weight initialization during the fine-tuning phase.

[0163] Table 11

[0164]

[0165] After fine-tuning, the model is evaluated on the test set. The evaluation metric for anomaly detection is AUC-PR, the evaluation metric for quality grading is macro-F1, and the evaluation metrics for trend prediction are MAE and RMSE. After passing the evaluation, the model file is exported in ONNX format and then loaded and run by PC-based monitoring and analysis software. Semi-supervised pre-training enables the local feature branches, trend feature branches, and fusion backbone to learn the representation of normal operating conditions on an unlabeled normal operating condition window. Multi-task fine-tuning enables the three heads to learn their respective outputs on a shared representation. These two stages together constitute the complete training process of the multi-task health model.

[0166] Structured pruning starts with the trained FP32 model. It prunes the output channels of convolutional layers and the output neurons of fully connected layers according to the L1 norm of their weights. The target sparsity for convolutional layers is 40%, and for fully connected layers it is 50%. Hidden units in gated recurrent units are pruned by 50%, reducing the number of hidden units in each gated recurrent unit from 64 to 32. The number of input elements in the projection layer is adjusted according to the number of hidden units in the gated recurrent units. After pruning, accuracy is restored by fine-tuning for 10 epochs with a learning rate of 1e-4. After fine-tuning, the pruning mask is removed to obtain a compact model. The number of parameters after pruning is approximately 6.8 × 10⁻⁴. 4 The parameter values ​​are approximately half of those before pruning, and the statistical criteria for parameter values ​​are consistent with those in Table 8.

[0167] INT8 quantization is performed on the pruned model. The calibration samples are taken from a training set window of 512. The weights are quantized using a per-channel symmetric min-max method, and the activations are quantized using a per-tensor asymmetric min-max method or KL divergence method. The quantization formula is calculated as q=round(r / s)+z, where q is the quantization value, r is the floating-point value, s is the quantization step size, and z is the zero point. Quantization-aware training is an optional step. Quantization-aware training inserts pseudo-quantization nodes into the model and fine-tunes them over 1 to 2 epochs to compensate for quantization errors. The quantized model is exported in ONNX format. The PC monitoring and analysis software performs inference with INT8 precision via ONNXRuntime. The deployment verification condition is that the AUC-PR of the quantized model on the test set does not decrease by more than 1%. If the AUC-PR decreases by more than 1%, the number of calibration samples is increased or quantization-aware training is used.

[0168] The deployment acceptance of the multi-task health model sets accuracy targets. Deployment acceptance involves executing the quantized model on a test set. The AUC-PR for anomaly detection should be no less than 0.90, the macro-F1 score for quality grading no less than 0.85, and the MAE for trend prediction no more than 5% of the physical range of each parameter. If all three indicators are met simultaneously, the multi-task health model passes deployment acceptance. If the indicators are not met, training data should be added, hyperparameters adjusted, or training extended before retraining and re-evaluation. Deployment acceptance is completed before the multi-task health model is loaded into the PC-based monitoring and analysis software.

[0169] In a preferred embodiment of the present invention, the retesting mark includes a retest mark and a rejection mark. The retest mark indicates that the functional test result needs to be retested, and the rejection mark indicates that the embedded board needs to be rejected. When the same operating state parameter exceeds the preset threshold once during the functional test, a retest mark is generated on all functional test results. When the functional test result lacks a physical signature, a retest mark is generated on the functional test result. When the same operating state parameter exceeds the preset threshold multiple times during the functional test, a rejection mark is generated on all functional test results, and the rejection mark replaces the retest mark on all functional test results.

[0170] The re-inspection flags include "to be retested" and "to be removed" flags. When the "to be retested" and "to be removed" flags are enabled, the values ​​for the re-inspection flag field include "not found," "to be retested," and "to be removed." "Not found" is the initial value, while "to be retested" and "to be removed" are values ​​generated after the re-inspection flag is generated. The "to be retested" flag is displayed as the value of the re-inspection flag field, and the "to be removed" flag is displayed as the value of the re-inspection flag field. The "to be retested" flag indicates that the functional test result needs to be retested; the target is the test item corresponding to the functional test result, and the reviewer re-executes the functional test on the test item. The "to be removed" flag indicates that the embedded board needs to be removed; the target is the embedded board, and the reviewer removes the embedded board from the qualified batch.

[0171] When the same running status parameter exceeds a preset threshold during functional testing, the number of exception log entries is used to count the occurrences. The number of exception log entries for the same running status parameter is the number of exception log entries with timestamps within the functional testing period and parameter names. The functional testing period is the time range from the start time of the first test item execution window in the execution schedule to the end time of the last test item execution window in the execution sequence. Exception log entries with timestamps before the start time of the functional testing are not included in the statistics; these log entries are used to determine the source of the exception. When the number of exception log entries for the same running status parameter is 1, the parameter exceeds the preset threshold once during functional testing; when the number of exception log entries for the same running status parameter is greater than 1, the parameter exceeds the preset threshold multiple times during functional testing. When multiple running status parameters exceed the preset threshold, the determination of single and multiple exceedances is performed parameter by parameter, with each running status parameter being determined independently.

[0172] The tag generation is performed in the following order. After the physical signature verification is completed, the PC-side monitoring and analysis software counts the number of abnormal log entries for all operating status parameters, obtaining the single-time exceedance or multiple exceedance judgment results for each operating status parameter. When an operating status parameter exceeds the preset threshold once, the re-inspection tag field of all function test results is set to "to be retested"; when a function test result lacks a physical signature, the re-inspection tag field of the function test result is set to "to be retested," and the function test result whose re-inspection tag field is already set to "to be retested" retains the "to be retested" value and is not regenerated; when an operating status parameter exceeds the preset threshold multiple times, the re-inspection tag field of all function test results is set to "to be removed," and the "to be removed" tag replaces the "to be retested" tag on all function test results. The replacement scope includes the "to be retested" tags generated due to a single exceedance of the preset threshold and the "to be retested" tags generated due to the lack of a physical signature.

[0173] The re-inspection flag field takes one of the following values ​​in a single testing task: pending re-testing, pending removal, or non-existent. The same functional test result will not present two re-inspection flag values. The orphan certificate flag field is independent of the re-inspection flag field. When a functional test result lacks a physical signature, the orphan certificate flag coexists with either the pending re-testing flag or the pending removal flag in the functional test result. When the operating condition is abnormal and the number of abnormal log entries for all running status parameters during the functional test is 0, the generated re-inspection flag is the pending re-testing flag.

[0174] When the report is generated, if the re-inspection mark field value is "to be retested", the function test result will be marked as "to be retested" in the report; if the re-inspection mark field value is "to be removed", the function test result will be marked as "to be removed" in the report; if the re-inspection mark field value is "does not exist", the function test result will not be marked as "re-inspection mark".

[0175] Table 12 provides examples of tag generation for two detection tasks. The detection tasks in Table 12 are executed according to the timeline of the execution schedule in Table 1, with detection dates of 2026-05-23 and 2026-05-24 respectively.

[0176] Table 12

[0177]

[0178] In Table 12, the CPU utilization rate of the test task on May 23, 2026 generated one abnormal log during the functional test. The timestamp of the abnormal log was 14:02:10. The CPU utilization rate exceeded the preset threshold once, and a "to be retested" mark was generated on all functional test results. The functional test result corresponding to T02 lacked a physical signature, so the retest mark field of T02 was set to "to be retested", and T02 also showed an isolated certificate mark. T01 and T03 showed a "to be retested" mark. In Table 12, the temperature of the test task on May 24, 2026, generated two abnormal logs during the functional test, with timestamps of 14:03:12 and 14:04:31, indicating that the temperature exceeded the preset threshold multiple times. The core voltage generated one abnormal log during the functional test, with timestamp of 14:01:30, indicating that the core voltage exceeded the preset threshold once. The generation order was as follows: first, a "to be retested" mark was generated on all functional test results based on the single instance of the core voltage exceeding the preset threshold. T02 generated a "to be retested" mark and an "isolated evidence" mark due to the lack of a physical signature. When the temperature exceeded the preset threshold multiple times, a "to be removed" mark was generated on all functional test results. The "to be removed" mark replaced the "to be retested" mark on all functional test results. The "isolated evidence" mark of T02 was retained. The final retest mark values ​​of T01, T02, and T03 were all "to be removed". T02 showed both a "to be removed" mark and an "isolated evidence" mark.

[0179] In another implementation, the PC-based monitoring and analysis software and the automatic test report generation module are deployed on the server side, using a browser and server architecture. Multiple boards are connected to the server side via a unified network, and the test report is presented through the browser.

[0180] In another implementation, the one-dimensional causal convolutional layer of the local feature branch is replaced by a depthwise separable convolutional layer, which uses causal padding; the gated recurrent unit layer of the trend feature branch is replaced by a temporal convolutional network, and the output of the last time step of the output sequence of the temporal convolutional network is mapped to the temporal trend feature through a projection layer; a fault location head is added to the three task heads of the multi-task health model, the fault location head shares a shared representation, and outputs a fault type distribution, which includes four categories: voltage drop, thermal stress, memory leak simulation, and natural failure, corresponding to the fault type labels in the training set.

[0181] In another implementation, the training of the multi-task health model is performed on the server side, and the model file after training is completed is sent to the PC-side monitoring and analysis software, which then loads the model file and performs inference.

[0182] In another implementation, the PC-based monitoring and analysis software provides a monitoring visualization interface that displays operating status parameter curves and marker distributions.

[0183] In another implementation, the structured inspection report also includes the raw data elements of the time-series data.

[0184] In another implementation, the server performs batch-level statistical process control on the test data of multiple embedded boards of the same model. The statistical process control is executed as follows: after selecting health indicators, the test batch is taken as a subgroup, and the health indicator test values ​​of multiple boards within the subgroup are used to calculate the subgroup mean and subgroup range. A mean control chart and a range control chart are then plotted using the subgroup mean and range. The center line of the mean control chart is the mean of all subgroup means; the upper control limit of the mean control chart is the center line plus 3 times the standard deviation of the subgroup mean; the lower control limit of the mean control chart is the center line minus 3 times the standard deviation of the subgroup mean; and the control limits of the range control chart are based on the subgroup range. The constants for the mean and range control charts are calculated. If the mean of any subgroup exceeds the control limits, the corresponding batch is considered to have process drift, generating a batch-level alarm. For health indicators, process capability indices Cp and Cpk are calculated. Cp is the ratio of specification tolerance to 6 times the process standard deviation. Cpk is the smaller of the ratio of the difference between the upper specification limit and the process mean to 3 times the process standard deviation, and the ratio of the difference between the process mean and the lower specification limit to 3 times the process standard deviation. When Cp and Cpk are below 1, the process capability is considered insufficient, triggering process adjustments. An example control chart is presented as follows: Figure 5 As shown.

[0185] In another implementation, a digital twin model of the board's state space is constructed on the server side. The digital twin model is a state-space model, where the state vectors consist of the current values ​​of temperature, core voltage, CPU utilization, and memory utilization. The state transition matrix is ​​estimated from historical monitoring data using the least squares method. The estimation method involves taking state vectors from adjacent sampling points in the historical monitoring data to form sample pairs, and then solving the least squares solution of the state transition matrix using these sample pairs. The digital twin model takes the current operating condition's state vector as input and recursively calculates the predicted state values ​​for the next 16 sampling periods using the state transition matrix. The remaining availability is taken as the ratio of the number of sampling periods within a preset threshold to the total number of predicted states for the next 16 sampling periods. A potential failure warning is output when the remaining availability is below 0.8. The digital twin model is a lightweight state-space model, modeled using a sequence of operating state parameters, and does not establish a three-dimensional geometric model of the board. The structure of the digital twin model is as follows: Figure 6 As shown.

[0186] A circuit board health test report generation system includes an onboard self-monitoring agent, a functional test program and a network communication and reporting module deployed on an embedded board, and PC-side monitoring and analysis software and an automatic test report generation module deployed on a PC.

[0187] The onboard self-monitoring agent and the function testing program share the same clock source for timing. The function testing program performs function testing according to the execution schedule and generates function testing results with timestamps. The onboard self-monitoring agent is used to collect the running status parameters of the embedded board during function testing to obtain timing data. When any running status parameter exceeds a preset threshold, an exception log containing timestamps is generated.

[0188] The network communication and reporting module is used to report time-series data, anomaly logs, functional test results, and execution schedules to the PC-side monitoring and analysis software. The PC-side monitoring and analysis software is used to align the time-series data and functional test results by timestamp, determine the operating condition based on the aligned time-series data and anomaly logs, and verify the physical signature of the functional test results according to the execution schedule. The physical signature is used to characterize that the functional test was actually executed on the embedded board. When the functional test result lacks a physical signature, an isolated certificate mark and a re-inspection mark are generated on the functional test result. When the operating condition is abnormal, a re-inspection mark is generated on all functional test results. The isolated certificate mark is used to indicate that the functional test result lacks a physical signature.

[0189] The automatic test report generation module is used to generate structured test reports, which include functional test results and operating conditions, as well as isolated test evidence markers and retest markers.

[0190] This invention uses an onboard self-monitoring agent and a function testing program to share the same clock source for timing. This allows the operating status parameters collected during function testing and the function testing results to share the same timing source. After the PC aligns the two data points one by one according to the timestamp, a clock-domain-free correspondence is established between the operating data and the test results. This solves the problem in the prior art where the two data points belong to different acquisition entities and have different timing sources, making them unable to be associated. As a result, the test results generated under abnormal operating conditions can be perceived and traced. When the operating condition is abnormal, a re-inspection mark is generated on the function testing results, and unreliable test results are no longer directly accepted.

[0191] Meanwhile, this invention utilizes the known condition that the functional testing program executes according to the execution schedule. The physical state that the board should exhibit during the execution period of each test item is used as the physical signature of that test item. When a functional test result lacks the required physical trace within the corresponding execution period, it indicates that the test item was not actually executed or that the result was not generated by the board in this test. Since the physical signature comes from the onboard self-monitoring agent, a data channel independent of the functional testing program, the silent failure, missed test cases, or board cross-processing of the test program itself will not affect the determination of the physical signature. This allows the test record to obtain physical evidence independent of the record generator for the first time, solving the problem that test records cannot be identified even when they do not match the actual execution process. Based on this, the test report generates an isolated evidence marker to indicate that the test result lacks a physical signature, which is listed alongside the operating condition elements indicating abnormal board conditions. This distinguishes between two types of re-inspection reasons: board unhealthiness and failure to actually execute the test. The report is no longer just a carrier of test results but becomes a test credential with self-auditing capabilities.

[0192] The physical signature verification of this invention is based on the premise that the execution schedule is known. It is integrated with the existing process of onboard acquisition, data reporting, and report generation, and has low implementation cost. It is suitable for batch testing on the production line and random inspection of the factory.

[0193] The above provides a detailed description of the method and system for generating a circuit board health inspection report. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.

Claims

1. A method for generating a circuit board health inspection report, characterized in that, The method includes: An onboard self-monitoring agent and a function detection program that share the same clock source run on the embedded board. The function detection program performs function detection according to the execution schedule and generates function detection results with timestamps. The onboard self-monitoring agent collects the running status parameters of the embedded board to obtain timing data during the function detection. When any running status parameter exceeds a preset threshold, an exception log containing timestamps is generated. The time-series data, the anomaly log, the function test results, and the execution schedule are reported to the PC-side monitoring and analysis software. The PC-side monitoring and analysis software aligns the time-series data and the function test results according to the timestamp, determines the working condition based on the aligned time-series data and the anomaly log, and verifies the physical signature of the function test results according to the execution schedule. The physical signature is used to characterize that the function test is actually executed on the embedded board. When the function test result lacks a physical signature, an isolated certificate mark and a re-inspection mark are generated on the function test result. When the working condition is abnormal, a re-inspection mark is generated on all the function test results. The isolated certificate mark is used to indicate that the function test result lacks a physical signature. Generate a structured test report, which includes the functional test results and the operating conditions, as well as the isolated evidence marker and the retest marker.

2. The method according to claim 1, characterized in that, The operating status parameters include temperature, core voltage, CPU utilization, and memory utilization; the execution schedule includes the execution window for each test item, defined by a start time and an end time; the verification conditions for the physical signature are configured corresponding to the test items, and the verification conditions include one or more of the following: The CPU utilization rate within the test execution window is higher than the first preset value; The memory usage rate within the test execution window is higher than the second preset value; The core voltage fluctuates within the test item execution window. The core voltage fluctuation occurs when the difference between the maximum and minimum values ​​of the core voltage within the test item execution window is greater than the fluctuation threshold. The temperature rises within the test execution window, where the temperature rises when the difference between the last sampled value and the first sampled value of the temperature within the test execution window is greater than the rise threshold. The verification condition is used to determine whether the expected load characteristics of the test item are presented in the test item execution window; When all items in the aligned timing data within the test item execution window satisfy the verification conditions, it is determined that the functional test result corresponding to the test item has a physical signature. When the number of aligned timing data items in the test item execution window that satisfy the verification conditions is less than the total number of items for the verification conditions, it is determined that the function detection result corresponding to the test item lacks a physical signature.

3. The method according to claim 2, characterized in that, The onboard self-monitoring agent collects data at a sampling period of 1 second.

4. The method according to claim 3, characterized in that, The anomaly log also includes out-of-limit values, which are the measured values ​​when the parameter exceeds the preset threshold.

5. The method according to claim 4, characterized in that, The onboard self-monitoring agent begins collecting data before the function testing program starts; the start time of the function testing is the start time of the execution window of the first test item in the execution schedule; when the running status parameters exceed the preset threshold within a period before the start time of the function testing, an anomaly log containing a timestamp is generated; the PC-side monitoring and analysis software determines the source of the anomaly based on the timestamp of the first anomaly log and the execution schedule, wherein the first anomaly log is the anomaly log with the earliest timestamp; When the timestamp of the first abnormal log is earlier than the start time of the functional detection, the source of the abnormality is determined to be an existing fault; when the timestamp of the first abnormal log is not earlier than the start time of the functional detection, the source of the abnormality is determined to be a detection-induced fault; when the abnormal log has been generated, the structured detection report contains the source of the abnormality.

6. The method according to claim 5, characterized in that, The PC-based monitoring and analysis software segments the aligned time-series data using a sliding time window with a length of 64 sampling points. The starting sampling point interval between adjacent sliding time windows is 8 sampling points. The segmented time-series data segments are used as input for the operating condition determination. Each time-series data segment contains the number of abnormal log entries, which is the number of abnormal log entries whose timestamps are located between the first and last sampling times of the time-series data segment.

7. The method according to claim 6, characterized in that, The operating condition determination is performed through a multi-task health model, the input of which is the time-series data segment. include: The local feature branch, consisting of a one-dimensional causal convolutional layer and a pooling layer, is used to extract local mutation features from the time-series data segment. The trend feature branch, consisting of a gated loop unit layer, is used to extract time-series trend features from the time-series data segment. A fusion backbone is used to concatenate the local mutation features and the temporal trend features, and then generate a shared representation through a fully connected layer; The system includes an anomaly detection head, a quality grading head, and a trend prediction head. The anomaly detection head, the quality grading head, and the trend prediction head share the shared representation. The anomaly detection head outputs an anomaly score, the quality grading head outputs a health level, which includes four levels: excellent, good, medium, and poor. The trend prediction head outputs the future indicator trajectory. The PC-based monitoring and analysis software determines the operating condition based on the anomaly score of all the time-series data segments. When the anomaly score of at least one of the time-series data segments is higher than a preset determination threshold, the operating condition is determined to be abnormal. The structured detection report also includes the health level and the future indicator trajectory. The health level is the worst level among all the health levels of the time series data segments, and the future indicator trajectory is the indicator trajectory output by the trend prediction head for the last time series data segment.

8. The method according to claim 7, characterized in that, Semi-supervised pre-training was performed on the local feature branch, the trend feature branch, and the fusion backbone using normal operating condition samples. The multi-task health model is fine-tuned using a multi-task joint loss, which includes focus loss, labeled smoothed cross-entropy loss, and Huber loss. The focus loss is used for the anomaly detection head, the labeled smoothed cross-entropy loss is used for the quality grading head, and the Huber loss is used for the trend prediction head. The multi-task joint loss is adaptively weighted using homoscedastic uncertainty, and the task weights used in the adaptive weighting are learnable parameters.

9. The method according to claim 8, characterized in that, The retesting marker includes a retesting marker and a rejection marker. The retesting marker indicates that the functional test result needs to be retested, and the rejection marker indicates that the embedded board needs to be rejected. When the same operating status parameter exceeds the preset threshold once during the function test, a retest mark is generated on all the function test results. When the function test result lacks a physical signature, a retest mark is generated on the function test result; When the same operating status parameter exceeds the preset threshold multiple times during the function test, a rejection mark is generated on all the function test results, and the rejection mark replaces the retest mark on all the function test results.

10. A circuit board health inspection report generation system, characterized in that, This includes onboard self-monitoring agents, function testing programs, and network communication and reporting modules deployed on embedded boards, as well as PC-side monitoring and analysis software and automatic test report generation modules deployed on PCs. The onboard self-monitoring agent and the function detection program share the same clock source for timing. The function detection program performs function detection according to the execution schedule and generates function detection results with timestamps. The onboard self-monitoring agent is used to collect the running status parameters of the embedded board during function detection to obtain timing data. When any running status parameter exceeds a preset threshold, an abnormal log containing timestamps is generated. The network communication and reporting module is used to report the time-series data, the anomaly log, the function detection results, and the execution schedule to the PC-side monitoring and analysis software. The PC-based monitoring and analysis software is used to align the time-series data with the function detection results according to the timestamp, determine the working condition based on the aligned time-series data and the abnormal log, and verify the physical signature of the function detection results according to the execution schedule. The physical signature is used to characterize that the function detection is actually executed on the embedded board. When the function test result lacks a physical signature, an isolated certificate mark and a re-inspection mark are generated on the function test result. When the working condition is abnormal, a re-inspection mark is generated on all the function test results. The isolated certificate mark is used to indicate that the function test result lacks a physical signature. The automatic test report generation module is used to generate a structured test report, which includes the functional test results and the operating conditions, as well as the isolated evidence marker and the re-inspection marker.