Method and device for testing dynamic function of vehicle and related equipment

By configuring automated test scripts and deploying actual vehicle automation test tasks, and combining vehicle-side test service module for test triggering and monitoring, the problem of dynamic vehicle functional testing in the existing technology requires multiple people to collaborate, achieving efficient and accurate test results .

CN119394671APending Publication Date: 2025-02-07Z-ONE TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411527012.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-29
Publication Date
2025-02-07

AI Technical Summary

Technical Problem

In the prior art, the vehicle dynamic functional testing method requires multiple testers to conduct real vehicle functional testing, which is difficult to ensure tacit cooperation between testers, and the accuracy of the test results is not high, the cycle is long, and the operation is cumbersome.

Method used

By configuring automated test scripts, an automated test sequence for the vehicle to be tested is generated, a real vehicle automation test task is deployed, and a test trigger is conducted in combination with the test service module embedded in the vehicle end, the test process is monitored, the data is recorded and the test report is generated.

Benefits of technology

It realizes dynamic functional testing without the need for multiple people to conduct, can cover more scenarios to be tested, shorten the test cycle, and improve the consistency and accuracy of test results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119394671A_ABST
    Figure CN119394671A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle dynamic function test method and device and related equipment, and the method comprises the steps: generating an automatic test sequence for a to-be-tested vehicle according to a configured automatic test script; deploying a real vehicle automatic test task for the to-be-tested vehicle based on the automatic test sequence; according to the deployed real vehicle automatic test task, in combination with a result of performing instruction analysis on the automatic test script by one or more test service modules embedded in the vehicle end, performing test triggering; and in combination with the change information of the vehicle end service function software switch and / or hardware switch acquired by the service function coordinate control module, the test process data and the test result data, a real vehicle automatic test report for performing dynamic functions on the to-be-tested vehicle is generated. According to the test mode, manpower is saved, more to-be-tested scenes can be covered, and a relatively comprehensive test report can be obtained. The test period is short, the test process is simple to operate, the consistency of test results is high, and the test accuracy is good.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of motor vehicle technology, and in particular to a method, device and related equipment for testing vehicle dynamic functions. Background Art

[0002] With the popularization of automobile intelligence, users have higher and higher requirements for the intelligent operation of vehicles. Among them, the dynamic service functions of vehicles that may be used by users when the vehicle is driving on the road are especially designed. Therefore, when the vehicle is configured at the factory, it is necessary to perform dynamic testing of the service process for service function domains such as the collaborative work of the vehicle in different usage scenarios, which is used to determine whether multiple functional domains, such as power domain, chassis domain, intelligent driving system, body domain, smart cabin domain, etc., meet the collaborative work requirements of different driving scenarios of the vehicle, and inform the tester to operate the process sequence in time according to the actual vehicle operation status. However, the traditional real vehicle dynamic function testing method in the industry currently requires multiple testers to conduct real vehicle function testing, such as one person is responsible for the actual driving operation of the vehicle, and one person is responsible for monitoring and judging the operation status of the vehicle, and a high degree of tacit cooperation between the two is required to effectively complete the corresponding real vehicle test, which makes it difficult to ensure that the tester will not make mistakes in the meeting, and this traditional testing method cannot cover all test scenarios. In the later stage, it is necessary to manually summarize the test process to obtain a test report. This kind of testing process has a long cycle, and the testing process operation is cumbersome, time-consuming and labor-intensive. In addition, the accuracy of the test results is not high, and the consistency of the test results is poor. Summary of the invention

[0003] In view of this, embodiments of the present application provide a method, apparatus and related equipment for testing vehicle dynamic functions to at least or partially solve the above-mentioned problems.

[0004] In a first aspect, an embodiment of the present application provides a method for testing a vehicle dynamic function, comprising:

[0005] Generate an automated test sequence for the vehicle to be tested according to the configured automated test script;

[0006] Deploy real vehicle automated test tasks for the vehicle to be tested based on the automated test sequence;

[0007] According to the deployed real vehicle automated test tasks, the test is triggered in combination with the result of the instruction parsing of the automated test script by one or more test service modules embedded in the vehicle, wherein the test service modules include a voice interaction module, a SOA service interface and a service function coordinate control module;

[0008] Monitoring the test process of the vehicle to be tested, and recording the test process data and test result data corresponding to the execution of the test sequence;

[0009] Combined with the change information of the vehicle-side service function software switch and / or hardware switch obtained by the service function coordinate control module, the test process data and the test result data, an actual vehicle automated test report for the dynamic function of the vehicle to be tested is generated.

[0010] Optionally, in an embodiment of the present application, when monitoring the test process of the vehicle to be tested, the method further includes:

[0011] Acquire, through the voice interaction module, execution information of the automated test script executed by the vehicle side, wherein the execution information at least includes test process data and the test result data;

[0012] Test guidance information is generated according to the execution information, and voice broadcast is performed through the voice interaction module for voice test guidance.

[0013] Optionally, in an embodiment of the present application, the monitoring of the test process of the vehicle to be tested includes:

[0014] Combining the real vehicle network bus host computer software and the vehicle-side network bus hardware, the real vehicle test process of the vehicle to be tested is carried out through the collaborative monitoring of software and hardware.

[0015] Optionally, in an embodiment of the present application, the test triggering is performed based on the result of the instruction parsing of the automated test script by one or more test service modules embedded in the vehicle according to the deployed real vehicle automated test task, including:

[0016] Analyze the automated test task to determine multiple vehicle-side domain controllers that need to be activated for the vehicle to be tested;

[0017] The test instructions are executed in combination with one or more test modules embedded in the vehicle side, and multiple activated vehicle side domain controllers are controlled to trigger the test of dynamic functions according to a preset timing.

[0018] Optionally, in an embodiment of the present application, before the test trigger is performed, the method further includes:

[0019] Determine whether the preconditions for the vehicle-side function to be triggered to execute the test instructions generated by the automated test script are met;

[0020] If not, the unsatisfied preconditions are announced by voice.

[0021] Optionally, in an embodiment of the present application, generating an automated test sequence for the vehicle to be tested according to the configured automated test script includes:

[0022] Obtain one or more scenario usage instructions of the dynamic function of the vehicle to be tested, wherein the scenario usage instructions include intelligent voice interaction information, coordinate control information, and SOA service control information corresponding to the scenario;

[0023] Combine the automated test script corresponding to the scenario usage instructions and the scenario usage instructions to build an automated test sequence for the scenario for the vehicle to be tested.

[0024] Optionally, in an embodiment of the present application, the method further comprises: based on a preset number of tests, repeatedly executing a test process for an automated test script for multiple rounds, and obtaining automated real vehicle test report results of the multiple rounds of tests;

[0025] The automated real vehicle test report results of the multiple rounds of tests are compared to determine the test results of the dynamic function test on the real vehicle.

[0026] In a second aspect, based on the vehicle dynamic function test method described in the first aspect of the present application, an embodiment of the present application further provides a vehicle dynamic function test device, characterized in that it includes:

[0027] A generating module, used for generating an automated test sequence for the vehicle to be tested according to the configured automated test script;

[0028] The deployment module is used to deploy the real vehicle automated test tasks for the vehicle to be tested based on the automated test sequence;

[0029] A trigger module is used to trigger the test according to the deployed real vehicle automated test task and the result of the instruction parsing of the automated test script by one or more test service modules embedded in the vehicle, wherein the test service module includes a voice interaction module, a SOA service interface and a service function coordinate control module;

[0030] A recording module, used to monitor the test process of the vehicle to be tested, and record the test process data and test result data corresponding to the execution of the test sequence;

[0031] The feedback module is used to generate a real vehicle automated test report for the dynamic functions of the vehicle to be tested in combination with the change information of the vehicle-side service function software switch and / or hardware switch, the test process data and the test result data obtained by the service function coordinate control module.

[0032] In a third aspect, an embodiment of the present application further provides a computer storage medium having computer executable instructions stored thereon, and when the computer executable instructions are executed, any one of the vehicle dynamic function testing methods described in the first aspect of the embodiment of the present application is performed.

[0033] In a fourth aspect, an embodiment of the present application further provides an electronic device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other through the communication bus;

[0034] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute any one of the vehicle dynamic function testing methods described in the first aspect of the embodiment of the present application.

[0035] The present application provides a method, device and related equipment for testing the dynamic functions of a vehicle, which generates an automated test sequence for the vehicle to be tested according to the configured automated test script; deploys the actual vehicle automated test task for the vehicle to be tested based on the automated test sequence; according to the deployed actual vehicle automated test task, the test is triggered in combination with the result of the instruction parsing of the automated test script by one or more test service modules embedded in the vehicle, wherein the test service module includes a voice interaction module, an SOA service interface and a service function coordinate control module; monitors the test process of the vehicle to be tested, and records the test process data and test result data corresponding to the execution of the test sequence; combines the change information, test process data and test result data of the vehicle-side service function software switch and / or hardware switch obtained by the service function coordinate control module, generates an actual vehicle automated test report for the dynamic function of the vehicle to be tested. This method of automatically testing and triggering dynamic services after parsing the test instructions of the deployed test task by the vehicle-side test service module does not require the collaboration of multiple people, can cover more test scenarios, and can obtain a more comprehensive test report without manual test summary. The test cycle is shortened, the test process is simple to operate, the test results are highly consistent, and the test accuracy is good. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.

[0037] Figure 1 A schematic diagram of a working process of a method for testing vehicle dynamic functions provided in an embodiment of the present application;

[0038] Figure 2 A schematic diagram of the structure of a device for testing vehicle dynamic functions provided in an embodiment of the present application.

[0039] Figure 3 A schematic structural diagram of an electronic device is provided for an embodiment of the present application. DETAILED DESCRIPTION

[0040] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the embodiments of the present application should fall within the scope of protection of the embodiments of the present application.

[0041] It should be understood that the various steps described in the method implementation of the present application can be performed in different orders and / or performed in parallel. In addition, the method implementation may include additional steps and / or omit the steps shown. The scope of the present application is not limited in this respect.

[0042] Embodiment 1

[0043] The present application embodiment provides a method for testing vehicle dynamic functions, such as Figure 1 As shown, Figure 1 A schematic diagram of a process flow of a vehicle dynamic function test method provided in an embodiment of the present application includes:

[0044] Step S101: Generate an automated test sequence for the vehicle to be tested according to the configured automated test script.

[0045] In the embodiment of the present application, the automated test script is a line-by-line description of information about system transactions that should be executed to verify the application or system under test, and the corresponding automated test sequence refers to a set of test instructions for the service execution order of different tested scenarios. In the embodiment of the present application, the automated test script configured to generate an automated test sequence for the vehicle to be tested can effectively perform a more comprehensive dynamic functional test on the service functions involved in various service scenarios on the vehicle side to reduce the content of the omission test, and the results meet the required test plan.

[0046] Optionally, in an implementation of the embodiment of the present application, according to the configured automated test script, an automated test sequence for the vehicle to be tested is generated, including: obtaining one or more scenario usage instructions of the dynamic function of the vehicle to be tested, the scenario usage instructions source includes PRD (Product requirement document), user manual or technical specifications, etc., specifically for the information on how the intelligent voice interaction corresponding to the scenario works, coordinate control information and SOA service control information, covering the preconditions for opening the service scenario, exit conditions, corresponding human-computer interaction and central control display information, etc. For example, for the vehicle in the city NOA (Navigate on Autopilot, usually referred to as "navigation assisted driving" or "high-level intelligent driving" in the industry) scenario test, according to the previously collected usage instructions, it is necessary to design the corresponding intelligent voice interaction work information, such as asking whether the tea cooling function is turned on, whether the navigation is turned on, whether the destination is set, etc., and starting the navigation test to see whether the gear and speed of the vehicle meet the conditions for activating the function, such as the need to judge the D gear, the speed must be ≥10km / h, etc. Each of these service functions and changes is triggered by intelligent voice and then announced to prompt the testers. Some functions that need to be controlled or set through the central control screen are completed by the SOA service interface or service coordinate control module. When each test step reaches the expected test state, the intelligent voice will also promptly report the current vehicle status. For example, if the vehicle has activated the city NOA function and all parameters are running normally under this function, the system will eventually determine that this function has passed the test normally, and the intelligent voice interaction module ends the service function test of this scenario with the conclusion "If city NOA has been activated, the function is working normally." The embodiment of the present application is limited to building an automated test sequence for the vehicle to be tested for the scenario in combination with an automated test script corresponding to the service scenario to be tested, so as to strongly couple the built automated test sequence with the various test service function modules that execute the automated test script on the vehicle side, so that the automated test sequence is executed after instruction parsing through these test service function modules. The process of testing and executing the built automated test sequence does not require excessive manpower to ensure that the test tasks are executed in an orderly manner as expected, thereby improving the automation efficiency of the test process and reducing test errors caused by human intervention, so as to ensure that the test results of the same scenario for the same vehicle model have good consistency.

[0047] Step S102: deploying the real vehicle automated test task for the vehicle to be tested based on the automated test sequence. In the embodiment of the present application, the deployment can be performed by a test user terminal with the vehicle to be tested, such as performing targeted deployment of the test task through a mobile phone or a cloud service terminal, thereby ensuring the convenience of the task deployment method of the embodiment of the present application.

[0048] Step S103, according to the deployed real vehicle automated test task, combined with one or more test service modules embedded in the vehicle end to parse the command results of the automated test script, test triggering is performed, wherein the test service module includes a voice interaction module, an SOA service interface and a service function coordinate control module. In the embodiment of the present application, the voice interaction module is used to parse and test trigger the vehicle-side dynamic service function that needs voice control, such as a service that is called up by the user and interacts with the user; the SOA service interface is used to communicate with other third-party service ends or cloud service ends through the vehicle end and the service function, such as switching the vehicle-side software or updating the system through the control instructions of the cloud service end, and the embodiment of the present application is not repeated here. The service function coordinate control module is used to establish a corresponding coordinate control preset mapping with the display control menu of the vehicle-side service function or the central control interface to realize the control of these service functions. The present application introduces the above-mentioned test service module to participate in the test of the vehicle dynamic service function, which can effectively reduce the process of manual participation in the test, improve the automation level of the test, improve the test efficiency, save the test cost, and ensure the accuracy of the test and the consistency of the test results.

[0049] Step S104: monitor the test process of the vehicle to be tested, and record the test process data and test result data corresponding to the execution of the test sequence. In the embodiment of the present application, by recording the test process data and result data according to the timing of the execution of the test sequence, the reliability of the test result can be guaranteed, and it is also convenient for the testee to query, and the tested content that failed the test in the test result is also easier for the tester to locate.

[0050] Step S105, combining the change information of the vehicle-side service function software switch and / or hardware switch, the test process data and the test result data obtained by the service function coordinate control module, to generate a real vehicle automated test report for the dynamic function of the vehicle to be tested. In this embodiment of the application, the switch change information of the vehicle-side service function software not only includes the display interface of the vehicle-side central control, but also includes the service parameter changes generated after operating the control menu through the central control display interface. The change information of the vehicle-side hardware switch includes service function change information such as the gear change information of the vehicle, the knob change information of the air conditioner, the window opening degree information, etc., which are controlled by position changes. This embodiment of the application will not be repeated here.

[0051] Optionally, in one embodiment of the present application, when monitoring the test process of the vehicle to be tested, the method further includes: obtaining the execution information of the automated test script executed by the vehicle side through a voice interaction module, wherein the execution information includes at least the test process data and the test result data; based on the execution information, generating test guidance information, and performing voice broadcasting through the voice interaction module for voice test guidance. So that the tester can accurately and efficiently carry out orderly dynamic function testing according to these prompt broadcasts. In the embodiment of the present application, the tester is guided by the voice interaction module for testing, and the tester can smoothly complete the test according to the guidance without having rich testing experience, so as to improve the test efficiency.

[0052] Optionally, in one embodiment of the present application, the monitoring of the test process of the vehicle to be tested includes: combining the real vehicle network bus host computer software and the vehicle-side network bus hardware, and conducting a real vehicle test process of the vehicle to be tested by means of software and hardware collaborative monitoring. In the process of testing the dynamic function of the vehicle, the vehicle status that needs to be monitored in each link, that is, the on-board network data, can be obtained in real time through network bus tools (such as: Vector's VN1640 and CANoe, VBA, vehicle spy and other on-board network tools and software), so as to judge the status of the vehicle in real time. The status information of these vehicles, such as the adaptive cruise function, has a corresponding network segment and the intelligent driving domain control sends a corresponding characterization signal, whether the current function is off or on, whether it is active or standby; if the vehicle's power mode is released by the vehicle's central domain control, then the current vehicle power mode signal status can be obtained, such as system power mode, and so on, all network signals that need to be monitored by the automation system have been preset on the test system platform, including the signal threshold, the signal network segment, and the data interface. These parameters are the basis for judging the operating status of this function, and the test result is judged as success or failure. Since the test process does not require manual judgment of the vehicle status and results, they are all preset by the system, and there will be no test deviation due to differences in the level of testers or the depth of their understanding of the functions. While obtaining relatively rich test process information and test result information, it is used to generate a more comprehensive test report, and can also effectively ensure that the tests of different testers can maintain the consistency and integrity of the test.

[0053] Optionally, in one embodiment of the present application, the test is triggered based on the result of the command parsing of the automated test script by one or more test service modules embedded in the vehicle according to the deployed real vehicle automated test task, including: parsing the automated test task to determine the multiple vehicle-side domain controllers that need to be activated for the vehicle to be tested; executing the test instructions in combination with one or more test modules embedded in the vehicle, and controlling the multiple activated vehicle-side domain controllers to perform dynamic function test triggering according to a preset sequence. In the dynamic service test process defined in the embodiment of the present application, the relevant service functions generally have a certain startup sequence. For example, it includes some preconditions or exit conditions, such as speeding or congestion warnings, etc.

[0054] Optionally, in one embodiment of the present application, before the test is triggered, the method further includes: determining whether the preconditions for the vehicle-side function to be triggered to execute the test instructions generated by the automated test script are met; if not, then voice broadcasting the unmet preconditions. The present application embodiment lists a specific example for illustration: taking the test of the vehicle's intelligent driving adaptive cruise function as an example, when testing this function, it is necessary to enable and activate several preconditions that must be met for normal operation, such as: whether the vehicle's power is turned on, whether the adaptive function switch is turned on, gear position, vehicle speed, brake status, seat belt status, door status, whether the intelligent driving system has a fault, etc. During the test process using the test method of the present application, by monitoring the current status of the vehicle in real time, when it is detected that the vehicle's power mode does not meet the requirements, it is broadcasted through the intelligent voice mode: such as "The current vehicle power mode is not met, please step on the brake to Ready"; when the vehicle's current adaptive cruise function When it is off, the intelligent voice module is triggered to broadcast, such as "The current adaptive cruise function is off, please turn it on! If it is not turned on within 10 seconds, I will automatically turn it on for you." After the 10s waiting timeout, the service coordinate control mode and SOA service interface are triggered to execute the soft switch of the adaptive cruise. After turning it on, if the network intelligent driving controller is monitored to feedback the signal of this function ON, the intelligent voice module will automatically broadcast, "The adaptive cruise function is turned on" and so on. When the other conditions are not met to activate the adaptive cruise function, the automated test system will monitor the abnormal state in real time, and issue an intelligent voice prompt broadcast in time, and at the same time trigger the coordinate module and SOA service to complete the execution of the corresponding control. The embodiment of the present application is tested in this way to ensure the accuracy of the test and the stability of the test process.

[0055] Optionally, in one embodiment of the present application, the method further includes: when generating an automated vehicle test report for the dynamic functions of the vehicle to be tested, based on a preset number of tests, repeatedly executing a test process for an automated test script for multiple rounds to obtain automated vehicle test report results for multiple rounds of tests; comparing the automated vehicle test report results for the multiple rounds of tests to determine whether the consistency of the service functions corresponding to the tested scenario is maintained during the dynamic function test of the vehicle to be tested, thereby compensating for the shortcomings of manual testing such as long test cycle and few test rounds.

[0056] Optionally, in an implementation of an embodiment of the present application, the method further includes: when generating a real vehicle automated test report for the dynamic functions of the vehicle under test, performing a stress test on a single service function of the vehicle through the one or more test service modules, while ensuring the stability of the single service function of the vehicle under test, reducing the difficulty of the stress test and improving the comprehensiveness of the test results.

[0057] Optionally, in an implementation of an embodiment of the present application, the method also includes: performing a reverse operation on the service scenario control logic through one or more test service modules, and recording the execution information and execution result data of the reverse operation to perform a stability test on the service scenario of the vehicle to be tested, and writing the results of the stability test into a test report to further improve the applicability of the test method described in the present application and provide a better testing experience for testing companies.

[0058] Optionally, in an implementation of an embodiment of the present application, the method also includes: simulating the test process of multiple people using one or more service scenarios on the vehicle side at the same time through one or more test service modules, and recording the execution information and execution result data of multiple service scenarios being used during the simulation test, so as to effectively test the test blind spots when multi-domain and multi-functions are running in parallel, and further improve the comprehensiveness of the test method described in the embodiment of the present application.

[0059] The present application provides a method for testing the dynamic functions of a vehicle, by generating an automated test sequence for the vehicle to be tested according to the configured automated test script; deploying the automated test task for the vehicle to be tested based on the automated test sequence; according to the deployed automated test task for the real vehicle, combining the result of the instruction parsing of the automated test script by one or more test service modules embedded in the vehicle, a test trigger is performed, wherein the test service module includes a voice interaction module, an SOA service interface, and a service function coordinate control module; monitoring the test process of the vehicle to be tested, recording the test process data and test result data corresponding to the execution of the test sequence; combining the change information, test process data, and test result data of the vehicle-side service function software switch and / or hardware switch obtained by the service function coordinate control module, generating a real vehicle automated test report for the dynamic function of the vehicle to be tested. This method of automatically testing and triggering dynamic services after parsing the test instructions of the deployed test task by the test service module on the vehicle side does not require multi-person collaboration, can cover more test scenarios, and can obtain a more comprehensive test report without manual test summary. The test cycle is shortened, the test process is simple to operate, the test results are highly consistent, and the test accuracy is good.

[0060] Embodiment 2

[0061] Based on the method for testing the dynamic function of a vehicle provided in the first embodiment of the present application, the embodiment of the present application also provides a device for testing the dynamic function of a vehicle, such as Figure 2 As shown, Figure 2 A schematic diagram of the structure of a vehicle dynamic function test device 20 provided in an embodiment of the present application, the vehicle dynamic function test device 20 includes:

[0062] A generating module 201, configured to generate an automated test sequence for the vehicle to be tested according to a configured automated test script;

[0063] A deployment module 202, for deploying a real vehicle automated test task for the vehicle to be tested based on the automated test sequence;

[0064] The trigger module 203 is used to trigger the test according to the deployed real vehicle automated test task and the result of the instruction parsing of the automated test script by one or more test service modules embedded in the vehicle, wherein the test service module includes a voice interaction module, a SOA service interface and a service function coordinate control module;

[0065] The recording module 204 is used to monitor the test process of the vehicle to be tested and record the test process data and test result data when the test sequence is executed;

[0066] The feedback module 205 is used to generate a real vehicle automated test report for the dynamic functions of the vehicle under test in combination with the change information of the vehicle-side service function software switch and / or hardware switch, the test process data and the test result data obtained by the service function coordinate control module.

[0067] Optionally, in one embodiment of the present application, the device 20 also includes a guidance module (not shown in the accompanying drawings), which is used to obtain the execution information of the automated test script executed by the vehicle side through the voice interaction module when monitoring the test process of the vehicle to be tested, and the execution information includes at least the test process data and the test result data; based on the execution information, test guidance information is generated, and voice broadcast is performed through the voice interaction module for voice test guidance. So that the tester can accurately and efficiently carry out orderly dynamic function testing according to these prompt broadcasts. In the embodiment of the present application, the tester is guided by the voice interaction module for testing, and the tester can smoothly complete the test according to the guidance without having rich testing experience, so as to improve the test efficiency.

[0068] Optionally, in one embodiment of the present application, the recording module 204 is also used to combine the real vehicle network bus host computer software and the vehicle-side network bus hardware to monitor the real vehicle test process of the vehicle to be tested through software and hardware collaborative monitoring.

[0069] Optionally, in one embodiment of the present application, the trigger module 203 is also used to parse the automated test task, determine the multiple vehicle-side domain controllers that need to be activated for the vehicle to be tested; execute the test instructions in combination with one or more test modules embedded in the vehicle, and control the multiple activated vehicle-side domain controllers to perform dynamic function test triggers according to a preset timing.

[0070] Optionally, in one embodiment of the present application, the device 20 also includes a judgment module (not shown in the accompanying drawings), which is used to determine whether the preconditions for the vehicle-side function to be triggered to execute the test instructions generated by the automated test script are met; if not, the unsatisfied preconditions are voice broadcasted through the guidance module.

[0071] Optionally, in one embodiment of the present application, the generation module 201 is also used to obtain one or more scenario usage instructions for the dynamic functions of the vehicle under test, and the scenario usage instructions include intelligent voice interaction information, coordinate control information and SOA service control information corresponding to the scenario; combined with the automated test script corresponding to the scenario usage instructions and the scenario usage instructions, an automated test sequence for the vehicle under test for the scenario is constructed.

[0072] Optionally, in one embodiment of the present application, the device is also used to execute a module (not shown in the accompanying drawings), and the execution module is also used to repeatedly execute a test process for an automated test script for multiple rounds based on a preset number of tests, and obtain automated real vehicle test report results of multiple rounds of tests; compare the automated real vehicle test report results of the multiple rounds of tests to determine the test results of the dynamic function test of the real vehicle.

[0073] The present application provides a device for testing the dynamic functions of a vehicle, wherein a generation module is set to generate an automated test sequence for the vehicle to be tested according to a configured automated test script; a deployment module is set to deploy the real vehicle automated test task for the vehicle to be tested based on the automated test sequence; a trigger module is set to perform a test trigger according to the deployed real vehicle automated test task, in combination with the result of the instruction parsing of the automated test script by one or more test service modules embedded in the vehicle, wherein the test service module includes a voice interaction module, an SOA service interface, and a service function coordinate control module; a recording module is set to monitor the test process of the vehicle to be tested, and record the test process data and test result data corresponding to the execution of the test sequence; a feedback module is set to generate a real vehicle automated test report for the dynamic function of the vehicle to be tested in combination with the change information, test process data, and test result data of the vehicle-side service function software switch and / or hardware switch obtained by the service function coordinate control module. This method of automatically performing a test to trigger a dynamic service after parsing the test instructions of the deployed test task by the vehicle-side test service module does not require the collaboration of multiple people, can cover more test scenarios, and can obtain a more comprehensive test report without manual test summary. The test cycle is shortened, the test process is simple to operate, the consistency of the test results is high, the test accuracy is good, and the structure of the device is simple and easy to implement.

[0074] Embodiment 3

[0075] An embodiment of the present application also provides a storage medium on which a computer program is stored. When the program is executed by a processor, any one of the vehicle dynamic function testing methods described in the first embodiment of the present application is implemented.

[0076] Embodiment 4:

[0077] The present application also provides an electronic device, such as Figure 3 As shown, Figure 3 A schematic diagram of the structure of an electronic device is provided for an embodiment of the present application, and the electronic device includes:

[0078] One or more processors 301, a communication interface 302, a memory 303 and a communication bus 304, the processor 301, the memory 303 and the communication interface 302 communicate with each other via the communication bus 304;

[0079] Memory 303, used to store one or more programs;

[0080] When the one or more programs are executed by the one or more processors 303, the one or more processors implement operations corresponding to any one of the methods for verifying the service agent between the vehicle and the cloud as described in Example 1 of the present application.

[0081] So far, the application has described specific embodiments of the subject matter. In some cases, the actions recorded in the claims can be performed in different orders and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing can be advantageous.

[0082] In the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system layer on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.

[0083] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.

[0084] The system layers, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0085] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0086] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0087] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, system layers or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0088] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific transactions or implement specific abstract data types. The present application may also be practiced in distributed computing environments where transactions are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0089] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system layer embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0090] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for testing vehicle dynamic functions, characterized in that: include: Generate an automated test sequence for the vehicle to be tested according to the configured automated test script; Deploy real vehicle automated test tasks for the vehicle to be tested based on the automated test sequence; According to the deployed real vehicle automated test tasks, the test is triggered in combination with the result of the instruction parsing of the automated test script by one or more test service modules embedded in the vehicle, wherein the test service modules include a voice interaction module, a SOA service interface and a service function coordinate control module; Monitoring the test process of the vehicle to be tested, and recording the test process data and test result data corresponding to the execution of the test sequence; Combined with the change information of the vehicle-side service function software switch and / or hardware switch obtained by the service function coordinate control module, the test process data and the test result data, an actual vehicle automated test report for the dynamic function of the vehicle to be tested is generated.

2. The method for testing vehicle dynamic functions according to claim 1, characterized in that: When monitoring the test process of the vehicle to be tested, the method further includes: Acquire, through the voice interaction module, execution information of the automated test script executed by the vehicle side, wherein the execution information at least includes test process data and the test result data; Test guidance information is generated according to the execution information, and voice broadcast is performed through the voice interaction module for voice test guidance.

3. The method for testing vehicle dynamic functions according to claim 1, characterized in that: The monitoring of the test process of the vehicle to be tested includes: Combining the real vehicle network bus host computer software and the vehicle-side network bus hardware, the real vehicle test process of the vehicle to be tested is carried out through the collaborative monitoring of software and hardware.

4. The method for testing vehicle dynamic functions according to claim 1, characterized in that: The test triggering is performed based on the result of the command parsing of the automated test script by one or more test service modules embedded in the vehicle according to the deployed real vehicle automated test task, including: Analyze the automated test task to determine multiple vehicle-side domain controllers that need to be activated for the vehicle to be tested; The test instructions are executed in combination with one or more test modules embedded in the vehicle side, and multiple activated vehicle side domain controllers are controlled to trigger the test of dynamic functions according to a preset timing.

5. The method for testing vehicle dynamic functions according to claim 1, characterized in that: Before performing the test trigger, the method further includes: Determine whether the preconditions for the vehicle-side function to be triggered to execute the test instructions generated by the automated test script are met; If not, the unsatisfied preconditions are voiced out through the voice interaction module.

6. The method for testing vehicle dynamic functions according to claim 1, characterized in that: The step of generating an automated test sequence for the vehicle to be tested according to the configured automated test script includes: Obtain one or more scenario usage instructions of the dynamic function of the vehicle to be tested, wherein the scenario usage instructions include intelligent voice interaction information, coordinate control information, and SOA service control information corresponding to the scenario; Combine the automated test script corresponding to the scenario usage instructions and the scenario usage instructions to build an automated test sequence for the scenario for the vehicle to be tested.

7. The method for testing vehicle dynamic functions according to claim 1, characterized in that: The method further includes: repeatedly executing a test process for an automated test script for multiple rounds based on a preset number of tests, and obtaining automated real vehicle test report results for the multiple rounds of tests; The automated real vehicle test report results of the multiple rounds of tests are compared to determine the test results of the dynamic function test on the real vehicle.

8. A device for testing vehicle dynamic functions, characterized in that: include: A generation module, used to generate an automated test sequence for the vehicle to be tested according to the configured automated test script; A deployment module is used to deploy real vehicle automated test tasks for the vehicle to be tested based on the automated test sequence; A trigger module is used to trigger the test according to the deployed real vehicle automated test task and the result of the instruction parsing of the automated test script by one or more test service modules embedded in the vehicle, wherein the test service module includes a voice interaction module, a SOA service interface and a service function coordinate control module; A recording module, used to monitor the test process of the vehicle to be tested, and record the test process data and test result data corresponding to the execution of the test sequence; The feedback module is used to generate a real vehicle automated test report for the dynamic functions of the vehicle to be tested in combination with the change information of the vehicle-side service function software switch and / or hardware switch, the test process data and the test result data obtained by the service function coordinate control module.

9. A computer storage medium, characterized in that: The computer storage medium stores computer executable instructions, and when the computer executable instructions are executed, the method for testing vehicle dynamic functions as described in any one of claims 1 to 7 is executed.

10. An electronic device, characterized in that: include: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform operations corresponding to the method for vehicle dynamic function testing as described in any one of claims 1-7.

Citation Information

Cited By

  • A vehicle automated testing method and system

    CN122709138A