CN113567778A - Scene-based real-vehicle automatic testing method for vehicle-mounted information entertainment system - Google Patents

Scene-based real-vehicle automatic testing method for vehicle-mounted information entertainment system Download PDF

Info

Publication number
CN113567778A
CN113567778A CN202110733605.1A CN202110733605A CN113567778A CN 113567778 A CN113567778 A CN 113567778A CN 202110733605 A CN202110733605 A CN 202110733605A CN 113567778 A CN113567778 A CN 113567778A
Authority
CN
China
Prior art keywords
vehicle
test
real
infotainment system
scene
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.)
Granted
Application number
CN202110733605.1A
Other languages
Chinese (zh)
Other versions
CN113567778B (en
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.)
Nanjing Fujitsu Nanda Software Technology Co Ltd
Original Assignee
Nanjing Fujitsu Nanda Software 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 Nanjing Fujitsu Nanda Software Technology Co Ltd filed Critical Nanjing Fujitsu Nanda Software Technology Co Ltd
Priority to CN202110733605.1A priority Critical patent/CN113567778B/en
Publication of CN113567778A publication Critical patent/CN113567778A/en
Application granted granted Critical
Publication of CN113567778B publication Critical patent/CN113567778B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G01R31/007Testing of electric installations on transport means on road vehicles, e.g. automobiles or trucks using microprocessors or computers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a scene-based vehicle-mounted information entertainment system real-vehicle automatic test method, which is realized through a client-server end framework, controls a tested vehicle-mounted information entertainment system through a client program and a test device arranged in a real-vehicle computer, completes the operations of simulating a touch screen, simulating voice sounding, simulating steering wheel keys and the like, saves the vehicle-mounted information entertainment system picture in real time through a picture synchronization technology, and compares and confirms the picture with a preset reference picture at any time so as to realize automatic test execution, picture result confirmation and the like. The method completes the manufacture of the automatic test scripts of all vehicle-mounted information entertainment system real vehicle tests in a laboratory, and the test scripts are automatically executed according to scenes during the real vehicle tests, so that the real vehicle test efficiency is greatly improved, and the influence on driving safety caused by the distracted test operation of testers during the real vehicle tests can be effectively avoided.

Description

Scene-based real-vehicle automatic testing method for vehicle-mounted information entertainment system
Technical Field
The invention belongs to the technical field of automatic test of real vehicle electronic products, and particularly relates to a scene-based real vehicle automatic test method of a vehicle-mounted information entertainment system.
Background
With the development of science and technology and social progress, the science and technology content of real vehicles is higher and higher, the intelligent level is also higher and higher, and particularly the intelligent real Vehicle with an In-Vehicle information and entertainment system (IVI) with a rich interaction form (HMI) is carried out. The driver can finish multi-form interactive communication with the vehicle-mounted information entertainment system through large-size touch screens, voice, gestures, keys and other operation behaviors, and the vehicle experience of passengers is greatly improved. Meanwhile, a series of development and test related problems are brought to the test certification team of the whole real vehicle factory, the supplier of the vehicle-mounted infotainment system and the like. The most prominent point is how to improve the testing efficiency and reduce the cost of the vehicle-mounted infotainment system under the conditions of short delivery cycle and increased testing workload, which is a straight subject in the industry.
Particularly, in the scene of real vehicle testing on the vehicle-mounted infotainment system, the currently mainly adopted form is manual testing, and at least two testing personnel including a driver are required to participate. The touch screen type vehicle-mounted infotainment system is different from the traditional hard key type system, when the vehicle-mounted infotainment system needs to be operated in the driving process, on one hand, the operation can be carried out only by paying attention to the sight on the screen, even if the vehicle-mounted infotainment system can be operated in a voice interaction mode, the large scale of test cases can cause the distraction of drivers and influence the driving safety; on the other hand, in the real vehicle test, a driving route needs to be planned in advance, and test cases under various scenes are set, but in the real vehicle process, the test is influenced by external factors such as road conditions and subjective factors of drivers and passengers, so that the implementation of the test by testers is greatly interfered, the test efficiency is greatly reduced, and the accuracy and the reliability of the test are possibly influenced.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a scene-based vehicle-mounted information entertainment system real vehicle automatic testing method, which effectively reduces the influence of the test on the driving safety and improves the safety of the real vehicle test by improving the testing process.
The technical scheme provided by the invention is as follows:
a scene-based vehicle-mounted information entertainment system real-vehicle automatic testing method is realized through a client-server architecture, and is characterized by comprising the following steps:
s1: in the server-side program:
arranging test cases according to a preset scene of each test task, and compiling an automatic test script;
planning a walking route and route nodes for real vehicle testing according to scene requirements, wherein the route nodes are identification positions of route points which are planned to be passed by a real vehicle, and guiding position parameters of the route nodes into an automatic testing script by utilizing a map service technology;
s2: installing a client program on a computer, receiving a test task distributed by the server program by using the client program, and downloading and executing an automatic test script corresponding to the test task;
the process of executing the automated test script comprises:
acquiring current position parameters of the real vehicle in real time, combining the current position parameters with each identification position, calculating the distance between two points, and executing a test case corresponding to a preset scene according to the preset scene when the distance between the real vehicle and a certain identification position meets a preset condition, namely the identification position is considered to be matched;
the test case corresponding to the scene comprises one or more of simulated touch screen operation, simulated voice production operation and simulated steering wheel key operation;
the simulated touch screen operates as follows: the client program establishes communication with the vehicle-mounted infotainment system, sends a multi-point touch event operation instruction and a screenshot instruction to the tested vehicle-mounted infotainment system, and compares the multi-point touch event operation instruction and the screenshot instruction with a preset reference image after completing control simulation and receiving a screenshot image sent by the tested vehicle-mounted infotainment system so as to confirm whether a screenshot of the tested vehicle-mounted infotainment system is in an expected reference image action defined in the test script or not;
the simulated voice sounding operation is as follows: the client program analyzes the voice text of the test case through a TTS voice engine, sounds outwards through sound equipment, replaces a driver to finish sending a voice instruction to the tested vehicle-mounted information entertainment system, collects the audio signal in the vehicle through a microphone, generates a corresponding audio file, performs voiceprint comparison on the audio file and an expected reference voice file defined in the test script, and confirms whether the voice interaction of the tested vehicle-mounted information entertainment system is accurate or not;
the simulation steering wheel key operation is as follows: the testing device provided with a digital-to-analog signal converter is connected with a computer and a tested vehicle-mounted system entertainment system, digital signals output by client program control are converted into voltage signals and output to the tested vehicle-mounted system entertainment system so as to simulate the input of real vehicle steering wheel key signals; the client program is connected with the tested vehicle-mounted infotainment system, the screenshot command is sent to the tested vehicle-mounted infotainment system while the simulation of the real vehicle steering wheel key signal input is completed, and the screenshot image sent by the tested vehicle-mounted infotainment system is compared with the preset reference image after being received so as to confirm whether the screen picture of the tested vehicle-mounted infotainment system is in the expected reference picture action defined in the test script.
On the basis of the above scheme, a further improved or preferred scheme further comprises:
further, in the simulated voice sounding operation, the in-vehicle audio signal collected by the microphone is derived from voice fed back by the in-vehicle infotainment system in response to the voice command and/or feedback voice of the driver and passenger describing test results.
Further, the simulating the voice production operation further comprises:
the client program establishes communication connection with the tested vehicle-mounted infotainment system, sends a screenshot instruction to the tested vehicle-mounted infotainment system, receives a screenshot image sent by the tested vehicle-mounted infotainment system while collecting the audio signal in the vehicle, and compares the screenshot image with a preset reference image to confirm whether the screenshot of the tested vehicle-mounted infotainment system is in an expected reference image action defined in the test script.
Further, in the operation of the simulated touch screen, the process of establishing communication between the client program and the vehicle-mounted infotainment system is as follows:
the method comprises the steps that a client program installed on a computer is connected to a tested vehicle-mounted infotainment system through an Android debugging bridge, a getprop command is executed through an adb shell command line to obtain the attribute of an operating system of the tested vehicle-mounted infotainment system, an executable program which is compiled based on an Android device remote management framework (STF) and supports a screenshot, a multi-point touch event operation and a Socket communication function is pushed to the tested vehicle-mounted infotainment system through the adb shell command line to execute a push command, and Socket communication between the client program on the computer and the vehicle-mounted infotainment system is achieved.
Furthermore, in the operation of simulating the steering wheel key, a testing device connected with a client installed on a computer through a serial port adopts a 12-bit four-channel digital-to-analog converter MCP4728 with an EEPROM memory to convert four paths of digital signals into voltage and output the voltage to a tested vehicle-mounted system entertainment system so as to simulate the input of real vehicle steering wheel key signals.
Preferably, the testing device is provided with a vehicle-specification-level GPS module SKG12Q, and the real-time positioning data is forwarded to the client program through a serial port and an interface program.
Further, the server program receives test state data sent by the client program in real time, judges whether the current test state meets the preset scene setting requirement or not according to the test state data, and selectively pushes prompt information to the client based on the judgment result. The test state data comprises the execution state of the test case, the operation state of the client program, the acquisition state of the GPS data and the connection state of the computer, the test device and the tested vehicle-mounted infotainment system.
Has the advantages that:
in the invention, a tester can complete the manufacture of the automatic test script of all the vehicle-mounted information entertainment system real vehicle tests in a laboratory, and the test script is automatically executed according to the scene during the real vehicle tests, thereby greatly improving the efficiency of the real vehicle tests. In the execution process of the test script, compared with the prior art, the observation and recording work of drivers and passengers is greatly reduced, only one driver needs to complete corresponding operation according to the prompt information of the client program during real-time vehicle test, the execution and result confirmation of the test case are mainly completed by the client program, and the drivers and passengers can concentrate on driving more, so that the problems of test accuracy and reliability caused by the influence of external factors such as road conditions and the influence of subjective factors of the drivers and passengers are effectively avoided. Meanwhile, in a more preferable technical scheme, the real vehicle test process is grasped in real time through the server-side program and is corrected, so that the accuracy and the reliability of the real vehicle test can be further improved.
On the whole, the testing method can reduce manual operation, improve the defect of resource waste in the real vehicle testing process in the prior art, reduce the real vehicle testing cost and improve the testing reliability and the driving safety.
Drawings
FIG. 1 is a diagram of a test system architecture for performing the method of the present invention;
FIG. 2 is a sub-block diagram of a server and a client in the method of the present invention;
FIG. 3 is a flow chart of the method of the present invention.
Detailed Description
In order to clarify the technical scheme and the working principle of the method of the present invention, the present invention is described in detail with reference to the accompanying drawings and specific examples.
As shown in fig. 1 and fig. 2, the testing system corresponding to the method of the present invention mainly includes a client and a server. The client comprises a client program and a testing device which are automatically executed on the real vehicle based on scenes and confirm the test cases as a result, and the server is provided with a server program which can remotely monitor, distribute tasks and modify the testing process in real time.
The server-side program is installed in remote control platform equipment of a laboratory and mainly comprises a test state monitoring module, a test task management module, a test case management module, a test strategy management module, a strategy execution deviation monitoring module, a test report collection module, an Http multi-thread communication module, an MQ communication module and the like.
The client program is installed in a movable terminal device, such as a computer, and is conveniently carried on a real vehicle provided with the vehicle-mounted information entertainment system to be tested together with a testing device during real vehicle testing. The client program comprises an Http communication module, an MQ communication module, a test script analysis module, a serial port communication module, a TTS generation module, a position detection module, a Socket communication module, a voiceprint acquisition and comparison module and the like. The testing device comprises a power supply control module, a serial port communication module, a digital-to-analog conversion module, a GPS communication module and the like.
The real-vehicle automatic testing method of the vehicle-mounted information entertainment system based on the scene comprises the following steps:
s1: deploying server-side programs on a remote control platform
S11, before real vehicle testing, in the server-side program:
1) arranging test cases according to a preset scene of each test task, making a test strategy and compiling an automatic test script;
2) planning a walking route and route nodes of a real vehicle test according to the scene requirement, and introducing the position parameters of each route node into an automatic test script as an identification position of an approach place by using a map service technology;
3) after confirming that each real vehicle client is correctly connected, distributing data of a test task, a walking route and a path place to a corresponding real vehicle client program;
s12, during the real vehicle test:
real vehicle real-time data uploaded by a client is monitored in real time through a server program, and the real vehicle real-time data comprises but is not limited to a test device connection state, a test case execution state, a client operation state, a tested object connection state, a GPS data acquisition state and the like, and the real vehicle test process is corrected or operation prompt is carried out through a business algorithm or by manually combining the states, for example: route prompt set by a deviation test scene, operation prompt for testing opening and closing of the electric vehicle door after flameout and parking, operation prompt for observing the opening and closing state of the window of the air conditioner, operation prompt for observing whether the air conditioner is adjusted to a specified temperature, operation of an ignition device according to the prompt and the like;
and receiving and backing up the automatic test result file uploaded by the client in real time through a server program.
S2: receiving a test task distributed by the server-side program by using a client-side program installed on a computer, and downloading and executing an automatic test script corresponding to the test task;
the process of executing the automated test script comprises:
acquiring current position parameters of the real vehicle in real time, combining the current position parameters with each identification position, calculating the distance between two points, and executing a test case corresponding to a scene in an automatic test script according to a preset scene when the distance between the real vehicle and a certain identification position meets a preset condition, for example, the approach degree reaches a preset range value, namely the approach point is considered to be matched;
the test case corresponding to the scene comprises one or more of touch screen operation simulation, voice sounding operation simulation and steering wheel key operation simulation, wherein:
A. simulating touch screen operation
In this embodiment, taking an Android-based vehicle-mounted infotainment system as an example, a process of establishing a communication connection between a client program and the vehicle-mounted infotainment system is as follows:
and the client program installed on the computer is connected to the tested vehicle-mounted infotainment system through an Android Debug Bridge (ADB), and executes a getprop command through an ADB shell command line to acquire the operating system attributes of the tested vehicle-mounted infotainment system, including CPU information, system version and the like. After the attribute of an operating system is clarified, an executable program which is written based on an android device remote management framework STF (smartphone Test farm) and supports screenshot, multi-point touch event operation and Socket communication functions is pushed to a tested vehicle-mounted infotainment system through an adb shell command line to execute a push command and is executed according to the attribute of the operating system.
After the executable program is executed, a client program on a computer can realize Socket communication with the vehicle-mounted infotainment system, according to the execution steps of the test cases defined in the automatic test script, instructions such as multi-point touch event operation, screenshot and the like are sent to the tested vehicle-mounted infotainment system, so that the control simulation of the tested vehicle-mounted infotainment system is completed, and after screen screenshot images sent by the tested vehicle-mounted infotainment system are received, the screen screenshot images are compared with preset reference images to confirm whether the screen image of the tested vehicle-mounted infotainment system is in an expected reference image action defined in the test script or not.
By the technical scheme, the aims of automatic testing and automatic result confirmation related to touch screen operation of the vehicle-mounted information entertainment system can be fulfilled.
B. Simulating voice production operation
The client program installed on the computer analyzes the voice text of the test case through a TTS (text To speech) voice engine, and sounds outwards through sound equipment To replace a driver To send a voice instruction To the tested vehicle-mounted information entertainment system. After receiving the TTS voice, the tested vehicle-mounted infotainment system can be awakened and respond to various voice instructions to complete related operations or adjustment. And the client program also acquires audio signals in the vehicle through a microphone to generate a corresponding audio file, and then compares the audio file with an expected reference voice file defined in the test script to determine whether the sound interaction of the tested vehicle-mounted information entertainment system is accurate. The in-vehicle audio signals collected by the microphone can be derived from voice fed back by the vehicle-mounted infotainment system in response to the voice command and feedback voice of the test result described by the driver and the passenger.
Meanwhile, the client program can also establish communication connection with the tested vehicle-mounted infotainment system, send a screenshot instruction to the tested vehicle-mounted infotainment system, receive a screenshot image sent by the tested vehicle-mounted infotainment system while collecting the audio signal in the vehicle, and compare the screenshot image with a preset reference image to confirm whether the screenshot of the tested vehicle-mounted infotainment system is in an expected reference image action defined in the test script.
C. Simulating steering wheel key operation
The computer is connected with the tested vehicle-mounted system entertainment system through a testing device provided with a digital-to-analog signal converter. The testing device is connected with a service end program in a computer through a serial port, adopts a 12-bit four-channel digital-to-analog converter MCP4728 with an EEPROM memory, and can convert four paths of digital signals into voltage to be output to a tested vehicle-mounted system entertainment system. The testing device can use an external voltage reference VDD to output a voltage value ranging from 0.000V to VDD, testers confirm resistance values of all keys of the steering wheel of the real vehicle in advance, and partial voltage values of certain keys can be calculated through ohm's law. Design server side procedure provides the parameter setting interface to the button signal simulation of the different motorcycle types of adaptation, only need carry out the parameter setting according to the partial pressure value of calculating during the actual measurement, can simulate the corresponding voltage value of output and arrive the on-vehicle system entertainment system who is tested, accomplish the analog operation to the steering wheel button, for example: sound mode switching, muting, sound increasing, sound decreasing, previous page, next page, and the like.
Meanwhile, the client program is connected with the tested vehicle-mounted infotainment system, when the simulated real vehicle steering wheel key signal is input, a screenshot instruction is sent to the tested vehicle-mounted infotainment system, and after a screenshot image sent by the tested vehicle-mounted infotainment system is received, the screenshot image is compared with a preset reference image to confirm whether the screenshot of the tested vehicle-mounted infotainment system is in an expected reference image action defined in the test script or not.
By the technical scheme, drivers and passengers can be replaced to complete the operation of the steering wheel keys, the automatic test of the related interactive functions of the steering wheel keys in the vehicle-mounted information entertainment system is realized, and the workload of real vehicle test drivers is effectively reduced.
In the operations B and C, the method for establishing communication between the server program and the in-vehicle infotainment system may refer to the communication method for simulating the touch screen operation a.
Meanwhile, a vehicle gauge grade GPS module SKG12Q is further installed in the testing device, real-time location data (longitude and latitude) with high longitude are forwarded to the client program through a serial port and an interface program, matching of the route and the place is completed, and automatic execution of a testing task is triggered.
FIG. 3 is a flow chart of the testing method of the present invention, wherein the operation process of the real vehicle test specifically includes the following steps:
step 1: the driver and the crew physically connect the computer with the client program and the vehicle-mounted information entertainment system to be tested through the USB wire harness, and establish a communication relationship with the vehicle-mounted information entertainment system by executing an ADB command in the client program;
step 2: the client program automatically executes a getprop command through an adb shell command line to acquire the operating system attribute of the tested object, wherein the operating system attribute comprises CPU information and a system version;
and step 3: the client program pushes an executable program P which is developed based on the STF framework and has functions of picture screenshot, multi-point touch event operation and Socket communication to a tested vehicle-mounted infotainment system through an adb shell push command according to the attribute of the operating system obtained in the step 2, and the authority of the executable program P is modified and executed;
and 4, step 4: after the port of the client program is opened, Socket communication is established with the program P described in the step 3, namely a tested vehicle-mounted infotainment system image can be obtained in real time, and an operating instruction simulating a touch screen can be sent to the vehicle-mounted infotainment system through an adb shell input command so as to control a tested object, intercept a real-time image picture and transmit the real-time image picture back to the client for test comparison and confirmation with a preset reference image;
and 5: the client program analyzes the automatic test script of the test case distributed by the server through the TTS speech engine, and makes an external sound, and the tested vehicle-mounted information entertainment system can be awakened and responds to finish the operation of the speech instruction after receiving the speech instruction, such as: navigation, music playing, air conditioner opening and closing, vehicle window lifting and the like. With respect to the result confirmation, the vehicle body operation related test case can be recorded by the driver and passenger through the voice description with the keywords on the observed scene and transmitted to the server side in real time for storage and inspection, such as "abnormal! The car window is not opened according to the voice prompt, wherein the 'abnormity' is a keyword fed back by the real car test, and the keyword can be inquired and reflected in the test result in the storage record during the service period; the test cases related to the vehicle-mounted infotainment system picture can be automatically confirmed by the method described in the step 4; the client program records the audio file of the voice fed back by the vehicle-mounted information entertainment system through a microphone, and compares and confirms the audio file with an expected audio file in a voiceprint comparison mode.
Step 6: the client program is connected with the testing device through an RS-232 serial communication interface. Before the real vehicle test, the voltage value to be actually output is calculated through ohm's law according to the resistance value of the real vehicle steering wheel key, and then the resistance value is set to the interface corresponding to the test device, so that the test device can simulate and output the voltage value equal to the steering wheel physical key. When the real vehicle is tested, the client program analyzes the test script related to the simulation steering wheel key, and sends the simulation output instruction to the test device one by one through the serial communication interface; correspondingly, the test device simulates a voltage value, and outputs the voltage value to the tested vehicle-mounted infotainment system through the physical wiring harness so as to simulate the steering wheel key operation related automatic test.
And 7: and the client program is connected with the testing device through an RS-232 serial communication interface. Before the real vehicle test, the server-side program issues a test task and identification position longitude and latitude information of an approach place to the client-side program. And when the real vehicle is tested, the testing device sends the GPS data acquired from the GPS module in real time to the client program through the RS-232 serial communication interface. The client program combines the real-time GPS data with the longitude and latitude of the identification position of each path location to calculate the distance between two points, when the distance meets a certain condition, the client program can think that the identification position of a certain path location is matched, and execute the appointed test case at the appointed path location according to the preset scene. The two-point distance calculation principle based on the GPS longitude and latitude is as follows: under a WGS84 coordinate system, calculating the included angle of the two points relative to the ball core, and calculating the arc length of a cross-section circle according to the equator radius of the earth, wherein the arc length is the distance between the two points. This principle is described in many published technical materials and is not described in detail herein.
And 8: and the client program stores the judgment result, generates a test report and transmits the test report to the server according to the cases judged by the results in the automatic test script.
The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above-mentioned embodiments, and all technical solutions belonging to the idea of the present invention belong to the protection scope of the present invention. It should be noted that modifications and embellishments within the scope of the invention may be made by those skilled in the art without departing from the principle of the invention.

Claims (7)

1. A scene-based vehicle-mounted information entertainment system real-vehicle automatic testing method is realized through a client-server architecture, and is characterized by comprising the following steps:
s1: in the server-side program:
arranging test cases according to a preset scene of each test task, and compiling an automatic test script;
planning a walking route and route nodes for real vehicle testing according to scene requirements, wherein the route nodes are identification positions of route points which are planned to be passed by a real vehicle, and guiding position parameters of the route nodes into an automatic testing script by utilizing a map service technology;
s2: installing a client program on a computer, receiving a test task distributed by the server program by using the client program, and downloading and executing an automatic test script corresponding to the test task;
the process of executing the automated test script comprises:
acquiring current position parameters of the real vehicle in real time, combining the current position parameters with each identification position, calculating the distance between two points, and executing a test case corresponding to a preset scene according to the preset scene when the distance between the real vehicle and a certain identification position meets a preset condition, namely the identification position is considered to be matched;
the test case corresponding to the scene comprises one or more of simulated touch screen operation, simulated voice production operation and simulated steering wheel key operation;
the simulated touch screen operates as follows: the client program establishes communication with the vehicle-mounted infotainment system, sends a multi-point touch event operation instruction and a screenshot instruction to the tested vehicle-mounted infotainment system, and compares the multi-point touch event operation instruction and the screenshot instruction with a preset reference image after completing control simulation and receiving a screenshot image sent by the tested vehicle-mounted infotainment system so as to confirm whether a screenshot of the tested vehicle-mounted infotainment system is in an expected reference image action defined in the test script or not;
the simulated voice sounding operation is as follows: the client program analyzes the voice text of the test case through a TTS voice engine, sounds outwards through sound equipment, replaces a driver to finish sending a voice instruction to the tested vehicle-mounted information entertainment system, collects the audio signal in the vehicle through a microphone, generates a corresponding audio file, performs voiceprint comparison on the audio file and an expected reference voice file defined in the test script, and confirms whether the voice interaction of the tested vehicle-mounted information entertainment system is accurate or not;
the simulation steering wheel key operation is as follows: the testing device provided with a digital-to-analog signal converter is connected with a computer and a tested vehicle-mounted system entertainment system, digital signals output by client program control are converted into voltage signals and output to the tested vehicle-mounted system entertainment system so as to simulate the input of real vehicle steering wheel key signals; the client program is connected with the tested vehicle-mounted infotainment system, the screenshot command is sent to the tested vehicle-mounted infotainment system while the simulation of the real vehicle steering wheel key signal input is completed, and the screenshot image sent by the tested vehicle-mounted infotainment system is compared with the preset reference image after being received so as to confirm whether the screen picture of the tested vehicle-mounted infotainment system is in the expected reference picture action defined in the test script.
2. The method for the real-vehicle automatic test of the scene-based in-vehicle infotainment system according to claim 1, wherein in the simulated voice sounding operation, the in-vehicle audio signal collected by the microphone is derived from voice fed back by the in-vehicle infotainment system in response to the voice command and/or feedback voice describing test results by the driver and the passenger.
3. The method for the real-vehicle automated testing of the scene-based in-vehicle infotainment system according to claim 1 or 2, wherein the simulating the voice sounding operation further comprises:
the client program establishes communication connection with the tested vehicle-mounted infotainment system, sends a screenshot instruction to the tested vehicle-mounted infotainment system, receives a screenshot image sent by the tested vehicle-mounted infotainment system while collecting the audio signal in the vehicle, and compares the screenshot image with a preset reference image to confirm whether the screenshot of the tested vehicle-mounted infotainment system is in an expected reference image action defined in the test script.
4. The method for the real-vehicle automated testing of the scene-based in-vehicle infotainment system according to claim 1, wherein the process of the client program establishing communication with the in-vehicle infotainment system in the simulated touch screen operation is as follows:
the method comprises the steps that a client program installed on a computer is connected to a tested vehicle-mounted infotainment system through an Android debugging bridge, a getprop command is executed through an adb shell command line to obtain the attribute of an operating system of the tested vehicle-mounted infotainment system, an executable program which is compiled based on an Android device remote management framework (STF) and supports a screenshot, a multi-point touch event operation and a Socket communication function is pushed to the tested vehicle-mounted infotainment system through the adb shell command line to execute a push command, and Socket communication between the client program on the computer and the vehicle-mounted infotainment system is achieved.
5. The real-vehicle automatic test method of the scene-based vehicle-mounted infotainment system according to claim 1, characterized in that:
in the operation of simulating the steering wheel key, a testing device connected with a client end installed on a computer through a serial port adopts a 12-bit four-channel digital-to-analog converter MCP4728 with an EEPROM memory to convert four paths of digital signals into voltage and output the voltage to a tested vehicle-mounted system entertainment system so as to simulate the input of real vehicle steering wheel key signals.
6. The real-vehicle automatic test method of the scene-based vehicle-mounted infotainment system according to claim 1, characterized in that:
the testing device is provided with a vehicle gauge grade GPS module SKG12Q, and the real-time positioning data is forwarded to the client program through a serial port and an interface program.
7. The real-vehicle automatic test method of the scene-based vehicle-mounted infotainment system according to claim 1, characterized in that:
the server program receives test state data sent by the client program in real time, judges whether the current test state meets the preset scene setting requirement or not according to the test state data, and selectively pushes prompt information to the client based on the judgment result;
the test state data comprises the execution state of the test case, the operation state of the client program, the acquisition state of the GPS data and the connection state of the computer, the test device and the tested vehicle-mounted infotainment system.
CN202110733605.1A 2021-06-30 2021-06-30 Scene-based real-vehicle automatic testing method for vehicle-mounted information entertainment system Active CN113567778B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110733605.1A CN113567778B (en) 2021-06-30 2021-06-30 Scene-based real-vehicle automatic testing method for vehicle-mounted information entertainment system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110733605.1A CN113567778B (en) 2021-06-30 2021-06-30 Scene-based real-vehicle automatic testing method for vehicle-mounted information entertainment system

Publications (2)

Publication Number Publication Date
CN113567778A true CN113567778A (en) 2021-10-29
CN113567778B CN113567778B (en) 2023-12-29

Family

ID=78163065

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110733605.1A Active CN113567778B (en) 2021-06-30 2021-06-30 Scene-based real-vehicle automatic testing method for vehicle-mounted information entertainment system

Country Status (1)

Country Link
CN (1) CN113567778B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113823334A (en) * 2021-11-22 2021-12-21 腾讯科技(深圳)有限公司 Environment simulation method applied to vehicle-mounted equipment, related device and equipment
CN113901285A (en) * 2021-12-09 2022-01-07 深圳佑驾创新科技有限公司 Vehicle road test method, device, electronic equipment and storage medium
CN113900960A (en) * 2021-12-02 2022-01-07 中汽研软件测评(天津)有限公司 Intelligent vehicle mechanical arm test platform system
CN114093359A (en) * 2021-11-23 2022-02-25 四川虹美智能科技有限公司 Voice module detection device and method
CN114486315A (en) * 2022-02-09 2022-05-13 深圳创维-Rgb电子有限公司 Automatic test method for lifting of auxiliary screen, display device and readable storage medium
CN116773216A (en) * 2023-06-12 2023-09-19 江苏泽景汽车电子股份有限公司 Test method, device, system, storage medium and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120310584A1 (en) * 2011-06-02 2012-12-06 Thales Avionics, Inc. Automated and coordinated simulation of multiple concurrent user interactions
CN105866575A (en) * 2016-03-30 2016-08-17 中车株洲电力机车研究所有限公司 Vehicle-borne display device comprehensive testing device and testing method
CN108184109A (en) * 2017-12-19 2018-06-19 北京经纬恒润科技有限公司 The test platform and test method of a kind of vehicle-mounted information and entertainment system
CN110785718A (en) * 2019-09-29 2020-02-11 驭势科技(北京)有限公司 Vehicle-mounted automatic driving test system and test method
CN111724782A (en) * 2020-06-18 2020-09-29 中汽院智能网联科技有限公司 Response time testing system, method and equipment of vehicle-mounted voice interaction system
WO2020229841A1 (en) * 2019-05-15 2020-11-19 Roborace Limited A metaverse data fusion system
CN112198861A (en) * 2020-09-15 2021-01-08 湖北亿咖通科技有限公司 Application program testing method of vehicle-mounted terminal
CN112596972A (en) * 2020-12-23 2021-04-02 文思海辉智科科技有限公司 Vehicle-mounted equipment testing method, device and system and computer equipment
CN112783006A (en) * 2021-01-15 2021-05-11 北京航空航天大学 Hardware-in-loop simulation test system for vehicle-mounted computing unit of automatic driving vehicle

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120310584A1 (en) * 2011-06-02 2012-12-06 Thales Avionics, Inc. Automated and coordinated simulation of multiple concurrent user interactions
CN105866575A (en) * 2016-03-30 2016-08-17 中车株洲电力机车研究所有限公司 Vehicle-borne display device comprehensive testing device and testing method
CN108184109A (en) * 2017-12-19 2018-06-19 北京经纬恒润科技有限公司 The test platform and test method of a kind of vehicle-mounted information and entertainment system
WO2020229841A1 (en) * 2019-05-15 2020-11-19 Roborace Limited A metaverse data fusion system
CN110785718A (en) * 2019-09-29 2020-02-11 驭势科技(北京)有限公司 Vehicle-mounted automatic driving test system and test method
CN111724782A (en) * 2020-06-18 2020-09-29 中汽院智能网联科技有限公司 Response time testing system, method and equipment of vehicle-mounted voice interaction system
CN112198861A (en) * 2020-09-15 2021-01-08 湖北亿咖通科技有限公司 Application program testing method of vehicle-mounted terminal
CN112596972A (en) * 2020-12-23 2021-04-02 文思海辉智科科技有限公司 Vehicle-mounted equipment testing method, device and system and computer equipment
CN112783006A (en) * 2021-01-15 2021-05-11 北京航空航天大学 Hardware-in-loop simulation test system for vehicle-mounted computing unit of automatic driving vehicle

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113823334A (en) * 2021-11-22 2021-12-21 腾讯科技(深圳)有限公司 Environment simulation method applied to vehicle-mounted equipment, related device and equipment
CN114093359A (en) * 2021-11-23 2022-02-25 四川虹美智能科技有限公司 Voice module detection device and method
CN113900960A (en) * 2021-12-02 2022-01-07 中汽研软件测评(天津)有限公司 Intelligent vehicle mechanical arm test platform system
CN113901285A (en) * 2021-12-09 2022-01-07 深圳佑驾创新科技有限公司 Vehicle road test method, device, electronic equipment and storage medium
CN114486315A (en) * 2022-02-09 2022-05-13 深圳创维-Rgb电子有限公司 Automatic test method for lifting of auxiliary screen, display device and readable storage medium
CN114486315B (en) * 2022-02-09 2024-06-11 深圳创维-Rgb电子有限公司 Automatic test method for lifting of auxiliary screen, display equipment and readable storage medium
CN116773216A (en) * 2023-06-12 2023-09-19 江苏泽景汽车电子股份有限公司 Test method, device, system, storage medium and electronic equipment
CN116773216B (en) * 2023-06-12 2024-05-31 江苏泽景汽车电子股份有限公司 Test method, device, system, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN113567778B (en) 2023-12-29

Similar Documents

Publication Publication Date Title
CN113567778B (en) Scene-based real-vehicle automatic testing method for vehicle-mounted information entertainment system
US10579512B2 (en) Method and apparatus for testing software for autonomous vehicles
CN110794810A (en) Method for carrying out integrated test on intelligent driving vehicle
US11904873B2 (en) Computer-implemented simulation method and system for testing control units
JP6549892B2 (en) Vehicle test system, test management device, test management program, and vehicle test method
CN108508867B (en) Vehicle-mounted controller software testing system and method based on behavior driving script
CN109918302B (en) Vehicle-mounted automatic testing method and device, vehicle-mounted multimedia system and automobile
CN110780608B (en) Simulation test method and device
CN107450354B (en) Interface simulation system of train control vehicle-mounted equipment and train control data testing method
US20180189896A1 (en) Systems and methods for improving electronic component quality during the manufacture of vehicles
EP2128765A2 (en) Systems and methods for diagnosing faults in electronic systems
CN111523254B (en) Vehicle verification platform with adjustable control characteristics and implementation method
JP2009014406A (en) Automatic inspection apparatus for electronic control unit
CN111007837A (en) Test system and method for testing TCMS
Englisch et al. YellowCar
JP2012122766A (en) Inspection system
JP2007507765A (en) System and method for testing a control process for a vehicle
CN115688481A (en) Hardware-in-loop simulation test system and method for man-machine common-driving type vehicle
CN115794655A (en) Bench test method and device and electronic equipment
CN109612744A (en) A kind of auxiliary testing system of vehicle road test
CN114065546A (en) Automatic driving simulation method and system
CN208654634U (en) Based on CANoe to the analogue system of P grades of director demon logic checkings
US11262738B2 (en) Device and method for measuring, simulating, labeling and evaluating components and systems of vehicles
CN116136662B (en) Vehicle-mounted system simulation platform and testing method and device thereof
CN217778552U (en) Portable liquid crystal instrument automatic test equipment

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
GR01 Patent grant
GR01 Patent grant