Automatic testing and positioning method, device, equipment, storage medium and program product for instantaneous startup exception of in-vehicle infotainment system
By building an automated bench model in the vehicle machine system to simulate the sleep wake-up state, obtain log data and perform functional tests, the problems of inefficient and insufficient accuracy of the instantaneous start-up abnormal test in the existing technology are solved, efficient and accurate automated testing is achieved, and the stability and reliability of the vehicle machine system are improved.
Patent Information
- Application Number
- CN202510002789.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-02
- Publication Date
- 2025-05-02
AI Technical Summary
The test methods for instantaneous start-up abnormalities in the existing technology of vehicle machines are not mature enough. They rely on the real vehicle environment, are inefficient, and cannot accurately locate the reasons for STR failure, cannot obtain log data in real time, and the test scenario is single, and the limit conditions cannot be applied or pressure measurement in complex scenarios is not carried out, which limits the comprehensiveness and depth of the test.
By building an automated bench model, the hibernation and wake-up state of the vehicle system is simulated and detected, the system log data is obtained, and the log data is filtered using functional tests to determine the instantaneous startup abnormality status and determine the test results. Based on the test results, the vehicle machine instantaneous startup abnormality is accurately positioned and the automation test is completed.
It significantly improves the accuracy and comprehensiveness of the test, enhances the efficiency of the test, reduces the dependence on real vehicle resources, enhances the complexity and authenticity of the test scenario, and thus improves the stability and reliability of the STR function of the vehicle system.
Smart Images

Figure CN119917413A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of vehicle computer systems, and in particular to a method, device, equipment, storage medium and program product for automatic testing and locating abnormalities of instantaneous startup of a vehicle computer. Background Art
[0002] With the rapid development of vehicle-mounted systems and smart cockpit technologies, the performance and stability of vehicle-mounted systems, as the core components of smart cockpits, are directly related to the user's driving experience. The vehicle-mounted system startup technology has changed from the traditional shutdown and restart cold start to STR hot start technology. STR hot start technology is an instant startup technology, that is, "suspend to memory". When the vehicle-mounted system enters the "suspend" state, the current state information of the system will be saved to the memory. When it is turned on again, the data is immediately read from the memory to restore to the state before the system was suspended, which significantly improves the startup speed. In order to ensure that the vehicle-mounted system can operate stably in various complex environments, the instant startup function needs to be strictly tested and abnormal positioning is required to ensure the reliability and safety of the system.
[0003] At present, the existing testing methods are not mature enough and rely on the actual vehicle environment. Testers manually operate the vehicle's sleep and wake-up process, observe the response of the vehicle system, and record relevant log data.
[0004] However, the existing real-vehicle testing relies on vehicle resources, has a long test link, requires testers to be on standby all the time, and is inefficient. The judgment of test results is highly dependent on the subjective judgment of the test executor, and cannot accurately locate the cause of STR failure, and cannot obtain log data in real time. At the same time, the test scenario is single and can only perform some basic test operations. It is impossible to impose extreme conditions or perform stress testing on complex scenarios, which limits the comprehensiveness and depth of the test. Therefore, how to efficiently and accurately realize the automated test positioning of vehicle computer instantaneous startup anomalies has become an urgent problem to be solved.
[0005] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0006] The main purpose of this application is to provide a method, device, equipment, storage medium and program product for automatic testing and positioning of vehicle computer instantaneous power-on anomalies, aiming to solve the technical problem of how to efficiently and accurately realize automatic testing and positioning of vehicle computer instantaneous power-on anomalies.
[0007] To achieve the above purpose, the present application proposes a method for automatically testing and locating abnormalities of vehicle computer instantaneous startup, the method comprising:
[0008] Conduct simulation tests on the sleep and wake-up status of the vehicle system to obtain system log data;
[0009] Performing a functional test, screening the system log data to determine the instantaneous abnormal startup state, and determining the test result, wherein the functional test is used to screen the vehicle computer working state keywords in the system log;
[0010] Based on the test results, the abnormality of the vehicle computer instantaneous startup is accurately located to complete the automated test.
[0011] In one embodiment, the step of performing a simulation test on the sleep and wake-up state of the vehicle system and obtaining system log data includes:
[0012] Get instant power-on request information;
[0013] Simulating a bus sleep-wake-up state based on the instantaneous power-on request information to control the vehicle to select an instantaneous power-on mode, wherein the instantaneous power-on mode includes entering the instantaneous power-on mode and exiting the instantaneous power-on mode;
[0014] Based on the instantaneous power-on mode, using a command line tool to obtain operation instruction information;
[0015] System log data is determined based on the operation instruction information.
[0016] In one embodiment, the step of obtaining instantaneous power-on request information includes:
[0017] Get input condition simulation protocol;
[0018] Calling the input condition simulation protocol to obtain input data;
[0019] Controlling the on and off of the relay based on the input data to determine the level signal information;
[0020] The instantaneous power-on request information is determined by simulating the bus sleep-wake-up state based on the level signal information.
[0021] In one embodiment, the steps of performing a functional test, screening the system log data to determine the transient startup abnormal state, and determining the test result include:
[0022] Get keyword filtering method;
[0023] Filtering the system log data based on the keyword filtering method to determine the filtered system log data;
[0024] The filter system log data is parsed to output the test results.
[0025] In one embodiment, the step of performing a functional test, screening the system log data to determine the transient startup abnormal state, and determining the test result further includes:
[0026] Get group input function information;
[0027] Using the extension module to perform a simulation test on the input functional information to obtain an extension test result;
[0028] The automated test script interface is adjusted based on the extended test result.
[0029] In one embodiment, the step of accurately locating the abnormality of the vehicle computer instantaneous startup based on the test result and completing the automated test further includes:
[0030] Get the number of stress tests;
[0031] Perform batch automatic stress testing based on the number of stress testing times to determine batch stress testing results, and analyze automated test status based on the batch stress testing results.
[0032] In addition, to achieve the above purpose, the present application also proposes a vehicle computer instantaneous startup abnormality automatic test and positioning device, the vehicle computer instantaneous startup abnormality automatic test and positioning device comprising:
[0033] The acquisition module is used to simulate the sleep and wake-up state of the vehicle system and obtain system log data;
[0034] A processing module, used for performing a functional test, screening the system log data to determine the instantaneous abnormal startup state, and determining the test result, wherein the functional test is used for screening the vehicle computer working state keywords in the system log;
[0035] The execution module is used to accurately locate the abnormality of the instantaneous startup of the vehicle computer based on the test results and complete the automated test.
[0036] In addition, to achieve the above-mentioned purpose, the present application also proposes an automatic test and positioning device for the instantaneous power-on abnormality of a vehicle computer, the device comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program being configured to implement the steps of the automatic test and positioning method for the instantaneous power-on abnormality of a vehicle computer as described above.
[0037] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the automatic test and positioning method for the instantaneous power-on abnormality of the vehicle computer are implemented as described above.
[0038] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the steps of the method for automatically testing and locating the vehicle computer instantaneous power-on abnormality as described above.
[0039] One or more technical solutions proposed in this application have at least the following technical effects:
[0040] The present application proposes an automated test and positioning method for vehicle computer instantaneous power-on anomaly, which simulates the sleep and wake-up state of the vehicle computer system to obtain system log data; performs functional testing, screens the system log data to determine the instantaneous power-on anomaly state, and determines the test results, wherein the functional test is used to screen the vehicle computer working state keywords in the system log; based on the test results, the vehicle computer instantaneous power-on anomaly is accurately located to complete the automated test. The present application obtains system log data by simulating the sleep and wake-up state of the vehicle computer system by building an automated test bench model, uses functional testing to screen and determine the instantaneous power-on anomaly state to determine the test results, and finally accurately locates the vehicle computer instantaneous power-on anomaly based on the test results, realizing automated testing, significantly improving the accuracy and comprehensiveness of the test, enhancing the efficiency of the test, reducing the reliance on real vehicle resources, and enhancing the complexity and authenticity of the test scenario, thereby significantly improving the stability and reliability of the STR function of the vehicle computer system. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0042] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0043] Figure 1 A flow chart of the first embodiment of the method for locating the abnormality of the instantaneous startup of the vehicle computer provided by the present application;
[0044] Figure 2 This is a schematic diagram of an automated bench model for an automated test and positioning method for an abnormal instantaneous startup of a vehicle computer in this application;
[0045] Figure 3 A flow chart of the second embodiment of the method for locating the abnormality of the instantaneous startup of the vehicle computer provided by the present application;
[0046] Figure 4 A brief flow chart of the method for automatically testing and locating the abnormality of instantaneous startup of a vehicle computer provided in an embodiment of the present application;
[0047] Figure 5 This is a schematic diagram of the module structure of the vehicle computer instantaneous startup abnormality automatic test and positioning device according to the embodiment of the present application;
[0048] Figure 6Schematic diagram of the equipment structure of the hardware operating environment involved in the method for automatically testing and locating the abnormality of instantaneous startup of a vehicle computer in an embodiment of the present application.
[0049] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0050] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0051] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0052] The main solution of the embodiment of the present application is: to simulate the sleep and wake-up state of the vehicle system and obtain system log data; to perform functional testing, filter the system log data to determine the abnormal state of instantaneous startup, and determine the test results. The functional test is used to filter the vehicle working status keywords in the system log; based on the test results, accurately locate the abnormal state of instantaneous startup of the vehicle and complete the automated test.
[0053] In this embodiment, for ease of description, the following description is made by taking the automatic test positioning device for identifying abnormalities in the instantaneous startup of a vehicle computer as the execution subject.
[0054] Since the actual vehicle testing of existing technologies relies on vehicle resources, the test chain is long and requires testers to be on standby all the time, which is inefficient. In addition, the judgment of test results is highly dependent on the subjective judgment of the test executor. It is impossible to accurately locate the cause of STR failure and obtain log data in real time. At the same time, the test scenario is single and can only perform some basic test operations. It is impossible to impose extreme conditions or perform stress testing on complex scenarios, which limits the comprehensiveness and depth of the test.
[0055] The present application provides a solution to simulate the sleep and wake-up state of the vehicle computer system and obtain system log data; perform functional testing, filter the system log data to determine the abnormal state of instantaneous startup, and determine the test results. The functional test is used to filter the vehicle computer working status keywords in the system log; based on the test results, accurately locate the abnormal state of instantaneous startup of the vehicle computer and complete the automated test.
[0056] It can be seen from the above embodiments that the present application obtains system log data by building an automated test bench model to simulate the sleep and wake-up state of the vehicle system, uses functional testing to screen and judge the abnormal instantaneous power-on state to determine the test results, and finally accurately locates the abnormal instantaneous power-on state of the vehicle based on the test results to achieve automated testing, which significantly improves the accuracy and comprehensiveness of the test, enhances the efficiency of the test, reduces dependence on real vehicle resources, and enhances the complexity and authenticity of the test scenarios, thereby significantly improving the stability and reliability of the STR function of the vehicle system.
[0057] Based on this, the embodiment of the present application provides a method for locating the abnormality of the instantaneous startup of the vehicle computer. Figure 1 , Figure 1 This is a flow chart of the first embodiment of the method for automatically testing and locating the abnormality of instantaneous startup of a vehicle computer according to the present application.
[0058] In this embodiment, the vehicle computer instantaneous startup abnormality automatic test and positioning method includes steps S10 to S30:
[0059] Step S10, performing a simulation test on the sleep and wake-up state of the vehicle system to obtain system log data;
[0060] It should be noted that the system log data reflects the characteristics of the abnormal data set obtained during the sleep and wake-up process of the simulated vehicle system.
[0061] It is understandable that if Figure 2 As shown, Figure 2 This is a schematic diagram of the automated bench model for the method of locating the automated test of the vehicle computer instantaneous startup anomaly in this application. The vehicle computer system uses a stabilized power supply to power the vehicle computer system, which is connected to the screen peripheral through a wiring harness, and then connected to a PC to control the vehicle computer system in real time. A relay module is connected between the power supply and the vehicle computer system, and the on-off of the relay is notified by a script to simulate the input conditions of the vehicle computer system's sleep and wake-up. The function of STR is reflected on the peripheral screen. The PC communicates with the vehicle computer system in real time to obtain system log data, and locates the entry and exit of STR through keywords.
[0062] In addition, it should be noted that by building an automated test bench model to simulate the sleep and wake-up states of the vehicle system, a real test scenario can be generated, and system log data can be obtained more accurately. The system log data may include the instantaneous power-on request trigger time, the system sleep and wake-up time, the module response time and other abnormal information, which are used to identify potential abnormal states, thereby significantly improving the accuracy and efficiency of instantaneous power-on abnormality locating, and performing automated testing efficiently and accurately.
[0063] For ease of understanding, the acquisition of system log data is taken as an example for explanation, wherein the information collection device is an information collection module, and the storage device is a memory.
[0064] The input condition simulation protocol is obtained, and the input condition simulation protocol is called to obtain input data, that is, the RS323 protocol is called using Python to obtain IO byte data, and the relay is controlled to determine the level signal information based on the input data, that is, the relay is controlled to be on and off through the IO data, so as to control the on and off of the vehicle system KL15 and the ACC hard line. If it is closed, a high level signal is generated, and if it is disconnected, a low level signal is generated. Then, based on the level signal information, the bus sleep wake-up state is simulated to determine the instantaneous power-on request information, that is, the MCU side inputs high and low level signals to simulate the state of bus sleep wake-up, so that the MCU sends an STR request to the SOC side, and the bus sleep wake-up state is simulated based on the instantaneous power-on request information to control the vehicle to select the instantaneous power-on mode, that is, trigger to enter the STR mode or exit the STR mode, and complete the STR closed-loop function, and the command line tool is used to obtain the operation instruction information based on the instantaneous power-on mode, and the system log data is determined based on the operation instruction information, that is, the logcat instruction is used by the ADB tool to obtain the vehicle system andriod log in real time, and the effective log is filtered by keywords and saved in real time to obtain the system log data, and the system log data is stored in the memory, and subsequent processing is performed based on the system log data.
[0065] Step S20, performing a functional test, screening the system log data to determine the instantaneous abnormal startup state, and determining the test result, wherein the functional test is used to screen the vehicle computer working state keywords in the system log;
[0066] It should be noted that the test results reflect the characteristics of the logs obtained by performing a screening function test on the system log data obtained by simulating the sleep and wake-up state of the vehicle system.
[0067] It can be understood that the test results can characterize the system sleep state wake-up efficiency, wake-up data loss and pre-sleep recovery state. By analyzing the test results, the abnormalities of the vehicle system during the instantaneous startup process can be accurately identified and located, thereby improving the efficiency and accuracy of problem solving, reducing dependence on actual vehicle testing, reducing testing costs, improving test repeatability and consistency, significantly improving the stability and reliability of the vehicle system STR function, reducing potential safety risks, and enhancing the market competitiveness of products.
[0068] For ease of understanding, the determination of test results is taken as an example for explanation, wherein the information acquisition device is an information collection module, the storage device is a memory, and the processing device is a processing module.
[0069] The information collection module obtains the system log data, calls the log analysis module, and filters the STR entry and exit keywords in real-time analysis logs, that is, obtains the keyword filtering method, filters the system log data based on the keyword filtering method to determine the filtered system log data, parses the filtered system log data and outputs the test results, that is, saves the STR results in the corresponding document and outputs them, and performs subsequent processing based on the test results.
[0070] In a feasible implementation, step S20 may include steps A11 to A13:
[0071] Step A11, obtaining a keyword screening method;
[0072] It should be noted that the keyword screening method reflects the characteristics of a method for quickly identifying and extracting information related to instantaneous startup anomalies from a large amount of system log data.
[0073] It can be understood that the keyword screening method includes CarPowerManagementService keyword screening, Entering Suspend-to-RAM keyword screening and Resuming after suspending keyword screening. The entire Android log is analyzed line by line through a script to determine whether the CarPowerManage mentService keyword is contained, thereby screening out STR related logs. The Entering Suspend-to-RAM keyword is used to determine whether the STR state is successfully entered, and the Resuming after suspending keyword is used to determine whether the STR state is successfully exited. When the STR state is unsuccessful entry or unsuccessful exit, the function is abnormal, otherwise, the function is normal.
[0074] In addition, it should be noted that predefined keywords or patterns can be used to effectively filter out key events and abnormal indications from system logs, such as specific error codes, warning messages or status changes, thereby significantly improving the efficiency and accuracy of instantaneous power-on abnormality testing, quickly extracting valuable information from massive log data, reducing the workload of manual analysis, and reducing errors caused by human factors.
[0075] Step A12, screening the system log data based on the keyword screening method to determine the screened system log data;
[0076] It should be noted that the filtering of the system log data reflects the characteristics of the data set obtained after filtering the system log data for instantaneous startup anomalies.
[0077] It can be understood that by accurately filtering and locating abnormal data in the log data of the vehicle system, it is possible to identify and focus on log entries indicating instantaneous power-on abnormalities. The filtered system log data may include instantaneous power-on abnormality information, startup time information, error log information, system warning information and other performance indicator abnormality information.
[0078] Step A13, parsing the screening system log data and outputting the test results.
[0079] It can be understood that by automatically parsing the test results output by filtering the system log data, the efficiency and accuracy of fault diagnosis are significantly improved. The screening process reduces the interference of noise data, allowing testers to quickly focus on potential problem points and accelerate problem solving, thereby reducing the risk of instantaneous startup abnormalities of the vehicle system and improving system stability and user satisfaction.
[0080] In another feasible implementation, step S20 may include steps B11 to B13:
[0081] Step B11, obtaining input function information;
[0082] It should be noted that the incorporated functional information reflects the features of functional expansion for different scenarios.
[0083] It can be understood that the incorporated functional information includes system performance parameters, user interaction data and hardware status information, so as to adapt to different scenarios and cover the overall performance and user experience of the vehicle system.
[0084] Step B12, using the extension module to perform a simulation test on the input functional information to obtain an extension test result;
[0085] It should be noted that the extended test result reflects the characteristics of the test result obtained by testing the incorporated extended function.
[0086] It can be understood that the extension module, as the external interface of the main function, can be combined with various functions to make the script highly extensible. The extension modules included in the main function provide the possibility for realizing rich STR test scenarios in the long term, making the STR test dimensions richer and the scenarios closer to the actual user usage scenarios.
[0087] Step B13: adjusting the automated test script interface based on the extended test result.
[0088] It is understandable that the system will update and adjust the automated test script in real time based on the extended test results, that is, the data obtained from the simulation test. This adjustment capability allows the test script to adapt to different test scenarios and requirements, improving the flexibility and adaptability of the test. In this way, the test script can more accurately simulate various complex situations in actual use, thereby more comprehensively evaluating the performance and stability of the vehicle system, making the entire test process more dynamic and efficient.
[0089] Step S30, based on the test results, accurately locate the abnormality of the vehicle computer instantaneous startup and complete the automated test.
[0090] It is understandable that based on the test results, the nature and cause of the abnormality can be determined, including hardware failure, software error, configuration problem or other abnormal problems that may cause instantaneous boot failure, thereby significantly improving the speed and efficiency of problem solving, reducing dependence on actual vehicle testing, reducing testing costs, and improving test repeatability and consistency. It also allows for quick understanding of the root cause of the problem, accelerating the repair process, improving the reliability of the vehicle system and user experience, and significantly reducing potential safety risks.
[0091] For ease of understanding, the example of obtaining test results is used for explanation, wherein the information acquisition device is the information collection module, the storage device is the memory, and the execution device is the execution module.
[0092] The information acquisition module obtains the test results and the number of stress tests, accurately locates the abnormality of the instantaneous startup of the vehicle computer based on the test results, performs batch automatic stress tests based on the number of stress tests to determine batch stress test results, and analyzes the automated test status based on the batch stress test results.
[0093] In a feasible implementation, step S30 may include steps C11 to C12:
[0094] Step C11, obtaining the number of stress tests;
[0095] It should be noted that the stress test times reflect the characteristics of the number of repetitive tests when stress testing the vehicle system.
[0096] It can be understood that the number of stress tests can characterize the intensity and duration of the test, thereby measuring the system performance, evaluating the performance of the vehicle system under different loads, ensuring the accuracy and repeatability of the test results, and improving the efficiency and accuracy of the test.
[0097] Step C12: performing batch automatic stress testing based on the stress testing times to determine batch stress testing results, and analyzing the automated test status based on the batch stress testing results.
[0098] It should be noted that the batch stress test results reflect the characteristics of the performance status of the system under high load conditions.
[0099] It can be understood that the batch stress testing results may include batch stress testing results of concurrency, batch stress testing results of response time, batch stress testing results of error rate, batch stress testing results of throughput and batch stress testing results of resource utilization. By analyzing the batch stress testing results, the performance bottlenecks of the system, such as CPU utilization and memory utilization, can be identified, so as to quickly locate the problem and perform targeted optimization. Based on the batch stress testing results, it can be determined whether the system has passed the performance test, that is, whether all key indicators are within the expected range, and it can be distinguished whether it is a problem with the test itself or a problem with the system under test, such as insufficient stressor resources or memory leaks in the system under test.
[0100] The present embodiment proposes an automatic test and positioning method for abnormal instantaneous startup of a vehicle computer, which simulates the sleep and wake-up state of the vehicle computer system and obtains system log data; performs a functional test, screens the system log data to determine the abnormal instantaneous startup state, and determines the test result, wherein the functional test is used to screen the keywords of the vehicle computer working state in the system log; and accurately locates the abnormal instantaneous startup of the vehicle computer based on the test result to complete the automatic test. The technical problem of how to efficiently perform automatic test and positioning on the abnormal instantaneous startup of the vehicle computer is solved. Compared with the prior art, the present application simulates the sleep and wake-up state of the vehicle computer system by building an automatic bench model, obtains system log data, uses functional testing to screen log data to determine the abnormal instantaneous startup state and determine the test result, accurately locates the abnormality based on the test result, completes the automatic test, improves the accuracy and comprehensiveness of the test, reduces the dependence on real vehicle resources, enhances the stability and reliability of the system, converges problems more effectively, discovers problems, and promptly discovers existing STR problems, helps develop and locate the problem in the early stage, and avoids the problem from flowing into the downstream, while reducing the real vehicle investment, liberating the testing manpower, and using the bench automatic test, which greatly improves the testing efficiency and reduces the investment.
[0101] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction and will not be repeated later.
[0102] In this embodiment, refer to Figure 3 , Figure 3 This is a flow chart of the second embodiment of the method for locating the abnormality of the instantaneous startup of the vehicle computer provided by the present application. Step S10 specifically includes steps S11 to S14:
[0103] Step S11, obtaining instantaneous power-on request information;
[0104] It should be noted that the instantaneous power-on request information reflects the characteristics of the vehicle system's request for switching from a dormant state to a wake-up state.
[0105] It can be understood that the instantaneous power-on request information may include necessary data and instructions to trigger the vehicle system to recover from a low-power or sleep state to a working state, such as a wake-up signal, system status, timestamp and wake-up reason, so as to enable the vehicle system to respond quickly and accurately recover to the pre-suspend state, enable the system to simulate the sleep and wake-up state of the bus, control the vehicle to choose to enter or exit the instantaneous power-on mode, accurately respond to external wake-up signals, and perform corresponding operations as expected.
[0106] In addition, it should be noted that by accurately obtaining instantaneous power-on request information, the vehicle system can quickly wake up from a sleep state, improving the system's response speed and user experience. When waking up, the system can be restored to the state before suspension, maintaining data consistency and integrity, reducing system crashes or errors caused by incorrect wake-up or improper response, and enhancing the system's stability and reliability.
[0107] For ease of understanding, the example of obtaining instantaneous power-on request information is used for explanation, wherein the information acquisition device is an information collection module, and the storage device is a memory.
[0108] Get the input condition simulation protocol, call the input condition simulation protocol to get the input data, that is, use Python to call the RS323 protocol to get IO byte data, control the relay on and off based on the input data to determine the level signal information, that is, control the relay on and off through the IO data, thereby controlling the vehicle system KL15 and ACC hard line on and off. If closed, a high level signal is generated, if disconnected, a low level signal is generated, and then, based on the level signal information, simulate the bus sleep and wake-up state to determine the instantaneous power-on request information, that is, the MCU side inputs high and low level signals to simulate the bus sleep and wake-up state, and stores the instantaneous power-on request information in the memory, and performs subsequent processing based on the instantaneous power-on request information.
[0109] In a feasible implementation, step S11 may include steps D11 to D14:
[0110] Step D11, obtaining input condition simulation protocol;
[0111] It should be noted that the input condition simulation protocol reflects the characteristics of testing and verifying system response by simulating actual input conditions through calling the protocol.
[0112] It can be understood that the input condition simulation protocol can accurately replicate or approximate the real input signal, including the amplitude, frequency and phase of the signal, so as to reproduce the system behavior under actual working conditions in the test environment, improve the flexibility and repeatability of the test, and enhance the coverage of the test, ensure the stability and reliability of the system under various conditions, and discover in advance the problems that the system may encounter in actual operation, so as to optimize and correct them in advance, while improving the safety of the system and avoiding risks in actual operation.
[0113] In addition, it should be noted that Python can be used to call the input condition simulation protocol, which is a widely used serial communication protocol used for data transmission between computers and electronic devices. It allows data to be transmitted between computers and external devices and uses a standard interface. The input condition simulation protocol interface is widely used in many industries due to its reliability, stability and security, such as aviation, aerospace, medical, automation control and security monitoring, making communication between computers and devices simple and efficient, supporting various types of devices, including printers, network devices and sensors, and can communicate with computers more flexibly and provide efficient communication performance.
[0114] Step D12, calling the input condition simulation protocol to obtain input data;
[0115] It should be noted that the input data reflects the characteristics of specific information and parameters obtained by simulating the actual scenario by calling the simulation protocol.
[0116] It can be understood that the input data can be used to simulate actual physical input conditions, including the type, strength and duration of the signal, reducing the dependence on actual hardware and physical conditions, reducing testing costs and risks, and the diversity and adjustability of the input data can enable the system to adapt to various test scenarios, enhance the adaptability and application scope of the system, and by simulating various input conditions, problems that the system may encounter in actual operation can be discovered in advance, so that optimization and correction can be carried out in advance.
[0117] Step D13, controlling the on / off of the relay based on the input data to determine the level signal information;
[0118] It should be noted that the level signal information reflects the characteristics of the state of the voltage in the circuit or system within a certain period of time.
[0119] It can be understood that the level signal information can characterize the signal state in the digital circuit and represent binary data, wherein a high level represents logic "1" and a low level represents logic "0". The level signal information has a stable waveform and a clear signal amplitude, and is widely used in digital circuits to transmit information.
[0120] In addition, it should be noted that determining the level signal by automatically controlling the on and off of relays is more efficient and economical, reduces manual operations, and improves test results. At the same time, it accurately simulates the level changes in the actual circuit and improves the accuracy and reliability of the test.
[0121] Step D14, simulating the bus sleep and wake-up state based on the level signal information to determine the instantaneous power-on request information.
[0122] It can be understood that by simulating instantaneous power-on request information, the system can wake up from the sleep state faster, improving the system's response speed and user experience, and making the test closer to the actual usage scenario, enhancing the practicality and reliability of the test results, reducing system crashes or data loss caused by wake-up failures, and significantly improving the overall performance of the system.
[0123] Step S12, simulating a bus sleep-wake state based on the instantaneous power-on request information to control the vehicle to select an instantaneous power-on mode, wherein the instantaneous power-on mode includes entering the instantaneous power-on mode and exiting the instantaneous power-on mode;
[0124] It can be understood that based on the instantaneous power-on request information, the signal on the vehicle bus can be simulated to trigger and control the sleep and wake-up process of the vehicle system, and testing can be performed without an actual vehicle, reducing dependence on actual vehicle resources and improving testing efficiency. It also allows testing of sleep and wake-up scenarios in extreme and rare situations, enhancing the coverage of the test, reducing the need for actual vehicle testing, and reducing the costs associated with actual vehicle testing, such as vehicle usage costs, fuel costs, and labor costs. At the same time, the instantaneous power-on function of the vehicle system can be tested more comprehensively, improving the reliability and stability of the system, and significantly improving the user experience.
[0125] For ease of understanding, the instantaneous power-on mode is taken as an example for explanation, wherein the information acquisition device is an information collection module, and the storage device is a memory.
[0126] The MCU side inputs high and low level signals to simulate the bus sleep and wake-up state, so that the MCU sends a STR request to the SOC side, that is, sends instantaneous power-on request information. Based on the instantaneous power-on request information, the bus sleep and wake-up state is simulated to control the vehicle to select the instantaneous power-on mode, that is, trigger to enter the STR mode or exit the STR mode, complete the STR closed-loop function, and perform subsequent processing based on the instantaneous power-on mode.
[0127] Step S13, obtaining operation instruction information using a command line tool based on the instantaneous power-on mode;
[0128] It should be noted that the operation instruction information reflects the characteristics of the system's ability to receive and send specific commands and control signals.
[0129] It is understandable that the operation instruction information is a logcat instruction, and logcat is a command line tool widely used in Android development and debugging, which is used to dump system message logs, including stack traces when the device throws an error, and messages written from the application using the log class. It can capture system or application level log information, supports multiple options and filtering rules, and allows users to customize the content and format of log output as needed.
[0130] In addition, it should be noted that through various filtering rules and options, logcat can accurately capture the required log information and improve debugging efficiency. Logcat also provides functions such as log clearing, dumping, and formatting, making log management more flexible and convenient. At the same time, logcat can output log information in real time to help developers monitor the running status of applications and systems.
[0131] For ease of understanding, the example of obtaining operation instruction information is used for explanation, wherein the information acquisition device is an information collection module, and the storage device is a memory.
[0132] Based on the instantaneous power-on mode, the operation instruction information is obtained by using a command line tool, and the logcat instruction is obtained by using an ADB tool, that is, the operation instruction information is obtained, the operation instruction information is stored in a memory, and subsequent processing is performed based on the operation instruction information.
[0133] Step S14: determining system log data based on the operation instruction information.
[0134] It can be understood that the system log data records various states and events during system operation. The system log data includes error information data, warning data, informational message data and debug tracking data. Based on the system log data, problems in the system can be quickly located and repaired. By analyzing the system log data, the system performance can be monitored and optimized as needed to improve system efficiency, thereby significantly improving user satisfaction.
[0135] For ease of understanding, the determination of system log data is taken as an example for explanation, wherein the information collection device is an information collection module, and the storage device is a memory.
[0136] The information collection module obtains the operation instruction information, and determines the system log data based on the operation instruction information, that is, uses the logcat command through the ADB tool to obtain the vehicle system andriod log in real time, filters the valid log by keywords and saves it in real time to obtain the system log data, stores the system log data in the memory, and monitors the system performance based on the system log data.
[0137] This embodiment proposes an automatic test and positioning method for abnormal instantaneous power-on of a vehicle computer, which obtains instantaneous power-on request information; simulates the bus sleep and wake-up state based on the instantaneous power-on request information to control the vehicle to select the instantaneous power-on mode, and the instantaneous power-on mode includes entering the instantaneous power-on mode and exiting the instantaneous power-on mode; obtains operation instruction information based on the instantaneous power-on mode using a command line tool; and determines the system log data based on the operation instruction information. The technical problem of how to accurately simulate the sleep and wake-up of the vehicle computer system is solved. Compared with the prior art, the present application obtains instantaneous power-on request information, simulates the bus sleep and wake-up state to control the vehicle to enter or exit the instantaneous power-on mode, and uses the command line tool to obtain operation instruction information, thereby determining the system log data, thereby improving the accuracy and efficiency of the test and enhancing the reliability and stability of the system.
[0138] For example, in order to help understand the implementation process of the vehicle computer instantaneous startup abnormality automatic test positioning method obtained by combining this embodiment with the above-mentioned embodiment 1, please refer to Figure 4 , Figure 4 A brief flow chart of an automatic test and positioning method for abnormal instantaneous startup of a vehicle computer is provided, specifically:
[0139] Carry out automated testing of STR functions. The STR automated script is mainly divided into three parts, and the three parts are scheduled by the main function respectively. For the simulation of input conditions, see Example 1, simulate the sleep and wake-up state of the vehicle system and obtain system log data; perform functional testing, filter the system log data to determine the abnormal state of instantaneous startup, and determine the test results. The functional test is used to filter the keywords of the vehicle working state in the system log; based on the test results, accurately locate the abnormal state of the instantaneous startup of the vehicle to complete the automated test. For STR functional situation analysis, see Example 2, obtain the instantaneous startup request information; based on the instantaneous startup request information, simulate the bus sleep and wake-up state to control the vehicle to select the instantaneous startup mode, and the instantaneous startup mode includes entering the instantaneous startup mode and exiting the instantaneous startup mode; based on the instantaneous startup mode, use the command line tool to obtain the operation instruction information; determine the system log data based on the operation instruction information. Complex test scenarios are integrated into the STR test through the interface to achieve a variety of STR stress tests.
[0140] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the method for automatically testing and locating the abnormality of instantaneous startup of a vehicle computer of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0141] This application also provides a vehicle computer instantaneous startup abnormal automatic test positioning device, please refer to Figure 5 The vehicle computer instantaneous startup abnormality automatic test and positioning device comprises:
[0142] The acquisition module 10 is used to simulate the sleep and wake-up state of the vehicle system and acquire system log data;
[0143] The processing module 20 is used to perform a functional test, filter the system log data to determine the instantaneous abnormal startup state, and determine the test result. The functional test is used to filter the vehicle computer working state keywords in the system log;
[0144] The execution module 30 is used to accurately locate the abnormality of the vehicle computer instantaneous startup based on the test results and complete the automated test.
[0145] The acquisition module 10 is also used to obtain instantaneous power-on request information;
[0146] Simulating a bus sleep-wake-up state based on the instantaneous power-on request information to control the vehicle to select an instantaneous power-on mode, wherein the instantaneous power-on mode includes entering the instantaneous power-on mode and exiting the instantaneous power-on mode;
[0147] Based on the instantaneous power-on mode, using a command line tool to obtain operation instruction information;
[0148] System log data is determined based on the operation instruction information.
[0149] The acquisition module 10 is also used to acquire the input condition simulation protocol;
[0150] Calling the input condition simulation protocol to obtain input data;
[0151] Controlling the on and off of the relay based on the input data to determine the level signal information;
[0152] The instantaneous power-on request information is determined by simulating the bus sleep-wake-up state based on the level signal information.
[0153] The processing module 20 is also used to obtain a keyword screening method;
[0154] Filtering the system log data based on the keyword filtering method to determine the filtered system log data;
[0155] The filter system log data is parsed to output the test results.
[0156] The processing module 20 is also used to obtain input function information;
[0157] Using the extension module to perform a simulation test on the input functional information to obtain an extended test result;
[0158] The automated test script interface is adjusted based on the extended test result.
[0159] The execution module 30 is also used to obtain the number of stress tests;
[0160] Perform batch automatic stress testing based on the number of stress testing times to determine batch stress testing results, and analyze automated test status based on the batch stress testing results.
[0161] The automatic test and positioning device for abnormal instantaneous startup of a vehicle computer provided in the present application adopts the automatic test and positioning method for abnormal instantaneous startup of a vehicle computer in the above-mentioned embodiment, which can solve the technical problem of how to efficiently and accurately realize the automatic test and positioning of abnormal instantaneous startup of a vehicle computer. Compared with the prior art, the beneficial effects of the automatic test and positioning device for abnormal instantaneous startup of a vehicle computer provided in the present application are the same as the beneficial effects of the automatic test and positioning method for abnormal instantaneous startup of a vehicle computer provided in the above-mentioned embodiment, and the other technical features of the automatic test and positioning device for abnormal instantaneous startup of a vehicle computer are the same as the features disclosed in the above-mentioned embodiment method, which will not be repeated here.
[0162] The present application provides an automatic test and positioning device for vehicle computer instantaneous power-on anomaly, and the automatic test and positioning device for vehicle computer instantaneous power-on anomaly includes: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the automatic test and positioning method for vehicle computer instantaneous power-on anomaly in the above-mentioned embodiment one.
[0163] Reference below Figure 6 , which shows a schematic diagram of the structure of the vehicle instantaneous startup abnormality automatic test and positioning device suitable for implementing the embodiment of the present application. The vehicle instantaneous startup abnormality automatic test and positioning device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The vehicle computer instantaneous startup abnormality automatic test and positioning device shown is only an example and should not bring any limitation to the function and scope of use of the embodiment of the present application.
[0164] like Figure 6As shown, the vehicle computer instantaneous startup abnormal automatic test and positioning device may include a processing device 1001 (such as a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM: Read Only Memory) 1002 or the program loaded from the storage device 1003 to the random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the vehicle computer instantaneous startup abnormal automatic test and positioning device are also stored. The processing device 1001, ROM1002 and RAM1004 are connected to each other through a bus 1005. The input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 1003 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 1009. The communication device 1009 can allow the vehicle computer instantaneous power-on abnormality automatic test and positioning device to communicate wirelessly or wired with other devices to exchange data. Although the figure shows a vehicle computer instantaneous power-on abnormality automatic test and positioning device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems may be implemented or have alternatively.
[0165] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0166] The automatic test and positioning device for abnormal instantaneous startup of a vehicle computer provided in the present application adopts the automatic test and positioning method for abnormal instantaneous startup of a vehicle computer in the above-mentioned embodiment, which can solve the technical problem of how to efficiently and accurately realize the automatic test and positioning of abnormal instantaneous startup of a vehicle computer. Compared with the prior art, the beneficial effects of the automatic test and positioning device for abnormal instantaneous startup of a vehicle computer provided in the present application are the same as the beneficial effects of the automatic test and positioning method for abnormal instantaneous startup of a vehicle computer provided in the above-mentioned embodiment, and the other technical features of the automatic test and positioning device for abnormal instantaneous startup of a vehicle computer are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0167] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0168] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0169] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, the computer-readable program instructions being used to execute the method for automatically testing and locating the abnormality of instantaneous startup of a vehicle computer in the above-mentioned embodiment.
[0170] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0171] The computer-readable storage medium may be included in the vehicle computer instantaneous power-on abnormality automatic test and positioning device; or may exist independently without being assembled into the vehicle computer instantaneous power-on abnormality automatic test and positioning device.
[0172] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the automatic test and positioning device for the instantaneous power-on abnormality of the vehicle computer, the automatic test and positioning device for the instantaneous power-on abnormality of the vehicle computer: performs a simulation test on the sleep and wake-up state of the vehicle computer system to obtain system log data; performs a functional test, filters the system log data to determine the instantaneous power-on abnormal state, and determines the test results. The functional test is used to filter the vehicle computer working status keywords in the system log; based on the test results, the vehicle computer instantaneous power-on abnormality is accurately located to complete the automatic test.
[0173] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0174] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0175] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0176] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned method for automatically testing and locating the abnormality of instantaneous startup of a vehicle computer, and can solve the technical problem of how to efficiently and accurately realize the automatic testing and locating of the abnormality of instantaneous startup of a vehicle computer. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the method for automatically testing and locating the abnormality of instantaneous startup of a vehicle computer provided by the above-mentioned embodiment, and will not be described in detail here.
[0177] The present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the above-mentioned method for automatic testing and locating the abnormality of instantaneous startup of a vehicle computer.
[0178] The computer program product provided by the present application can solve the technical problem of how to efficiently and accurately realize the automatic test and positioning of the abnormal instantaneous startup of the vehicle computer. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the automatic test and positioning method of the abnormal instantaneous startup of the vehicle computer provided by the above embodiment, and will not be repeated here.
[0179] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A method for automatically testing and locating abnormalities of vehicle computer instantaneous startup, characterized in that: The method includes: Conduct simulation tests on the sleep and wake-up status of the vehicle system to obtain system log data; Performing a functional test, screening the system log data to determine the instantaneous abnormal startup state, and determining the test result, wherein the functional test is used to screen the vehicle computer working state keywords in the system log; Based on the test results, the abnormality of the vehicle computer instantaneous startup is accurately located to complete the automated test.
2. The method according to claim 1, characterized in that The step of simulating the vehicle system sleep and wake-up state to obtain system log data includes: Get instant power-on request information; Simulating a bus sleep-wake-up state based on the instantaneous power-on request information to control the vehicle to select an instantaneous power-on mode, wherein the instantaneous power-on mode includes entering the instantaneous power-on mode and exiting the instantaneous power-on mode; Based on the instantaneous power-on mode, using a command line tool to obtain operation instruction information; System log data is determined based on the operation instruction information.
3. The method according to claim 2, characterized in that The step of obtaining instantaneous power-on request information comprises: Get input condition simulation protocol; Calling the input condition simulation protocol to obtain input data; Controlling the on and off of the relay based on the input data to determine the level signal information; The instantaneous power-on request information is determined by simulating the bus sleep-wake-up state based on the level signal information.
4. The method according to claim 1, characterized in that The steps of performing a functional test, screening the system log data to determine an instantaneous abnormal startup state, and determining a test result include: Get keyword filtering method; Filtering the system log data based on the keyword filtering method to determine the filtered system log data; The filter system log data is parsed to output the test results.
5. The method according to claim 4, characterized in that The steps of performing the functional test, screening the system log data to determine the instantaneous abnormal startup state, and determining the test result also include: Get group input function information; Using the extension module to perform a simulation test on the input functional information to obtain an extension test result; The automated test script interface is adjusted based on the extended test result.
6. The method according to claim 1, characterized in that The step of accurately locating the vehicle computer instantaneous startup abnormality based on the test result and completing the automated test also includes: Get the number of stress tests; Perform batch automatic stress testing based on the number of stress testing times to determine batch stress testing results, and analyze automated test status based on the batch stress testing results.
7. An automatic test and positioning device for abnormal instantaneous startup of a vehicle computer, characterized in that: The device comprises: The acquisition module is used to simulate the sleep and wake-up state of the vehicle system and obtain system log data; A processing module, used for performing a functional test, screening the system log data to determine the instantaneous abnormal startup state, and determining the test result, wherein the functional test is used for screening the vehicle computer working state keywords in the system log; The execution module is used to accurately locate the abnormality of the instantaneous startup of the vehicle computer based on the test results and complete the automated test.
8. An automatic test and positioning device for abnormal instantaneous startup of a vehicle computer, characterized in that: The device comprises: a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the method for automatically testing and locating the abnormality of instantaneous startup of a vehicle computer as described in any one of claims 1 to 6.
9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the method for automatically testing and locating the abnormality of instantaneous startup of a vehicle computer as described in any one of claims 1 to 6 are implemented.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the method for automatically testing and locating the abnormality of instantaneous startup of a vehicle computer according to any one of claims 1 to 6 are implemented.