CN116125181A - Automobile intelligent cabin testing method, device and equipment - Google Patents

Automobile intelligent cabin testing method, device and equipment Download PDF

Info

Publication number
CN116125181A
CN116125181A CN202310209765.5A CN202310209765A CN116125181A CN 116125181 A CN116125181 A CN 116125181A CN 202310209765 A CN202310209765 A CN 202310209765A CN 116125181 A CN116125181 A CN 116125181A
Authority
CN
China
Prior art keywords
test
tested
target
function
items
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310209765.5A
Other languages
Chinese (zh)
Inventor
邹汶君
徐开庭
熊勇
李彬
欧阳成成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Selis Phoenix Intelligent Innovation Technology Co ltd
Original Assignee
Chengdu Seres Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Seres Technology Co Ltd filed Critical Chengdu Seres Technology Co Ltd
Priority to CN202310209765.5A priority Critical patent/CN116125181A/en
Publication of CN116125181A publication Critical patent/CN116125181A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/005Testing of electric installations on transport means
    • G01R31/006Testing of electric installations on transport means on road vehicles, e.g. automobiles or trucks

Landscapes

  • Chemical & Material Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Combustion & Propulsion (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automobile Manufacture Line, Endless Track Vehicle, Trailer (AREA)
  • Vehicle Cleaning, Maintenance, Repair, Refitting, And Outriggers (AREA)

Abstract

The embodiment of the application provides a method, a device and equipment for testing an intelligent cabin of an automobile, wherein the method comprises the steps of determining at least one function to be tested of the cabin of the automobile; determining test items of each function to be tested based on at least one function to be tested of the automobile cabin; converting the test items of each function to be tested into visual test items; and testing the automobile cabin based on the visualized test items to obtain test information. In the embodiment of the application, the test items of the functions to be tested in the automobile cabin are converted into the visual test items, so that people without coding capacity can test the corresponding automobile cabin through the visual test items, the learning period of the testers is shortened, and the test cost is further reduced.

Description

Automobile intelligent cabin testing method, device and equipment
Technical Field
The application relates to the technical field of automobile electronic detection, in particular to an automobile intelligent cabin testing method, an automobile intelligent cabin testing device and automobile intelligent cabin testing equipment.
Background
Along with the rapid development of electronic information and the Internet, the intelligent cabin is widely applied to automobiles, and has the remarkable characteristics of the birth and popularization of full-liquid crystal instruments and central control intelligent hosts and the multi-screen display in the intelligent cabin. To date, the automobile instrument panel is not only used for displaying basic information such as speed, engine speed, oil quantity and the like, but also can be used for displaying other information. Meanwhile, in order to ensure driving safety, a driver needs to concentrate on driving, and both hands do not need to be separated from a steering wheel, so that the central control intelligent host becomes an indispensable part of the automobile. However, the more complex the system, the greater the possibility of error in the dashboard of the vehicle, and the greater the difficulty in detecting the intelligent cabin of the vehicle. Therefore, the intelligent cabin of the automobile needs to carry out strict detection and correction on various functions before leaving the factory.
However, currently, for testing intelligent cabins of automobiles, most of the intelligent cabins need to have coding capability to carry out corresponding coding of test cases so as to realize corresponding testing. And personnel without code experience cannot perform independent tests, resulting in higher test cost.
Disclosure of Invention
In view of this, the application provides a method, a device and equipment for testing an intelligent cabin of an automobile, so as to solve the problem of high testing cost of the intelligent cabin of the automobile in the prior art.
In a first aspect, an embodiment of the present application provides a method for testing an automobile cabin, including:
determining at least one function to be tested of the automobile cabin;
determining test items of each function to be tested based on at least one function to be tested of the automobile cabin;
converting the test items of each function to be tested into visual test items;
and testing the automobile cabin based on the visualized test items to obtain test information.
In a possible implementation manner of the first aspect, the converting the test item of each function to be tested into a visualized test item includes:
and when at least two functions to be tested exist, converting the same test items in the at least two functions to be tested into the same visualized test items.
In a possible implementation manner of the first aspect, the performing a test of the cabin of the automobile based on the visualized test item, and obtaining test information includes:
determining a test case of a target function to be tested based on the visualized test item; the test case of the target function to be tested comprises at least one target test item of the target function to be tested and a test sequence of the at least one target test item;
and testing the target function to be tested of the automobile cabin based on the test case of the target function to be tested to obtain test information.
In a possible implementation manner of the first aspect, the determining, based on the visualized test item, a test case of a target function to be tested includes:
based on the visualized test items, determining at least one target test item of the target function to be tested and the arrangement sequence of the at least one target test item in response to the selection of a user;
determining the arrangement order of the at least one target test item as the test order of the at least one target test item.
In a possible implementation manner of the first aspect, the determining, based on the visualized test items, at least one target test item of the target function to be tested and an arrangement order of the at least one target test item in response to a selection of a user includes:
Based on the visualized test items, at least one target test item of the target function to be tested and the arrangement sequence of the at least one target test item are determined in response to the selection and the selection sequence of the visualized test items by a user.
In a possible implementation manner of the first aspect, the determining, based on the visualized test items, at least one target test item of the target function to be tested and an arrangement order of the at least one target test item in response to a selection of a user includes:
based on the visualized test items, determining at least one target test item of the target function to be tested in response to the selection of the visualized test items by a user;
the ranking of the at least one target test item is determined in response to a user adjustment to the ranking of the at least one target test item.
In a possible implementation manner of the first aspect, the testing the target function to be tested of the automobile cabin based on the test case of the target function to be tested, and obtaining the test information includes:
determining the test times;
and carrying out the test times for the target function to be tested of the automobile cabin based on the test case of the target function to be tested, and obtaining test information of the test times.
In a possible implementation manner of the first aspect, the determining, based on the visualized test item, a test case of a target function to be tested includes:
acquiring a history test case of the target function to be tested;
determining the historical test cases of the target to-be-tested functions as test cases of the target to-be-tested functions; or alternatively, the process may be performed,
and based on the visualized test items, adjusting the test items and/or the test sequence in the historical test cases, and determining target test items of a target function to be tested.
In a second aspect, an embodiment of the present application provides an automobile cabin testing device, including:
the determining unit is used for determining at least one function to be tested of the automobile cabin;
the determining unit is further used for determining test items of each function to be tested based on at least one function to be tested of the automobile cabin;
the processing unit is used for converting the test items of each function to be tested into visual test items;
and the processing unit is also used for testing the automobile cabin based on the visualized test items to obtain test information.
In a third aspect, embodiments of the present application provide an electronic device comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the electronic device to perform the method according to any one of the first aspects.
In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, where the computer readable storage medium includes a stored program, where when the program runs, the program controls a device in which the computer readable storage medium is located to perform the method according to any one of the first aspects.
By adopting the scheme provided by the embodiment of the application, at least one function to be tested of the automobile cabin is determined, and test items of each function to be tested are determined based on the at least one function to be tested of the automobile cabin; converting the test items of each function to be tested into visual test items; and based on the visualized test items, testing the automobile cabin to obtain test information. Therefore, the test items of the functions to be tested in the automobile cabin can be converted into visual test items, and the automobile cabin can be correspondingly tested based on the visual test items to obtain test information. In the embodiment of the application, the test items of the functions to be tested in the automobile cabin are converted into the visual test items, so that people without coding capacity can test the corresponding automobile cabin through the visual test items, the learning period of the testers is shortened, and the test cost is further reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of an automobile intelligent cabin testing method provided in an embodiment of the present application;
fig. 2 is a schematic view of a scenario of an automobile intelligent cabin testing method according to an embodiment of the present application;
fig. 3 is a schematic flow chart of another method for testing an intelligent cabin of an automobile according to an embodiment of the present application;
fig. 4 is a schematic view of a scenario of another method for testing an intelligent cabin of an automobile according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an intelligent cabin testing device for an automobile according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For a better understanding of the technical solutions of the present application, embodiments of the present application are described in detail below with reference to the accompanying drawings.
It should be understood that the described embodiments are merely some, but not all, of the embodiments of the present application. All other embodiments, based on the embodiments herein, which would be apparent to one of ordinary skill in the art without making any inventive effort, are intended to be within the scope of the present application.
The terminology used in the embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one way of describing an association of associated objects, meaning that there may be three relationships, e.g., a and/or b, which may represent: the first and second cases exist separately, and the first and second cases exist separately. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
Along with the rapid development of electronic information and the Internet, the intelligent cabin is widely applied to automobiles, and has the remarkable characteristics of the birth and popularization of full-liquid crystal instruments and central control intelligent hosts and the multi-screen display in the intelligent cabin. To date, the automobile instrument panel is not only used for displaying basic information such as speed, engine speed, oil quantity and the like, but also can be used for displaying other information. Meanwhile, in order to ensure driving safety, a driver needs to concentrate on driving, and both hands do not need to be separated from a steering wheel, so that the central control intelligent host becomes an indispensable part of the automobile. However, the more complex the system, the greater the possibility of error in the dashboard of the vehicle, and the greater the difficulty in detecting the intelligent cabin of the vehicle. Therefore, the intelligent cabin of the automobile needs to carry out strict detection and correction on various functions before leaving the factory.
However, currently, for testing intelligent cabins of automobiles, most of the intelligent cabins need to have coding capability to carry out corresponding coding of test cases so as to realize corresponding testing. And personnel without code experience cannot perform independent tests, resulting in higher test cost.
Aiming at the problems, the embodiment of the application provides an intelligent automobile cabin testing method, device and equipment, which are used for determining at least one function to be tested of an automobile cabin and determining test items of each function to be tested based on the at least one function to be tested of the automobile cabin; converting the test items of each function to be tested into visual test items; and based on the visualized test items, testing the automobile cabin to obtain test information. Therefore, the test items of the functions to be tested in the automobile cabin can be converted into visual test items, and the automobile cabin can be correspondingly tested based on the visual test items to obtain test information. In the embodiment of the application, the test items of the functions to be tested in the automobile cabin are converted into the visual test items, so that people without coding capacity can test the corresponding automobile cabin through the visual test items, the learning period of the testers is shortened, and the test cost is further reduced. The following is a detailed description.
Referring to fig. 1, a schematic flow chart of an automobile cabin testing method is provided in an embodiment of the present application. As shown in fig. 1, the method includes:
step S101, at least one function to be tested of the automobile cabin is determined.
In the embodiment of the application, in order to ensure the safety of the automobile, when the automobile cabin is applied to automobile equipment, the function of the automobile cabin needs to be tested. At this time, different functions of the automobile cabin to be tested can be determined as functions to be tested of the automobile cabin, so that at least one function to be tested of the automobile cabin can be determined.
As one possible implementation, the at least one function to be tested of the cabin of the vehicle comprises: camera control, CAN (Controller Area Network ) device control, cabin IVI (In-Vehicle Infotainment, in-vehicle infotainment system) control, interface operation simulation of a display screen, and the like.
It should be noted that the at least one function to be tested of the automobile cabin may also include functions of other automobile cabins, which the present application is not limited to.
Step S102, determining test items of each function to be tested based on at least one function to be tested of the automobile cabin.
In the embodiment of the application, because functions realized by different functions to be tested of the automobile cabin are different, the testing steps used in testing the different functions to be tested are not identical. And determining each testing step corresponding to each function to be tested of the automobile cabin as one testing item of the function to be tested. For example, when the function to be tested includes control of the camera, the testing step corresponding to the control of the camera includes: click detection for starting shooting, click detection for ending shooting, click detection for recording video, acquisition of pictures or video, and identification of whether the pictures or video are shot pictures or video. At this time, each test step of the control of the camera may be determined as a control test item of the camera, that is, the control test item of the camera includes a test item for starting to capture a click position detection, a test item for ending to capture a click position detection, a test item for recording a video click position detection, a test item for acquiring a picture or a video, and a test item for identifying an image. In the above process, since the testing step includes the click detection of starting shooting, the click detection of ending shooting, and the click detection of recording video, the corresponding test item is generated for each click detection to detect whether the position of the click is correct, so the test item includes the test items of three click position detections.
That is, the function test of camera control in the car cabin is realized by the above-mentioned test item for starting shooting click position detection, test item for ending shooting click position detection, test item for recording video click position detection, test item for acquiring pictures or videos, and test item for recognizing images.
Or when the function to be tested comprises the control of the CAN equipment, the corresponding testing steps of the control of the CAN equipment comprise: detection of transmitting and/or receiving CAN signals, extraction of CAN logs and detection of preservation. Each test step of the control of the CAN device CAN be determined as a test item of the control of the CAN device, that is, the test item of the control of the CAN device includes a test item for transmitting and/or receiving CAN signal detection, and a test item for extracting and storing CAN logs.
That is, the functional test of the control of the CAN device in the cabin of the vehicle is achieved by sending and/or receiving test items for CAN signal detection, and extracting and saving the detected test items for CAN logs.
Or when the function to be tested comprises the control of the IVI cabin, the testing steps corresponding to the control of the IVI cabin comprise: installation detection of an application, uninstallation detection of the application, start detection of the application and end detection of the application. Each test step of the control of the IVI capsule may be determined as a test item of the control of the IVI capsule, i.e. a test item of the control of the IVI capsule comprises a test item of the installation detection of the application, a test item of the unloading detection of the application, a test item of the start detection of the application and a test item of the end detection of the application.
That is, the functional test of the control of the IVI capsule in the car capsule is implemented by the test item of the installation detection of the application, the test item of the uninstallation detection of the application, the test item of the start detection of the application, and the test item of the end detection of the application.
Or when the function to be tested comprises the control function of other ECUs (Electronic Control Unit, electronic control units) on the simulation vehicle, the test steps corresponding to the control function of the other ECUs on the simulation vehicle comprise: control detection of steering wheel keys, control detection of a car window skylight and control detection of a tail gate. Each test step simulating the control functions of the other ECUs on the vehicle may be determined as a test item simulating the control functions of the other ECUs on the vehicle. Namely, the test items simulating the control functions of the other ECUs on the vehicle include a test item for control detection of a steering wheel key, a test item for control detection of a window sunroof, and a test item for control detection of a tail gate.
That is, the function test of the control function of the other ECU on the simulated vehicle is completed by the test item detected by the control of the steering wheel key, the test item detected by the control of the window sunroof, and the test item detected by the control of the tail gate.
Or when the function to be tested comprises the operation of the interface of the display screen, the step of testing the interface of the display screen comprises the following steps: click detection, sliding detection, dragging detection, screen capturing detection and screen recording detection of an interface. Each test step of the operation of the interface of the display screen may be determined as a test item of the operation of the interface of the display screen. Namely, the test items of the operation of the interface of the display screen include click detection test items, slide detection test items, drag detection test items, screen capture detection test items, screen recording detection test items of the interface.
That is, the functional test of the operation of the interface of the display screen is realized through the click detection test item, the slide detection test item, the drag detection test item, the screen capture detection test item and the screen recording detection test item of the interface.
It should be understood that the testing steps corresponding to different functions to be tested can be preset according to actual requirements, so that the testing steps corresponding to each function to be tested can be determined according to the functions to be tested contained in the automobile cabin, and further the testing items corresponding to each function to be tested are determined. The present application is not limited in this regard.
As a possible implementation manner, the at least one function to be tested of the automobile cabin 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 identical.
That is, when the car cabin has a plurality of functions to be tested, there may be the same test item and different test items between two functions to be tested. That is, the plurality of functions to be tested of the automobile cabin may include 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 identical.
Of course, when the automobile cabin has a plurality of functions to be tested, there may be at least two test items which are completely different from each other or completely the same between the test functions, which is not limited in this application.
Step S103, converting the test items of each function to be tested into visual test items.
In the embodiment of the application, in order to enable a tester to test an automobile cabin more conveniently, after determining the test items of each function to be tested, the test items of each function to be tested can be converted into visual test items by converting the test items of each function to be tested.
As one possible implementation, converting the test item of each function under test into a visualized test item includes:
and coding the test items of each function to be tested to obtain visual test items corresponding to the test items of each function to be tested.
That is, in the embodiment of the present application, after determining the test item of each function to be tested, the test item of each function to be tested needs to be converted into a visual test item visible to the user. At this time, the interface graphic mark corresponding to the test item of each function to be tested can be determined based on the test item of each function to be tested, the interface graphic mark of each test item is associated with the script voice of the test item, and the interface image mark is displayed in the display interface, so that the test item of each function to be tested is converted into a visual test item visible to the user.
The interface graphic mark corresponding to the test item of each function to be tested can be preset by a user, can be randomly generated by an automobile cabin test device, and can be obtained from other equipment, and the application is not limited to the interface graphic mark.
As one possible implementation, the interface graphical indicia may be visual text or icons.
As one possible implementation, converting the test item of each function under test into a visualized test item includes: and when at least two functions to be tested exist, converting the same test items in the at least two functions to be tested into the same visualized test items. That is, when there are at least two functions to be tested, if there are at least two identical test items, the corresponding visual test items are the same. In order to improve the conversion efficiency, the same test item can be converted into the same visual test item. In one embodiment, for each function to be tested of the function to be tested, when the i-th test item of the function to be tested is converted, whether the same condition as the i-th test item exists in other converted functions to be tested can be detected first, if so, the i-th test item of the function to be tested is not required to be converted, whether the i+1-th test item of the function to be tested needs to be converted is continuously detected until all the test items of the function to be tested are converted into visual test items. Wherein i is an integer greater than 0.
As a possible implementation manner, after the test items of each function to be tested are coded 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 each visual test item needs to be formed into a visual interface, a configuration file of the visual interface to be generated can be formed according to the visual test item, wherein the configuration file of the visual interface is used for recording information such as a style format of the visual interface and elements to be displayed. And performing interface rendering processing on the configuration file of the visual interface to be generated to obtain the visual interface, as shown in fig. 2. The generated visual interface comprises visual test items. In the interface shown in fig. 2, the test component is a visual test item set for each function to be tested. The visual test items of each function to be tested are contained in the test assembly, and a user can test different functions of the automobile cabin by selecting the visual test items.
And step S104, testing the automobile cabin based on the visualized test items to obtain test information.
In the embodiment of the application, after the visual test item of each function to be tested of the automobile cabin is determined, the function of the automobile cabin to be tested at present can be used as a target test item according to the visual test item, and then the automobile cabin is tested through the target test item, so that test information is obtained. When determining the target test item, the to-be-tested item of the automobile cabin, which is selected by the user and needs to be tested, can be determined to be the target test item based on the user selection.
As a possible implementation manner, based on the visualized test item, the test of the automobile cabin is performed, and the obtaining test information includes:
based on the visualized test items, determining test cases of the target functions to be tested; and testing the target function to be tested of the automobile cabin based on the test case of the target function to be tested to obtain test information.
The test case of the target function to be tested comprises at least one target test item of the target function to be tested and a test sequence of the at least one target test item.
In the embodiment of the application, test cases corresponding to different test functions of the automobile cabin can be preset. That is, the user may set at least one target test item and a test sequence of the at least one target test item corresponding to different functions to be tested of the automobile cabin in the automobile cabin test device in advance according to the visualized test items. After determining the target test function, the method can determine the test case corresponding to the target test function in the preset test cases corresponding to different test functions based on the target test function, execute the target test items according to at least one target test item in the test cases and the execution sequence of the at least one target test item, and realize the test of the target test function, thereby obtaining the test information of the target test function.
Or when testing the target test items, the tester can select at least one target test item in the visual test items to form a test case. That is, based on the visualized test item, determining the test case of the target function to be tested includes:
based on the visualized test items, determining at least one target test item of the target function to be tested and the arrangement sequence of the at least one target test item in response to the selection of a user; the arrangement order of the at least one target test item is determined as the test order of the at least one target test item.
Because the test cases of the target to-be-tested functions comprise the target test items of the target to-be-tested functions and the test sequence of each target test item, the test cases are determined by the automobile cabin test device to be the target test items of the target to-be-tested functions and the test sequence of each target test item. Based on this, when the target function of the car cabin needs to be tested, the target function to be tested can be determined as a target function to be tested. Because the test items of each function to be tested are different, the target test item of the target function to be tested can be determined from all the visual test items according to actual requirements. At this time, the user selects a visual test item corresponding to the target function to be tested from the visual test items, and the automobile cabin test device can determine the visual test item corresponding to the target function to be tested selected by the user as a target test item and the arrangement sequence of each target test item. The automobile cabin testing device generates a test case based on the target test items and the arrangement sequence of each target test item, and executes the test case to detect corresponding target functions of the automobile cabin to obtain testing information.
When a tester generates test cases of a target test function by selecting visualized test items, it is necessary to determine a test sequence of each target test item in addition to the target test items. Because the arrangement sequence of each target test item is the test sequence, the arrangement sequence 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, and the sequence selected by the tester is the test sequence of the target test items. That is, as a possible implementation manner, based on the visualized test items, determining at least one target test item of the target function to be tested and an arrangement sequence of the at least one target test item in response to a selection of a user includes:
based on the visualized test items, determining at least one target test item of the target function to be tested and the arrangement sequence of the at least one target test item in response to the selection and the selection sequence of the visualized test items by the user.
That is, in the embodiment of the present application, the test case of the target test function may be generated by selecting the visualized test item by the tester. Because the test steps of the target test function are known in advance by the test staff, the target test items required by the target test function can be selected in the visual test items according to the execution sequence of the test steps, the automobile cabin test device responds to the selection of the user, the target test items of the target test function are obtained one by one, and the arrangement sequence of the target test items is determined based on the selection sequence of each target test item selected by the user, so that the test case of the target function to be tested can be obtained.
Or, when the visual test items are selected by the tester, the tester can select the target test items of the target test function out of order in the visual test items instead of selecting the target test items of the target test function according to the sequence of the test steps of the target test function, and at this time, the tester needs to adjust the arrangement sequence of the target test items after selecting the target test items. That is, based on the visualized test items, in response to a user selection, determining at least one target test item of the target function to be tested and an arrangement order of the at least one target test item includes:
based on the visualized test items, determining at least one target test item of the target function to be tested in response to the selection of the visualized test items by the user; in response to a user adjustment to the order of the at least one target test item, a ranking of the at least one target test item is determined.
That is, in the embodiment of the present application, since the tester knows the test steps of the target test function in advance, the target test item of the target function to be tested can be selected from the visualized test items according to the test steps of the target test function. Since the tester does not necessarily select the target test items according to 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 acquired by the car cabin test device according to the selection order of the user may not be the final test order of the target test items in response to the selection of the user. At this time, the tester is required to further adjust the arrangement order of the target test items. That is, in the visualized test items, the tester selects at least one target test item according to the target test function, and after the selection is completed, the arrangement sequence of the at least one target test item can be further adjusted. At this time, the cabin test device responds to the selection of the visualized test items to obtain at least one target test item of the target test function, and responds to the adjustment of the arrangement sequence of the at least one target test item by the user to obtain the arrangement sequence of the at least one target test function of the target test function, so that the test case of the target test function can be generated according to the arrangement sequence of the at least one target test item of the target function to be tested and the at least one target test item.
As one possible implementation, a portion of the test items may need to be set with values when generating the test cases. Specific parameter values in the target test item can be set by a user, so that test cases of the target function to be tested are generated. Or when the user does not set the parameter value in the target test item, the automobile cabin test device can use the preset default value as the parameter value in the target test item, so as to generate a test case of the target function to be tested. That is, the parameter value of each target test item in the generated test case of the target function to be tested has been determined. Therefore, the target function to be tested of the automobile cabin can be tested through the test case.
It should be noted that, because the user who tests the automobile cabin is a tester, the tester can know the test parameters of the test item of each function to be tested in the automobile cabin in advance, so that the test parameters can be input into the automobile cabin testing device.
As a possible implementation manner, in order to facilitate the user to more intuitively learn the test result, the acquired test information may be fed back to the user, for example, the test information may be displayed, or the test information may be played out in a voice broadcast manner. Of course, the feedback to the user may also be provided by other means, which is not limited in this application.
As one possible implementation manner, determining, based on the visualized test item, a test case of a target function to be tested includes:
acquiring a history test case of a target function to be tested;
determining a history test case of the target function to be tested as a test case of the target function to be tested; or based on the visualized test items, the test items and/or the test sequence in the history test cases are adjusted, and the target test items of the target function to be tested are determined.
In this embodiment, when the automobile cabin testing device needs to test the target function to be tested of the automobile cabin, if a test case of the target function to be tested is generated before the current test, that is, a history test case is generated by testing the target function to be tested before the current test, the history test case may be obtained. Because the history test case is generated when the target function to be tested is tested before the current time, the history test case comprises the target test item which is determined before the automobile cabin test device and aims at the target function to be tested, and at the moment, the automobile cabin test device can determine the test case of the target test function of the current time according to the history test case. In some embodiments, the cabin test device may directly determine the historical test case as the test case of the current target function under test. Alternatively, in some embodiments, the user may determine the target test item of the current target function to be tested according to the target test item recorded in the history test case and the visual test item determined in step S103. The user can adjust the test items and/or the test sequence contained in the history test case based on the visualized test items, for example, delete part of the target test items contained in the history test case, or add other visualized test items, or adjust the arrangement sequence of the target test items in the history test case, and take the adjusted history test case as the test case of the current target test function.
For example, the automobile cabin testing device needs to test a target function to be tested, and the history test case of the target function to be tested a includes a test item e, a test item b and a test item c. After the automobile cabin testing device acquires the history test case of the target function a to be tested, if a user deletes the test item e in the history test case and newly adds the test item d as the target test item of the current target function a to be tested, the automobile cabin testing device can determine that the target test items of the target function a to be tested are the test item b, the test item c and the test item d.
As a possible implementation manner, the above test case based on the target function to be tested tests the target function to be tested of the automobile cabin, and the obtaining test information includes:
determining the test times; and testing the target function to be tested of the automobile cabin for times based on the test case of the target function to be tested, and obtaining test information of the times.
In the embodiment of the application, after the test case of the target function to be tested is determined, in order to improve the test accuracy, the test case can be used for repeatedly testing the target function to be tested of the automobile cabin for multiple times, and the pressure test can be performed. At this time, the number of tests needs to be determined first. Based on this, the number of tests may be set in advance, or may be set by the user. When set by the user, the car cabin test apparatus may determine the number of times set by the user as the test number of times in response to the user's setting. After the automobile cabin testing device obtains the testing times, the automobile cabin can be tested for the target function to be tested for a plurality of times based on the testing examples of the target function to be tested, so that the testing information of the plurality of times of testing can be obtained.
In this way, in the application, the test items of the functions to be tested in the automobile cabin can be converted into visual test items, so that the automobile cabin can be correspondingly tested based on the visual test items, and test information can be obtained. In the embodiment of the application, the test items of the functions to be tested in the automobile cabin are converted into the visual test items, so that people without coding capacity can test the corresponding automobile cabin through the visual test items, the learning period of the testers is shortened, and the test cost is further reduced.
Referring to fig. 3, a schematic flow chart of an automobile cabin testing method is provided in an embodiment of the present application. As shown in fig. 3, the method includes:
step S301, determining at least one function to be tested of the automobile cabin.
The details of step S101 are not described herein.
Step S302, determining test items of each function to be tested based on at least one function to be tested of the automobile cabin.
The details of step S102 are not described herein.
Step S303, converting the test items of each function to be tested into visual test items.
The details of step S103 are not described herein.
And S304, connecting an automobile cabin.
In this embodiment of the application, after determining the visual test item of each function to be tested of the automobile cabin, when the automobile cabin needs to be tested, the automobile cabin testing device needs to be connected with the automobile cabin first. At this time, the automobile cabin testing device can establish wired or wireless connection with the automobile cabin.
And step S305, testing the automobile cabin based on the visualized test items to obtain test information.
The details of step S104 are not described herein.
Step S306, save the test information and test cases.
In the embodiment of the application, the generated test information can be stored, so that a user can acquire the test information through the stored test information when the user needs to check the test result later. Meanwhile, in the embodiment of the present application, the test case determined in the step S104 may be further stored as a historical test case, so that when the target function to be tested is tested on the automobile cabin later, the stored test case may be obtained for testing.
As a possible implementation manner, when the automobile cabin testing device stores the test information and the test cases, the test cases can be stored in the first file, and the test information can be stored in the second file, so that the test information and the test cases can be obtained later. In some embodiments, the path along which the first file and the second file are saved may be different.
As a possible implementation manner, when the test case is stored, the information of the function to be tested corresponding to the test case needs to be stored while the test case is stored. Thus, when the target function to be tested of the automobile cabin is tested later, the historical test case corresponding to the target function to be tested can be found out through the recorded information of the function to be tested corresponding to the test case.
For example, if the playing function of music in the car cabin is to be tested. When the test function determination of the car cabin is performed, the music play can be determined as one function to be tested of the car cabin. Assume that a test item corresponding to a music playing function is preset to include: starting the detection test item, clicking the detection test item, delaying the detection test item, controlling the detection test item by a steering wheel, and ending the detection test item. At this time, the automobile cabin testing device may first convert the test item of each function to be tested of the automobile cabin into a visual test item. As shown in fig. 4, in this example, a test item containing a visualization corresponding to the music playing function may be obtained. When testing the music playing of the automobile cabin, a tester can select a target test item of the music playing function through the visual test item. At this time, the tester may sequentially select the start test item, the click test item, the delay test item, the steering wheel control test item, and the end test item as target test items of the music playing function according to the execution order of the test steps. The automobile cabin testing device can take the starting detection test item, the clicking detection test item, the delay detection test item, the steering wheel control detection test item and the ending detection test item selected by a tester as target test items of a music playing function, and the arrangement training of each target test item is determined according to the selection sequence of a user. The tester can also set corresponding test values for test items for which specific parameter values need to be set. For example, the application test item is started, and the start application name of the start detection test item needs to be input, at this time, the tester may input the application package name of the USB music that needs to be started. Assuming that the application package name is application name 1, the car cabin testing device may acquire the start application name of the start detection test item as application name 1. The delay detection test item requires a time of inputting a delay. At this time, assuming that the delay time input by the tester is 500 milliseconds, the car cabin test device can acquire the delay time of the delay detection test item is 500 milliseconds. The click detection test item needs to input a click position, and the input click position is coordinates of a play button. Assuming that the click position input by the tester is (a, b), the car cabin testing device may acquire that the click position of the click detection test item is (a, b). The steering wheel control detection test item needs to be input to control the steering wheel, and if the tester inputs that the steering wheel right key is pressed 20 times, the automobile cabin test device can acquire that the steering wheel control detection test item needs to be pressed 20 times. Ending the test item requires entering the application name of the ending application. At this time, the tester can input the application package name of the above-mentioned started USB music. I.e. application name 1, the car cabin testing device may obtain the application name ending the detection test item as application name 1. The automobile cabin can obtain the test cases of the music playing function based on the target test items of the music playing function, the arrangement training of each target test item and the parameter setting of each target test item by the user.
When the automobile cabin is tested, the automobile cabin testing device can be connected with the automobile cabin firstly, at the moment, a tester can send a connection instruction to the automobile cabin device, the automobile cabin device responds to the connection instruction and is connected with the automobile cabin, after the connection is established with the automobile cabin, if the connection is established successfully, the automobile cabin testing device can return a response message of successful connection establishment to the tester. If the connection establishment fails, the automobile cabin testing device can return a response message of the connection establishment failure to the tester.
After obtaining the response message of successful connection establishment, the tester can input the test times to the automobile cabin test device. Assuming that the number of tests is 100, the car cabin testing device determines that the number of tests is 100. After the automobile cabin testing device acquires the testing times, the music playing function of the automobile cabin can be tested. At this time, the car cabin testing device can test the music playing function 100 times by using the generated test case, and a test result of 100 times is obtained. Alternatively, the tester may control the testing of the cabin by the cabin testing device. For example, a tester may input a test instruction to the car cabin device, and the car cabin device performs 100 tests on the music playing function using the generated test case in response to the test instruction, resulting in 100 test results. After the test result is obtained, the automobile cabin test device can feed back the test result to a tester, for example, the test result is displayed through a display screen. When the automobile cabin testing device executes 100 test cases to obtain 100 test results, the automobile cabin testing device can obtain the test results once every time, the test results are displayed in the display screen, and the current test results can cover the previous test results. Or, displaying all the obtained test results on the display screen, that is, displaying the current test result after the previous test result, and retaining the display of the previously obtained test result. The automobile cabin testing device can store the test cases corresponding to the music playing test functions determined at the time and the acquired test results. The automobile cabin testing device can respectively store the test cases and the acquired test results to preset positions. Alternatively, the tester may set the storage location of the test case and the acquired test result. At this time, the automobile cabin testing device can store the test cases and the acquired test results to storage positions set by the testers respectively.
Further, when the automobile cabin testing device determines the test case of music playing, a tester can directly select a target test item of music playing from visual test items of all functions to be tested of the determined automobile cabin. Or, the tester can also obtain the history test cases of the music playing function of the automobile cabin. At this time, in response to an instruction, for example, an import instruction, input by a user to obtain a history test case of the music playing function of the car cabin, the car cabin test device may find the history test case of the music playing function from the saved test cases. The automobile cabin testing device can feed back historical test cases of the music playing function to a tester, and the test cases are displayed through a display screen. At this time, a tester can determine a target test item of the current music playing function based on the test items in the historical test cases, and form a test case of the current audio playing function. For example, the tester may add or delete a part of test items from the test items in the history test cases, or change the parameter values of the test items, or the arrangement order of the test items, to form the test case of the current audio playing function.
Referring to fig. 5, a schematic structural diagram of an automobile cabin testing device according to an embodiment of the present application is provided. As shown in fig. 5, the apparatus includes:
a determining unit 501 for determining at least one function to be tested of the vehicle cabin.
The determining unit 501 is further configured to determine a test item of each function to be tested based on at least one function to be tested of the automobile cabin.
The processing unit 502 is configured to convert the test item of each function to be tested into a visualized test item.
The processing unit 502 is further configured to perform a test on the car cabin based on the visualized test item, to obtain test information.
As a possible implementation manner, the processing unit 502 is specifically configured to convert, when there are at least two functions to be tested, the same test items in the at least two functions to be tested into the same visualized test items.
As a possible implementation manner, the processing unit 502 is specifically configured to determine a test case of the target function to be tested based on the visualized test item; and testing the target function to be tested of the automobile cabin based on the test case of the target function to be tested to obtain test information. The test case of the target function to be tested comprises at least one target test item of the target function to be tested and a test sequence of the at least one target test item.
As a possible implementation manner, the processing unit 502 is specifically configured to determine, based on the visualized test items, at least one target test item of the target function to be tested and an arrangement sequence of the at least one target test item in response to a selection of a user; the arrangement order of the at least one target test item is determined as the test order of the at least one target test item.
As a possible implementation manner, the processing unit 502 is specifically configured to determine, based on the visualized test items, at least one target test item of the target function to be tested and an arrangement order of the at least one target test item in response to a selection and a selection order of the visualized test items by a user.
As a possible implementation manner, the processing unit 502 is specifically configured to determine, based on the visualized test items, at least one target test item of the target function to be tested in response to a user selection of the visualized test items; in response to a user adjustment to the order of the at least one target test item, a ranking of the at least one target test item is determined.
As a possible implementation manner, the processing unit 502 is specifically configured to determine the number of tests; and testing the target function to be tested of the automobile cabin for times based on the test case of the target function to be tested, and obtaining test information of the times.
As a possible implementation manner, the processing unit 502 is specifically configured to obtain a history test case of a target function to be tested; determining a history test case of the target function to be tested as a test case of the target function to be tested; or based on the visualized test items, the test items and/or the test sequence in the history test cases are adjusted, and the target test items of the target function to be tested are determined.
Corresponding to the above embodiment, the present application also provides an electronic device. Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, where the electronic device 600 may include: processor 601, memory 602, and communication unit 603. The components may communicate via one or more buses, and it will be appreciated by those skilled in the art that the configuration of the electronic device shown in the drawings is not limiting of the embodiments of the invention, as it may be a bus-like structure, a star-like structure, or include more or fewer components than shown, or may be a combination of certain components or a different arrangement of components.
Wherein, the communication unit 603 is configured to establish a communication channel, so that the electronic device may communicate with other devices. Receiving user data sent by other devices or sending user data to other devices.
The processor 601, which is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and/or processes data by running or executing software programs and/or modules stored in the memory 602, and invoking data stored in the memory. The processor may be comprised of integrated circuits (integrated circuit, ICs), such as a single packaged IC, or may be comprised of packaged ICs that connect multiple identical or different functions. For example, the processor 601 may include only a central processing unit (central processing unit, CPU). In the embodiment of the invention, the CPU can be a single operation core or can comprise multiple operation cores.
The memory 602, for storing instructions for execution by the processor 601, the memory 602 may be implemented by any type of volatile or non-volatile memory device or 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.
The execution of the instructions in memory 602, when executed by processor 601, enables electronic device 600 to perform some or all of the steps of the embodiments shown in fig. 1 or 3.
In a specific implementation, the present invention further provides a computer storage medium, where the computer storage medium may store a program, where the program may include some or all of the steps in each embodiment of the method for testing an automobile cabin provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a random-access memory (random access memory, RAM), or the like.
It will be apparent to those skilled in the art that the techniques of embodiments of the present invention may be implemented in software plus a necessary general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in essence or what contributes to the prior art in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the embodiments or some parts of the embodiments of the present invention.
The same or similar parts between the various embodiments in this specification are referred to each other. In particular, for the device embodiment and the terminal embodiment, since they are substantially similar to the method embodiment, the description is relatively simple, and reference should be made to the description in the method embodiment for relevant points.

Claims (10)

1. A method of testing an automobile cabin, comprising:
determining at least one function to be tested of the automobile cabin;
determining test items of each function to be tested based on at least one function to be tested of the automobile cabin;
converting the test items of each function to be tested into visual test items;
and testing the automobile cabin based on the visualized test items to obtain test information.
2. The method of claim 1, wherein converting the test item for each function under test to a visualized test item comprises:
and when at least two functions to be tested exist, converting the same test items in the at least two functions to be tested into the same visualized test items.
3. The method of claim 1, wherein the performing the test of the cabin of the vehicle based on the visualized test item, the obtaining test information comprises:
Determining a test case of a target function to be tested based on the visualized test item; the test case of the target function to be tested comprises at least one target test item of the target function to be tested and a test sequence of the at least one target test item;
and testing the target function to be tested of the automobile cabin based on the test case of the target function to be tested to obtain test information.
4. The method of claim 3, wherein determining a test case for a target function under test based on the visualized test items comprises:
based on the visualized test items, determining at least one target test item of the target function to be tested and the arrangement sequence of the at least one target test item in response to the selection of a user;
determining the arrangement order of the at least one target test item as the test order of the at least one target test item.
5. The method of claim 4, wherein the determining at least one target test item for the target function under test and the order of the at least one target test item based on the visualized test items in response to a user selection comprises:
Based on the visualized test items, at least one target test item of the target function to be tested and the arrangement sequence of the at least one target test item are determined in response to the selection and the selection sequence of the visualized test items by a user.
6. The method of claim 4, wherein the determining at least one target test item for the target function under test and the order of the at least one target test item based on the visualized test items in response to a user selection comprises:
based on the visualized test items, determining at least one target test item of the target function to be tested in response to the selection of the visualized test items by a user;
the ranking of the at least one target test item is determined in response to a user adjustment to the ranking of the at least one target test item.
7. The method according to any one of claims 3-6, wherein the testing the target function under test of the car cabin based on the test case of the target function under test, obtaining test information includes:
determining the test times;
and carrying out the test times for the target function to be tested of the automobile cabin based on the test case of the target function to be tested, and obtaining test information of the test times.
8. The method of any of claims 3-6, wherein determining a test case for a target function under test based on the visualized test item comprises:
acquiring a history test case of the target function to be tested;
determining the historical test cases of the target to-be-tested functions as test cases of the target to-be-tested functions; or alternatively, the process may be performed,
and based on the visualized test items, adjusting the test items and/or the test sequence in the historical test cases, and determining target test items of a target function to be tested.
9. An automobile cabin testing device, comprising:
the determining unit is used for determining at least one function to be tested of the automobile cabin;
the determining unit is further used for determining test items of each function to be tested based on at least one function to be tested of the automobile cabin;
the processing unit is used for converting the test items of each function to be tested into visual test items;
and the processing unit is also used for testing the automobile cabin based on the visualized test items to obtain test information.
10. An electronic device comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the electronic device to perform the method of any one of claims 1-8.
CN202310209765.5A 2023-03-06 2023-03-06 Automobile intelligent cabin testing method, device and equipment Pending CN116125181A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310209765.5A CN116125181A (en) 2023-03-06 2023-03-06 Automobile intelligent cabin testing method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310209765.5A CN116125181A (en) 2023-03-06 2023-03-06 Automobile intelligent cabin testing method, device and equipment

Publications (1)

Publication Number Publication Date
CN116125181A true CN116125181A (en) 2023-05-16

Family

ID=86306427

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310209765.5A Pending CN116125181A (en) 2023-03-06 2023-03-06 Automobile intelligent cabin testing method, device and equipment

Country Status (1)

Country Link
CN (1) CN116125181A (en)

Similar Documents

Publication Publication Date Title
US20150347270A1 (en) Automatic test system and test method for computer, record medium, and program product
CN102981954B (en) The compatibility test method and electronic installation of a kind of input method
CN107729246B (en) Auxiliary test method, device and equipment for target application and storage medium
CN108965420A (en) A kind of adjustment method of car-mounted terminal, device, equipment and storage medium
CN109616106A (en) Vehicle-mounted control screen voice recognition process testing method, electronic equipment and system
CN111179907A (en) Voice recognition test method, device, equipment and computer readable storage medium
JP2006085708A (en) Control device and control method for console
CN109039873A (en) Chat record display methods, device and computer readable storage medium
CN116125181A (en) Automobile intelligent cabin testing method, device and equipment
CN111414309A (en) Automatic test method of application program, computer equipment and storage medium
CN107145315A (en) System and method for operating multi-display component
CN116175558A (en) Intelligent manipulator testing system and testing method
CN109144841A (en) The recognition methods and device of advertisement applications, computer equipment and storage medium
CN114356769A (en) Software learning method, device, equipment and storage medium
CN113721582A (en) Cabin system response efficiency testing method, equipment, storage medium and device
CN112749777A (en) Scene interaction simulation method, device, equipment and storage medium
CN111538407A (en) Information interaction method and device and electronic equipment
CN112579442A (en) AR HUD test method, system, computer device and storage medium
CN113593372B (en) Vehicle light test method, device, equipment and storage medium
CN116176432B (en) Vehicle-mounted device control method and device, vehicle and storage medium
CN112153451B (en) Vehicle use instruction display method and intelligent terminal
US20220146376A1 (en) Diagnosis device verification system and diagnosis device verification method
US20240095422A1 (en) A method for virtual testing of a head unit of a motor vehicle by a virtual test bench as well as a corresponding virtual test bench
CN115562995A (en) Automatic test method, terminal device and storage medium
KR100686653B1 (en) Inspection system for cockpit procedure trainer

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20240124

Address after: No. 13 Xingxiang Road, Zengjia Town, High tech Zone, Shapingba District, Chongqing, 400039

Applicant after: Chongqing Selis Phoenix Intelligent Innovation Technology Co.,Ltd.

Country or region after: China

Address before: Room 2901, Floor 29, Unit 1, Building 1, No. 151, Tianfu Second Street, Chengdu Hi tech Zone, Chengdu Free Trade Pilot Zone, 610,000, Sichuan

Applicant before: Chengdu Thalys Technology Co.,Ltd.

Country or region before: China