An automotive intelligent cockpit testing method, device and equipment

By converting the function to be tested in the car cockpit into a visual test item, it is possible for people who do not need coding capabilities to conduct the test, reducing the testing cost.

CN116125181BActive Publication Date: 2025-07-11CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310209765.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-06
Publication Date
2025-07-11
Estimated Expiration
2043-03-06

AI Technical Summary

Technical Problem

In the prior art, the testing of automobile smart cockpits requires coding capabilities, which leads to people without code experience that cannot test independently, and the testing cost is high.

Method used

The function to be tested in the car cockpit is converted into a visual test item, and the test items are tested through the visual test item to reduce the learning cycle of the tester.

Benefits of technology

Personnel without coding capabilities can also conduct car cockpit testing, reducing testing costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116125181B_ABST
    Figure CN116125181B_ABST
Patent Text Reader

Abstract

A method, device and equipment for testing an intelligent vehicle cockpit provided by an embodiment of the present application. The method includes determining at least one function to be tested in the vehicle cockpit; determining test items for each function to be tested based on the at least one function to be tested in the vehicle cockpit; converting the test items for each function to be tested into visual test items; and performing tests on the vehicle cockpit based on the visual test items to obtain test information. In the embodiment of the present application, by converting the test items of the functions to be tested in the vehicle cockpit into visual test items, people without coding ability can perform corresponding tests on the vehicle cockpit through the visual test items, reducing the learning cycle of testers and thus reducing the test cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of automotive electronics testing, and particularly to a testing method, device and equipment for an automotive intelligent cockpit. Background Art

[0002] With the rapid development of electronic information and the Internet, intelligent cockpits are being widely applied in automobiles. The remarkable features are the birth and popularization of full liquid crystal instrument panels and central control intelligent mainframes, as well as multi-screen displays in the intelligent cockpit. To date, the automotive instrument panel can no longer merely display basic information such as vehicle speed, engine speed, and fuel level, but can also display other information. At the same time, to ensure driving safety, the driver needs to concentrate on driving and keep both hands off the steering wheel. At this time, the central control intelligent mainframe has become an indispensable component of the vehicle. However, the more complex the system is, the greater the possibility of errors in the automotive instrument panel, and the corresponding detection difficulty of the automotive intelligent cockpit will increase. Therefore, before the automotive intelligent cockpit leaves the factory, it is necessary to strictly detect and calibrate its various functions.

[0003] However, for the current testing of automotive intelligent cockpits, the vast majority require personnel with coding capabilities to perform corresponding coding of test cases to achieve corresponding tests. Personnel without coding experience cannot conduct independent tests, resulting in relatively high testing costs. Summary of the Invention

[0004] In view of this, this application provides a testing method, device and equipment for an automotive intelligent cockpit, which helps to solve the problem of high testing costs for automotive intelligent cockpits in the prior art.

[0005] In a first aspect, an embodiment of this application provides a testing method for an automotive cockpit, including:

[0006] Determine at least one function to be tested of the automotive cockpit;

[0007] Based on at least one function to be tested of the automotive cockpit, determine the test items for each function to be tested;

[0008] Convert the test items for each function to be tested into visual test items;

[0009] Based on the visual test items, conduct testing of the automotive cockpit to obtain test information.

[0010] In a possible implementation manner of the first aspect, the converting the test items for each function to be tested into visual test items includes:

[0011] When there are at least two functions to be tested, convert the same test items among the at least two functions to be tested into the same visual test item.

[0012] In a possible implementation of the first aspect, testing the vehicle cockpit based on the visualized test items, the obtained test information includes:

[0013] Based on the visualized test items, determining test cases for the target function to be tested; the test cases for the target function to be tested include at least one target test item of the target function to be tested and the test order of the at least one target test item;

[0014] Testing the target function to be tested of the vehicle cockpit based on the test cases for the target function to be tested, and obtaining test information.

[0015] In a possible implementation of the first aspect, determining test cases for the target function to be tested based on the visualized test items includes:

[0016] Based on the visualized test items, in response to the user's selection, determining at least one target test item of the target function to be tested and the arrangement order of the at least one target test item;

[0017] Determining the test order of the at least one target test item as the arrangement order of the at least one target test item.

[0018] In a possible implementation of the first aspect, based on the visualized test items, in response to the user's selection, determining at least one target test item of the target function to be tested and the arrangement order of the at least one target test item includes:

[0019] Based on the visualized test items, in response to the user's selection of the visualized test items and the selection order, determining at least one target test item of the target function to be tested and the arrangement order of the at least one target test item.

[0020] In a possible implementation of the first aspect, based on the visualized test items, in response to the user's selection, determining at least one target test item of the target function to be tested and the arrangement order of the at least one target test item includes:

[0021] Based on the visualized test items, in response to the user's selection of the visualized test items, determining at least one target test item of the target function to be tested;

[0022] In response to the user's adjustment of the order of the at least one target test item, determining the arrangement order of the at least one target test item.

[0023] In a possible implementation of the first aspect, testing the target function to be tested of the vehicle cockpit based on the test cases for the target function to be tested, the obtained test information includes:

[0024] Determine the number of tests;

[0025] Based on the test cases of the target function to be tested, perform the test the number of times determined above on the target function to be tested of the vehicle cockpit, and obtain test information for the number of tests.

[0026] In a possible implementation manner of the first aspect, the determining of the test cases for the target function to be tested based on the visualized test items includes:

[0027] Obtain the historical test cases of the target function to be tested;

[0028] Determine the historical test cases of the target function to be tested as the test cases of the target function to be tested; or,

[0029] Based on the visualized test items, adjust the test items and / or test order in the historical test cases to determine the target test items of the target function to be tested.

[0030] In a second aspect, an embodiment of the present application provides a vehicle cockpit test device, including:

[0031] A determination unit, configured to determine at least one function to be tested of the vehicle cockpit;

[0032] The determination unit is further configured to determine the test items for each function to be tested based on the at least one function to be tested of the vehicle cockpit;

[0033] A processing unit, configured to convert the test items for each function to be tested into visualized test items;

[0034] The processing unit is further configured to perform tests on the vehicle cockpit based on the visualized test items to obtain test information.

[0035] In a third aspect, an embodiment of the present application provides an electronic device, including a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to execute the method according to any one of the first aspects above.

[0036] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium includes a stored program, wherein when the program runs, it controls the device where the computer-readable storage medium is located to execute the method according to any one of the first aspects above.

[0037] Adopt the solution provided by the embodiment of the present application to determine at least one function to be tested in the vehicle cockpit. Based on at least one function to be tested in the vehicle cockpit, determine the test items for each function to be tested; convert the test items for each function to be tested into visual test items; based on the visual test items, conduct tests on the vehicle cockpit to obtain test information. In this way, the test items for the functions to be tested in the vehicle cockpit can be first converted into visual test items, so that the vehicle cockpit can be tested accordingly based on the visual test items to obtain test information. In the embodiment of the present application, by converting the test items for the functions to be tested in the vehicle cockpit into visual test items, people without coding ability can conduct corresponding tests on the vehicle cockpit through the visual test items, reducing the learning cycle of the test personnel and thus reducing the test cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] To more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings required in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0039] Figure 1 Schematic flowchart of a method for testing an intelligent vehicle cockpit provided by an embodiment of the present application;

[0040] Figure 2 Schematic scenario diagram of a method for testing an intelligent vehicle cockpit provided by an embodiment of the present application;

[0041] Figure 3 Schematic flowchart of another method for testing an intelligent vehicle cockpit provided by an embodiment of the present application;

[0042] Figure 4 Schematic scenario diagram of another method for testing an intelligent vehicle cockpit provided by an embodiment of the present application;

[0043] Figure 5 Schematic structural diagram of a device for testing an intelligent vehicle cockpit provided by an embodiment of the present application;

[0044] Figure 6 Schematic structural diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0045] To better understand the technical solutions of the present application, the following will describe the embodiments of the present application in detail with reference to the drawings.

[0046] It should be clear that the described embodiments are only a part of the embodiments of this application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in this application without creative efforts belong to the scope of protection of this application.

[0047] The terms used in the embodiments of this application are only for the purpose of describing specific embodiments and are not intended to limit this application. The singular forms of "a", "the" and "said" used in the embodiments of this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.

[0048] It should be understood that the term "and / or" used herein is only an associative relationship describing associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " herein generally represents an "or" relationship between the associated objects before and after.

[0049] With the rapid development of electronic information and the Internet, intelligent cockpits are being widely used in automobiles. The remarkable features are the birth and popularization of full-color liquid crystal instruments and central control intelligent hosts, as well as multi-screen displays in the intelligent cockpit. To date, the car dashboard is no longer just for displaying basic information such as vehicle speed, engine speed, and fuel level, but can also display other information. At the same time, to ensure driving safety, the driver needs to concentrate on driving and keep both hands on the steering wheel. At this time, the central control intelligent host has become an indispensable part of the car. However, the more complex the system is, the greater the possibility of errors in the car dashboard, and the corresponding detection difficulty of the car intelligent cockpit will increase. Therefore, before leaving the factory, the car intelligent cockpit needs to be strictly tested and calibrated for its various functions.

[0050] However, at present, for the testing of car intelligent cockpits, the vast majority of them require those with coding capabilities to code the corresponding test cases to achieve the corresponding tests. And those without coding experience cannot conduct independent tests, resulting in relatively high testing costs.

[0051] In view of the above problems, the embodiments of the present application provide a method, device and equipment for testing an intelligent vehicle cockpit, which determine at least one function to be tested of the vehicle cockpit, and determine the test items for each function to be tested based on at least one function to be tested of the vehicle cockpit; convert the test items of each function to be tested into visual test items; and perform tests on the vehicle cockpit based on the visual test items to obtain test information. In this way, the test items of the functions to be tested in the vehicle cockpit can be first converted into visual test items, so that the vehicle cockpit can be tested accordingly based on the visual test items to obtain test information. In the embodiments of the present application, by converting the test items of the functions to be tested in the vehicle cockpit into visual test items, people without coding ability can perform corresponding tests on the vehicle cockpit through the visual test items, reducing the learning cycle of the testers and thus reducing the test cost. The following is a detailed description.

[0052] See Figure 1 , which is a schematic flowchart of a method for testing a vehicle cockpit provided by an embodiment of the present application. As Figure 1 shown, the method includes:

[0053] Step S101, determine at least one function to be tested of the vehicle cockpit.

[0054] In the embodiments of the present application, in order to ensure the safety of the vehicle, when the vehicle cockpit is applied to vehicle equipment, it is necessary to test the functions of the vehicle cockpit. At this time, different functions of the vehicle cockpit that need to be tested can be determined as the functions to be tested of the vehicle cockpit, so that at least one function to be tested of the vehicle cockpit can be determined.

[0055] As a possible implementation, at least one function to be tested of the vehicle cockpit includes: control of the camera, control of CAN (Controller Area Network) devices, control of the in-vehicle infotainment (IVI) system of the cockpit, simulation of interface operations on the display screen, and other functions.

[0056] It should be noted that at least one function to be tested of the vehicle cockpit may also include other functions of the vehicle cockpit, and the present application does not limit this.

[0057] Step S102, determine the test items for each function to be tested based on at least one function to be tested of the vehicle cockpit.

[0058] In the embodiments of the present application, since the functions implemented by different functions to be tested in the vehicle cockpit are different, the test steps used for testing different functions to be tested are not exactly the same. For each function to be tested in the vehicle cockpit, each test step corresponding to the function to be tested is determined as a test item for the function to be tested. For example, when the function to be tested includes the control of a camera, the test steps corresponding to the control of the camera include: click detection for starting shooting, click detection for ending shooting, click detection for recording a video, obtaining a picture or a video, and identifying whether the picture or video is the shot picture or video. At this time, each test step of the control of the camera can be determined as a test item for the control test of the camera, that is, the test items for the control test of the camera include the test item for detecting the click position for starting shooting, the test item for detecting the click position for ending shooting, the test item for detecting the click position for recording a video, the test item for obtaining a picture or a video, and the test item for identifying an image. In the above process, since the test steps include click detection for starting shooting, click detection for ending shooting, and click detection for recording a video, and corresponding test items are generated for each click detection to detect whether the click position is correct, the test items include three test items for detecting the click position.

[0059] That is to say, through the above test items for detecting the click position for starting shooting, the test items for detecting the click position for ending shooting, the test items for detecting the click position for recording a video, the test items for obtaining a picture or a video, and the test items for identifying an image, the function test of the camera control in the vehicle cockpit is realized.

[0060] Alternatively, when the function to be tested includes the control of a CAN device, the test steps corresponding to the control of the CAN device include: detection of sending and / or receiving CAN signals, and detection of extraction and saving of CAN logs. Each test step of the control of the CAN device can be determined as a test item for the control of the CAN device, that is, the test items for the control of the CAN device include the test item for detecting the sending and / or receiving of CAN signals, and the test item for detecting the extraction and saving of CAN logs.

[0061] That is to say, through the test item for detecting the sending and / or receiving of CAN signals and the test item for detecting the extraction and saving of CAN logs, the function test of the control of the CAN device in the vehicle cockpit is realized.

[0062] Alternatively, when the function to be tested includes the control of the IVI cockpit, the test steps corresponding to the control of the IVI cockpit include: installation detection of applications, uninstallation detection of applications, startup detection of applications, and termination detection of applications. Each test step of the control of the IVI cockpit can be determined as a test item for the control of the IVI cockpit, that is, the test items for the control of the IVI cockpit include the test items for installation detection of applications, the test items for uninstallation detection of applications, the test items for startup detection of applications, and the test items for termination detection of applications.

[0063] That is to say, the functional test of the control of the IVI cockpit in the vehicle cockpit is realized through the test items for installation detection of applications, the test items for uninstallation detection of applications, the test items for startup detection of applications, and the test items for termination detection of applications.

[0064] Alternatively, when the function to be tested includes simulating the control functions of other ECUs (Electronic Control Units) on the vehicle, the test steps corresponding to simulating the control functions of other ECUs on the vehicle include: control detection of steering wheel buttons, control detection of windows and sunroofs, and control detection of the tailgate. Each test step of simulating the control functions of other ECUs on the vehicle can be determined as a test item for simulating the control functions of other ECUs on the vehicle. That is, the test items for simulating the control functions of other ECUs on the vehicle include the test items for control detection of steering wheel buttons, the test items for control detection of windows and sunroofs, and the test items for control detection of the tailgate.

[0065] That is to say, the functional test of simulating the control functions of other ECUs on the vehicle is completed through the test items for control detection of steering wheel buttons, the test items for control detection of windows and sunroofs, and the test items for control detection of the tailgate.

[0066] Alternatively, when the function to be tested includes the operation of the interface of the display screen, the test steps of the interface of the display screen include: click detection of the interface, swipe detection, drag detection, screenshot detection, and screen recording detection. Each test step of the operation of the interface of the display screen can be determined as a test item for the operation of the interface of the display screen. That is, the test items for the operation of the interface of the display screen include the test items for click detection of the interface, the test items for swipe detection, the test items for drag detection, the test items for screenshot detection, and the test items for screen recording detection.

[0067] That is to say, the functional test of the operation of the interface of the display screen is realized through the test items for click detection of the interface, the test items for swipe detection, the test items for drag detection, the test items for screenshot detection, and the test items for screen recording detection.

[0068] It should be understood that the test steps corresponding to different functions to be tested can be preset according to actual requirements. In this way, according to the functions to be tested included in the vehicle cockpit, the test steps corresponding to each function to be tested can be determined, and then the test items corresponding to each function to be tested can be determined. The present application does not limit this.

[0069] As a possible implementation, at least one function to be tested of the vehicle cockpit includes a first function to be tested and a second function to be tested, and the test items of the first function to be tested and the test items of the second function to be tested are not completely the same.

[0070] That is, when there are multiple functions to be tested in the vehicle cockpit, there can be the same test items and different test items between two functions to be tested. That is, among the multiple functions to be tested of the vehicle cockpit, there can be a first function to be tested and a second function to be tested, and the test items of the first function to be tested and the test items of the second function to be tested are not completely the same.

[0071] Of course, when there are multiple functions to be tested in the vehicle cockpit, there can also be at least two test functions with completely different or completely the same test items. The present application does not limit this.

[0072] Step S103: Convert the test items of each function to be tested into visual test items.

[0073] In the embodiments of the present application, in order to make it more convenient for testers to test the vehicle cockpit, after determining the test items of each function to be tested, the test items of each function to be tested can be converted, and the test items of each function to be tested can be converted into visual test items.

[0074] As a possible implementation, converting the test items of each function to be tested into visual test items includes:

[0075] Encode the test items of each function to be tested to obtain the visual test items corresponding to the test items of each function to be tested.

[0076] That is, in the embodiments of the present application, after determining the test items of each function to be tested, it is necessary to convert the test items of each function to be tested into visual test items visible to users. At this time, based on the test items of each function to be tested, the interface graphic marks corresponding to the test items of each function to be tested can be determined, the interface graphic marks of each test item can be associated with the script voice of the test item, and the interface image marks can be displayed on the display interface to implement the conversion of the test items of each function to be tested into visual test items visible to users.

[0077] Among them, the interface graphic marks corresponding to the test items of each function to be tested can be pre-set by the user, randomly generated by the vehicle cockpit test device, or obtained from other devices. This application does not limit this.

[0078] As a possible implementation manner, the interface graphic mark can be visual information such as text or icons.

[0079] As a possible implementation manner, converting the test items of each function to be tested into visual test items includes: when there are at least two functions to be tested, converting the same test items among the at least two functions to be tested into the same visual test item. That is, when there are at least two functions to be tested, if there are the same test items among the at least two functions to be tested, it means that the corresponding visual test items are also the same. At this time, in order to improve the conversion efficiency, the same test items can be converted into the same visual test item. In one embodiment, for each function to be tested, when converting the i-th test item of the function to be tested, it can first be detected whether there is a situation where the i-th test item is the same as that of other functions to be tested that have been converted. If so, there is no need to convert the i-th test item of the function to be tested, and continue to detect whether the i + 1-th test item of the function to be tested needs to be converted until all the test items of the function to be tested are converted into visual test items. Among them, i is an integer greater than 0.

[0080] As a possible implementation manner, after encoding the test items of each function to be tested to obtain the corresponding visual test items, the visual test items of each function to be tested can be further combined to form a visual interface. For example, when it is necessary to form a visual interface from each visual test item, a configuration file for the visual interface to be generated can be formed according to the visual test items. Among them, the configuration file of the visual interface is used to record information such as the style format of the visual interface and the elements to be displayed. By performing interface rendering processing on the configuration file of the visual interface to be generated, a visual interface is obtained, as Figure 2 shown. Among them, the generated visual interface contains visual test items. In Figure 2 the shown interface, the test component is the set of visual test items of each function to be tested. The visual test items of each function to be tested are included in the test component, and the user can test different functions of the vehicle cockpit by selecting the visual test items.

[0081] Step S104: Based on the visual test items, perform tests on the vehicle cockpit to obtain test information.

[0082] In an embodiment of the present application, after determining the visual test items of each function to be tested in the vehicle cockpit, the function of the vehicle cockpit that needs to be tested currently can be used as the target test item according to the visual test items, and then the vehicle cockpit can be tested through the target test item to obtain test information. Among them, when determining the target test item, the item to be tested of the vehicle cockpit selected by the user can be determined as the target test item based on the user's selection.

[0083] As a possible implementation manner, testing the vehicle cockpit based on the visual test items, and the obtained test information includes:

[0084] Determining test cases for the target function to be tested based on the visual test items; testing the target function to be tested of the vehicle cockpit based on the test cases for the target function to be tested to obtain test information.

[0085] Among them, the test cases for the target function to be tested include at least one target test item of the target function to be tested and the test order of at least one target test item.

[0086] In an embodiment of the present application, test cases corresponding to different test functions of the vehicle cockpit can be set in advance. That is, the user can set at least one target test item corresponding to different functions to be tested in the vehicle cockpit and the test order of at least one target test item in the vehicle cockpit test device according to the visual test items. In this way, after determining the target test function, based on the target test function, the test cases corresponding to the different test functions set in advance can be used to determine the test cases corresponding to the target test function, and according to at least one target test item and the execution order of at least one target test item in the test cases, the target test item is executed to implement the test of the target test function, so as to obtain the test information of the target test function.

[0087] Alternatively, when testing the target test item, the tester can select at least one target test item described in the target test item by himself in the visual test items to form a test case. That is, determining the test cases for the target function to be tested based on the visual test items includes:

[0088] Based on the visual test items, in response to the user's selection, determining at least one target test item of the target function to be tested and the arrangement order of at least one target test item; determining the arrangement order of at least one target test item as the test order of at least one target test item.

[0089] Since the test cases for the target function to be tested include the target test items of the target function to be tested and the test order of each target test item, the automotive cockpit test device determines the test cases, which means determining the target test items of the target function to be tested and the test order of each target test item. Based on this, when it is necessary to test the target function of the automotive cockpit, the target function to be tested can be determined as the target function to be tested. Since the test items for each function to be tested are different, the target test items of the target function to be tested can be determined from all the visual test items according to the actual requirements. At this time, the user selects the visual test items corresponding to the target function to be tested from the visual test items. The automotive cockpit test device can determine the visual test items corresponding to the target function selected by the user as the target test items and the arrangement order of each target test item. The automotive cockpit test device generates test cases based on the target test items and the arrangement order of each target test item, and executes the test cases to detect the corresponding target function of the automotive cockpit to obtain test information.

[0090] When the tester generates the test cases for the target test function by selecting the visual test items, in addition to determining the target test items, it is also necessary to determine the test order of each target test item. Since the arrangement order of each target test item is its test order, the arrangement order of each target test item can be determined. The tester can select the target test items according to the test steps of the target test function. At this time, the order selected by the tester is the test order of the target test item. That is, as a possible implementation manner, based on the visual test items, in response to the user's selection, determining at least one target test item of the target function to be tested and the arrangement order of at least one target test item includes:

[0091] Based on the visual test items, in response to the user's selection of the visual test items and the selection order, determine at least one target test item of the target function to be tested and the arrangement order of at least one target test item.

[0092] That is, in the embodiments of the present application, the test cases for the target test function can be generated by the tester selecting the visual test items. Since the tester knows the test steps of the target test function in advance, the target test items required for the target test function can be selected from the visual test items according to the test steps of the target test function in the order of execution of the test steps. The automotive cockpit test device obtains the target test items of the target test function one by one in response to the user's selection, and determines the arrangement order of the target test items based on the selection order of each target test item selected by the user, so that the test cases for the target function to be tested can be obtained.

[0093] Alternatively, when the tester selects the target test items of the target test function among the visual test items, the selection may not be made in the order of the test steps of the target test function. Instead, the tester randomly selects the target test items of the target test function among the visual test items. At this time, after the tester finishes selecting the target test items, the arrangement order of the target test items needs to be adjusted. That is, based on the visual test items, in response to the user's selection, determining at least one target test item of the target function to be tested and the arrangement order of at least one target test item includes:

[0094] Based on the visual test items, in response to the user's selection of the visual test items, determining at least one target test item of the target function to be tested; in response to the user's adjustment of the order of at least one target test item, determining the arrangement order of at least one target test item.

[0095] That is, in the embodiment of the present application, since the tester pre-knows the test steps of the target test function, the tester can select the target test items of the target function to be tested among the visual test items according to the test steps of the target test function. Since the tester does not necessarily select the target test items in the execution order of the test steps of the target test function when selecting the target test items, the arrangement order of each target test item of the target test function obtained by the vehicle cockpit test device in response to the user's selection according to the user's selection order may not be the final test order of the target test items. At this time, the tester needs to further adjust the arrangement order of the target test items. That is, among the visual test items, the tester selects at least one target test item according to the target test function. After the selection is completed, the arrangement order of at least one target test item can be further adjusted. At this time, the cockpit test device obtains at least one target test item of the target test function in response to the user's selection of the visual test items, and obtains the arrangement order of at least one target test function of the target test function in response to the user's adjustment of the arrangement order of at least one target test item, so that the test cases of the target test function can be generated according to at least one target test item of the target function to be tested and the arrangement order of at least one target test item.

[0096] As a possible implementation manner, when generating test cases, specific parameter values may need to be set for some test items. The user can set the specific parameter values in the target test items to generate the test cases of the target function to be tested. Alternatively, when the vehicle cockpit test device does not set the parameter values in the target test items, the preset default values can be used as the parameter values in the target test items to generate the test cases of the target function to be tested. That is, the parameter values of each target test item in the generated test cases of the target function to be tested have been determined. Only in this way can the target function to be tested of the vehicle cockpit be tested through the test cases.

[0097] It should be noted that since the user who tests the vehicle cockpit is the tester, the tester can pre-know the test parameters of each test item of the functions to be tested in the vehicle cockpit, and thus can input them into the vehicle cockpit test device.

[0098] As a possible implementation, in order to facilitate the user to more intuitively know the test results, the obtained test information can be fed back to the user. For example, the test information can be displayed, or the test information can be played by voice broadcast. Of course, it can also be fed back to the user in other ways, and the present application does not limit this.

[0099] As a possible implementation, determining the test cases of the target function to be tested based on the visualized test items includes:

[0100] Obtain the historical test cases of the target function to be tested;

[0101] Determine the historical test cases of the target function to be tested as the test cases of the target function to be tested; or, based on the visualized test items, adjust the test items and / or test order in the historical test cases to determine the target test items of the target function to be tested.

[0102] In the embodiments of the present application, when the vehicle cockpit test device needs to test the target function to be tested of the vehicle cockpit, if the test cases of the target test function have been generated before the current test, that is, if the historical test cases have been generated by testing the target function to be tested before the current test, then the historical test cases can be obtained. Since the historical test cases are generated when the target function to be tested is tested before the current time, the historical test cases contain the target test items determined by the vehicle cockpit test device before for the target function to be tested. At this time, the vehicle cockpit test device can determine the test cases of the target test function for the current time according to the historical test cases. In some embodiments, the vehicle cockpit test device can directly determine the historical test cases as the test cases of the target function to be tested for the current time. Or, in some embodiments, the user can determine the target test items of the target function to be tested for the current time according to the target test items recorded in the historical test cases and the visualized test items determined in the above step S103. That is, the user can, based on the visualized test items, adjust the test items and / or test order included in the historical test cases. For example, some target test items included in the historical test cases can be deleted, or other visualized test items can be added, or the arrangement order of the target test items in the historical test cases can be adjusted, and the adjusted historical test cases are used as the test cases of the target function to be tested for the current time.

[0103] For example, an in-vehicle cockpit test device needs to test a target function to be tested, function a. Among the historical test cases of function a, there are test items e, b, and c. After the in-vehicle cockpit test device obtains the historical test cases of function a, if the user deletes test item e in the historical test cases and adds test item d as the target test item for function a in the current test, the in-vehicle cockpit test device can determine that the target test items for function a are test items b, c, and d.

[0104] As a possible implementation, testing the target function of the in-vehicle cockpit based on the test cases of the target function to be tested obtains test information including:

[0105] Determine the number of tests; perform the target function of the in-vehicle cockpit the number of times of tests based on the test cases of the target function to be tested, and obtain the test information for the number of times of tests.

[0106] In the embodiments of the present application, after determining the test cases of the target function to be tested, to improve the test accuracy, the target function of the in-vehicle cockpit can be repeatedly tested multiple times through the test cases, and stress testing can also be performed. At this time, the number of tests needs to be determined first. Based on this, the number of tests can be set in advance or set by the user. When set by the user, the in-vehicle cockpit test device can, in response to the user's setting, determine the number of times set by the user as the number of tests. After the in-vehicle cockpit test device obtains the number of tests, it can perform the target function test of the in-vehicle cockpit the number of times of tests based on the test cases of the target function to be tested, so as to obtain the test information for the number of times of tests.

[0107] In this way, in the present application, the test items of the functions to be tested in the in-vehicle cockpit can be first converted into visual test items, so that the in-vehicle cockpit can be tested accordingly based on the visual test items to obtain test information. In the embodiments of the present application, by converting the test items of the functions to be tested in the in-vehicle cockpit into visual test items, people without coding ability can perform the corresponding in-vehicle cockpit test through the visual test items, reducing the learning cycle of the test personnel and thus reducing the test cost.

[0108] See Figure 3 , which is a schematic flowchart of a method for testing an in-vehicle cockpit provided by an embodiment of the present application. As Figure 3 shown, the method includes:

[0109] Step S301: Determine at least one function to be tested in the in-vehicle cockpit.

[0110] For details, reference can be made to step S101 and will not be elaborated here.

[0111] Step S302: Determine the test items for each function to be tested based on at least one function to be tested in the vehicle cockpit.

[0112] For details, refer to Step S102, which will not be elaborated here.

[0113] Step S303: Convert the test items for each function to be tested into visual test items.

[0114] For details, refer to Step S103, which will not be elaborated here.

[0115] Step S304: Connect to the vehicle cockpit.

[0116] In the embodiment of the present application, after determining the visual test items for each function to be tested in the vehicle cockpit, when the vehicle cockpit needs to be tested, the vehicle cockpit test device needs to establish a connection with the vehicle cockpit first. At this time, the vehicle cockpit test device can establish a wired or wireless connection with the vehicle cockpit.

[0117] Step S305: Based on the visual test items, perform tests on the vehicle cockpit to obtain test information.

[0118] For details, refer to Step S104, which will not be elaborated here.

[0119] Step S306: Save the test information and test cases.

[0120] In the embodiment of the present application, the generated test information can be saved so that users can obtain it through the saved test information when they need to view the test results later. At the same time, in the embodiment of the present application, the test cases determined in Step S104 above can also be saved as historical test cases so that when testing the target function to be tested in the vehicle cockpit later, the saved test cases can be obtained for testing.

[0121] As a possible implementation, when the vehicle cockpit test device saves the test information and test cases, it can save the test cases in a first file and the test information in a second file so as to obtain the test information and test cases separately later. In some embodiments, the saving paths of the first file and the second file can be different.

[0122] As a possible implementation, when saving the test cases, the information of the function to be tested corresponding to the test cases needs to be saved at the same time. In this way, when testing the target function to be tested in the vehicle cockpit later, the historical test cases corresponding to the target function can be found through the information of the function to be tested corresponding to the recorded test cases.

[0123] Exemplarily, if it is necessary to test the music playback function in a vehicle cockpit. When determining the test functions of the vehicle cockpit, the music playback can be determined as a function to be tested in the vehicle cockpit. Assume that the test items corresponding to the music playback function are preset to include: startup detection test item, click detection test item, delay detection test item, steering wheel control detection test item, and end detection test item. At this time, the vehicle cockpit test device can first convert the test items of each function to be tested in the vehicle cockpit into visual test items. As Figure 4 shown, in this example, the visual test items corresponding to the music playback function can be obtained. When testing the music playback in the vehicle cockpit, the tester can select the target test items of the music playback function through the visual test items. At this time, the tester can sequentially select the startup detection test item, click detection test item, delay detection test item, steering wheel control detection test item, and end detection test item as the target test items of the music playback function in the order of execution of the test steps. The vehicle cockpit test device can use the startup detection test item, click detection test item, delay detection test item, steering wheel control detection test item, and end detection test item selected by the tester as the target test items of the music playback function, and determine the arrangement order of each target test item according to the selection order of the user. The tester can also set the corresponding test values for the test items that need to set specific parameter values. For example, for the startup application test item, the startup application name of the startup detection test item needs to be input. At this time, the tester can input the application package name of the USB music to be started. Assume that the application package name is Application Name 1, then the vehicle cockpit test device can obtain that the startup application name of the startup detection test item is Application Name 1. The delay detection test item needs to input the delay time. At this time, assume that the delay time input by the tester is 500 milliseconds, then the vehicle cockpit test device can obtain that the delay time of the delay detection test item is 500 milliseconds. The click detection test item needs to input the click position. At this time, the input click position is the coordinate of the play button. Assume that the click position input by the tester is (a, b), then the vehicle cockpit test device can obtain that the click position of the click detection test item is (a, b). The steering wheel control detection test item needs to input how to control the steering wheel. Assume that the tester inputs pressing the right steering wheel button 20 times, then the vehicle cockpit test device can obtain that the steering wheel control detection test item needs to press the right steering wheel button 20 times. The end detection test item needs to input the application name of the application to be ended. At this time, the tester can input the application package name of the above-mentioned started USB music, which is Application Name 1, then the vehicle cockpit test device can obtain that the application name of the end detection test item is Application Name 1. The vehicle cockpit can obtain the test case of the music playback function based on the target test items of the music playback function, the arrangement order of each target test item, and the parameter settings of each target test item by the user as described above.

[0124] When testing a vehicle cockpit, the vehicle cockpit testing device can first establish a connection with the vehicle cockpit. At this time, the tester can send a connection instruction to the vehicle cockpit device, and then the vehicle cockpit device responds to this connection instruction and establishes a connection with the vehicle cockpit. After establishing a connection with the vehicle cockpit, if the connection is successfully established, the vehicle cockpit testing device can return a response message indicating successful connection establishment to the tester. If the connection establishment fails, the vehicle cockpit testing device can return a response message indicating failed connection establishment to the tester.

[0125] After the tester obtains the response message indicating successful connection establishment, the tester can input the number of test times to the vehicle cockpit testing device. Assuming the number of test times is 100 times, the vehicle cockpit testing device determines that the number of test times is 100 times. After obtaining the number of test times, the vehicle cockpit testing device can test the music playback function of the vehicle cockpit. At this time, the vehicle cockpit testing device can use the generated test cases to test the music playback function 100 times and obtain 100 test results. Alternatively, the tester can control the vehicle cockpit testing device to test the vehicle cockpit. For example, the tester can input a test instruction to the vehicle cockpit device, and the vehicle cockpit device responds to the test instruction and uses the generated test cases to test the music playback function 100 times to obtain 100 test results. After obtaining the test results, the vehicle cockpit testing device can feedback the test results to the tester, such as by displaying the test results on a display screen. When the vehicle cockpit testing device executes 100 test cases and obtains 100 test results, the vehicle cockpit testing device can display each obtained test result on the display screen. The current test result can overwrite the previous test result. Alternatively, all the obtained test results can be displayed on the display screen, that is, the current test result is displayed after the previous test result, and the previously obtained test results are retained. The vehicle cockpit testing device can save the test cases corresponding to the determined music playback test function this time and the obtained test results. The vehicle cockpit testing device can save the test cases and the obtained test results to preset locations respectively. Alternatively, the tester can also set the save locations for the test cases and the obtained test results. At this time, the vehicle cockpit testing device can save the test cases and the obtained test results to the save locations set by the tester respectively.

[0126] Further, when the vehicle cockpit test device determines the test cases for music playback, the tester can directly select the target test items for music playback from the visual test items of all the to-be-tested functions of the determined vehicle cockpit. Alternatively, the tester can also obtain the historical test cases of the music playback function of the vehicle cockpit. At this time, in response to the instruction input by the user to obtain the historical test cases of the music playback function of the vehicle cockpit, such as an import instruction, the vehicle cockpit test device can search for the historical test cases of the music playback function in the saved test cases. The vehicle cockpit test device can feedback the historical test cases of the music playback function to the tester, for example, by displaying them on the display screen. At this time, the tester can determine the target test items for the current music playback function based on the test items in the historical test cases, and form the test cases for the current audio playback function. For example, the tester can add or delete some test items in the test items of the historical test cases, or change the parameter values of the test items, or the arrangement order of the test items, etc. to form the test cases for the current audio playback function.

[0127] See Figure 5 , which is a schematic structural diagram of a vehicle cockpit test device provided by an embodiment of the present application. As Figure 5 shown, the device includes:

[0128] A determination unit 501, configured to determine at least one to-be-tested function of the vehicle cockpit.

[0129] The determination unit 501 is further configured to determine the test items of each to-be-tested function based on at least one to-be-tested function of the vehicle cockpit.

[0130] A processing unit 502, configured to convert the test items of each to-be-tested function into visual test items.

[0131] The processing unit 502 is further configured to perform tests on the vehicle cockpit based on the visual test items to obtain test information.

[0132] As a possible implementation manner, the above-mentioned processing unit 502 is specifically configured to, when there are at least two to-be-tested functions, convert the same test items among the at least two to-be-tested functions into the same visual test item.

[0133] As a possible implementation manner, the above-mentioned processing unit 502 is specifically configured to determine the test cases of the target to-be-tested function based on the visual test items; perform tests on the target to-be-tested function of the vehicle cockpit based on the test cases of the target to-be-tested function to obtain test information. Among them, the test cases of the target to-be-tested function include at least one target test item of the target to-be-tested function and the test order of the at least one target test item.

[0134] As a possible implementation manner, the above processing unit 502 is specifically configured to determine at least one target test item of the target function to be tested and the arrangement order of at least one target test item in response to a user's selection based on the visual test items; and determine the arrangement order of at least one target test item as the test order of at least one target test item.

[0135] As a possible implementation manner, the above processing unit 502 is specifically configured to determine at least one target test item of the target function to be tested and the arrangement order of at least one target test item in response to the user's selection of the visual test items and the selection order.

[0136] As a possible implementation manner, the above processing unit 502 is specifically configured to determine at least one target test item of the target function to be tested in response to the user's selection of the visual test items; and determine the arrangement order of at least one target test item in response to the user's adjustment of the order of at least one target test item.

[0137] As a possible implementation manner, the above processing unit 502 is specifically configured to determine the number of tests; and perform the target function to be tested of the vehicle cockpit the number of test times based on the test cases of the target function to be tested, so as to obtain the test information for the number of test times.

[0138] As a possible implementation manner, the above processing unit 502 is specifically configured to obtain the historical test cases of the target function to be tested; determine the historical test cases of the target function to be tested as the test cases of the target function to be tested; or, based on the visual test items, adjust the test items and / or the test order in the historical test cases to determine the target test items of the target function to be tested.

[0139] Corresponding to the above embodiments, the present application further provides an electronic device. Figure 6 As a schematic structural diagram of an electronic device provided by an embodiment of the present invention, the electronic device 600 may include: a processor 601, a memory 602, and a communication unit 603. These components communicate through one or more buses. Those skilled in the art can understand that the structure of the electronic device shown in the figure does not constitute a limitation on the embodiments of the present invention. It can be a bus structure, a star structure, and may also include more or fewer components than shown in the figure, or combine some components, or different component arrangements.

[0140] Wherein, the communication unit 603 is configured to establish a communication channel, so that the electronic device can communicate with other devices. Receive user data sent by other devices or send user data to other devices.

[0141] The processor 601 is the control center of the electronic device, connecting various parts of the entire electronic device through various interfaces and circuits. By running or executing software programs and / or modules stored in the memory 602, and by invoking the data stored in the memory, it executes various functions of the electronic device and / or processes data. The processor may be composed of an integrated circuit (IC). For example, it may be composed of a single packaged IC, or may be composed of multiple packaged ICs with the same or different functions connected together. For example, the processor 601 may include only a central processing unit (CPU). In the embodiments of the present invention, the CPU may be a single arithmetic core or may include multiple arithmetic cores.

[0142] The memory 602 is used to store the execution instructions of the processor 601. The memory 602 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.

[0143] When the execution instructions in the memory 602 are executed by the processor 601, the electronic device 600 is enabled to execute Figure 1 or Figure 3 some or all of the steps in the illustrated embodiments.

[0144] In a specific implementation, the present invention also provides a computer storage medium. Among them, the computer storage medium can store a program, and when the program is executed, it can include some or all of the steps in the embodiments of the vehicle cockpit test method provided by the present invention. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM), etc.

[0145] Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solutions in the embodiments of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments of the present invention.

[0146] For the same or similar parts among the various embodiments in this specification, reference can be made to each other. In particular, for the apparatus embodiments and the terminal embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and for the relevant parts, reference can be made to the description in the method embodiments.

Claims

1. A method for testing an automotive cockpit, characterized in that, including: determine at least one function to be tested in the vehicle cockpit; based on the at least one function to be tested in the vehicle cockpit, determine the test items for each function to be tested; convert the test items for each function to be tested into visual test items; based on the visual test items, conduct tests on the vehicle cockpit to obtain test information; the conducting tests on the vehicle cockpit based on the visual test items to obtain test information includes: based on the visual test items, determine the test cases for the target function to be tested; the test cases for the target function to be tested include at least one target test item of the target function to be tested and the test order of the at least one target test item; conduct tests on the target function to be tested in the vehicle cockpit based on the test cases for the target function to be tested to obtain test information; the determining the test cases for the target function to be tested based on the visual test items includes: based on the visual test items, in response to the user's selection, determine at least one target test item of the target function to be tested and the arrangement order of the at least one target test item; determine the test order of the at least one target test item as the arrangement order of the at least one target test item.

2. The method according to claim 1, wherein the converting the test items for each function to be tested into visual test items includes: when there are at least two functions to be tested, convert the same test items among the at least two functions to be tested into the same visual test item.

3. The method according to claim 1, characterized in that the determining at least one target test item of the target function to be tested and the arrangement order of the at least one target test item based on the visual test items in response to the user's selection includes: based on the visual test items, in response to the user's selection of the visual test items and the selection order, determine at least one target test item of the target function to be tested and the arrangement order of the at least one target test item.

4. The method according to claim 1, characterized in that, the determining at least one target test item of the target function to be tested and the arrangement order of the at least one target test item based on the visual test items in response to the user's selection includes: based on the visual test items, in response to the user's selection of the visual test items, determine at least one target test item of the target function to be tested; in response to the user's adjustment of the order of the at least one target test item, determine the arrangement order of the at least one target test item.

5. The method according to any one of claims 3-4, characterized in that the conducting tests on the target function to be tested in the vehicle cockpit based on the test cases for the target function to be tested to obtain test information includes: determine the number of tests; conduct the target function to be tested in the vehicle cockpit based on the test cases for the target function to be tested for the number of tests times to obtain the test information for the number of tests times.

6. The method according to any one of claims 3-4, characterized in that, the determining the test cases for the target function to be tested based on the visual test items includes: obtain the historical test cases for the target function to be tested; determine the historical test cases for the target function to be tested as the test cases for the target function to be tested; or, based on the visual test items, adjust the test items and / or the test order in the historical test cases to determine the target test items of the target function to be tested.

7. An automobile cockpit testing device, characterized in that, including: A determination unit for determining at least one function to be tested in a vehicle cockpit; The determination unit is further configured to determine test items for each function to be tested based on the at least one function to be tested in the vehicle cockpit; A processing unit for converting the test items for each function to be tested into visual test items; The processing unit is further configured to perform tests on the vehicle cockpit based on the visual test items to obtain test information; The performing tests on the vehicle cockpit based on the visual test items to obtain test information includes: Determining test cases for a target function to be tested based on the visual test items; the test cases for the target function to be tested include at least one target test item of the target function to be tested and the test order of the at least one target test item; Performing tests on the target function to be tested in the vehicle cockpit based on the test cases for the target function to be tested to obtain test information; The determining test cases for a target function to be tested based on the visual test items includes: Based on the visual test items, in response to a user's selection, determining at least one target test item of the target function to be tested and the arrangement order of the at least one target test item; Determining the arrangement order of the at least one target test item as the test order of the at least one target test item.

8. An electronic device, characterized in that, It includes a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to execute the method according to any one of claims 1-6.

Citation Information

Patent Citations

  • Automobile intelligent cabin test method, system and device and storage medium

    CN113805834A

  • Equipment testing method, system and device and computer readable storage medium

    CN114265735A