CN112857832A - Method, system, equipment and storage medium for testing vehicle interaction system - Google Patents

Method, system, equipment and storage medium for testing vehicle interaction system Download PDF

Info

Publication number
CN112857832A
CN112857832A CN202110188310.0A CN202110188310A CN112857832A CN 112857832 A CN112857832 A CN 112857832A CN 202110188310 A CN202110188310 A CN 202110188310A CN 112857832 A CN112857832 A CN 112857832A
Authority
CN
China
Prior art keywords
electronic controller
controller unit
operation instruction
simulated vehicle
target electronic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110188310.0A
Other languages
Chinese (zh)
Inventor
韦佳佳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Aiways Automobile Co Ltd
Aiways Automobile Shanghai Co Ltd
Original Assignee
Aiways Automobile Shanghai 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 Aiways Automobile Shanghai Co Ltd filed Critical Aiways Automobile Shanghai Co Ltd
Priority to CN202110188310.0A priority Critical patent/CN112857832A/en
Publication of CN112857832A publication Critical patent/CN112857832A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M17/00Testing of vehicles
    • G01M17/007Wheeled or endless-tracked vehicles

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The application provides a test method, a test system, a test device and a storage medium of a vehicle interaction system, and belongs to the technical field of vehicle test. The method is applied to a test system of a vehicle interaction system, and the test system comprises the following steps: the vehicle interaction system to be tested, the transfer equipment and the simulated vehicle electronic controller unit, wherein the method comprises the following steps: the vehicle interaction system to be tested responds to the triggering operation of the user and sends a first operation instruction to the transfer equipment; the transfer equipment converts the first operation instruction into a second operation instruction and sends the second operation instruction to the simulated vehicle electronic controller unit; and the simulated vehicle electronic controller unit updates or reads the information of the target electronic controller unit stored in the simulated vehicle electronic controller unit according to the second operation instruction, and obtains a test result according to the updated or read result. The efficiency of testing the vehicle interaction system can be improved.

Description

Method, system, equipment and storage medium for testing vehicle interaction system
Technical Field
The present disclosure relates to the field of vehicle testing technologies, and in particular, to a method, a system, a device, and a storage medium for testing a vehicle interaction system.
Background
With the intelligent development of the automotive industry, more and more vehicle interaction systems are developed, such as: instrument interfaces ip (instrument panel), Infotainment system IVI (In-Vehicle information), etc. In order to better determine the performance of these Vehicle interaction systems, interactive testing of the Vehicle interaction systems is required.
At present, the testing method adopted is mainly to connect the vehicle interaction system with a simulated vehicle, wherein the simulated vehicle needs to be connected with hardware of an actual vehicle, for example: and the performance of the vehicle interaction system is determined according to the interaction result of the vehicle interaction system and hardware of the actual vehicles.
However, in the actual testing process, the required hardware with the actual vehicle cannot be obtained at any time due to the influence of factors such as testing environment, and therefore, the required hardware of the actual vehicle needs to be prepared in advance before the performance test is performed, which results in low efficiency of the test.
Disclosure of Invention
The application aims to provide a method, a system, equipment and a storage medium for testing a vehicle interaction system, which can improve the efficiency of testing the vehicle interaction system.
The embodiment of the application is realized as follows:
in one aspect of the embodiments of the present application, a method for testing a vehicle interaction system is provided, where the method is applied to a test system of the vehicle interaction system, and the test system includes: the vehicle interaction system to be tested, the transfer equipment and the simulated vehicle electronic controller unit, wherein the method comprises the following steps:
the vehicle interaction system to be tested responds to the triggering operation of the user and sends a first operation instruction to the transfer equipment, wherein the first operation instruction comprises the following steps: an identification of a target electronic controller unit of operation and operational information for the target electronic controller unit;
the transfer equipment converts the first operation instruction into a second operation instruction, and sends the second operation instruction to the simulated vehicle electronic controller unit, wherein the format of the second operation instruction is different from that of the first operation instruction, and the second operation instruction comprises: an identification of a target electronic controller unit of operation and operational information for the target electronic controller unit;
and the simulated vehicle electronic controller unit updates or reads the information of the target electronic controller unit stored in the simulated vehicle electronic controller unit according to the second operation instruction, and obtains a test result according to the updated or read result.
Optionally, the operational information for the target electronic controller unit comprises: updating the identifier of the operation and the updated target operation parameter value;
the simulated vehicle electronic controller unit updates the information of the target electronic controller unit stored in the simulated vehicle electronic controller unit according to the second operation instruction, and the method comprises the following steps:
the simulated vehicle electronic controller unit analyzes the second operation instruction to obtain an identifier of the target electronic controller unit, an identifier of the updating operation and an updated target operation parameter value;
and updating the operation parameters of the target electronic controller unit to the target operation parameter values by the simulated vehicle electronic controller according to the identification of the target electronic controller unit, the identification of the updating operation and the updated target operation parameters.
Optionally, the operational information for the target electronic controller unit comprises: reading the identification of the operation;
the simulated vehicle electronic controller unit reads the information of the target electronic controller unit stored in the simulated vehicle electronic controller unit according to the second operation instruction, and the information comprises the following steps:
the simulated vehicle electronic controller unit analyzes the second operation instruction to obtain an identifier of the target electronic controller unit and an identifier of the reading operation;
and the simulated vehicle electronic controller unit reads the current operation parameter value of the target electronic controller unit stored in the simulated vehicle electronic controller unit according to the identification of the target electronic controller unit and the identification of the reading operation.
Optionally, the method further comprises:
the simulated vehicle electronic controller unit sends first response information to the transfer equipment, and the first response information comprises: an identification of the target electronic controller unit and a current operating parameter value of the target electronic controller unit;
the transfer equipment converts the first response information into second response information and sends the second response information to the vehicle interaction system to be tested, the format of the second response information is different from that of the first response information, and the second response information comprises: an identification of the target electronic controller unit and a current operating parameter value of the target electronic controller unit;
and the vehicle interaction system to be tested outputs the current operation parameter value of the target electronic controller unit.
Optionally, before the step of reading, by the simulated vehicle electronic controller unit, the current operating parameter value of the target electronic controller unit stored in the simulated vehicle electronic controller unit according to the identifier of the target electronic controller unit and the identifier of the reading operation, the method further includes:
the simulated vehicle electronic controller unit receives user-entered configuration data, the configuration data comprising: a current operating parameter value of the target electronic controller unit;
the simulated vehicle electronic controller unit stores configuration data.
Optionally, the transfer device is a CAN device, the transfer device is connected with the vehicle interaction system to be tested through a CAN bus, and the transfer device is connected with the simulated vehicle electronic controller unit through a USB bus.
Optionally, the updating or reading, by the simulated vehicle electronic controller unit according to the second operation instruction, the information of the target electronic controller unit saved in the simulated vehicle electronic controller unit includes:
the simulated vehicle electronic controller unit performs CAN matrix analysis on the second operation instruction to obtain an analysis result;
and the simulated vehicle electronic controller unit updates or reads the information of the target electronic controller unit stored in the simulated vehicle electronic controller unit according to the analysis result.
In another aspect of the embodiments of the present application, a test system for a vehicle interaction system is provided, where the test system includes: the system comprises a vehicle interaction system to be tested, transfer equipment and a simulated vehicle electronic controller unit;
the vehicle interaction system to be tested is used for responding to the triggering operation of a user and sending a first operation instruction to the transfer equipment, wherein the first operation instruction comprises the following steps: an identification of a target electronic controller unit of operation and operational information for the target electronic controller unit;
the transfer equipment is used for converting the first operation instruction into a second operation instruction and sending the second operation instruction to the simulated vehicle electronic controller unit, the format of the second operation instruction is different from that of the first operation instruction, and the second operation instruction comprises: an identification of a target electronic controller unit of operation and operational information for the target electronic controller unit;
and the simulated vehicle electronic controller unit is used for updating or reading the information of the target electronic controller unit stored in the simulated vehicle electronic controller unit according to the second operation instruction and obtaining a test result according to the updated or read result.
In another aspect of the embodiments of the present application, there is provided a computer device, including: the testing method comprises the steps of a memory and a processor, wherein a computer program capable of running on the processor is stored in the memory, and the steps of the testing method of the vehicle interaction system are realized when the processor executes the computer program.
In another aspect of the embodiments of the present application, a storage medium is provided, where a computer program is stored on the storage medium, and when the computer program is executed by a processor, the steps of the method for testing the vehicle interaction system are implemented.
The beneficial effects of the embodiment of the application include:
in the test method, the test system, the test equipment and the storage medium of the vehicle interaction system provided by the embodiment of the application, the vehicle interaction system to be tested responds to the trigger operation of a user and sends a first operation instruction to the transfer equipment; the transfer equipment converts the first operation instruction into a second operation instruction and sends the second operation instruction to the simulated vehicle electronic controller unit; and the simulated vehicle electronic controller unit updates or reads the information of the target electronic controller unit stored in the simulated vehicle electronic controller unit according to the second operation instruction, and obtains a test result according to the updated or read result. The simulated vehicle electronic controller unit can simulate the working condition of hardware of an actual vehicle in a software program mode, and in the testing process, the simulated vehicle electronic controller unit is updated or read without participation of the hardware of the actual vehicle, so that the testing efficiency is correspondingly improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
FIG. 1 is a schematic structural diagram of a test system of a vehicle interaction system provided in an embodiment of the present application;
fig. 2 is a first schematic flowchart of a vehicle interaction system testing method according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart illustrating a second method for testing a vehicle interaction system according to an embodiment of the present disclosure;
fig. 4 is a third schematic flowchart of a vehicle interaction system testing method provided in the embodiment of the present application;
fig. 5 is a fourth schematic flowchart of a vehicle interaction system testing method provided in the embodiment of the present application;
fig. 6 is a schematic flowchart of a vehicle interaction system testing method provided in the embodiment of the present application;
fig. 7 is a sixth schematic flowchart of a vehicle interaction system testing method provided in the embodiment of the present application;
fig. 8 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
In the description of the present application, it is noted that the terms "first", "second", "third", and the like are used merely for distinguishing between descriptions and are not intended to indicate or imply relative importance.
The following explains a specific structural connection relationship of the test system of the vehicle interaction system provided in the embodiment of the present application.
Fig. 1 is a schematic structural diagram of a test system of a vehicle interaction system according to an embodiment of the present application, please refer to fig. 1, where the test system includes: the vehicle interaction system to be tested 100, the transfer device 200 and the simulated vehicle electronic controller unit 300. The vehicle interaction system 100 to be tested is in communication connection with the transfer device 200, and the transfer device 200 is in communication connection with the simulated vehicle electronic controller unit 300.
Alternatively, the vehicle interaction system under test 100 may be any type of vehicle interaction system, such as: instrument interface ip (instrument panel), Infotainment system IVI (In-Vehicle information), and the like, without limitation thereto. The relay device 200 may be a device for converting the format of the instruction transmitted by the vehicle interaction system to be tested 100 and the format of the instruction transmitted by the simulated vehicle electronic controller unit 300 to each other, and the specific category may be set according to the specific format of the conversion instruction. The simulated vehicle Electronic controller Unit 300 may be an ECU (Electronic Control Unit) simulating an automobile, and the Electronic Control Unit may be a virtual Unit arranged on an on-board computer, and may be used for simulating an on-board device on the automobile by software, for example: a car speaker, a car air conditioner, etc., without limitation.
The following specifically explains an implementation procedure of the test method applied to the test system provided in the embodiment of the present application.
Fig. 2 is a first schematic flow chart of a vehicle interaction system testing method provided in an embodiment of the present application, please refer to fig. 2, the vehicle interaction system testing method is applied to the vehicle interaction system testing system, and the method includes:
s210: the vehicle interaction system to be tested responds to the triggering operation of the user and sends a first operation instruction to the transfer equipment.
Wherein, the first operation instruction comprises: an identification of a target electronic controller unit of operation and operational information for the target electronic controller unit.
Optionally, the user's trigger operation may be a specific operation for the vehicle interaction system to be tested, such as: the vehicle interaction system to be tested can be provided with a plurality of triggering operation modes according to operations triggered by voice input, mouse key input, touch screen input and the like, and the method is not limited herein.
Alternatively, the format of the first operation instruction may be a special instruction format in the vehicle interaction system to be tested. The identifier of the target electronic controller unit to be operated may be label information for labeling the electronic controller unit of the simulated automobile, and for example, different electronic controller units may be labeled with different codes in the form of codes. The operational information for the target electronic controller unit may include various types of operational information that may vary for different automotive hardware being simulated in the target electronic controller unit, such as: for a simulated vehicle air conditioner, the operational information may include: various types of operations such as switching on and off of an air conditioner, temperature adjustment, mode adjustment, timing, and the like; for a simulated vehicle audio enclosure, these operations may include: switching on and off the speaker, volume adjustment, mode adjustment, etc., without limitation.
S220: the transfer equipment converts the first operation instruction into a second operation instruction and sends the second operation instruction to the simulated vehicle electronic controller unit.
The format of the second operation instruction is different from that of the first operation instruction, and the second operation instruction comprises: an identification of a target electronic controller unit of operation and operational information for the target electronic controller unit.
Optionally, the relay device may convert the first operation instruction into a second operation instruction with the same content but different format, that is, the first operation instruction and the second operation instruction represent the same content and have different formats. After the transfer device obtains the first operation instruction, the transfer device may convert the first operation instruction into a corresponding second operation instruction, and then may send the second operation instruction to the simulated vehicle electronic controller unit.
S230: and the simulated vehicle electronic controller unit updates or reads the information of the target electronic controller unit stored in the simulated vehicle electronic controller unit according to the second operation instruction, and obtains a test result according to the updated or read result.
Alternatively, the saved information of the target electronic controller unit may be information for simulating a state of the in-vehicle device, such as: when the simulated vehicle electronic controller unit receives the second operation instruction, the saved information of the target electronic controller unit can be updated or read according to the second operation instruction. The updating operation may be to update the saved information of the target electronic controller unit to a state corresponding to the operation information according to the operation information of the target electronic controller unit in the second operation instruction. For example: the on-vehicle air conditioner recorded with the saved information of the target electronic controller unit is in the off state, and the operation indicated by the operation information for the target electronic controller unit is to turn on the on-vehicle air conditioner, the state of the on-vehicle air conditioner may be changed to the on state according to the operation information. Other types of operation information updating methods are also the same, and are not described herein again.
Optionally, after the updating operation, a reading operation may be performed to read current information in the saved information of the target electronic controller unit, for example: the updated on-off state of the vehicle-mounted air conditioner, and the like. After the relevant information is read, the information can be sent back to the vehicle interaction system to be tested through the transfer equipment, or can be directly displayed through an electronic screen connected with the electronic controller unit of the simulated vehicle, which is not limited herein.
Optionally, during the operation of the system, the simulated vehicle electronic controller unit may also display the updated or read result through an electronic screen connected with the simulated vehicle electronic controller unit, so that the operator can determine whether the first operation instruction is met according to the displayed content. If the displayed contents are matched, the test result is determined to be correct; otherwise, the test result is determined to be wrong.
That is, the determination of the test result may be performed by the test result recognition system, or may be performed by subjective judgment of a worker, which is not limited herein.
In the test method of the vehicle interaction system provided by the embodiment of the application, the vehicle interaction system to be tested responds to the trigger operation of a user and sends a first operation instruction to the transfer equipment; the transfer equipment converts the first operation instruction into a second operation instruction and sends the second operation instruction to the simulated vehicle electronic controller unit; and the simulated vehicle electronic controller unit updates or reads the information of the target electronic controller unit stored in the simulated vehicle electronic controller unit according to the second operation instruction, and obtains a test result according to the updated or read result. The simulated vehicle electronic controller unit can simulate the working condition of hardware of an actual vehicle in a software program mode, and in the testing process, the simulated vehicle electronic controller unit is updated or read without participation of the hardware of the actual vehicle, so that the testing efficiency is correspondingly improved.
Another implementation procedure of the test method applied to the test system provided in the embodiment of the present application is explained below.
Fig. 3 is a second flowchart illustrating a vehicle interaction system testing method according to an embodiment of the present application, please refer to fig. 3, where the operation information for the target electronic controller unit includes: updating the identifier of the operation and the updated target operation parameter value; the simulated vehicle electronic controller unit updates the information of the target electronic controller unit stored in the simulated vehicle electronic controller unit according to the second operation instruction, and the method comprises the following steps:
s310: and the simulated vehicle electronic controller unit analyzes the second operation instruction to obtain the identifier of the target electronic controller unit, the identifier of the updating operation and the updated target operation parameter value.
Optionally, the identifier of the update operation may be used to mark a category of the specifically executed update operation, such as whether to adjust a switch state or adjust a volume, and the like, and the updated target operation parameter value is an adjusted target state, for example, how many degrees the temperature of the simulated vehicle air conditioner needs to be specifically adjusted, which is the target operation parameter value.
Optionally, after the simulated vehicle electronic controller unit obtains the second operation instruction, the second operation instruction may be analyzed to obtain an identifier of the target electronic controller unit, an identifier of the update operation, and an updated target operation parameter value.
S320: and updating the operation parameters of the target electronic controller unit to the target operation parameter values by the simulated vehicle electronic controller according to the identification of the target electronic controller unit, the identification of the updating operation and the updated target operation parameters.
Optionally, the simulated vehicle electronic controller determines the type of the simulated on-board device to be adjusted according to the identification of the target electronic controller unit, for example: vehicle-mounted air conditioners, vehicle-mounted sound boxes and the like; then, the update operation type to be adjusted may be determined according to the identifier of the update operation, for example: adjusting the switch state or adjusting the temperature, etc.; the operating parameter of the target electronic controller unit may then be updated to the target operating parameter value according to the updated target operating parameter, thereby completing the updating process.
Next, a further implementation of the test method applied to the test system provided in the embodiment of the present application will be explained.
Fig. 4 is a third schematic flowchart of a vehicle interaction system testing method provided in the embodiment of the present application, please refer to fig. 4, where the operation information for the target electronic controller unit includes: reading the identification of the operation; the simulated vehicle electronic controller unit reads the information of the target electronic controller unit stored in the simulated vehicle electronic controller unit according to the second operation instruction, and the information comprises the following steps:
s410: and the simulated vehicle electronic controller unit analyzes the second operation instruction to obtain the identifier of the target electronic controller unit and the identifier of the reading operation.
Alternatively, the identifier of the reading operation may be identifier information for instructing the simulated vehicle to read the target electronic controller unit, and the simulated vehicle electronic controller unit parses the second operation instruction to obtain the identifier of the target electronic controller unit and the identifier of the reading operation.
S420: and the simulated vehicle electronic controller unit reads the current operation parameter value of the target electronic controller unit stored in the simulated vehicle electronic controller unit according to the identification of the target electronic controller unit and the identification of the reading operation.
Optionally, after obtaining the identifier of the target electronic controller unit and the identifier of the reading operation, the type of the simulated vehicle-mounted device to be read may be determined according to the identifier of the target electronic controller unit, for example: the vehicle-mounted air conditioner, the vehicle-mounted sound box, or the like, and then the reading operation may be performed according to the identifier of the reading operation, specifically, the current operation parameter value of the target electronic controller unit stored in the simulated vehicle electronic controller unit, such as a current operation air conditioner temperature value, working state information, or the like, may be read.
Optionally, the obtained current operation parameter value may be sent back to the vehicle interaction system to be tested through the relay device for displaying, or may be directly displayed through an electronic screen connected to the electronic controller unit of the simulated vehicle, which is not limited herein.
Another specific implementation of the vehicle interaction system testing method provided in the embodiment of the present application is explained below.
Fig. 5 is a fourth schematic flowchart of a vehicle interaction system testing method provided in the embodiment of the present application, please refer to fig. 5, where the method further includes:
s510: the simulated vehicle electronic controller unit sends the first response information to the transfer device.
Wherein the first response information includes: an identification of the target electronic controller unit and a current operating parameter value of the target electronic controller unit.
Optionally, the first response information may be sent according to a preset trigger condition, for example: a preset time is reached or other preset conditions are met, etc. The identity of the target electronic controller unit and the current operating parameter value of the target electronic controller unit have been explained above and will not be described in detail here. If there are a plurality of first response messages, the plurality of first response messages may be packaged before being sent, so as to obtain a packaged first response message, where the first response message may include the identifications of the plurality of target electronic controller units and the current operating parameter values of the plurality of target electronic controller units.
S520: the transfer equipment converts the first response information into second response information and sends the second response information to the vehicle interaction system to be tested.
The format of the second response information is different from that of the first response information, and the second response information comprises: an identification of the target electronic controller unit and a current operating parameter value of the target electronic controller unit.
Optionally, the content characterized by the first response information and the second response information is the same and has different formats. After obtaining the first response information, the transfer device may convert the first response information into corresponding second response information, and then may send the second response information to the vehicle interaction system to be tested.
S530: and the vehicle interaction system to be tested outputs the current operation parameter value of the target electronic controller unit.
Optionally, the vehicle interaction system to be tested may be provided with an electronic screen or other structures for displaying information, and the vehicle interaction system to be tested may display a current operation parameter value of the target electronic controller unit through the electronic screen or such structures, and specifically, the content that may be displayed includes: simulating the type of equipment (e.g., vehicle air conditioner, vehicle sound box), simulating the status of the equipment (e.g., on-off status, temperature/volume level, etc., wherein the on-off status may be the 0/1 parameter value to represent the on and off status, respectively, and the temperature/volume level may be a specific parameter range, such as 30 degrees, 30 decibels, etc.).
The following explains yet another specific implementation procedure of the vehicle interaction system testing method provided in the embodiment of the present application.
Fig. 6 is a fifth flowchart of a vehicle interaction system testing method provided in an embodiment of the present application, please refer to fig. 6, where before the simulated vehicle electronic controller unit reads a current operation parameter value of the target electronic controller unit stored in the simulated vehicle electronic controller unit according to the identifier of the target electronic controller unit and the identifier of the reading operation, the method further includes:
s610: the simulated vehicle electronic controller unit receives configuration data input by a user.
Wherein the configuration data comprises: a current operating parameter value of the target electronic controller unit.
Alternatively, the configuration data may be user preset content, that is, the user may preset the current operating parameter value of the target electronic controller unit in the simulated vehicle electronic controller unit, for example: setting the current state of the simulated vehicle-mounted air conditioner to be on, the temperature to be 20 ℃ and the like.
S620: the simulated vehicle electronic controller unit stores configuration data.
Alternatively, the simulated vehicle electronic controller unit may store the configurations as currently operating configuration data after receiving the configuration data.
Optionally, the relay device is a CAN (Controller Area Network) device, the relay device is connected to the vehicle interaction system to be tested through a CAN Bus, and the relay device is connected to the electronic Controller unit of the simulated vehicle through a USB (Universal Serial Bus).
Optionally, the first operation instruction and the second response message may be instruction messages of a CAN communication transmission format; the second operation instruction and the first response information may be instruction information of a USB communication transmission format. The first operation instruction, the second operation instruction, the first response information and the second response information can be instruction information in a message form. The relay device may be a CAN box.
The specific implementation of updating or reading the saved information of the target electronic controller unit provided in the embodiments of the present application is explained below.
Fig. 7 is a sixth schematic flowchart of a vehicle interaction system testing method provided in the embodiment of the present application, please refer to fig. 7, where the updating or reading of the information of the target electronic controller unit stored in the simulated vehicle electronic controller unit by the simulated vehicle electronic controller unit according to the second operation instruction includes:
s710: and the simulated vehicle electronic controller unit performs CAN matrix analysis on the second operation instruction to obtain an analysis result.
Optionally, the simulated vehicle electronic controller unit may perform a CAN matrix analysis on the second operation instruction, and obtain a corresponding analysis result, where the CAN matrix analysis may be a process of analyzing a military matrix formed based on a message signal in the CAN communication.
S720: and the simulated vehicle electronic controller unit updates or reads the information of the target electronic controller unit stored in the simulated vehicle electronic controller unit according to the analysis result.
Optionally, the simulated vehicle electronic controller unit may execute the foregoing implementation process of S230 according to the analysis result, which is not described herein again.
Fig. 8 is a schematic structural diagram of a computer device according to an embodiment of the present application, and referring to fig. 8, the computer device includes: the memory 400 and the processor 500, wherein the memory 400 stores a computer program operable on the processor 500, and the processor 500 executes the computer program to implement the steps of the testing method of the vehicle interaction system.
In another aspect of the embodiments of the present application, a storage medium is further provided, where the storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for testing the vehicle interaction system are implemented.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
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 on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A test method of a vehicle interaction system is characterized in that the test method is applied to a test system of the vehicle interaction system, and the test system comprises the following steps: the vehicle interaction system to be tested, the transfer equipment and the simulated vehicle electronic controller unit, wherein the method comprises the following steps:
the vehicle interaction system to be tested responds to the triggering operation of a user and sends a first operation instruction to the transfer equipment, wherein the first operation instruction comprises the following steps: an identification of a target electronic controller unit of operation and operational information for the target electronic controller unit;
the transfer equipment converts the first operation instruction into a second operation instruction, and sends the second operation instruction to the simulated vehicle electronic controller unit, wherein the format of the second operation instruction is different from that of the first operation instruction, and the second operation instruction comprises: an identification of a target electronic controller unit of operation and operational information for the target electronic controller unit;
and the simulated vehicle electronic controller unit updates or reads the information of the target electronic controller unit stored in the simulated vehicle electronic controller unit according to the second operation instruction and obtains a test result according to the updated or read result.
2. The method of claim 1, wherein the operational information for the target electronic controller unit comprises: updating the identifier of the operation and the updated target operation parameter value;
the step of updating the information of the target electronic controller unit saved in the simulated vehicle electronic controller unit by the simulated vehicle electronic controller unit according to the second operation instruction comprises the following steps:
the simulated vehicle electronic controller unit analyzes the second operation instruction to obtain an identifier of the target electronic controller unit, an identifier of the updating operation and the updated target operation parameter value;
and the simulated vehicle electronic controller updates the operating parameters of the target electronic controller unit to the target operating parameter values according to the identification of the target electronic controller unit, the identification of the updating operation and the updated target operating parameters.
3. The method of claim 1, wherein the operational information for the target electronic controller unit comprises: reading the identification of the operation;
the step of reading the information of the target electronic controller unit saved in the simulated vehicle electronic controller unit by the simulated vehicle electronic controller unit according to the second operation instruction comprises the following steps:
the simulated vehicle electronic controller unit analyzes the second operation instruction to obtain an identifier of the target electronic controller unit and an identifier of the reading operation;
and the simulated vehicle electronic controller unit reads the current operation parameter value of the target electronic controller unit stored in the simulated vehicle electronic controller unit according to the identification of the target electronic controller unit and the identification of the reading operation.
4. The method of claim 3, wherein the method further comprises:
the simulated vehicle electronic controller unit sends first response information to the transfer device, wherein the first response information comprises: an identification of the target electronic controller unit and a current operating parameter value of the target electronic controller unit;
the transfer equipment converts the first response information into second response information and sends the second response information to the vehicle interaction system to be tested, wherein the format of the second response information is different from that of the first response information, and the second response information comprises: an identification of the target electronic controller unit and a current operating parameter value of the target electronic controller unit;
and the vehicle interaction system to be tested outputs the current operation parameter value of the target electronic controller unit.
5. The method of claim 3, wherein said simulated vehicle electronic controller unit, prior to reading said current operating parameter value for said target electronic controller unit as stored in said simulated vehicle electronic controller unit based on said identification of said target electronic controller unit and said identification of said reading operation, further comprises:
the simulated vehicle electronic controller unit receives user-entered configuration data, the configuration data comprising: a current operating parameter value of the target electronic controller unit;
the simulated vehicle electronic controller unit stores the configuration data.
6. The method of any one of claims 1-5, wherein the relay device is a CAN device, the relay device is connected to the vehicle interaction system to be tested via a CAN bus, and the relay device is connected to the simulated vehicle electronic controller unit via a USB bus.
7. The method of claim 6, wherein updating or reading the information of the target electronic controller unit saved in the simulated vehicle electronic controller unit according to the second operating instruction comprises:
the simulated vehicle electronic controller unit carries out CAN matrix analysis on the second operation instruction to obtain an analysis result;
and the simulated vehicle electronic controller unit updates or reads the information of the target electronic controller unit stored in the simulated vehicle electronic controller unit according to the analysis result.
8. A test system for a vehicle interaction system, the test system comprising: the system comprises a vehicle interaction system to be tested, transfer equipment and a simulated vehicle electronic controller unit;
the vehicle interaction system to be tested is used for responding to the triggering operation of a user and sending a first operation instruction to the transfer equipment, wherein the first operation instruction comprises: an identification of a target electronic controller unit of operation and operational information for the target electronic controller unit;
the transfer device is configured to convert the first operation instruction into a second operation instruction, and send the second operation instruction to the simulated vehicle electronic controller unit, where a format of the second operation instruction is different from a format of the first operation instruction, and the second operation instruction includes: an identification of a target electronic controller unit of operation and operational information for the target electronic controller unit;
and the simulated vehicle electronic controller unit is used for updating or reading the information of the target electronic controller unit stored in the simulated vehicle electronic controller unit according to the second operation instruction and obtaining a test result according to the updated or read result.
9. A computer device, comprising: memory in which a computer program is stored which is executable on the processor, and a processor which, when executing the computer program, carries out the steps of the method according to any one of the preceding claims 1 to 7.
10. A storage medium, characterized in that the storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202110188310.0A 2021-02-18 2021-02-18 Method, system, equipment and storage medium for testing vehicle interaction system Pending CN112857832A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110188310.0A CN112857832A (en) 2021-02-18 2021-02-18 Method, system, equipment and storage medium for testing vehicle interaction system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110188310.0A CN112857832A (en) 2021-02-18 2021-02-18 Method, system, equipment and storage medium for testing vehicle interaction system

Publications (1)

Publication Number Publication Date
CN112857832A true CN112857832A (en) 2021-05-28

Family

ID=75989770

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110188310.0A Pending CN112857832A (en) 2021-02-18 2021-02-18 Method, system, equipment and storage medium for testing vehicle interaction system

Country Status (1)

Country Link
CN (1) CN112857832A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115016497A (en) * 2022-07-04 2022-09-06 北京九星智元科技有限公司 Intelligent trolley control system and control method
CN115145246A (en) * 2022-06-27 2022-10-04 小米汽车科技有限公司 Controller testing method and device, vehicle, storage medium and chip

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105404285A (en) * 2015-12-15 2016-03-16 重庆联导金宏电子有限公司 Test method and system for testing vehicle-mounted controller by simulating remote control system
CN105511977A (en) * 2015-12-04 2016-04-20 北京远特科技股份有限公司 Vehicle-mounted navigation system testing method and device
CN110262451A (en) * 2019-06-17 2019-09-20 爱驰汽车有限公司 A kind of simulating vehicle fault testing method and device
CN110379426A (en) * 2019-08-26 2019-10-25 北京汽车股份有限公司 Vehicle-mounted voice system test device and tone testing system
CN111273565A (en) * 2020-03-02 2020-06-12 中车青岛四方机车车辆股份有限公司 Vehicle operation simulation system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105511977A (en) * 2015-12-04 2016-04-20 北京远特科技股份有限公司 Vehicle-mounted navigation system testing method and device
CN105404285A (en) * 2015-12-15 2016-03-16 重庆联导金宏电子有限公司 Test method and system for testing vehicle-mounted controller by simulating remote control system
CN110262451A (en) * 2019-06-17 2019-09-20 爱驰汽车有限公司 A kind of simulating vehicle fault testing method and device
CN110379426A (en) * 2019-08-26 2019-10-25 北京汽车股份有限公司 Vehicle-mounted voice system test device and tone testing system
CN111273565A (en) * 2020-03-02 2020-06-12 中车青岛四方机车车辆股份有限公司 Vehicle operation simulation system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115145246A (en) * 2022-06-27 2022-10-04 小米汽车科技有限公司 Controller testing method and device, vehicle, storage medium and chip
CN115016497A (en) * 2022-07-04 2022-09-06 北京九星智元科技有限公司 Intelligent trolley control system and control method

Similar Documents

Publication Publication Date Title
CN106445296B (en) Method and device for displaying vehicle-mounted application program icons
CN112857832A (en) Method, system, equipment and storage medium for testing vehicle interaction system
KR101797005B1 (en) Method for producing test case by vehicle type
US20230394892A1 (en) System and method for acquiring vehicle information, and vehicle
EP2709016B1 (en) Exception handling test device and method thereof
KR101723631B1 (en) Method for testing linkage evaluation between vehicle equipments
CN105425783A (en) Real vehicle data processing method and system, controller and upper computer
CN112422372B (en) MQTT protocol industrial equipment data simulation method based on reflection mechanism
CN114510006A (en) Remote testing method, device, equipment and storage medium for cabin domain controller
CN106534337A (en) Debugging system and debugging method of vehicle-mounted information system
CN114398044A (en) Vehicle control and software configuration method, device, electronic equipment and storage medium
CN111858286A (en) Vehicle machine testing device and method
CN111694345B (en) Vehicle diagnosis menu generation method, device, equipment and medium
CN111432426B (en) Method, device, equipment and storage medium for testing Bluetooth transmission speed
CN115951596A (en) Real vehicle signal simulation method and vehicle signal interaction system
CN114371999A (en) Vehicle function testing method, device, system, computer equipment and storage medium
CN113434411A (en) TIAS function test method and system
CN108093396B (en) Method and device for updating APN (Access Point name) of vehicle-mounted system
CN112365883A (en) Cabin system voice recognition test method, device, equipment and storage medium
KR20070052540A (en) Virtual vehicle system and testing method for vehicle related service on telematics terminal
CN110572384A (en) Vehicle data processing method and device
CN114629740B (en) Vehicle-mounted can signal receiving and transmitting method and device, vehicle-mounted system, computer equipment and storage medium
CN111966072B (en) Simulation test method and device for air conditioner control panel
CN111475659B (en) Input data creation device and input data creation method
CN112765721B (en) Model control-based entertainment information interaction test method

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