CN117931637A - Automatic real vehicle testing method and device for vehicle-mounted information entertainment system, vehicle and storage medium - Google Patents
Automatic real vehicle testing method and device for vehicle-mounted information entertainment system, vehicle and storage medium Download PDFInfo
- Publication number
- CN117931637A CN117931637A CN202311790333.4A CN202311790333A CN117931637A CN 117931637 A CN117931637 A CN 117931637A CN 202311790333 A CN202311790333 A CN 202311790333A CN 117931637 A CN117931637 A CN 117931637A
- Authority
- CN
- China
- Prior art keywords
- test
- vehicle
- test instruction
- instruction
- real
- 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
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 347
- 238000010998 test method Methods 0.000 claims abstract description 15
- 238000000034 method Methods 0.000 claims description 37
- 238000004590 computer program Methods 0.000 claims description 15
- 238000007726 management method Methods 0.000 description 38
- 238000004088 simulation Methods 0.000 description 20
- 238000012545 processing Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 9
- 230000003993 interaction Effects 0.000 description 9
- 238000004891 communication Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 7
- 230000004044 response Effects 0.000 description 7
- 238000012795 verification Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 230000009471 action Effects 0.000 description 4
- 238000011161 development Methods 0.000 description 4
- 230000003068 static effect Effects 0.000 description 4
- 230000002452 interceptive effect Effects 0.000 description 3
- 238000012015 optical character recognition Methods 0.000 description 3
- 229910052573 porcelain Inorganic materials 0.000 description 3
- 230000015572 biosynthetic process Effects 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 238000007405 data analysis Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000003786 synthesis reaction Methods 0.000 description 2
- 206010063385 Intellectualisation Diseases 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3692—Test management for test results analysis
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T10/00—Road transport of goods or passengers
- Y02T10/10—Internal combustion engine [ICE] based vehicles
- Y02T10/40—Engine management systems
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a real-vehicle automatic test method and device for a vehicle-mounted information entertainment system, a vehicle and a storage medium, wherein the real-vehicle automatic test system for the vehicle-mounted information entertainment system comprises the following steps: acquiring a first test instruction; transmitting a first test instruction to a vehicle-mounted information entertainment system, wherein the vehicle-mounted information entertainment system is used for generating a display text; receiving a first display text from the in-vehicle infotainment system; and comparing the first test text corresponding to the first test instruction with the first display text to obtain a first comparison result, wherein the first comparison result is used for representing the test result of the first test instruction. The invention solves the technical problem that the dynamic test of the real vehicle environment can not be realized when the vehicle-mounted information entertainment system is tested in the prior art.
Description
Technical Field
The invention relates to the technical field of intelligent driving, in particular to a real vehicle automatic test method and device for a vehicle-mounted information entertainment system, a vehicle and a storage medium.
Background
At present, the intellectualization and networking are applied on a large scale in the automobile industry, the integration level and the complexity of the vehicle-mounted information entertainment system are higher and higher, and the problems of high iteration speed of version period, large and tedious testing workload and the like are faced, so that an advanced and efficient testing scheme is required to be introduced for testing the functions and the performances of the vehicle-mounted information entertainment system.
In the prior art, a static test bench method based on manual intervention is generally adopted for testing functions and performances of the vehicle-mounted information entertainment system, and the working principle is that the vehicle-mounted information entertainment system executes corresponding functional logic according to an input instruction by manually simulating signals and executing operations, and simultaneously, response actions of the vehicle-mounted information entertainment system are monitored manually, so that closed-loop testing is realized. In addition, besides the method, a static test bench method based on a manipulator also exists, and the working principle of the static test bench method is that the manipulator executes instruction operation, the vehicle-mounted information entertainment system executes corresponding functional logic according to the input instruction, and meanwhile, the camera monitors the response action of the vehicle-mounted information entertainment system, so that closed-loop test is realized. However, in the existing test schemes, the static test of the bench environment is performed aiming at the vehicle-mounted information entertainment system, so that the dynamic test of the real vehicle environment cannot be realized, and the automatic test of high universality based on the android debug bridge protocol cannot be realized.
For the above-mentioned problems, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the invention provides a real-vehicle automatic test method and device for a vehicle-mounted information entertainment system, a vehicle and a storage medium, which at least solve the technical problem that the dynamic test of the real-vehicle environment cannot be realized when the vehicle-mounted information entertainment system is tested in the prior art.
According to one embodiment of the present invention, there is provided a real-vehicle automated testing method of a vehicle-mounted infotainment system, applied to a real-vehicle automated testing system of a target vehicle, including: acquiring a first test instruction; transmitting a first test instruction to a vehicle-mounted information entertainment system, wherein the vehicle-mounted information entertainment system is used for generating a display text; receiving a first display text from the in-vehicle infotainment system; and comparing the first test text corresponding to the first test instruction with the first display text to obtain a first comparison result, wherein the first comparison result is used for representing the test result of the first test instruction.
Optionally, the method for automatically testing the in-vehicle infotainment system by the real vehicle further comprises the following steps: acquiring a test requirement; creating a test plan according to the test requirement, wherein the test plan comprises a test instruction to be configured; and compiling the test instruction to be configured to obtain a compiled test instruction.
Optionally, the method for automatically testing the in-vehicle infotainment system by the real vehicle further comprises the following steps: and debugging the compiled test instruction to obtain a first test instruction.
Optionally, the method for automatically testing the in-vehicle infotainment system by the real vehicle further comprises the following steps: acquiring a second test instruction, wherein the second test instruction is the next test instruction adjacent to the first test instruction; sending a second test instruction to the vehicle-mounted information entertainment system; receiving a second display text from the in-vehicle infotainment system; and comparing the second test text corresponding to the second test instruction with the second display text to obtain a second comparison result, wherein the second comparison result is used for representing the test result of the second test instruction.
Optionally, the method for automatically testing the in-vehicle infotainment system by the real vehicle further comprises the following steps: obtaining a target comparison result, wherein the target comparison result comprises a first comparison result and a second comparison result; and generating a test report according to the target comparison result.
According to one embodiment of the present invention, there is provided an automatic real vehicle testing method for a vehicle-mounted infotainment system, applied to a vehicle-mounted infotainment system of a target vehicle, including: receiving a first test instruction from a real vehicle automatic test system; generating a first display text according to the first test instruction; and feeding the first display text back to the real vehicle automatic test system so that the real vehicle automatic test system compares the first test text corresponding to the first test instruction with the first display text to obtain a first comparison result, wherein the first comparison result is used for representing the test result of the first test instruction.
Optionally, the method for automatically testing the in-vehicle infotainment system by the real vehicle further comprises the following steps: executing a first test operation according to the first test instruction, wherein the first test operation is used for generating a test interface; and extracting text information of the test interface to obtain a first display text.
According to one embodiment of the present invention, there is also provided an automatic real vehicle testing device for a vehicle-mounted infotainment system, including: the first acquisition module is used for acquiring a first test instruction; the vehicle-mounted information entertainment system is used for generating display texts; the first receiving module is used for receiving a first display text from the vehicle-mounted infotainment system; the first comparison module is used for comparing the first test text corresponding to the first test instruction with the first display text to obtain a first comparison result, wherein the first comparison result is used for representing the test result of the first test instruction.
According to one embodiment of the present invention, there is also provided a vehicle including a memory having a computer program stored therein and a processor configured to run the computer program to perform the in-vehicle infotainment system real-vehicle automated test method of any of the above.
According to one embodiment of the present invention, there is also provided a non-volatile storage medium having a computer program stored therein, wherein the computer program is configured to perform the in-vehicle infotainment system real-vehicle automated test method of any one of the above-mentioned methods when run.
In the embodiment of the invention, the first test instruction is acquired and sent to the vehicle-mounted information entertainment system, wherein the vehicle-mounted information entertainment system is used for generating the display text, and the purpose of receiving the first display text from the vehicle-mounted information entertainment system is achieved, so that the first test text corresponding to the first test instruction is compared with the first display text, and the technical effect of a first comparison result is obtained, wherein the first comparison result is used for representing the test result of the first test instruction, and further the technical problem that the dynamic test of the real vehicle environment cannot be realized when the vehicle-mounted information entertainment system is tested in the prior art is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
FIG. 1 is a flow chart diagram of a method for automated testing of a real vehicle of an in-vehicle infotainment system according to one embodiment of the invention;
FIG. 2 is a flow chart diagram II of a method for automated testing of a real vehicle of an in-vehicle infotainment system according to one embodiment of the invention;
FIG. 3 is a flow chart of a method for automated testing of a real vehicle of an in-vehicle infotainment system according to one embodiment of the invention;
FIG. 4 is a block diagram of a test management platform according to one embodiment of the invention;
FIG. 5 is a block diagram of a control management platform according to one embodiment of the invention;
FIG. 6 is a block diagram of a simulation acquisition interactive platform in accordance with one embodiment of the present invention;
FIG. 7 is a block diagram of an in-vehicle infotainment system real-vehicle automated test equipment according to one embodiment of the invention;
FIG. 8 is a block diagram of a real vehicle automated test equipment for in-vehicle infotainment system according to one embodiment of the invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In accordance with an embodiment of the present invention, there is provided an embodiment of an in-vehicle infotainment system real-vehicle automated test method, it being noted that the steps illustrated in the flowchart of the figures may be performed in a computer system containing at least one set of computer executable instructions, and that although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different from that illustrated herein.
The method embodiments may also be performed in an electronic device comprising a memory and a processor, a similar control device or an in-vehicle terminal. Taking an in-vehicle terminal as an example, the in-vehicle terminal may include one or more processors and a memory for storing data. Optionally, the vehicle-mounted terminal may further include a communication device for a communication function and a display device. It will be appreciated by those skilled in the art that the above description of the structure is merely illustrative, and is not intended to limit the structure of the above-described vehicle-mounted terminal. For example, the in-vehicle terminal may further include more or less components than the above-described structural description, or have a different configuration from the above-described structural description.
The processor may include one or more processing units. For example: the processor may include a processing device of a central processor (central processing unit, CPU), a graphics processor (graphics processing unit, GPU), a Digital Signal Processing (DSP) chip, a microprocessor (microcontroller unit, MCU), a programmable logic device (FPGA), a neural-grid processor (NPU), a tensor processor (tensor processing unit, TPU), an artificial intelligence (ARTIFICIAL INTELLIGENT, AI) type processor, or the like. Wherein the different processing units may be separate components or may be integrated in one or more processors. In some examples, the electronic device may also include one or more processors.
The memory may be used to store a computer program, for example, a computer program corresponding to the vehicle-mounted infotainment system real vehicle automatic test method in the embodiment of the invention, and the processor executes the computer program stored in the memory, thereby implementing the vehicle-mounted infotainment system real vehicle automatic test method. The memory may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, the memory may further include memory remotely located with respect to the processor, the remote memory being connectable to the electronic device through the grid. Examples of such grids include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The communication device is arranged to receive or transmit data via a mesh. Specific examples of the above-described mesh may include a wireless mesh provided by a communication provider of the mobile terminal. In one example, the communication device includes a mesh adapter (network interface controller, NIC) that can connect to other mesh devices through the base station to communicate with the internet. In one example, the communication device may be a Radio Frequency (RF) module for communicating with the internet wirelessly. In some embodiments of the present solution, the communication device is configured to connect to a mobile device such as a mobile phone, a tablet, or the like, and may send an instruction to the vehicle terminal through the mobile device.
The display devices may be touch screen type Liquid Crystal Displays (LCDs) and touch displays (also referred to as "touch screens" or "touch display screens"). The liquid crystal display may enable a user to interact with a user interface of the in-vehicle terminal. In some embodiments, the vehicle-mounted terminal has a graphical user interface (GRAPHICAL USER INTERFACE, GUI) with which a user can interact with the GUI by touching finger contacts and/or gestures on the touch-sensitive surface, where the human-machine interaction functionality may include a vehicle gear shifting functionality, executable instructions for performing the human-machine interaction functionality described above being configured/stored in one or more processor-executable computer program products or readable storage media.
FIG. 1 is a flow chart of a method for automated testing of a real vehicle of an in-vehicle infotainment system according to one embodiment of the invention, as shown in FIG. 1, the method comprising the steps of:
Step S102, a first test instruction is acquired.
Optionally, the execution body of the embodiment is a real-vehicle automated test system, and it should be noted that other electronic devices and processors may also be used as the execution body, which is not limited herein.
Specifically, the application describes the working process of an automatic test system of the real vehicle dynamic vehicle-mounted information entertainment system based on an android debug bridge protocol by taking a pressure test for playing songs under voice control and simulating manual song cutting as an example.
In the technical scheme provided in the step S102, the real vehicle automated testing system may acquire the first test instruction.
Specifically, as shown in fig. 3, the real vehicle automatic test system mainly comprises a test management platform, a control management platform and a simulation acquisition interaction platform, and the subsystems are connected through an ethernet.
Optionally, the test management platform mainly comprises a test task management module, a test case management module, a test process management module and a test result management module.
The test management platform, as shown in fig. 4, mainly comprises a test task management module, a test case management module, a test process management module and a test result management module. The test task management module can realize test requirement management, test plan management and test resource management; the test case management module can realize case management, case step management and case calling; the test process management module can realize test task scheduling, test process monitoring and test data storage; the test result management module can realize test data analysis, test result statistics and test report generation.
As shown in fig. 5, the control management platform mainly comprises a test script development module, a test sequence execution module, an image recognition comparison module and a voice recognition comparison module. The test script development module can realize the package of a test action application programming interface (Application Programming Interface, API), the visual editing of a test script and the debugging of the test script; the test sequence execution module can realize sequence execution frequency, frequency control, automatic judgment of test execution results and test action call; the image recognition comparison module can realize human-machine interface (HMI) image recognition, optical character recognition (Optical Character Recognition, OCR) character recognition and image and character recognition comparison algorithm processing; the voice recognition comparison module can realize on-line and off-line voice packet management, voice instruction synthesis by text-to-speech conversion technology and audio comparison algorithm processing.
As shown in fig. 6, the simulation acquisition interactive platform mainly comprises a signal simulation acquisition module, a real vehicle dynamic working condition module, a touch control simulation acquisition module and a voice simulation acquisition module. The signal simulation acquisition module CAN realize simulation and acquisition of a controller area network (Controller Area Network, CAN) bus signal, an IO hard wire signal and an interface signal of an external device; the real vehicle dynamic working condition module can realize dynamic response of real vehicle gestures, real functional scenes and real radio frequency environments. ; the touch simulation acquisition module can realize touch screen signal simulation such as click sliding based on the android debug bridge and touch screen signal acquisition such as click sliding based on the android debug bridge; the voice simulation acquisition module can realize voice instruction output based on the manual mouth and voice feedback acquisition based on the pickup.
Step S104, a first test instruction is sent to the vehicle-mounted information entertainment system, wherein the vehicle-mounted information entertainment system is used for generating display text.
In the technical scheme provided in the step S104, the real vehicle automated testing system may send the first test instruction to the vehicle-mounted infotainment system, so that the vehicle-mounted infotainment system generates the first display text.
Specifically, for example, the voice command synthesis module of the control management platform in the real vehicle automatic test system may synthesize the voice command "play Zhou Jielun blue and white porcelain" and output to the vehicle-mounted infotainment system through the manual mouth.
Optionally, the real vehicle dynamic working condition module of the simulation acquisition interaction platform can perform data interaction on information such as vehicle speed, vehicle positioning and the like with the tested device in real time through the signal simulation acquisition platform, wherein the testing device comprises: 4 artifical mouths, 1 adapter, 1 host computer (the notebook can), emulation gathers interactive installation and includes: CAN bus analyzer and IO simulation card handling.
Step S106, a first display text from the in-vehicle infotainment system is received.
In the technical solution provided in the above step S106 of the present invention, the real vehicle automated test system may receive the first display text from the in-vehicle infotainment system.
Specifically, the image acquisition module of the simulation acquisition interaction platform can perform screenshot on a music window interface of the current vehicle-mounted information entertainment system, and the text recognition module of the control management platform can perform text recognition on the name of the screenshot song of the music interface to obtain a first display text.
Step S108, comparing the first test text corresponding to the first test instruction with the first display text to obtain a first comparison result, wherein the first comparison result is used for representing the test result of the first test instruction.
In the technical scheme provided in the step S108, after the first display text is acquired, the real vehicle automatic test system compares the first test text corresponding to the first test instruction with the acquired first display text to obtain a first comparison result.
Specifically, after the first comparison result is obtained, the real vehicle automatic test system should store the first comparison result into a preset area of the target vehicle for subsequent operation to be invoked.
Alternatively, when the first comparison result is that the first test text is consistent with the first display text, the vehicle-mounted information entertainment system is indicated to have no fault, and conversely, if the first comparison result is that the first test text is inconsistent with the first display text, the vehicle-mounted information entertainment system is indicated to have the fault, and an alarm operation is immediately performed to prompt related technicians.
The step S102 to the step S108 can be known, in the present invention, the first test instruction is acquired, and the first test instruction is sent to the vehicle-mounted information entertainment system, where the vehicle-mounted information entertainment system is used for generating the display text, so as to achieve the purpose of receiving the first display text from the vehicle-mounted information entertainment system, thereby implementing the technical effect of comparing the first test text corresponding to the first test instruction with the first display text to obtain the first comparison result, where the first comparison result is used for indicating the test result of the first test instruction, and further solving the technical problem that in the prior art, when the vehicle-mounted information entertainment system is tested, the dynamic test of the real vehicle environment cannot be implemented.
The above-described method of this embodiment is described in further detail below.
As an optional implementation manner, a test requirement is acquired, a test plan is created according to the test requirement, wherein the test plan comprises a test instruction to be configured, and compiling operation is performed on the test instruction to be configured to obtain a compiled test instruction.
In this embodiment, the method further comprises the steps of, prior to the acquiring the first test instruction: the real vehicle automatic test system acquires the test requirement of the current test, creates a test plan according to the acquired test requirement, and compiles the test instruction to be configured in the test plan to obtain a compiled test instruction.
Specifically, the test task management module of the test management platform can acquire test requirements, and create a test plan based on the test requirements, the test case management module of the test management platform can call test instructions to be configured related to test tasks, and the test script development module of the test control platform can compile the test instructions to be configured to obtain compiled test instructions.
As an alternative implementation manner, the compiled test instruction is debugged, so as to obtain the first test instruction.
In this embodiment, the method further comprises the steps of, prior to the acquiring the first test instruction: after the compiled test instruction is obtained, the compiled test instruction is debugged, and a debugged test instruction, namely a first test instruction, is obtained.
Specifically, the test script development module of the test control platform can debug the compiled test instruction to obtain a debugged test instruction, namely a first test instruction.
As an optional implementation manner, a second test instruction is obtained, wherein the second test instruction is a next test instruction adjacent to the first test instruction, the second test instruction is sent to the vehicle-mounted information entertainment system, a second display text from the vehicle-mounted information entertainment system is received, and the second test text corresponding to the second test instruction is compared with the second display text to obtain a second comparison result, wherein the second comparison result is used for representing the test result of the second test instruction.
In this embodiment, after the first comparison result is obtained and the first comparison result is stored in the preset area of the target vehicle, the real vehicle automated test system should also obtain the next test instruction adjacent to the first test instruction, that is, the second test instruction, and then send the second test instruction to the vehicle-mounted infotainment system, after the vehicle-mounted infotainment system determines the second display text, receive the second display text from the vehicle-mounted infotainment system, and compare the second test text corresponding to the second test instruction with the second display text, so as to obtain the second comparison result.
Specifically, after the test result statistics module of the test management platform stores the first comparison result, the image touch simulation module of the simulation acquisition interaction platform carries out a click command on a next song icon, after the vehicle-mounted information entertainment system receives the next song command, a music window interface of the vehicle-mounted information entertainment system starts playing the next song, a corresponding second display text is determined, and the second test text corresponding to the second test command is compared with the second display text to obtain a second comparison result.
Specifically, after the second comparison result is obtained, the real vehicle automatic test system should store the second comparison result into a preset area of the target vehicle for subsequent operation to be invoked.
As an alternative implementation mode, a target comparison result is obtained, wherein the target comparison result comprises a first comparison result and a second comparison result, and a test report is generated according to the target comparison result.
In this embodiment, a first comparison result and a second comparison result are obtained, and a test report of the vehicle-mounted infotainment system is generated according to the first comparison result and the second comparison result.
Specifically, the test sequence execution module of the control management platform may repeat the steps of obtaining the first comparison result and the second comparison result for the preset times, and the test result statistics module of the test management platform counts the target comparison result for the preset times, and the test report generation module of the test management platform generates a test report for the counted test result for the preset times according to the template.
Optionally, the preset times are empirical values, and are determined according to actual conditions of automatic testing of the real vehicle, which is not particularly limited herein.
FIG. 2 is a flow chart of a method for automated testing of a real vehicle of an in-vehicle infotainment system according to one embodiment of the invention, as shown in FIG. 2, the method comprising the steps of:
step S202, a first test instruction from a real vehicle automated test system is received.
Optionally, the execution body of the embodiment is a vehicle-mounted infotainment system, and it should be noted that other electronic devices and processors may also be used as the execution body, which is not limited herein.
In the technical scheme provided in the step S202, the in-vehicle infotainment system receives the first test instruction from the real-vehicle automated test system.
Specifically, taking a pressure test for playing songs under voice control and simulating manual song cutting as an example, after the tested vehicle-mounted information entertainment system receives a voice command, a music window interface of the vehicle-mounted information entertainment system starts playing songs of blue and white porcelain.
Step S204, a first display text is generated according to the first test instruction.
In the technical scheme provided in the step S204, after the vehicle-mounted infotainment system receives the first test instruction, a first display text is generated according to the first test instruction.
Specifically, for example, the image acquisition module of the simulation acquisition interaction platform may perform screenshot on a music window interface of the current vehicle-mounted infotainment system, and the text recognition module of the control management platform performs text recognition on a name of a screenshot song of the music interface to obtain a first display text.
Step S206, feeding back the first display text to the real vehicle automatic test system so that the real vehicle automatic test system can compare the first test text corresponding to the first test instruction with the first display text to obtain a first comparison result, wherein the first comparison result is used for representing the test result of the first test instruction.
In the technical scheme provided in the step S206, the vehicle-mounted information entertainment system feeds the acquired first display text back to the real vehicle automatic test system, so that the real vehicle automatic test system can compare the first test text corresponding to the first test instruction with the first display text to obtain a first comparison result.
Specifically, the test data analysis module of the test management platform can compare the song names identified by the characters with the song names corresponding to the songs to obtain a first comparison result.
As an optional implementation manner, a first test operation is executed according to a first test instruction, wherein the first test operation is used for generating a test interface, extracting text information of the test interface and obtaining a first display text.
In this embodiment, the vehicle-mounted infotainment system may execute a first test operation according to the first test, and extract text information displayed on the interface of the vehicle-mounted infotainment system to obtain the first display text.
Specifically, taking a pressure test of voice control song playing and manual song cutting simulation as an example, after a tested vehicle-mounted information entertainment system receives a voice command, a music window interface of the vehicle-mounted information entertainment system starts playing songs blue and white porcelain, an image acquisition module of a simulation acquisition interaction platform captures a music window interface of the current vehicle-mounted information entertainment system, so that a character recognition module of a control management platform can conveniently recognize characters of a name of the music interface captured song, and a first display text is obtained.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus a necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a grid device, etc.) to perform the method of the various embodiments of the present invention.
The embodiment also provides an automatic real vehicle testing device for the vehicle-mounted information entertainment system, which is used for realizing the embodiment and the preferred implementation mode, and is not described again. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 7 is a block diagram of an in-vehicle infotainment system real-vehicle automated test equipment 700 according to one embodiment of the invention, as shown in fig. 7, the equipment includes: a first acquisition module 701, a first transmission module 702, a first reception module 703 and a first comparison module 704.
A first obtaining module 701, configured to obtain a first test instruction;
a first sending module 702, configured to send a first test instruction to a vehicle-mounted infotainment system, where the vehicle-mounted infotainment system is configured to generate a display text;
a first receiving module 703, configured to receive a first display text from the in-vehicle infotainment system;
And the first comparison module 704 is configured to compare a first test text corresponding to the first test instruction with the first display text to obtain a first comparison result, where the first comparison result is used to represent a test result of the first test instruction.
Optionally, the in-vehicle infotainment system real-vehicle automated testing apparatus 700 further includes: a first acquisition unit configured to acquire a second root certificate, where the second root certificate is stored in a first program; the first comparison unit is used for comparing the first root certificate with the second root certificate; a first calculation unit configured to calculate a second hash value of the first program in response to the first root certificate and the second root certificate being identical; the second comparison unit is used for comparing the first hash value with the second hash value; and the first determining unit is used for determining that the first program is a safety program in response to the first hash value and the second hash value being consistent.
Optionally, the in-vehicle infotainment system real-vehicle automated testing apparatus 700 further includes: the second calculation unit is used for responding to the first program as a security program and calculating a third hash value of the public key of the root trust key in the second program; the third comparison unit is used for comparing the first hash value with the third hash value; the first signing verification unit is used for responding to the consistency of the first hash value and the third hash value and carrying out first signing verification operation on the root trust key certificate and the first non-trust key certificate according to the root trust key public key; and the second determining unit is used for determining that the second program is a security program in response to the success of the first signature verification operation.
Optionally, the in-vehicle infotainment system real-vehicle automated testing apparatus 700 further includes: the signing unit is used for signing the unconfigured root trust key certificate and the first non-trust key certificate according to the root trust key private key to obtain the root trust key certificate and the first non-trust key certificate; and a storage unit configured to store the root trusted key certificate and the first untrusted key certificate to the second program.
Optionally, the in-vehicle infotainment system real-vehicle automated testing apparatus 700 further includes: the second signature verification unit is used for responding to the second program as a security program and performing second signature verification operation on the third program key certificate according to the first non-trust key public key; the third computing unit is used for responding to the success of the second signature verification operation and computing a fourth hash value of the third program; a fourth comparing unit, configured to compare the fourth hash value with a fifth hash value, where the fifth hash value is stored in the third program key certificate; and the third determining unit is used for determining that the third program is a safety program in response to the consistency of the fourth hash value and the fifth hash value.
FIG. 8 is a block diagram of an in-vehicle infotainment system real-vehicle automated test equipment 800 according to one embodiment of the invention, as shown in FIG. 8, comprising: a receiving module 801, a generating module 802 and a feedback module 803.
A receiving module 801, configured to receive a first test instruction from a real vehicle automated test system;
the generating module 802 is configured to generate a first display text according to the first test instruction.
And the feedback module 803 is configured to feed back the first display text to the real vehicle automatic test system, so that the real vehicle automatic test system compares the first test text corresponding to the first test instruction with the first display text to obtain a first comparison result, where the first comparison result is used to represent the test result of the first test instruction.
Optionally, the generating module 802 includes: the execution unit is used for executing a first test operation according to the first test instruction, wherein the first test operation is used for generating a test interface; and the extraction unit is used for extracting the text information of the test interface to obtain a first display text.
The embodiment of the invention also provides a vehicle, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the vehicle-mounted infotainment system real-vehicle automatic testing method.
Alternatively, in the present embodiment, the above-described vehicle may be configured to store a computer program for executing the steps of:
Step S102, a first test instruction is obtained;
step S104, a first test instruction is sent to a vehicle-mounted information entertainment system, wherein the vehicle-mounted information entertainment system is used for generating a display text;
step S106, receiving a first display text from the vehicle-mounted infotainment system;
Step S108, comparing the first test text corresponding to the first test instruction with the first display text to obtain a first comparison result, wherein the first comparison result is used for representing the test result of the first test instruction.
Step S202, a first test instruction from a real vehicle automatic test system is received;
step S204, generating a first display text according to a first test instruction;
Step S206, feeding back the first display text to the real vehicle automatic test system so that the real vehicle automatic test system can compare the first test text corresponding to the first test instruction with the first display text to obtain a first comparison result, wherein the first comparison result is used for representing the test result of the first test instruction.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments and optional implementations, and this embodiment is not described herein.
In the foregoing embodiments of the present invention, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In some embodiments provided by the present application, it should be understood that the disclosed technology may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of units may be a logic function division, and there may be another division manner in actual implementation, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or partly in the form of a software product or all or part of the technical solution, which is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, a grid device, or the like) to perform all or part of the steps of the method of the embodiments of the present invention. And the aforementioned storage medium includes: a usb disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.
Claims (10)
1. A real-vehicle automated test method for a vehicle-mounted infotainment system, the method comprising:
Acquiring a first test instruction;
The first test instruction is sent to the vehicle-mounted information entertainment system, wherein the vehicle-mounted information entertainment system is used for generating display text;
Receiving a first display text from the in-vehicle infotainment system;
and comparing the first test text corresponding to the first test instruction with the first display text to obtain a first comparison result, wherein the first comparison result is used for representing the test result of the first test instruction.
2. The in-vehicle infotainment system real-vehicle automated test method of claim 1, further comprising:
Acquiring a test requirement;
creating a test plan according to the test requirement, wherein the test plan comprises a test instruction to be configured;
and compiling the test instruction to be configured to obtain a compiled test instruction.
3. The in-vehicle infotainment system real-vehicle automated test method of claim 2, further comprising:
And debugging the compiled test instruction to obtain the first test instruction.
4. The in-vehicle infotainment system real-vehicle automated test method of claim 1, further comprising:
Acquiring a second test instruction, wherein the second test instruction is the next test instruction adjacent to the first test instruction;
sending the second test instruction to the vehicle-mounted information entertainment system;
receiving a second display text from the in-vehicle infotainment system;
And comparing the second test text corresponding to the second test instruction with the second display text to obtain a second comparison result, wherein the second comparison result is used for representing the test result of the second test instruction.
5. The in-vehicle infotainment system real-vehicle automated test method of claim 1, further comprising:
Obtaining a target comparison result, wherein the target comparison result comprises the first comparison result and the second comparison result;
And generating a test report according to the target comparison result.
6. A method for automatically testing a vehicle-mounted infotainment system in a real vehicle, the method comprising:
Receiving a first test instruction from a real vehicle automatic test system;
generating a first display text according to the first test instruction;
And feeding the first display text back to the real vehicle automatic test system so that the real vehicle automatic test system compares the first test text corresponding to the first test instruction with the first display text to obtain a first comparison result, wherein the first comparison result is used for indicating the test result of the first test instruction.
7. The method of automated in-vehicle infotainment system testing of claim 6, wherein generating the first display text according to the first test instruction comprises:
executing a first test operation according to the first test instruction, wherein the first test operation is used for generating a test interface;
and extracting the text information of the test interface to obtain the first display text.
8. An in-vehicle infotainment system real-vehicle automated test apparatus for a real-vehicle automated test system for a target vehicle, the apparatus comprising:
The first acquisition module is used for acquiring a first test instruction;
The first sending module is used for sending the first test instruction to the vehicle-mounted information entertainment system, wherein the vehicle-mounted information entertainment system is used for generating a display text;
the first receiving module is used for receiving a first display text from the vehicle-mounted infotainment system;
And the first comparison module is used for comparing the first test text corresponding to the first test instruction with the first display text to obtain a first comparison result, wherein the first comparison result is used for representing the test result of the first test instruction.
9. A vehicle comprising a memory and a processor, wherein the memory has stored therein a computer program, the processor being arranged to run the computer program to perform the in-vehicle infotainment system real vehicle automated test method of any of the preceding claims 1 to 7.
10. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program, wherein the computer program is arranged to perform the in-vehicle infotainment system real-vehicle automated test method according to any of the preceding claims 1 to 7 when run on a computer or processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311790333.4A CN117931637A (en) | 2023-12-22 | 2023-12-22 | Automatic real vehicle testing method and device for vehicle-mounted information entertainment system, vehicle and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311790333.4A CN117931637A (en) | 2023-12-22 | 2023-12-22 | Automatic real vehicle testing method and device for vehicle-mounted information entertainment system, vehicle and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117931637A true CN117931637A (en) | 2024-04-26 |
Family
ID=90758447
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311790333.4A Pending CN117931637A (en) | 2023-12-22 | 2023-12-22 | Automatic real vehicle testing method and device for vehicle-mounted information entertainment system, vehicle and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117931637A (en) |
-
2023
- 2023-12-22 CN CN202311790333.4A patent/CN117931637A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105866575B (en) | Vehicle-mounted display comprehensive testing device and testing method | |
CN109740222B (en) | Testing device and system for automobile networking scene | |
CN106445811B (en) | A kind of automatization test system and method based on SecureCRT | |
CN107733985B (en) | Method and device for deploying functional components of cloud computing system | |
CN106776294B (en) | Automatic android mobile phone testing method and system | |
CN107678949B (en) | Automatic testing method for realizing different communication modes of embedded equipment | |
CN105975367B (en) | Test method and device for mobile equipment | |
CN111258913A (en) | Automatic algorithm testing method and device, computer system and readable storage medium | |
CN111159047A (en) | Android equipment auxiliary debugging device with visual interface and operation method thereof | |
CN113050508B (en) | Debugging method and device of control panel, storage medium and debugging equipment | |
CN111400167A (en) | Redfish service compliance verification method, device, equipment and medium | |
CN111934908A (en) | Internet of things simulation method, device and system and storage medium | |
CN110795353A (en) | Debugging method, device and equipment for fast application and storage medium | |
CN110750453A (en) | HTML 5-based intelligent mobile terminal testing method, system, server and storage medium | |
CN110322587B (en) | Evaluation recording method, device and equipment in driving process and storage medium | |
CN114201346A (en) | HIL (hardware-in-the-loop) testing method and device of CAN (controller area network) communication interface and electronic equipment | |
CN107203471B (en) | Joint debugging method, service platform and computer storage medium | |
CN112860559A (en) | Upgrade test system and method | |
CN104239202A (en) | Non-Root testing method and system of interactive intelligent equipment | |
CN117931637A (en) | Automatic real vehicle testing method and device for vehicle-mounted information entertainment system, vehicle and storage medium | |
CN112241356A (en) | Page testing method, device, equipment and storage medium | |
CN108737337B (en) | Equipment processing method, device, server and system | |
CN110795330A (en) | Monkey pressure testing method and device | |
CN108241488A (en) | A kind of system and method for generating APP interfaces | |
CN111143227B (en) | Data operation method, device, terminal and storage medium |
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 |