A method, apparatus, storage medium, and vehicle for testing vehicle infotainment system functions.
By building an in-vehicle infotainment system (IVR) functional testing system and using intelligent agents for task parsing, allocation, execution, and log analysis, the system solves the problems of insufficient cross-departmental collaboration and log utilization in IVR testing, realizes automated testing processes, and improves testing efficiency and the early detection of faults.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CHINA FAW CO LTD
- Filing Date
- 2026-03-13
- Publication Date
- 2026-06-30
AI Technical Summary
The existing vehicle infotainment system testing process suffers from problems such as difficulty in cross-departmental collaboration, inadequate utilization of test logs, and failure to detect faults in advance, resulting in low testing efficiency.
By building an in-vehicle infotainment system, intelligent agents are used for task parsing, allocation, execution, log analysis, and report generation, thereby automating the testing process, supporting cross-departmental collaboration and log data mining, and enabling early detection of faults.
It enables automated distribution of test tasks and early fault detection, reduces human communication costs, and improves testing efficiency and accuracy.
Smart Images

Figure CN122309360A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle infotainment testing technology, and in particular to vehicle infotainment function testing methods, vehicle infotainment function testing devices, storage media, and vehicles. Background Technology
[0002] Before mass production of vehicles, it is necessary to fully verify the functional integrity, operational stability, smooth operation, interactive security, and environmental adaptability of the vehicle's infotainment system, and ensure that functions such as navigation, voice, Bluetooth, vehicle control, audio-visual, and OTA are normal and usable. All of these require testing of each function of the vehicle's infotainment system.
[0003] Current vehicle infotainment system testing primarily involves product managers setting development milestones and designing product functions. Programmers complete the requirements according to the iterative tasks. Once a specified milestone is reached, the test manager assigns testing tasks, and testers conduct tests according to the manual. The test results are then fed back to the developers for correction, testing, and this process is repeated until the development requirements for that milestone are met.
[0004] However, in-vehicle infotainment systems are complex and require cross-departmental collaboration, which can easily lead to unclear product definitions and implementation difficulties. Furthermore, while a large amount of test logs are generated during testing, these logs are often not fully utilized, failing to extract useful information or identify potential faults in advance. Summary of the Invention
[0005] The purpose of this invention is to provide a vehicle infotainment system function testing method, vehicle infotainment system function testing device, electronic device, storage medium and vehicle, and to at least solve the problem of how to achieve cross-departmental collaboration in vehicle infotainment system testing, and how to support the mining of test logs, expose faults in advance and move problems forward.
[0006] This invention provides the following solution:
[0007] According to one aspect of the present invention, a method for testing vehicle infotainment system functions is provided, comprising:
[0008] In response to the detection of a vehicle infotainment system test task instruction, the vehicle infotainment system test task instruction is parsed to determine structured functional task data;
[0009] Identify the structured functional task data, determine the test execution user, and determine the functional test task corresponding to the test execution user;
[0010] Once the functional test task is confirmed to be completed, functional test results and functional test logs are generated, and data mining analysis is performed on the functional test logs to determine the log analysis results.
[0011] If the log analysis results determine that the functional test task is risk-free, the functional test task is completed, and a functional test report corresponding to the functional test results is generated.
[0012] Furthermore, the step of parsing the vehicle system test task instruction to determine structured functional task data includes:
[0013] The pre-built document parsing and message interaction intelligent agent is invoked to parse the vehicle system test task instruction and obtain the functional test requirement document and / or text content.
[0014] Parse and understand the functional test requirement document and / or the text content, determine the interactive action instructions, and parse the functional test requirement document and / or the text content into structured functional task data in a specified format.
[0015] Furthermore, the step of identifying the structured functional task data, determining the test execution user, and determining the functional test task corresponding to the test execution user includes:
[0016] Based on a pre-set automated process management intelligent agent, the structured functional task data is identified to determine all functional test tasks to be executed and test execution users.
[0017] Develop a vehicle infotainment system function test plan based on the aforementioned functional test tasks;
[0018] According to the vehicle infotainment system function test plan, the test order of the function test tasks is determined, and the corresponding function test task is issued to the user for each test according to the test order.
[0019] Furthermore, after issuing corresponding functional test tasks to each test user according to the test order, the method further includes:
[0020] The content-generating intelligent agent generates corresponding test scripts based on the functional test tasks and distributes the test scripts to the corresponding test execution users.
[0021] Furthermore, the step of completing the functional testing task and generating a functional test report corresponding to the functional test results includes:
[0022] A smart agent is generated from the content, and a chart visualization rendering is performed based on the functional test results to synthesize a report template.
[0023] Based on the report template and the functional test results, generate corresponding charts and the functional test report.
[0024] Furthermore, the step of determining that the functional test task is completed, generating functional test results and functional test logs, and performing data mining analysis on the functional test logs to determine the log analysis results includes:
[0025] In response to the detection that the test task is completed, functional test data is acquired, and functional test results and functional test logs are generated.
[0026] Based on log mining and risk warning intelligent agents, data mining is performed on the functional test logs to identify test framework logs, vehicle system operation logs, test user feedback logs, and process status logs.
[0027] Analyze the test framework logs, the vehicle system operation logs, the test user feedback logs, and the process status logs to determine the log analysis results.
[0028] Furthermore, after determining the log analysis results, the method further includes:
[0029] If the log analysis results determine that the functional testing task has a risk, the risk level is determined based on log mining and risk warning intelligence.
[0030] Based on the risk level, a risk warning is determined and pushed to the test users corresponding to the risk level.
[0031] According to a second aspect of the present invention, a vehicle infotainment system function testing apparatus is provided, comprising:
[0032] The data determination module is used to parse the vehicle system test task instruction and determine the structured functional task data in response to the detection of the vehicle system test task instruction;
[0033] The task determination module is used to identify the structured functional task data, determine the test execution user, and determine the functional test task corresponding to the test execution user;
[0034] The log analysis module is used to determine the completion of the functional test task, generate functional test results and functional test logs, and perform data mining analysis on the functional test logs to determine the log analysis results.
[0035] The report generation module is used to complete the functional test task and generate a functional test report corresponding to the functional test results if the log analysis results determine that the functional test task is risk-free.
[0036] According to three aspects of the present invention, an electronic device is provided, comprising: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;
[0037] The memory stores a computer program, which, when executed by the processor, causes the processor to perform the steps of the vehicle infotainment system function test method.
[0038] According to four aspects of the present invention, a computer-readable storage medium is provided, comprising: storing a computer program executable by an electronic device, wherein when the computer program is run on the electronic device, the electronic device performs the steps of a vehicle function testing method.
[0039] According to five aspects of the present invention, a vehicle is provided, comprising:
[0040] The steps for testing electronic devices to implement vehicle infotainment system functions;
[0041] The processor runs a program, and when the program runs, it executes the steps of the vehicle infotainment function test method based on the data output from the electronic device.
[0042] Storage medium for storing programs that, when run, execute the steps of the vehicle infotainment system function test method based on data output from electronic devices.
[0043] The above solution achieves the following beneficial technical effects:
[0044] This application automates the parsing of vehicle-mounted system test task instructions to determine structured functional task data, thereby automatically assigning corresponding functional test tasks to test execution users. This achieves automatic distribution of test tasks, which not only reduces dependencies between developers but also reduces human communication costs.
[0045] This application generates functional test results and functional test logs, performs data mining analysis on the functional test logs, determines the log analysis results, makes full use of existing logs, enables early fault detection, moves the testing process forward, and improves testing efficiency. Attached Figure Description
[0046] Figure 1 This is a flowchart of a vehicle infotainment system function testing method provided by one or more embodiments of the present invention.
[0047] Figure 2 This is a structural diagram of a vehicle infotainment function testing device provided in one or more embodiments of the present invention.
[0048] Figure 3 This is a block diagram of an electronic device structure for a vehicle infotainment system function testing method provided in one or more embodiments of the present invention. Detailed Implementation
[0049] The technical solution of the present invention will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0050] In the field of in-vehicle infotainment testing, there are numerous roles, including product managers, test managers, developers, and testers. These roles have different responsibilities, educational backgrounds, and professional expertise, often leading to difficulties in understanding each other's work and communication barriers. Communication between these roles relies on direct interaction through office software, which fails to automatically resolve dependencies between development tasks. Version dependencies cannot be automatically handled, relying on manual intervention from testers or developers.
[0051] Furthermore, different departments have their own document writing habits, resulting in a large number of documents, making management difficult, and data silos exist. It is difficult to integrate all documents, and there is no one-stop document search tool, which is unfriendly to new employees and makes it impossible to quickly locate the documents they need from the complex document pool. The entire testing process requires collaborative processing using office software and web-based management terminals, and lacks one-stop tools for feedback, progress analysis, and report generation.
[0052] In particular, the testing process requires writing a large number of automated programming scripts. However, testers are often not professional software developers, and the vehicle's infotainment system is complex, making script writing difficult and prone to delaying progress. Furthermore, there is personnel redundancy; some script writing could be delegated to large-scale models, significantly reducing the company's labor costs. The large amount of test logs generated cannot be fully utilized, preventing the early discovery of valuable information about the vehicle's performance contained within them.
[0053] In summary, the testing of vehicle infotainment systems involves complex product functions, requires cross-departmental collaboration, and is prone to unclear product definitions and implementation difficulties. The coding process also involves multiple threads accessing the system simultaneously, making concurrent programming challenging. Therefore, the key is to seamlessly integrate the developed software system into existing workflows, improve the accuracy of model-generated scripts and reports, fully meet the defined requirements, and avoid illusions.
[0054] Based on this, this application proposes a vehicle infotainment system (VIS) function testing method, device, electronic medium, and vehicle. It supports automated parsing of task requirement documents, role registration, and automatic task distribution. Automatic reminders are given upon reaching test nodes. After task completion, testers promptly report test progress and synchronize information with the test manager and product manager. Reports are automatically generated, and a large-scale model analyzes any bottlenecks in the test, providing optimization suggestions to the test manager. Version dependency management is automated, with detailed descriptions of the requirements for each test provided to testers. Tester feedback is analyzed to automatically determine whether the tests meet the requirements.
[0055] The following will provide further explanation in conjunction with the accompanying drawings.
[0056] Figure 1 This is a flowchart of a vehicle infotainment system function testing method provided by one or more embodiments of the present invention.
[0057] like Figure 1 The vehicle infotainment system function testing methods shown include:
[0058] Step S1: In response to the detection of the vehicle infotainment system test task instruction, parse the vehicle infotainment system test task instruction and determine the structured functional task data.
[0059] The vehicle infotainment system function testing method proposed in this embodiment is based on the constructed vehicle infotainment system function testing system.
[0060] Test users can input vehicle infotainment system test task instructions via mobile or PC (web management interface) Web / IDE plugin. After detecting the vehicle infotainment system test task instructions through the intelligent query portal, the vehicle infotainment system will parse the vehicle infotainment system test task instructions and determine the structured functional task data.
[0061] The structured functional task data can be in JSON format, containing information such as test users (roles), test task points, and acceptance criteria.
[0062] It should be noted that in this embodiment, all roles involved in the testing process (e.g., test execution users, development users, product managers, etc.) are collectively referred to as test users.
[0063] Step S2: Identify structured functional task data, determine the test execution user, and identify the functional test task corresponding to the test execution user.
[0064] The vehicle infotainment system identifies and decomposes structured functional task data, determines the test execution users contained within the structured functional task data, and identifies each functional test task to be tested. It then assigns each functional test task to its corresponding test execution user.
[0065] Step S3: Confirm that the functional test task is completed, generate functional test results and functional test logs, and perform data mining analysis on the functional test logs to determine the log analysis results.
[0066] After the user completes the corresponding functional test task, they can enter a functional test task completion command to inform the vehicle infotainment system that the functional test task has been completed.
[0067] The vehicle-mounted system will complete the functional test tasks and generate functional test results and functional test logs.
[0068] Furthermore, data mining analysis can be performed on the generated functional test logs to determine the log analysis results and confirm whether there are any risks in the functional test tasks.
[0069] Step S4: If the log analysis results determine that the functional test task is risk-free, complete the functional test task and generate a functional test report corresponding to the functional test results.
[0070] The log analysis results include information such as the root causes, severity levels, and recommendations for the execution of functional test tasks.
[0071] In one embodiment, if the log analysis results determine that the functional testing task is risk-free, the functional testing task is completed, the testing process ends, and a functional test report corresponding to the functional test results is generated. The functional test report is then pushed to the corresponding test users.
[0072] In another embodiment, if log analysis determines that a functional testing task poses a risk, the risk level is determined based on log mining and a risk warning agent. A risk warning is then issued based on the risk level and pushed to the test users corresponding to that risk level.
[0073] The risk levels can be categorized as high-risk, medium-risk, and low-risk. High-risk levels include system crashes, complete failure of main functions, and security-related failures. In these cases, risk warnings corresponding to the high-risk level can be pushed to developers and test users (e.g., test managers). Medium-risk levels include partial functional abnormalities, performance failures, and impacts on user experience. In these cases, risk warnings corresponding to the medium-risk level can be pushed to test execution users, and the risk dashboard on the web management terminal can be updated. Low-risk levels include UI misalignment and instability of secondary functions. Risk warnings corresponding to the low-risk level can be displayed in the dashboard of the corresponding test execution user and provided via a plugin.
[0074] In this embodiment, the vehicle infotainment system functional testing system is built upon multiple intelligent agents, each trained using a large model. These agents may include document parsing and message interaction agents, automated process management agents, content generation agents, and log mining and risk warning agents. The system employs a typical front-end / back-end separation architecture. The back-end provides unified services for multiple agents and a large model, while the front-end reaches users through three different clients to adapt to various work scenarios. The functional division, interaction relationships, and data flow among the multiple agents form an automated closed loop of "requirement parsing, task assignment, execution feedback, monitoring and warning, and report generation."
[0075] Furthermore, log analysis results can be transmitted to the vehicle's risk warning module through log mining and risk warning intelligence. This allows the risk warning module to send risk warnings to different channels via message push service based on the risk level and preset routing rules, ensuring that the risk warnings reach the corresponding test users.
[0076] For example, formatted Markdown messages can be sent via alerts, including a problem summary, root cause, risk level, and links directly to relevant logs or tasks. The risk dashboard in the test user's web management interface can also be updated with a global view, providing detailed information, status, and trends for all alerts. Furthermore, gentle contextual prompts can be provided in the relevant developers' IDEs via IDE plugins, such as "A related risk alert has appeared for the [Audio Module] you are responsible for."
[0077] Log mining and risk warning intelligence can be used to perform root cause analysis, correlation judgment (determining whether different failures share the same origin), and risk level assessment on functional test logs. This generates structured warning information containing risk descriptions, possible root causes, optimization suggestions, and urgency levels, and automatically routes it to relevant responsible parties. This achieves proactive and predictive risk identification and warning based on large-scale model semantic understanding.
[0078] The determination of structured functional task data can be achieved by invoking a pre-built document parsing and message interaction intelligent agent to parse the vehicle system test task instructions. If the vehicle system test task instructions contain document files, document parsing and preprocessing text extraction can be performed on the document files, or format conversion can be performed to obtain the functional test requirement document. If the vehicle system test task instructions contain natural language commands (e.g., "query the test standards for module XX"), natural language understanding and analysis can be performed to obtain the corresponding text content. This yields the functional test requirement document and / or text content. Furthermore, a large model is used to perform deep understanding of the obtained functional test requirement document and / or text content to determine the interactive action commands, and the functional test requirement document and / or text content are parsed into structured functional task data in a specified format. The functional test requirement document can be PDF, Word, Excel, etc.
[0079] The document parsing and message interaction agent can also transmit the parsed structured functional task data to the automated process management agent based on interaction commands, directly answer natural language questions from test users, and return the results to the corresponding test users. If it is necessary to send the response results or transmission results to the corresponding test users as a reminder via message, a message notification mechanism can be triggered to send the information to the corresponding test users via email or text message, and record the processing results. This enables the provision of accurate, cross-domain business knowledge to different test users.
[0080] Upon detecting that the automated process management agent has received the transmitted structured functional task data, the agent identifies the structured functional task data and determines all functional test tasks to be executed and the test execution users. For example, test execution users include test execution user A, test execution user B, test execution user C, etc. Functional test tasks include functional test task 1, functional test task 2, functional test task 3, functional test task 4, functional test task 5, etc. All functional test tasks are then assigned to the corresponding test execution users.
[0081] Furthermore, a vehicle infotainment system functional test plan is developed based on the functional test tasks, and the test order of the functional test tasks is determined according to the vehicle infotainment system functional test plan. The corresponding functional test tasks are issued to each test execution user according to the test order, and corresponding instructions can be added to the issued functional test tasks.
[0082] In this process, the user is issued corresponding functional test tasks for each test according to the test order. These tasks can be triggered by a scheduled time or by the completion of the previous functional test task, thus triggering the issuance of the next task. For example, the progress of functional test tasks can be updated in real time, marking information such as completed / blocked / in progress. Status checks can be used to determine if the previous functional test task is completed and risk-free, triggering the next task, or the corresponding functional test task can be executed according to a scheduled time.
[0083] Furthermore, a content-generating intelligent agent generates corresponding test scripts based on functional testing tasks and distributes the test scripts to the corresponding test execution users.
[0084] In the process of generating corresponding test scripts based on functional test tasks through content-generating intelligent agents, test requirements and environment can be analyzed. The corresponding test script code and logic can be generated through the set large model. Test script code security checks and format specification checks can be performed. After confirming that there are no errors, the corresponding test script can be generated.
[0085] After the functional testing task is completed, a content generation agent can analyze the results and write documentation. The analysis results and written documentation are then visualized and rendered into charts and graphs to create a report template. Based on the report template and the functional test results, corresponding charts and functional test reports are generated. These charts and reports are then sent to the relevant test users.
[0086] In this embodiment, real-time recorded functional test logs can be analyzed using a log mining and risk warning intelligent agent. This identifies test framework logs, vehicle system operation logs, user feedback logs, and process status logs.
[0087] The test framework logs are structured logs output by frameworks such as pytest, JUnit, and TestNG (including timestamps, test cases, status PASS / FAIL, and error messages).
[0088] The vehicle system log is the system log of the vehicle system (Android, QNX, etc.), which includes application crashes, performance indicators (CPU / memory), CAN bus messages, etc.
[0089] Test user feedback logs are unstructured text feedback submitted by testers through IDE plugins or web management interfaces, such as "Test failed, map navigation timed out".
[0090] The process status log is information such as task timeouts, retries, and environment deployment failures obtained by the automated management agent.
[0091] The analysis process involves examining test framework logs, vehicle system operation logs, user feedback logs, and process status logs. Noise reduction and word segmentation are performed on the functional test logs to extract key fields (such as log level, error code, method name, and timestamp), transforming unstructured data into structured or semi-structured data. For example, key fields related to numerical metrics include failure rate, test case execution time (compared to baseline), CPU utilization, and memory leak trends. Keywords related to semantic features include error type (network timeout, null pointer exception, rendering anomaly) and failed modules (navigation, voice, Bluetooth), thereby determining the log analysis results.
[0092] This embodiment utilizes a specific interactive mode that integrates IDE plugins, web management interfaces, and push notifications to meet the needs of different roles (developers, testers, and managers) in various scenarios. For example, scripts can be generated directly within the IDE, instant tasks and alerts can be received via a chatbot, and macro-level management can be performed on the web management interface. The data from all three is synchronized in real time, creating a seamless work experience.
[0093] It's worth noting that the IDE plugin, a tool for test developers, allows the creation of a dedicated view in the IDE sidebar. This view displays in real-time the test tasks, statuses, and version dependencies assigned to the current user by the automated workflow management agent. Test users can select code or right-click on a task to invoke the chart generation and test script generation agent. The generated scripts can be run directly in the IDE's terminal. A chat panel can be accessed within the IDE using keyboard shortcuts, allowing users to directly ask questions to the documentation parsing and message interaction agent, such as "What are the test specifications for this interface?" The answer is displayed directly in the panel. The plugin also automatically monitors local logs during test execution and sends them to the log mining and risk warning agent for analysis.
[0094] The web-based management interface is for administrators of test users, providing a centralized view of test reports, progress charts, quality metrics, and risk overviews generated by chart generation and test script generation agents. It offers an interface for role registration, task flow configuration, document upload (triggering document parsing agents), and version dependency management. All blocked items and optimization suggestions pushed by the risk warning module are centrally displayed in a message list or dashboard format. It also allows administrators to easily review historical test data and various generated resources.
[0095] The push notification system is available to all test users, allowing for the delivery of relevant messages to each user. The automated process management agent sends task cards to designated personnel or groups via push notifications when a task reaches a certain milestone. The risk warning module instantly pushes high-level alerts to relevant groups (e.g., "Vehicle Infotainment System Test Alarm Group") via a robot, tagging relevant personnel. When a task status changes (e.g., completed, blocked), it is automatically synchronized within the group. Message cards can include buttons such as "[Confirm Receipt]" and "[Mark as Complete]". Clicking these buttons triggers the corresponding API, allowing the test user to interact with the automated process management agent.
[0096] IDE plugins ensure deep integration of tools and the development environment, improving the efficiency of core production activities. The web-based management interface provides macro-level management and data visualization capabilities, meeting the control and decision-making needs of management. Push notifications fully leverage the non-intrusiveness and immediacy of everyday communication tools, enabling proactive process advancement and transparent synchronization of team information. These three elements complement each other, forming a comprehensive and highly engaging software system covering different roles and work scenarios.
[0097] The present application will now be described in conjunction with specific embodiments.
[0098] The test manager uploads the requirements document on the web page and creates a task for tester Zhang San.
[0099] The test manager uploads and submits a document on the web interface. The web management interface calls the ` / api / document / upload` interface. The backend service wakes up the document parsing and message interaction agent, which calls the large model to parse the document, generate structured task data, and pass it to the automated process management agent. The automated process management agent creates the task and calls the message push service. The message push service sends a task reminder message to Zhang San. At the same time, Zhang San's task dashboard in the IDE plugin is refreshed in real time, showing this new task. Zhang San sees the task in the IDE, uses the plugin function to generate a test script, and executes it. After completion, he clicks the "
Complete
[0100] Figure 2 This is a structural diagram of a vehicle infotainment function testing device provided in one or more embodiments of the present invention.
[0101] like Figure 2 The vehicle infotainment system testing device shown includes: a data determination module, a task determination module, a log analysis module, and a report generation module.
[0102] The data determination module is used to respond to the detection of the vehicle system test task instruction, parse the vehicle system test task instruction, and determine the structured functional task data;
[0103] The task determination module is used to identify structured functional task data, determine the test execution user, and determine the functional test task corresponding to the test execution user.
[0104] The log analysis module is used to determine the completion of functional test tasks, generate functional test results and functional test logs, and perform data mining analysis on the functional test logs to determine the log analysis results.
[0105] The report generation module is used to generate a functional test report corresponding to the functional test results if the log analysis results determine that the functional test task is risk-free and the functional test task is completed.
[0106] The data determination module is used to call a pre-built document parsing and message interaction intelligent agent to parse the vehicle system test task instructions, obtain functional test requirement documents and / or text content; parse and understand the functional test requirement documents and / or text content, determine the interactive action instructions, and parse the functional test requirement documents and / or text content into structured functional task data in a specified format.
[0107] The task determination module is used to identify structured functional task data based on a preset automated process management intelligent agent, determine all functional test tasks to be executed and test execution users, formulate vehicle infotainment system functional test plans based on functional test tasks, determine the test order of functional test tasks according to the vehicle infotainment system functional test plan, and issue corresponding functional test tasks to each test execution user according to the test order.
[0108] The task determination module is used to generate corresponding test scripts based on functional test tasks through a content-generating agent, and then distribute the test scripts to the corresponding test execution users. The content-generating agent also performs chart visualization rendering based on the functional test results, synthesizes report templates, and generates corresponding charts and functional test reports based on the report templates and functional test results.
[0109] The log analysis module is used to respond to the detection of test task completion, acquire functional test data, and generate functional test results and functional test logs. Based on log mining and risk warning intelligence, it performs data mining on the functional test logs to identify test framework logs, vehicle system operation logs, test user feedback logs, and process status logs. It analyzes the test framework logs, vehicle system operation logs, test user feedback logs, and process status logs to determine the log analysis results.
[0110] The log analysis module is used to determine the risk level based on log mining and risk warning intelligence if the log analysis results indicate that there is a risk in the functional testing task; based on the risk level, it determines the risk warning and pushes the risk warning to the test users corresponding to the risk level.
[0111] Figure 3 This is a block diagram of an electronic device structure for a vehicle infotainment system function testing method provided in one or more embodiments of the present invention.
[0112] like Figure 3 As shown, this application provides an electronic device, including: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;
[0113] The memory stores a computer program, which, when executed by the processor, causes the processor to perform the steps of a vehicle infotainment system function testing method.
[0114] This application also provides a computer-readable storage medium storing a computer program executable by an electronic device, which, when run on the electronic device, causes the electronic device to perform the steps of a vehicle infotainment system function testing method.
[0115] This application also provides a vehicle, including:
[0116] Electronic equipment used to implement the steps of a vehicle-mounted system function testing method;
[0117] The processor runs a program, and when the program runs, it executes the steps of the vehicle infotainment function test method based on the data output from the electronic device.
[0118] Storage medium for storing programs that, when run, execute the steps of the vehicle infotainment system function test method based on data output from electronic devices.
[0119] The communication bus mentioned in the above electronic devices can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.
[0120] The electronic device comprises a hardware layer, an operating system layer running on top of the hardware layer, and an application layer running on the operating system. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and memory. The operating system can be any one or more computer operating systems that control the electronic device through processes, such as Linux, Unix, Android, iOS, or Windows. Furthermore, in this embodiment of the invention, the electronic device can be a smartphone, tablet computer, or other handheld device, or a desktop computer, portable computer, or other electronic device; there is no particular limitation in this embodiment.
[0121] In this embodiment of the invention, the executing entity for electronic device control can be an electronic device itself, or a functional module within an electronic device capable of calling and executing a program. The electronic device can obtain the firmware corresponding to the storage medium. This firmware is provided by the supplier, and different storage media may have the same or different firmware; no limitation is made here. After obtaining the firmware corresponding to the storage medium, the electronic device can write this firmware into the storage medium; specifically, it burns the firmware corresponding to the storage medium into the storage medium. The process of burning the firmware into the storage medium can be implemented using existing technology, and will not be elaborated upon in this embodiment of the invention.
[0122] Electronic devices can also obtain reset commands corresponding to the storage media. The reset commands corresponding to the storage media are provided by the supplier. The reset commands corresponding to different storage media can be the same or different, and no restrictions are imposed here.
[0123] At this time, the storage medium of the electronic device is a storage medium on which the corresponding firmware has been written. The electronic device can respond to the reset command corresponding to the storage medium on which the corresponding firmware has been written, thereby resetting the storage medium on which the corresponding firmware has been written according to the reset command. The process of resetting the storage medium according to the reset command can be implemented by existing technology and will not be described in detail in this embodiment of the invention.
[0124] For ease of description, the above devices are described separately by function as various units and modules. Of course, in implementing this application, the functions of each unit and module can be implemented in one or more software and / or hardware.
[0125] It will be understood by those skilled in the art that, unless otherwise defined, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. It should also be understood that terms such as those defined in general dictionaries should be understood to have the meaning consistent with their meaning in the context of the prior art, and should not be interpreted in an idealized or overly formal sense unless specifically defined.
[0126] For the sake of simplicity, the method embodiments are described as a series of actions. However, those skilled in the art should understand that the embodiments of the present invention are not limited to the described order of actions, because according to the embodiments of the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions involved are not necessarily essential to the embodiments of the present invention.
[0127] As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus necessary general-purpose hardware platforms. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in various embodiments or some parts of the embodiments of this application.
[0128] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for testing the functionality of an in-vehicle infotainment system, characterized in that, The vehicle infotainment testing method includes: In response to the detection of a vehicle infotainment system test task instruction, the vehicle infotainment system test task instruction is parsed to determine structured functional task data; Identify the structured functional task data, determine the test execution user, and determine the functional test task corresponding to the test execution user; Once the functional test task is confirmed to be completed, functional test results and functional test logs are generated, and data mining analysis is performed on the functional test logs to determine the log analysis results. If the log analysis results determine that the functional test task is risk-free, the functional test task is completed, and a functional test report corresponding to the functional test results is generated.
2. The vehicle infotainment system function testing method according to claim 1, characterized in that, The process of parsing the vehicle infotainment system test task instruction and determining structured functional task data includes: The pre-built document parsing and message interaction intelligent agent is invoked to parse the vehicle system test task instruction and obtain the functional test requirement document and / or text content. Parse and understand the functional test requirement document and / or the text content, determine the interactive action instructions, and parse the functional test requirement document and / or the text content into structured functional task data in a specified format.
3. The vehicle infotainment system function testing method according to claim 1, characterized in that, The process of identifying the structured functional task data, determining the test execution user, and determining the functional test task corresponding to the test execution user includes: Based on a pre-set automated process management intelligent agent, the structured functional task data is identified to determine all functional test tasks to be executed and test execution users. Develop a vehicle infotainment system function test plan based on the aforementioned functional test tasks; According to the vehicle infotainment system function test plan, the test order of the function test tasks is determined, and the corresponding function test task is issued to the user for each test according to the test order.
4. The vehicle infotainment system function testing method according to claim 3, characterized in that, After issuing corresponding functional test tasks to each test user according to the test order, the method further includes: The content-generating intelligent agent generates corresponding test scripts based on the functional test tasks and distributes the test scripts to the corresponding test execution users.
5. The vehicle infotainment system function testing method according to claim 4, characterized in that, The completion of the functional testing task and the generation of a functional test report corresponding to the functional test results include: A smart agent is generated from the content, and a chart visualization rendering is performed based on the functional test results to synthesize a report template. Based on the report template and the functional test results, generate corresponding charts and the functional test report.
6. The vehicle infotainment system function testing method according to claim 1, characterized in that, The process involves determining that the functional test task is complete, generating functional test results and functional test logs, and performing data mining analysis on the functional test logs to determine the log analysis results, including: In response to the detection that the test task is completed, functional test data is acquired, and functional test results and functional test logs are generated. Based on log mining and risk warning intelligent agents, data mining is performed on the functional test logs to identify test framework logs, vehicle system operation logs, test user feedback logs, and process status logs. Analyze the test framework logs, the vehicle system operation logs, the test user feedback logs, and the process status logs to determine the log analysis results.
7. The vehicle infotainment system function testing method according to claim 1 or 6, characterized in that, After determining the log analysis results, the method further includes: If the log analysis results determine that the functional testing task has a risk, the risk level is determined based on log mining and risk warning intelligence. Based on the risk level, a risk warning is determined and pushed to the test users corresponding to the risk level.
8. A vehicle infotainment system function testing device, characterized in that, The vehicle infotainment function testing device includes: The data determination module is used to parse the vehicle system test task instruction and determine the structured functional task data in response to the detection of the vehicle system test task instruction; The task determination module is used to identify the structured functional task data, determine the test execution user, and determine the functional test task corresponding to the test execution user; The log analysis module is used to determine the completion of the functional test task, generate functional test results and functional test logs, and perform data mining analysis on the functional test logs to determine the log analysis results. The report generation module is used to complete the functional test task and generate a functional test report corresponding to the functional test results if the log analysis results determine that the functional test task is risk-free.
9. A computer-readable storage medium, characterized in that, The device stores a computer program executable by an electronic device, which, when run on the electronic device, causes the electronic device to perform the steps of the vehicle infotainment function testing method as described in any one of claims 1 to 7.
10. A vehicle, characterized in that, include: An electronic device for implementing the steps of the vehicle infotainment function testing method as described in any one of claims 1 to 7; A processor that runs a program, and when the program runs, it executes the steps of the vehicle infotainment function testing method as described in any one of claims 1 to 7 from data output by the electronic device. A storage medium for storing a program that, when running, performs the steps of the vehicle infotainment function test method as described in any one of claims 1 to 7 on data output from an electronic device.