Automatic test method, device and equipment for cold start performance of vehicle-mounted system

By using automated testing methods, the problems of low efficiency and large errors in the cold start performance testing of vehicle systems have been solved, achieving full-process automation and high-precision test results, thus improving testing efficiency and fault diagnosis efficiency.

CN121901067APending Publication Date: 2026-04-21NINGBO JOYNEXT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
NINGBO JOYNEXT TECH CO LTD
Filing Date
2025-11-27
Publication Date
2026-04-21

AI Technical Summary

Technical Problem

In existing technologies, cold start performance testing of vehicle systems relies on manual methods, resulting in low testing efficiency, large timing errors, difficulty in correlating timeout points with logs, and cumbersome and inaccurate analysis processes.

Method used

An automated testing approach is adopted, which automatically triggers a cold start by obtaining predefined test configuration information, monitors system logs in real time, captures the actual timestamps of key nodes, generates performance test reports, identifies timeout nodes, and saves associated log fragments.

Benefits of technology

It has achieved full automation of the system cold start performance test, eliminated errors introduced by manual operation, improved test efficiency and repeatability, accurately identified timeout nodes, simplified fault diagnosis, and improved analysis and diagnosis efficiency and reliability of results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121901067A_ABST
    Figure CN121901067A_ABST
Patent Text Reader

Abstract

The invention provides an automatic test method, device and equipment for the cold starting performance of a vehicle-mounted system.The automatic test method comprises the following steps that predefined test configuration information is obtained, and the test configuration information comprises a system starting process and test content of at least one function starting stage; the test content comprises a plurality of key nodes to be monitored in the process and target time thresholds corresponding to the key nodes; automatically triggering cold start of the vehicle-mounted system, monitoring a system log in real time in the cold start process, and capturing an actual occurrence timestamp of each key node based on a plurality of key nodes defined in the test configuration information; and comparing the actual time consumption of each key node with a corresponding target time threshold, identifying a time-out key node, and generating a performance test report based on a comparison result. According to the invention, the problems of low efficiency, large timing error and difficult association between the overtime node and the log caused by dependence on manual testing in the prior art are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of automated testing technology, and more specifically, to an automated testing method, apparatus, and equipment for the cold start performance of an in-vehicle system. Background Technology

[0002] As vehicles become increasingly intelligent, in-vehicle infotainment (IVI) systems are becoming more complex, and their startup speed and responsiveness directly impact user experience. During vehicle development and testing, cold start performance testing of IVI systems is a crucial step in evaluating their stability and smoothness. Currently, the industry commonly uses manual testing methods for testing the cold start performance of IVI systems. However, this manual testing approach has inherent drawbacks: testers manually trigger restarts, visually determine startup completion, and use a stopwatch, resulting in low testing efficiency, significant subjective influence on timing results, and the need for manual troubleshooting of fault nodes from the full log file when timeouts occur—a cumbersome and inaccurate analysis process. Summary of the Invention

[0003] The problem addressed by this invention is how to solve the problems of low efficiency, large timing errors, and difficulty in associating timeout nodes with logs caused by reliance on manual testing in the prior art.

[0004] To address the above problems, this invention provides an automated testing method for the cold start performance of an in-vehicle system. The automated testing method includes the following steps: S1: Obtain predefined test configuration information. The test configuration information includes the system startup process and the test content of at least one function startup phase. The test content includes multiple key nodes to be monitored in the process and the target time threshold corresponding to each key node. S2: Automatically triggers the cold start of the vehicle system, and during the cold start process, monitors the system log in real time, and captures the actual timestamp of each key node based on multiple key nodes defined in the test configuration information; S3: Compare the actual time consumed by each key node with the corresponding target time threshold, identify the key nodes that time out, and generate a performance test report based on the comparison results; Specifically, for identified critical timeout nodes, related log segments within a preset time window before and after the occurrence of the critical node are automatically saved.

[0005] Compared to existing technologies, the technical effects achieved by adopting this solution are as follows: By predefining test configuration information, it unifies the testing standards and node targets for the system and each function's startup phase, and automates the entire process from cold start triggering and node monitoring to report generation, completely eliminating errors and inconsistencies introduced by manual operation, and significantly improving testing efficiency and repeatability. By real-time monitoring of system logs and automatically capturing precise timestamps of key nodes, it replaces the timekeeping method relying on manual visual inspection and stopwatches, effectively avoiding errors caused by subjective reaction delays, thus obtaining more accurate and reliable time consumption data. By automatically comparing the actual time consumption with the target threshold, it can quickly and accurately identify key timeout nodes and intelligently save local log fragments related to the time before and after the problem occurred. This simplifies the log data volume, allowing developers to directly focus on the problem, quickly locate the root cause, and greatly improve the efficiency of analysis and diagnosis.

[0006] Furthermore, obtaining predefined test configuration information includes the following steps: the test configuration information is defined in a structured configuration file.

[0007] Compared with existing technologies, the technical effects achieved by adopting this technical solution are as follows: Through structured configuration files, testers can flexibly add, delete, and modify key nodes and target thresholds to be tested without modifying the source code of the test program. This decouples the test strategy from the test execution, significantly improves the maintainability of the test suite, enhances the flexibility to meet different test requirements, and reduces adaptation costs.

[0008] Furthermore, capturing the actual timestamps of each key node includes the following steps: identifying and capturing the actual timestamps of key nodes by parsing the log output containing specific keywords embedded in the system code.

[0009] Compared to existing technologies, the technical effects achieved by adopting this solution are as follows: By pre-embedding logs with specific identifiers in the critical paths of the system code and utilizing automatic program parsing and identification, the subjective errors and reaction delays of manual timing are completely eliminated, achieving millisecond-level timestamp capture accuracy, and the results are completely objective and reproducible. This method deeply integrates node monitoring into the system operation process, realizing uninterrupted and automated monitoring of the entire startup process. Compared to manual observation, it can reliably capture internal nodes that are brief or not displayed on the user interface, ensuring the integrity and reliability of test data.

[0010] Furthermore, to identify and capture the actual timestamps of key events, the following steps are included: matching specific keywords in the log output using regular expressions to accurately capture the actual timestamps of key events.

[0011] Compared to existing technologies, the technical benefits of this solution are as follows: Leveraging the powerful pattern matching capabilities of regular expressions, it can accurately identify key nodes in logs that conform to complex patterns, effectively avoiding misidentification or omissions that may occur with simple text matching. It also supports flexible adaptation to changes in log format, significantly improving the accuracy and reliability of node capture. Using regular expressions as configurable matching rules allows the same testing framework to adapt to different log formats or the addition of new key nodes by updating expression patterns, without modifying the core program code. This reduces the strong dependence on system log formats and greatly enhances the versatility and maintainability of the testing solution.

[0012] Furthermore, automatically triggering a cold start of the vehicle system includes the following steps: achieving a cold start by sending a power management command to the vehicle's control system.

[0013] Compared with existing technologies, the technical effects achieved by adopting this technical solution are as follows: cold starts are automatically triggered by standardized power management commands, completely replacing the manual power-off and restart operation, eliminating the differences in test conditions caused by inconsistent timing and force of manual operation, and ensuring that the initial state of each test is completely consistent.

[0014] Furthermore, during the cold start process, the system logs are monitored in real time. The real-time monitoring of the system logs includes the following steps: automatically and continuously completing the system startup process based on the test configuration information, and performance monitoring of all specified function startup phases.

[0015] Compared to existing technologies, the technical benefits of this solution are as follows: It enables automated performance monitoring of the entire process from system startup to the loading of upper-level functional modules through a single cold start, completely changing the inefficient traditional manual testing model that requires multiple restarts and phased timing, significantly improving testing efficiency. Monitoring based on unified test configuration information eliminates random errors introduced by test intervals and environmental changes during manual phased testing, ensuring high comparability of test results from different rounds and versions, thus providing reliable data for performance optimization.

[0016] Furthermore, automatically saving related log segments within a preset time window before and after the occurrence of critical nodes includes the following steps: using a circular buffer to cache system logs in real time, and extracting related log segments within a preset time window from the circular buffer when a timeout critical node is identified.

[0017] Compared with existing technologies, the technical effects achieved by adopting this solution are as follows: Through the circular buffer data structure, real-time pipelined caching of system logs can be implemented within a limited memory space, avoiding the huge storage space occupation and continuous pressure on system I / O caused by traditional full log storage methods, thus significantly improving system resource utilization efficiency. The circular overwrite characteristic of the circular buffer enables it to handle continuous log output. Even if the system runs for a long time or generates a large number of logs, it will not crash or lose logs due to storage space exhaustion, ensuring the continuity and stability of the testing process.

[0018] Furthermore, a performance test report is generated based on the comparison results, including the following steps: the performance test report includes at least a list of timeout critical nodes, the deviation data of the actual time consumption of each node from the target time threshold, and the index path of the saved associated log segments.

[0019] Compared with existing technologies, the technical effects achieved by adopting this technical solution are as follows: By providing a structured report containing a list of key timeout nodes and specific deviation data, testers can quickly identify the performance bottlenecks during system startup, avoiding the traditional performance analysis mode of manually checking full logs, and significantly improving the efficiency and accuracy of problem localization.

[0020] To address the aforementioned issues, this invention provides an automated testing device for the cold start performance of an in-vehicle system. This device implements the automated testing method for the cold start performance of an in-vehicle system provided by the aforementioned technical features. The automated testing device includes: a configuration acquisition module, an execution control module, a monitoring and capture module, and an analysis and reporting module. The configuration acquisition module acquires predefined test configuration information. The execution control module automatically triggers the cold start of the in-vehicle system. The monitoring and capture module listens to system logs in real time during the cold start process and captures the actual timestamps of key events. The analysis and reporting module compares the actual time consumption with a target time threshold, identifies timeout key events, generates a performance test report, and automatically saves associated log fragments.

[0021] Compared to existing technologies, the technical benefits of this solution are as follows: By integrating four core modules—configuration acquisition, execution control, monitoring capture, and analysis reporting—into a complete automated testing system, previously fragmented manual operations are consolidated. Each module has a clear division of labor and smooth data flow, achieving seamless integration across the entire process from test configuration and cold start triggering to performance data acquisition and result analysis, significantly improving test execution efficiency and systemicity. The modular architecture allows the device to flexibly adapt to different testing needs and hardware platforms. Test strategies can be adjusted by updating the input of the configuration acquisition module without modifying the core architecture, ensuring standardized testing processes while providing excellent scalability to address future evolving testing requirements.

[0022] To address the aforementioned problems, this invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the automated testing method for the cold start performance of the vehicle system provided by the aforementioned technical features.

[0023] Compared with existing technologies, the technical effects achieved by adopting this solution are as follows: the processor of the electronic device precisely executes program instructions, completely eliminating the randomness and uncertainty of manual operation. Simultaneously, the stable operating environment at the hardware level ensures that the testing process is free from external interference, allowing tests at different times and in different batches to be conducted under identical conditions, thus guaranteeing extremely high repeatability and comparability of the test results.

[0024] In summary, the technical solutions described above in this application have one or more of the following advantages or beneficial effects: i) By automating the entire process from test configuration, cold start triggering, node monitoring to result generation, traditional manual operations are completely replaced, significantly improving testing efficiency and consistency. ii) Based on the automatic parsing and timestamp capture mechanism of system logs, subjective errors in manual timing are eliminated, enabling test results to have millisecond-level accuracy and complete reproducibility. iii) By automatically comparing thresholds, identifying timeout nodes, and accurately saving related log fragments, rapid problem location and root cause analysis are achieved, greatly improving fault diagnosis efficiency. iv) The modular design and structured configuration allow the solution to flexibly adapt to different vehicle models, hardware platforms, and software versions, significantly enhancing the scalability and reusability of the testing framework. Attached Figure Description

[0025] Figure 1 This is a flowchart of an automated testing method for the cold start performance of an in-vehicle system according to an embodiment of the present invention; Figure 2 This is a block diagram of an automated testing device for the cold start performance of an in-vehicle system in an embodiment of the present invention. Detailed Implementation

[0026] The purpose of this invention is to provide an automated testing method, apparatus, and equipment for the cold start performance of an in-vehicle system, which can achieve full automation of the testing process, high-precision acquisition of time consumption at key nodes, and intelligent diagnosis of timeout issues and accurate correlation of logs.

[0027] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0028] See Figures 1-2This invention provides an automated testing method for the cold start performance of an in-vehicle system. The automated testing method includes the following steps: S1: Obtain predefined test configuration information. The test configuration information includes the system startup process and the test content of at least one function startup phase. The test content includes multiple key nodes to be monitored in the process and the target time threshold corresponding to each key node. S2: Automatically triggers the cold start of the vehicle system, and during the cold start process, monitors the system log in real time, and captures the actual timestamp of each key node based on multiple key nodes defined in the test configuration information; S3: Compare the actual time consumed by each key node with the corresponding target time threshold, identify the key nodes that time out, and generate a performance test report based on the comparison results; Specifically, for identified critical timeout nodes, related log segments within a preset time window before and after the occurrence of the critical node are automatically saved.

[0029] Specifically, the core process of automated testing of vehicle system cold start performance is achieved through end-to-end automated execution, with the following steps: Pre-define test configuration information using a structured configuration file. This information must fully cover the entire system startup process and the startup stages of each function (such as navigation module startup, HMI interface (human-machine interface, i.e., the visual interface responsible for "user interaction with vehicle system") loading stage, etc.). The configuration content must clearly define the key nodes to be monitored in each stage, such as "power on", "kernel initialization completed", "application loading and startup", "functional modules can interact normally", etc., and set corresponding target time thresholds for each key node (such as kernel initialization target time ≤ 500ms, HMI interface loading target time ≤ 1500ms).

[0030] By sending standardized power management commands to the vehicle control system (such as cutting off the power supply and then re-energizing it after a preset delay), the cold start of the vehicle system is automatically triggered. During the cold start process, the test system captures the system output logs in real time through the log listening interface, and accurately identifies and records the actual timestamps of each key node (accurate to the millisecond level) by combining the key nodes defined in the configuration information.

[0031] The testing system calculates the actual time consumption of each node (the difference between the timestamps of adjacent key nodes) based on the captured key node timestamps and automatically compares it with a preset target time threshold. If the actual time consumption of a node exceeds the corresponding threshold, it is marked as a timeout key node. Simultaneously, for all timeout key nodes, the system automatically extracts and saves related log segments within a preset time window (e.g., 500ms before and after) before and after the occurrence time. Finally, a performance test report is generated based on the comparison results. The report must include core content such as basic test information, key node time consumption statistics, timeout node details, and related log storage paths.

[0032] In one embodiment of the present invention, obtaining predefined test configuration information includes the following steps: the test configuration information is defined in a structured configuration file.

[0033] Specifically, the test configuration information is defined using a structured JSON file. The file content is clearly divided into hierarchical levels for core test parameters, and can be directly read and used without modifying the test program source code. It includes the following key parts: The basic information of a test task includes a unique "test task ID" to distinguish different test tasks and facilitate result traceability and management.

[0034] The system startup process identifier clearly identifies the corresponding startup process type for testing, and can be switched to different scenarios as needed.

[0035] The feature startup phase list is an array containing at least one feature startup phase. Each phase is independently configured with test content. The example includes two phases: "System Kernel Startup" and "Navigation Function Startup." Each phase includes: a phase name and a list of key nodes. The phase name clearly identifies the current functional module or startup stage being tested. The list of key nodes is an array storing all key nodes that need to be monitored in the current phase. Each node includes: a node name, a node identifier keyword, and a target time threshold. The node name describes the specific meaning of the key node; the node identifier keyword is a unique identification character for the corresponding key node in the system log, used for accurate node matching during log parsing; the target time threshold is the maximum allowed time for that node (e.g., kernel initialization completion ≤ 500ms, navigation map rendering completion ≤ 1200ms).

[0036] The log cache window configuration uniformly sets the extraction time range of logs associated with timeout nodes (e.g., 500ms), which means automatically saving log segments within 500ms before and after the timeout node occurs.

[0037] In one embodiment of the present invention, capturing the actual occurrence timestamps of each key node includes the following steps: identifying and capturing the actual occurrence timestamps of key nodes by parsing the log output containing specific keywords embedded in the system code.

[0038] Specifically, log output statements containing specific keywords are pre-embedded in the critical execution paths of the vehicle system source code.

[0039] In one embodiment of the present invention, identifying and capturing the actual occurrence timestamp of a key node includes the following steps: matching specific keywords in the log output using regular expressions to accurately capture the actual occurrence timestamp of the key node.

[0040] Specifically, the testing system uses regular expressions to parse real-time system logs to match key node identifier keywords and extract timestamps. For the aforementioned log format, the regular expression rule is set as: ([A-Z_]+),TIMESTAMP:(\d+), where the first capture group is used to identify key node names, and the second capture group is used to extract the corresponding timestamp values. If the log content does not conform to this pattern (such as ordinary debug logs or error logs), it is directly filtered out without data extraction, ensuring that only valid information of key nodes is obtained. This accurately filters invalid logs, avoids misidentification or omission of keywords, and ensures the accuracy of timestamp capture.

[0041] Furthermore, "([A-Z_]+)" matches key node identifier keywords; ", TIMESTAMP:" fixes the matching of delimiter character segments in the log, ensuring that the standard format before the timestamp field is located, avoiding mismatches with other irrelevant logs containing "TIMESTAMP"; "(\d+)" matches timestamp values.

[0042] In one embodiment of the present invention, automatically triggering a cold start of the vehicle system includes the following steps: achieving a cold start by sending a power management command to the vehicle's control system.

[0043] Specifically, the cold start is triggered by standardized power management commands. The test system establishes a communication connection with the vehicle control system through the vehicle hardware interface (CAN bus) and sends a sequence of power control commands according to the ISO 15765 protocol specification (the data transmission protocol specification for on-board diagnostic systems (OBD) on the CAN bus developed by the International Organization for Standardization (ISO): sending a "power off command" to completely power off the vehicle system; maintaining the power off state for a preset time to ensure that the system capacitors are fully discharged and reach the initial state of cold start; and sending a "power on command" to trigger the system to start and start the test timing at the same time.

[0044] Preferably, this method eliminates the need for manual operation of the power switch, ensuring consistent triggering conditions for each cold start and eliminating test deviations caused by manual operation.

[0045] In one embodiment of the present invention, during the cold start process, the system log is monitored in real time. The real-time monitoring of the system log includes the following steps: automatically and continuously completing the system startup process based on the test configuration information, and performance monitoring of all specified function startup stages.

[0046] Specifically, during the cold start process, the test system establishes a continuous connection with the vehicle system log output port via a serial port or Ethernet interface, and performs automated log monitoring based on predefined test configuration information: the monitoring process starts from the moment the power-on command is sent and ends when the system has started up and all specified functional modules have been loaded, capturing log data continuously throughout the process; for each functional startup stage defined in the configuration file (such as system kernel startup, HMI interface startup, navigation function startup, etc.), the key node logs of the corresponding stage are monitored sequentially according to the startup process order, without the need for manual switching of monitoring objects; during the monitoring process, real-time caching and preliminary parsing of log data are completed simultaneously, providing data support for the capture of key node timestamps and ensuring the synchronization of monitoring and startup process.

[0047] In one embodiment of the present invention, automatically saving associated log segments within a preset time window before and after the occurrence of a critical node includes the following steps: using a circular buffer to cache system logs in real time, and extracting associated log segments within the preset time window from the circular buffer when a timeout critical node is identified.

[0048] Specifically, a fixed-capacity circular buffer is initialized to store real-time received system log data, using a FIFO (First In, First Out) model to cyclically overwrite old logs. When a critical timeout node is identified, its timestamp is immediately recorded, and a log extraction range is calculated based on a preset time window (e.g., 500ms). All log data within this time range is extracted from the circular buffer, generating a separate log file (named: timeout node name_timestamp.log), which is then stored in a specified path, while simultaneously updating the log index information. This method avoids the excessive space consumption problem caused by storing the entire log, retaining only critical log segments related to the timeout issue.

[0049] In one embodiment of the present invention, generating a performance test report based on the comparison results includes the following steps: the performance test report includes at least a list of timeout critical nodes, deviation data of the actual time consumption of each node from the target time threshold, and the index path of the saved associated log segments.

[0050] Specifically, the performance test report should be generated in PDF format and must include at least the following core modules: Basic test information: test task ID, test time, vehicle system model, and test environment parameters (such as temperature and voltage); List of key timeout nodes: arranged in chronological order, including node name, functional stage, actual time consumption, target time threshold, and timeout difference; Key node time consumption statistics: presenting a table comparing the actual time consumption of all monitored nodes with the target threshold, and indicating normal / timeout status; Related log index: providing the corresponding related log fragment storage path (local path or network shared path), log file name, and time range for each timeout node; Test conclusion: summarizing the overall performance of the system's cold start, identifying the main performance bottlenecks, and proposing optimization suggestions.

[0051] See Figure 2 This invention provides an automated testing device for the cold start performance of an in-vehicle system, used to implement the automated testing method for the cold start performance of an in-vehicle system provided by the above-mentioned technical features. The automated testing device includes: a configuration acquisition module, an execution control module, a monitoring and capture module, and an analysis and reporting module; wherein, the configuration acquisition module is used to acquire predefined test configuration information; the execution control module is used to automatically trigger the cold start of the in-vehicle system; the monitoring and capture module is used to monitor the system log in real time during the cold start process and capture the actual occurrence timestamps of key nodes; the analysis and reporting module is used to compare the actual time consumption with the target time threshold, identify key timeout nodes, generate a performance test report, and automatically save the associated log fragments.

[0052] Specifically, the automated testing device is implemented through the collaboration of hardware modules and software functional modules. The specific composition and function of each module are as follows: Configuration Acquisition Module: Composed of a configuration file parsing unit and an interface unit. The interface unit supports reading local configuration files or receiving remote configuration commands over the network. The parsing unit is responsible for converting structured configuration files into parameter formats that the test system can recognize, extracting core configuration data such as system startup process, key node information, and target time thresholds, and transmitting them to other functional modules.

[0053] The execution control module includes an instruction generation unit, a CAN bus communication unit, and a timing control unit. The instruction generation unit generates power management instructions and test control instructions based on the configuration information. The CAN bus communication unit is responsible for sending instructions and receiving status feedback. The timing control unit precisely controls the timing and interval of instruction sending to ensure that the cold start triggering process meets the test requirements.

[0054] The monitoring and capture module consists of a log receiving unit, a log parsing unit, a timestamp capture unit, and a circular buffer. The log receiving unit receives system logs in real time, the parsing unit matches key node logs using regular expressions, the timestamp capture unit extracts the precise timestamps corresponding to the nodes, and the circular buffer caches log data in real time to support subsequent log extraction.

[0055] The analysis report module includes a data comparison unit, a log processing unit, a report generation unit, and a storage unit. The data comparison unit compares the actual time consumption with the target threshold and identifies timeout nodes. The log processing unit extracts log fragments associated with timeout nodes. The report generation unit generates a PDF test report according to the specifications. The storage unit is responsible for the persistent storage of the report and log files.

[0056] The present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements an automated testing method for the cold start performance of an in-vehicle system provided by the above-mentioned technical features.

[0057] While the present invention has been disclosed above, it is not limited thereto. Any person skilled in the art can make various modifications and alterations without departing from the spirit and scope of the invention; therefore, the scope of protection of the present invention should be determined by the scope defined in the claims.

Claims

1. An automated testing method for the cold start performance of an in-vehicle system, characterized in that, The automated testing method includes the following steps: Obtain predefined test configuration information, which includes the system startup process and test content for at least one function startup phase. The test content includes multiple key nodes to be monitored in the process and the target time threshold corresponding to each key node. The system automatically triggers a cold start of the vehicle system and monitors the system logs in real time during the cold start process. Based on the multiple key nodes defined in the test configuration information, the system captures the actual timestamps of each key node. The actual time consumed by each key node is compared with the corresponding target time threshold to identify the key nodes that time out, and a performance test report is generated based on the comparison results. Specifically, for identified critical timeout nodes, related log segments within a preset time window before and after the occurrence of the critical node are automatically saved.

2. The automated testing method for the cold start performance of an on-board system according to claim 1, characterized in that, The process of obtaining predefined test configuration information includes the following steps: The test configuration information is defined using a structured configuration file.

3. The automated testing method for the cold start performance of an on-board system according to claim 2, characterized in that, The process of capturing the actual timestamps of each key node includes the following steps: By parsing the log output containing specific keywords embedded in the system code, the actual timestamps of the key nodes can be identified and captured.

4. The automated testing method for the cold start performance of an on-board system according to claim 3, characterized in that, The process of identifying and capturing the actual timestamp of the key node includes the following steps: The log output is matched with specific keywords using regular expressions to accurately capture the actual timestamps of the key nodes.

5. The automated testing method for the cold start performance of an on-board system according to claim 1, characterized in that, The automatic cold start triggering of the vehicle system includes the following steps: The cold start is achieved by sending power management commands to the vehicle's control system.

6. The automated testing method for the cold start performance of an on-board system according to claim 1, characterized in that, During the cold start process, the system logs are monitored in real time. The real-time monitoring of the system logs includes the following steps: Based on the test configuration information, the system startup process is completed automatically and continuously, and the performance monitoring of all specified function startup phases is performed.

7. The automated testing method for the cold start performance of an on-board system according to claim 1, characterized in that, The automatic saving of associated log segments within a preset time window before and after the occurrence of key nodes includes the following steps: A circular buffer is used to cache system logs in real time, and when a critical timeout node is identified, the relevant log fragments within a preset time window are extracted from the circular buffer.

8. The automated testing method for the cold start performance of an on-board system according to claim 1, characterized in that, The process of generating a performance test report based on the comparison results includes the following steps: The performance test report shall include at least a list of timeout critical nodes, the deviation data of the actual time consumption of each node from the target time threshold, and the index path of the saved associated log segments.

9. An automated testing device for the cold start performance of an on-board system, characterized in that, An automated testing method for achieving the cold start performance of an in-vehicle system as described in any one of claims 1 to 8, wherein the automated testing apparatus comprises: A configuration acquisition module is used to acquire predefined test configuration information. An execution control module is used to automatically trigger a cold start of the vehicle system. The monitoring and capture module is used to listen to the system logs in real time during the cold start process and capture the actual timestamps of key nodes. The analysis report module is used to compare the actual time consumption with the target time threshold, identify key timeout nodes, generate performance test reports, and automatically save related log fragments.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements an automated testing method for the cold start performance of the vehicle system as described in any one of claims 1 to 8.