A vehicle machine system testing method, device, equipment and storage medium
By setting test control files and data analysis scripts in a pre-installed storage device outside the vehicle infotainment system, the problem of inaccurate performance testing of the vehicle infotainment system is solved, enabling accurate testing and automatic data analysis in a real vehicle operating environment, and reducing testing costs and complexity.
Patent Information
- Application Number
- CN202211040688.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-29
- Publication Date
- 2026-01-06
- Estimated Expiration
- 2042-08-29
AI Technical Summary
In the current technology, there is a lack of unified standards for the performance testing of vehicle infotainment systems. Tests before and after installation cannot accurately reflect the performance under the vehicle's operating environment, resulting in inaccurate test results. Furthermore, real vehicle testing is costly and data collection is complex, making it difficult to obtain effective data.
Test control and data analysis scripts are set in a pre-installed storage device outside the vehicle infotainment system. Test control files are set using a removable pre-installed storage device. Test programs for the vehicle infotainment system are obtained by setting test control files. Test programs are started based on test control files. Test configuration files are obtained. Test control and data analysis scripts are set using a removable pre-installed storage device. Test configuration files for the vehicle infotainment system are obtained by setting test configuration files. Test configuration files corresponding to the test programs are obtained. Test data for the vehicle infotainment system is obtained by setting test configuration files and then automatically analyzed.
It enables accurate acquisition of vehicle system performance test results in a real vehicle operating environment, reducing testing costs and data acquisition complexity, and improving data validity.
Smart Images

Figure CN115454831B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle infotainment system technology, and in particular to a vehicle infotainment system testing method, apparatus, equipment and storage medium. Background Technology
[0002] In-vehicle infotainment systems, also known as vehicle-mounted intelligent systems, offer a variety of in-vehicle services. Besides standard services like navigation, news broadcasting, and roadside assistance, they can also provide unique features such as dynamic parking space search, flight booking, social networking applications, email sending and receiving, and conference call initiation. Under the primary premise of safety, in-vehicle infotainment systems strive to maximize the user experience. Since the performance of the in-vehicle infotainment system directly impacts the performance of the in-vehicle services it provides, performance testing is crucial during the development of such systems.
[0003] Currently, there is no unified standard for performance testing of in-vehicle infotainment systems, and each automaker has its own testing procedures. A common approach is for the infotainment system supplier to conduct offline testing before the system is installed in the vehicle. Then, after installation, the automaker conducts zero-kilometer testing. However, because the performance of an in-vehicle infotainment system is highly dependent on the vehicle's operating environment, accurate performance results cannot be obtained solely through pre- and post-installation testing, thus failing to provide effective reference for the development of such systems. Summary of the Invention
[0004] This application provides a vehicle infotainment system testing method, apparatus, equipment, and storage medium. The test program in the vehicle infotainment system is launched through a preset storage device outside the vehicle infotainment system to capture test data of the vehicle infotainment system in a preset operating scenario, thereby realizing the performance testing of the vehicle infotainment system under real vehicle operating environment.
[0005] In a first aspect, embodiments of this application disclose a method for testing an in-vehicle infotainment system, the method comprising:
[0006] The test program is obtained from the vehicle infotainment system, and the test control file is read from the preset storage device; the preset storage device is an external storage device of the vehicle infotainment system.
[0007] Obtain the test configuration file corresponding to the test program;
[0008] Based on the test control file, the test program is started according to the test configuration file;
[0009] During the test program startup process, test data of the vehicle system under preset test scenarios is obtained, and the corresponding test results of the test program are obtained.
[0010] Furthermore, before acquiring the test program from the vehicle infotainment system and reading the test control file from the preset storage device, the method also includes:
[0011] Obtain the device identifier of the storage device inserted into the vehicle infotainment system;
[0012] Match the device identifier with the preset device identifier stored in the vehicle system;
[0013] If the matching result indicates that the device identifier matches the preset device identifier, the storage device is determined to be the preset storage device.
[0014] Furthermore, a test configuration file is stored in the preset storage device; the test configuration file corresponding to the test program is retrieved, including:
[0015] If the test control file is successfully read, the test configuration file in the preset storage device is read.
[0016] Furthermore, in obtaining the test configuration file corresponding to the test program, including:
[0017] If the test control file is successfully read, a parameter configuration command is sent to the interface management module so that the interface management module responds to the parameter configuration command and displays the configuration management interface; and so that the interface management module responds to the configuration operation based on the configuration management interface and obtains the configuration parameters.
[0018] Receive configuration parameters returned by the interface management module;
[0019] Generate a test configuration file based on the configuration parameters.
[0020] Furthermore, during the test program startup process, test data from the vehicle infotainment system under preset test scenarios is acquired to obtain the corresponding test results, including:
[0021] During the test program startup process, test data of the vehicle system under preset scenarios is captured based on the test control file;
[0022] Generate test results corresponding to the test program based on the test data.
[0023] Furthermore, based on the test data, the test results corresponding to the test program are generated, including:
[0024] Read the data analysis configuration file from the preset storage device;
[0025] Based on the data analysis configuration file, the test data is processed to obtain the test results corresponding to the test program.
[0026] Furthermore, during the test program startup process, after acquiring the test data of the vehicle system under a preset test scenario and obtaining the corresponding test results, the method also includes:
[0027] The test results are sent to a preset storage device.
[0028] Secondly, embodiments of this application disclose a vehicle infotainment system testing device, which includes:
[0029] The test startup module is used to acquire the test program from the vehicle infotainment system and read the test control file from the preset storage device; the preset storage device is an external storage device of the vehicle infotainment system.
[0030] The test configuration file retrieval module is used to retrieve the test configuration file corresponding to the test program;
[0031] The test program startup module is used to start the test program based on the test control file and the test configuration file.
[0032] The test result determination module is used to acquire test data of the vehicle system under preset test scenarios during the test program startup process, and obtain the test results corresponding to the test program.
[0033] As an optional implementation, the device further includes:
[0034] The device identifier acquisition module is used to acquire the device identifier of the storage device inserted into the vehicle infotainment system;
[0035] The identifier matching module is used to match the device identifier with the preset device identifiers stored in the vehicle system;
[0036] The preset storage device determination module is used to determine the storage device as the preset storage device when the matching result indicates that the device identifier matches the preset device identifier.
[0037] As an optional implementation, a test configuration file is stored in a preset storage device; the test configuration file acquisition module is used to read the test configuration file in the preset storage device when the test control file is successfully read.
[0038] As an optional implementation, the test configuration file acquisition module includes:
[0039] The parameter configuration unit is used to send a parameter configuration command to the interface management module when the test control file is successfully read, so that the interface management module responds to the parameter configuration command and displays the configuration management interface; and to enable the interface management module to respond to the configuration operation based on the configuration management interface and obtain the configuration parameters.
[0040] The configuration parameter receiving unit is used to receive configuration parameters returned by the interface management module.
[0041] The test configuration file generation unit is used to generate test configuration files based on configuration parameters.
[0042] As an optional implementation, the test result determination module includes:
[0043] The test data capture unit is used to capture test data of the vehicle system under preset scenarios based on the test control file during the test program startup process;
[0044] The test result generation unit is used to generate the test results corresponding to the test program based on the test data.
[0045] As an optional implementation, the test result generation unit includes:
[0046] The data analysis configuration file reading subunit is used to read the data analysis configuration file from the preset storage device;
[0047] The test data processing subunit is used to process test data based on the data analysis configuration file to obtain the test results corresponding to the test program.
[0048] As an optional implementation, the device further includes:
[0049] The test result sending module is used to send the test results to a preset storage device.
[0050] Thirdly, embodiments of this application disclose an electronic device, which includes a processor and a memory. The memory stores at least one instruction or at least one program. The at least one instruction or at least one program is loaded by the processor and executed as described above for the vehicle system testing method.
[0051] Fourthly, embodiments of this application disclose a computer-readable storage medium storing at least one instruction or at least one program, wherein the at least one instruction or at least one program is loaded and executed by a processor to implement the vehicle system testing method described above.
[0052] The technical solution provided in this application has the following technical effects:
[0053] This vehicle infotainment system testing method controls the execution of test programs within the system by setting up test control files in a pre-configured storage device. Based on these files, the test program's runtime environment is configured, allowing the acquisition of test data from the system in pre-defined operating scenarios. This enables performance testing of the vehicle infotainment system under real-world vehicle conditions, resulting in accurate performance test results. Furthermore, automatically capturing system data in real-time via an external pre-configured storage device reduces the complexity of data acquisition and improves data validity. Attached Figure Description
[0054] To more clearly illustrate the technical solutions and advantages in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0055] Figure 1 This is a schematic diagram of the application environment for a vehicle infotainment system testing method provided in an embodiment of this application;
[0056] Figure 2 This is a flowchart illustrating a vehicle infotainment system testing method provided in an embodiment of this application;
[0057] Figure 3 This is a schematic diagram of the structure of a vehicle infotainment system testing device provided in an embodiment of this application;
[0058] Figure 4 This is a hardware structure block diagram of a computer terminal according to an embodiment of this application. Detailed Implementation
[0059] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0060] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of the embodiments of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the present application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or server that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products, or devices.
[0061] To make the objectives, technical solutions, and advantages disclosed in the embodiments of this application clearer, the embodiments of this application will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the embodiments of this application and are not intended to limit the embodiments of this application.
[0062] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.
[0063] Because the performance of in-vehicle infotainment systems is highly dependent on the vehicle's operating environment, problems may arise in certain vehicle operating scenarios. During subsequent analysis of these problems, the time lag between the actual occurrence of the problem and the data collection process often leads to errors in the acquired data, frequently resulting in invalid data. Therefore, real-vehicle testing is crucial for the performance testing of in-vehicle infotainment systems. However, real-vehicle testing also presents several challenges. First, there is the difficulty in collecting real-vehicle data. Vehicles are not readily accessible, and the usage scenarios of in-vehicle infotainment systems are diverse, making it difficult to collect effective real-vehicle data. Furthermore, it requires professional personnel to monitor the entire process, resulting in high testing costs. For various issues encountered during testing, relevant technical personnel need to track the production line and export the test results from the equipment, distributing the data packets to R&D engineers for further analysis. In addition, the data acquired by the system is complex, requiring analysis by professional technicians, which takes a considerable amount of time and is costly.
[0064] In view of this, embodiments of this application provide a method for testing in-vehicle infotainment systems. This method utilizes a portable, pre-set storage device to set test scripts and data analysis scripts, acquires test data from the in-vehicle infotainment system under preset scenarios by setting a test configuration file, and performs automatic analysis. This process can obtain effective test and analysis data for the in-vehicle infotainment system without requiring professional personnel to monitor it.
[0065] Please see Figure 1 , Figure 1 This is a schematic diagram of the application environment for a vehicle infotainment system testing method provided in an embodiment of this application, such as... Figure 1 As shown, the application environment may include vehicle 101 and preset storage device 103.
[0066] In this embodiment, vehicle 101 includes one or more in-vehicle computer devices, and the systems running on these in-vehicle computer devices are collectively referred to as vehicle infotainment systems. The vehicle infotainment systems in vehicle 101 may be of various types, such as instrument cluster systems, vehicle control systems, and central infotainment systems.
[0067] In this embodiment, the preset storage device 103 is a removable storage device, including but not limited to USB flash disks, solid-state drives (SSDs), or optical discs.
[0068] In this embodiment, the in-vehicle computer device is provided with an interface for connecting to external devices. A preset storage device 103 communicates with the in-vehicle computer device through this interface, allowing the vehicle's infotainment system to read files stored in the preset storage device. Optionally, the infotainment system includes, but is not limited to, Windows CE, Palm, Linux, VxWorks, etc.
[0069] The following describes a specific embodiment of a vehicle infotainment system testing method according to this application. Figure 2 This is a flowchart illustrating a vehicle infotainment system testing method provided in this application. This specification provides the method operation steps as shown in the embodiments or flowcharts, but based on conventional or non-inventive labor, more or fewer operation steps may be included. The order of steps listed in the embodiments is merely one possible execution order among many and does not represent the only possible execution order. In actual system or server product execution, the method can be executed sequentially according to the embodiments or drawings, or in parallel (e.g., in a parallel processor or multi-threaded processing environment). Specifically, as shown... Figure 2 As shown, the testing method for this vehicle infotainment system may include:
[0070] S201: Obtain the test program from the vehicle infotainment system and read the test control file from the preset storage device; the preset storage device is an external storage device of the vehicle infotainment system.
[0071] In this embodiment, the preset storage device is a privileged device with operational privileges over the vehicle infotainment system. During real-vehicle testing of the vehicle infotainment system, a privileged device can be configured and connected to the onboard computer to initiate the test program within the system and execute the test process. The privileged device contains a boot sector and related boot files recognizable by the vehicle infotainment system, or a boot sector at the beginning of a disk. The privileged device can trigger the vehicle infotainment system to perform security verification, and if the verification passes, read the stored files. Specifically, when the preset storage device is connected to the vehicle infotainment system, the system identifies it through the connection interface of the onboard computer. Optionally, the preset storage device connects to the onboard computer via serial communication. After identifying the preset storage device, the system obtains its device identifier and then performs security verification on that identifier to determine whether the preset storage device is a privileged device.
[0072] As an optional implementation, when performing security verification on a preset storage device, the vehicle infotainment system first obtains the device identifier of the storage device inserted into the system, and then matches the device identifier with a preset device identifier stored in the system. If the matching result indicates that the device identifier matches the preset device identifier, the storage device is determined to be a preset storage device. Specifically, the vehicle infotainment system pre-stores privileged device identifiers. The system determines whether the preset storage device is a privileged device by matching its device identifier with the privileged device identifier. Optionally, when the device identifier of the preset storage device matches the privileged device identifier, the system can determine that the preset storage device is a privileged device. Optionally, the system calculates the device identifier of the preset storage device based on an encryption algorithm and compares the calculation result with the privileged device identifier. When both meet the decryption conditions, the system can determine that the preset storage device is a privileged device. Optionally, the encryption algorithm can be a symmetric encryption algorithm or an asymmetric encryption algorithm.
[0073] In this embodiment, when the device identifier of the preset storage device fails security verification, it indicates that the preset storage device connected to the vehicle system is not a privileged device. In this case, the vehicle system can refuse to read the test control file to start the test program. When the device identifier of the preset storage device passes security verification, it indicates that the preset storage device connected to the vehicle system is a privileged device. In this case, the vehicle system can obtain the test program inside the vehicle system and read the test control file in the preset storage device. The test control file is a set of system call commands, which contains multiple system call commands. Optionally, the test control file is a script file written using a scripting language, such as a system executable file written in shell, JavaScript, VBscript, Python, etc. The specific scripting language used to write the test control file can be determined according to the system type of the vehicle system. For example, if the vehicle system is a Linux system, shell can be used to write the test control file. The vehicle system has a test program for testing the performance of the vehicle system. The test control file is used to start the test program in the vehicle system and obtain the performance test data of the vehicle system by controlling the execution of the test program.
[0074] S203: Obtain the test configuration file corresponding to the test program.
[0075] In this embodiment, after the vehicle system successfully reads the test control file from the preset storage device, it further needs to obtain the test configuration file corresponding to the test program. The start command in the test control file is used to start the test program, but how the test program runs depends on the test configuration parameters. That is, the test control file needs to obtain the test configuration parameters in the test configuration file to execute the test program. The test configuration file contains test configuration parameters, such as the execution time, cycle, required test mode, and content to be collected. The test control file uses these test configuration parameters to control the execution of the test program.
[0076] As an optional implementation, a test configuration file is stored in a preset storage device. The vehicle infotainment system can read the test configuration file from the preset storage device if the test control file is successfully read.
[0077] As an alternative implementation, if the test configuration file is not stored in the preset storage device, the vehicle system can also control the pop-up configuration management interface and generate a test configuration file based on the configuration parameters input into the configuration management interface. Specifically, when the test control file is successfully read, the vehicle system sends a parameter configuration command to the interface management module, causing the interface management module to respond to the parameter configuration command and display the configuration management interface. Testers can perform configuration operations in the configuration management interface, and the interface management module responds to the configuration operations based on the configuration management interface to obtain configuration parameters. The vehicle system receives the configuration parameters returned by the interface management module and generates a test configuration file based on the configuration parameters. Optionally, the parameter configuration command can be sent by the vehicle system reading the test control file and then sending it to the interface management module based on the operation commands in the test control file. Alternatively, the vehicle system can send it to the interface management module upon receiving a preset operation command. For example, a tester performs a preset input operation on the human-machine interface, thereby inputting a preset operation command into the vehicle system. After receiving the preset operation command, the vehicle system sends a parameter configuration command to the interface management module, causing the interface management module to display the configuration management interface on the human-machine interface. Optionally, preset input operations include, but are not limited to, touch input and voice input. As an example, testers can input a specific string using the numeric keypad, causing the vehicle's infotainment system to receive a preset operation command. The configuration management interface displays multiple test parameter names, and testers can input the configuration parameters corresponding to each test parameter name. After the tester completes the configuration operation in the configuration management interface, the interface management module returns the corresponding test parameter name and configuration parameters to the vehicle's infotainment system, allowing the system to generate a test configuration file.
[0078] It's important to note that only the test control file can initiate the test program. Therefore, the test configuration file corresponding to the test program will only be retrieved if the test control file is successfully read. If reading the test control file fails, the test program cannot be started, and the current test process must be abandoned. Furthermore, when retrieving the test configuration file, the vehicle system can first read it from the preset storage device. If the test configuration file is not found in the preset storage device, or if reading the test configuration file from the preset storage device fails, a configuration management interface will pop up, allowing testers to set configuration parameters.
[0079] S205: Based on the test control file, start the test program according to the test configuration file.
[0080] In this embodiment, after obtaining the test configuration file, the vehicle system reads the test configuration file to obtain the test configuration parameters. Once the vehicle system successfully reads the test configuration file, the test initialization process is completed, and the testing phase can begin. The test control file starts the test program according to the activation mode set in the test configuration file.
[0081] In this embodiment, after the vehicle infotainment system successfully reads the test configuration file, it needs to prepare for the current test scenario before entering the testing phase. The test scenario refers to the operating environment of the vehicle infotainment system, including the tasks and processes it needs to execute and the vehicle's operating conditions. Examples include multimedia playback during navigation, dynamic parking space search during autonomous driving, and operation of the vehicle in power-saving mode. The preparation of the test scenario can include preparing the vehicle's operating environment and the vehicle infotainment system's operating environment. The preparation of the vehicle's operating environment can be performed by test personnel, while the preparation of the vehicle infotainment system's operating environment can be performed by the vehicle infotainment system based on the test control file. In some embodiments, the preparation of the vehicle infotainment system's operating environment can also be performed by test personnel.
[0082] As an optional implementation, after successfully reading the test configuration file, the vehicle system sends a test environment preparation command to the interface management module. This causes the interface management module to display a test scenario preparation reminder on the human-machine interface (HMI). Testers can then prepare the test scenario based on this reminder. Optionally, the test configuration file may contain test environment configuration information. The test environment preparation command sent by the vehicle system to the interface management module carries this configuration information, causing the interface management module to display the test scenario preparation reminder on the HMI based on this information. The test scenario preparation reminder can include multiple sub-scenario preparation reminders, which the interface management module can display one by one on the HMI. For example, if the current test scenario involves the vehicle system simultaneously performing navigation and multimedia playback, the interface management module can first display a preparation reminder to start navigation on the HMI. Then, after receiving feedback that navigation has started, the vehicle system can display a preparation reminder to start multimedia playback on the HMI. Once the vehicle system receives feedback that multimedia playback has started, the test scenario preparation is complete.
[0083] It should be noted that, in the above embodiments, the test scenario preparation reminder is not limited to displaying the reminder on the human-machine interface. The vehicle system can also send test scenario preparation reminders to testers in other ways, such as voice reminders. Furthermore, multiple sub-scenario preparation reminders can be combined and sent together; for example, a reminder to start navigation and multimedia playback can be displayed simultaneously on the human-machine interface.
[0084] As an alternative implementation, the operating environment inside the vehicle infotainment system can also be prepared according to the test control documents. Once the operating environment inside the vehicle infotainment system is ready, the system will issue a vehicle operating environment preparation reminder to alert the test personnel to prepare the vehicle operating environment.
[0085] In some embodiments, the test activation mode can also be set to delayed activation in the test configuration file. After the vehicle system successfully reads the test configuration file, it displays a feedback message on the human-machine interface through the interface management module, allowing testers to prepare the test scenario before the test begins.
[0086] S207: During the test program startup process, acquire the test data of the vehicle system under the preset test scenario, and obtain the test results corresponding to the test program.
[0087] In this embodiment, after the test scenario is prepared, the vehicle infotainment system can start the test program based on the test control file and the test configuration parameters in the test configuration file. Optionally, after the test scenario is prepared, the tester can send a message indicating that the test scenario configuration is complete to the vehicle infotainment system via the human-machine interface. Then, the vehicle infotainment system can start the test program to obtain the test data of the vehicle infotainment system under the configured test scenario and obtain the test results obtained by executing the test program. Specifically, during the test program startup process, the vehicle infotainment system captures the test data of the vehicle infotainment system under the preset scenario based on the test control file and generates the test results corresponding to the test program based on the test data. The test control file contains data acquisition instructions. By running the data acquisition instructions, the vehicle infotainment system captures the performance test data of the vehicle infotainment system in real time in the preset test scenario and generates test data packets. Optionally, the test data packets can be stored on an external storage device or in the internal storage area of the vehicle system, which can be set as needed.
[0088] In this embodiment, the test data captured by the test program is the operating data of the vehicle system under a preset test scenario, such as hardware usage data for the central processing unit (CPU), graphics processing unit (GPU), and memory. This test data is complex and typically requires analysis by technical personnel to comprehensively assess the performance of the vehicle system. Optionally, a data analysis configuration file is also stored in the preset storage device. The vehicle system can analyze and process the test data by running the data analysis configuration file, thus allowing for performance evaluation without the need for technical personnel. Specifically, the vehicle system reads the data analysis configuration file from the preset storage device and then processes the test data based on the configuration file to obtain the test results corresponding to the test program. Optionally, the data analysis configuration file is a script written in a scripting language, such as a Python script. After the test is completed, the data analysis script generates dynamic chart analysis data from the test data packets captured in the preset test scenario. Optionally, the dynamic chart analysis data can be stored on an external storage device or in the internal storage area of the vehicle system, depending on the specific requirements.
[0089] In this embodiment of the application, the vehicle system can also send the test results to a preset storage device, which makes it convenient for developers to further mine and analyze the test results and maximize the value of the test results.
[0090] This application also provides an in-vehicle infotainment system. Figure 3 This is a schematic diagram of the structure of a vehicle infotainment system testing device provided in an embodiment of this application, as shown below. Figure 3 As shown, the device includes:
[0091] The test startup module 301 is used to acquire the test program in the vehicle system and read the test control file in the preset storage device; the preset storage device is a storage device outside the vehicle system.
[0092] Test configuration file acquisition module 303 is used to acquire the test configuration file corresponding to the test program;
[0093] The test program startup module 305 is used to start the test program based on the test control file and the test configuration file.
[0094] The test result determination module 307 is used to obtain the test data of the vehicle system under the preset test scenario during the test program startup process, and obtain the test results corresponding to the test program.
[0095] As an optional implementation, the device further includes:
[0096] The device identifier acquisition module is used to acquire the device identifier of the storage device inserted into the vehicle infotainment system;
[0097] The identifier matching module is used to match the device identifier with the preset device identifiers stored in the vehicle system;
[0098] The preset storage device determination module is used to determine the storage device as the preset storage device when the matching result indicates that the device identifier matches the preset device identifier.
[0099] As an optional implementation, a test configuration file is stored in a preset storage device; the test configuration file acquisition module is used to read the test configuration file in the preset storage device when the test control file is successfully read.
[0100] As an optional implementation, the test configuration file acquisition module includes:
[0101] The parameter configuration unit is used to send a parameter configuration command to the interface management module when the test control file is successfully read, so that the interface management module responds to the parameter configuration command and displays the configuration management interface; and to enable the interface management module to respond to the configuration operation based on the configuration management interface and obtain the configuration parameters.
[0102] The configuration parameter receiving unit is used to receive configuration parameters returned by the interface management module.
[0103] The test configuration file generation unit is used to generate test configuration files based on configuration parameters.
[0104] As an optional implementation, the test result determination module includes:
[0105] The test data capture unit is used to capture test data of the vehicle system under preset scenarios based on the test control file during the test program startup process;
[0106] The test result generation unit is used to generate the test results corresponding to the test program based on the test data.
[0107] As an optional implementation, the test result generation unit includes:
[0108] The data analysis configuration file reading subunit is used to read the data analysis configuration file from the preset storage device;
[0109] The test data processing subunit is used to process test data based on the data analysis configuration file to obtain the test results corresponding to the test program.
[0110] As an optional implementation, the device further includes:
[0111] The test result sending module is used to send the test results to a preset storage device.
[0112] The vehicle infotainment system and vehicle infotainment system testing method embodiments described in this application are based on the same concept as those in this application. For specific implementation details of the vehicle infotainment system, please refer to all the above-described embodiments of the vehicle infotainment system testing method.
[0113] This application also provides an electronic device, which includes a processor and a memory. The memory stores at least one instruction or at least one program. The processor loads and executes the vehicle system testing method described above.
[0114] The methods and embodiments provided in this application can be executed on a mobile terminal, a computer terminal, or a similar computing device. Taking running on a computer terminal as an example, Figure 4 This is a hardware structure block diagram of a computer terminal according to an embodiment of this application. For example... Figure 4As shown, the computer terminal 400 can vary significantly due to different configurations or performance. It may include one or more central processing units (CPUs) 410 (CPUs 410 may include, but are not limited to, microprocessors (MCUs) or field-programmable gate arrays (FPGAs), etc.), a memory 430 for storing data, and one or more storage media 420 (e.g., one or more mass storage devices) for storing application programs 423 or data 422. The memory 430 and storage media 420 may be temporary or persistent storage. The program stored in the storage media 420 may include one or more modules, each module may include a series of instruction operations on the computer terminal. Furthermore, the CPU 410 may be configured to communicate with the storage media 420 and execute the series of instruction operations in the storage media 420 on the computer terminal 400. The computer terminal 400 may also include one or more power supplies 460, one or more wired or wireless network interfaces 450, one or more input / output interfaces 440, and / or one or more operating systems 421, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, etc.
[0115] The input / output interface 440 can be used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the communication provider of the computer terminal 400. In one example, the input / output interface 440 includes a network interface controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the input / output interface 440 may be a radio frequency (RF) module for wireless communication with the Internet.
[0116] Those skilled in the art will understand that Figure 4 The structure shown is for illustrative purposes only and does not limit the structure of the aforementioned electronic device. For example, the computer terminal 400 may also include... Figure 4 The more or fewer components shown, or having the same Figure 4 The different configurations shown.
[0117] Fourthly, embodiments of this application also provide a computer-readable storage medium storing at least one instruction or at least one program, wherein the at least one instruction or at least one program is loaded and executed by a processor to implement the vehicle system testing method described above.
[0118] In this embodiment, the computer storage medium can be located in at least one of multiple network servers in a computer network. Optionally, the computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), solid-state drives (SSDs), or optical discs, etc. The random access memory may include resistive random access memory (ReRAM) and dynamic random access memory (DRAM).
[0119] It should be noted that the order of the embodiments described above is merely for descriptive purposes and does not represent the superiority or inferiority of the embodiments. Furthermore, specific embodiments have been described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps described in the claims can be performed in a different order than that shown in the embodiments and still achieve the desired result. Additionally, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0120] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the device embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0121] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.
[0122] The above description is only a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A head unit system test method characterized by comprising: The method comprises: obtaining a device identifier of a storage device inserted into a car machine system; matching the device identifier with a preset device identifier stored in the car machine system; in a case where the matching result indicates that the device identifier matches the preset device identifier, determining that the storage device is a preset storage device; obtaining a test program in the car machine system and reading a test control file in the preset storage device; the preset storage device is a storage device outside the car machine system; obtaining a test configuration file corresponding to the test program; starting the test program according to the test configuration file based on the test control file; obtaining test data of the car machine system under a preset test scene during the starting of the test program, to obtain a test result corresponding to the test program; the preset storage device is a privileged device having operating privileges for the car machine system; when performing real vehicle testing on the car machine system, the privileged device is configured, and the privileged device accesses the vehicle computer device, so as to start the test program in the car machine system to execute a test process; the privileged device has a boot area and related boot files that can be recognized by the car machine system, or a boot sector at the beginning of a disk; the privileged device can trigger the car machine system to perform security verification, and in a case where the security verification is passed, read the files stored therein.
2. The method of claim 1, wherein, the test configuration file is stored in the preset storage device; the obtaining of the test configuration file corresponding to the test program comprises: in a case where the test control file is read successfully, reading the test configuration file in the preset storage device.
3. The method of claim 1, wherein, the obtaining of the test configuration file corresponding to the test program comprises: in a case where the test control file is read successfully, sending a parameter configuration instruction to an interface management module, so that the interface management module displays a configuration management interface in response to the parameter configuration instruction, and so that the interface management module obtains configuration parameters in response to a configuration operation based on the configuration management interface; receiving the configuration parameters returned by the interface management module; generating the test configuration file based on the configuration parameters.
4. The method of claim 1, wherein, the obtaining of the test data of the car machine system under the preset test scene during the starting of the test program, to obtain the test result corresponding to the test program, comprises: during the starting of the test program, based on the test control file, capturing the test data of the car machine system under the preset test scene; generating the test result corresponding to the test program according to the test data.
5. The method of claim 4, wherein, the generating of the test result corresponding to the test program according to the test data comprises: reading a data analysis configuration file in the preset storage device; based on the data analysis configuration file, processing the test data to obtain the test result corresponding to the test program.
6. The method of claim 1, wherein, after the obtaining of the test data of the car machine system under the preset test scene during the starting of the test program, to obtain the test result corresponding to the test program, the method further comprises: The test result is sent to the preset storage device.
7. A car kit system testing apparatus characterized by comprising: The device comprises: An equipment identification acquisition module is configured to acquire equipment identification of a storage device inserted into an in-vehicle infotainment system. An identification matching module is configured to match the equipment identification with preset equipment identification stored in the in-vehicle infotainment system. A preset storage device determination module is configured to determine the storage device as a preset storage device if the matching result indicates that the equipment identification matches the preset equipment identification; the preset storage device is a privileged equipment having operation privileges for the in-vehicle infotainment system; when performing real vehicle testing on the in-vehicle infotainment system, the privileged equipment is configured, and the in-vehicle computer device is accessed through the privileged equipment, so as to start a test program in the in-vehicle infotainment system to execute a test flow; the privileged equipment has a boot area and related boot files that can be recognized by the in-vehicle infotainment system, or a boot sector at the beginning of a disk; the privileged equipment can trigger the in-vehicle infotainment system to perform security verification thereon, and read stored files therein if the security verification is passed; A test starting module is configured to acquire a test program in the in-vehicle infotainment system, and read a test control file in the preset storage device; the preset storage device is a storage device outside the in-vehicle infotainment system. A test configuration file acquisition module is configured to acquire a test configuration file corresponding to the test program. A test program starting module is configured to start the test program according to the test configuration file based on the test control file. A test result determination module is configured to acquire test data of the in-vehicle infotainment system under a preset test scene during the test program starting process, to obtain a test result corresponding to the test program.
8. An electronic device, comprising: The device comprises a processor and a memory, the memory stores at least one instruction or at least one program, the at least one instruction or the at least one program is loaded and executed by the processor to implement the in-vehicle infotainment system test method of any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, The storage medium stores at least one instruction or at least one program, the at least one instruction or the at least one program is loaded and executed by the processor to implement the in-vehicle infotainment system test method of any one of claims 1-6.
Citation Information
Patent Citations
Vehicle machine test method, related device, equipment, system and storage medium
CN114356766A