Whole vehicle simulation test device, method and electronic equipment

By using the message sending and receiving module and logic processing module of the vehicle simulation test device, remote control commands are parsed and vehicle status change signals are generated, which solves the problem of traditional vehicle development relying on actual components and improves development efficiency and test robustness.

CN118760124BActive Publication Date: 2025-11-21CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410886303.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-03
Publication Date
2025-11-21
Estimated Expiration
2044-07-03

AI Technical Summary

Technical Problem

Traditional vehicle development methods rely on actual components and complete vehicles for functional development and debugging, resulting in slow development progress and reduced efficiency.

Method used

A vehicle simulation testing device is provided, including a message transceiver module, a vehicle state simulation module, and a logic processing module. It generates vehicle state change signals through protocol parsing and vehicle control code, simulates vehicle application signals, and realizes the testing and debugging of software code.

Benefits of technology

It improves the robustness of vehicle simulation testing and the efficiency of function development, reduces the dependence on actual components and vehicles, and improves development and debugging efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118760124B_ABST
    Figure CN118760124B_ABST
Patent Text Reader

Abstract

The application provides a whole vehicle simulation test device, method and electronic equipment, the device comprises: a message transceiving module, a vehicle state simulation module and a logic processing module; the message transceiving module is used for receiving a remote control instruction, analyzing the remote control instruction according to a preconfigured protocol analysis file, obtaining an analysis instruction, and sending the analysis instruction to the logic processing module; the logic processing module is used for generating a vehicle state change signal according to the received analysis instruction and a preconfigured vehicle control code, and sending the vehicle state change signal to the vehicle state simulation module; and the vehicle state simulation module is used for processing a preconfigured vehicle application signal according to the received vehicle state change signal to update the vehicle application signal. Through the technical scheme of the application, the efficiency and effectiveness of development and debugging are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of simulation testing technology, specifically to a whole vehicle simulation testing device, method, and electronic equipment. Background Technology

[0002] The in-vehicle terminal can receive remote control commands from remote control software on a mobile phone, thereby controlling the vehicle. Vehicle owners can obtain feedback information after the vehicle executes remote control commands through the in-vehicle terminal and the remote control software on their mobile phones, enabling real-time monitoring and control of the vehicle.

[0003] Traditional vehicle development involves developing functions on a development board corresponding to the onboard terminal. After development is complete, other components are connected and tested on a test bench to ensure the control functions are working. Then, full-function testing is performed on the entire vehicle to resolve issues. Development progress is heavily dependent on the actual components and the entire vehicle, impacting development efficiency. Summary of the Invention

[0004] In view of the above-mentioned defects or deficiencies in the prior art, this application aims to provide a whole vehicle simulation testing device, method and electronic equipment to improve the robustness of vehicle simulation testing and the development efficiency of various vehicle functions.

[0005] This application provides a vehicle simulation testing device, which includes:

[0006] The system comprises a message sending and receiving module, a vehicle status simulation module, and a logic processing module; wherein the message sending and receiving module is connected to the logic processing module, and the logic processing module is connected to the vehicle status simulation module.

[0007] The message transceiver module is used to receive remote control commands, parse the remote control commands according to a pre-configured protocol parsing file to obtain parsing commands, and send the parsing commands to the logic processing module;

[0008] The logic processing module is used to generate a vehicle state change signal based on the received parsing instructions and the pre-configured vehicle control code, and send the vehicle state change signal to the vehicle state simulation module.

[0009] The vehicle state simulation module is used to process pre-configured vehicle application signals based on received vehicle state change signals, so as to update the vehicle application signals.

[0010] According to the technical solution provided in the embodiments of this application, optionally, the device further includes: a control module; wherein, the control module includes graphical controls corresponding to each vehicle application signal; the control module is connected to the vehicle state simulation module;

[0011] The vehicle status simulation module is used to send updated vehicle application signals to the control module;

[0012] The control module is used to determine at least one target control corresponding to the updated vehicle application signal from among the graphical controls based on the updated vehicle application signal, and update the control state of the target control.

[0013] According to the technical solution provided in the embodiments of this application, optionally, the control module is connected to the vehicle state simulation module and the message transceiver module respectively; wherein,

[0014] The control module is further configured to, for each graphical control, upon receiving a local state change operation, treat the graphical control as an actively changing control, and update the control state of the actively changing control according to the local state change operation; and send the updated control state of each actively changing control to the vehicle state simulation signal and the message transceiver module respectively.

[0015] The vehicle state simulation module is also used to update the vehicle application signal corresponding to each of the actively changing controls based on the control state of each of the received actively changing controls.

[0016] The message transceiver module is further configured to generate a local control signal based on the received control states of each of the actively changing controls and a pre-configured protocol parsing file, and send the local control signal to the remote terminal corresponding to the remote control command.

[0017] According to the technical solution provided in the embodiments of this application, optionally, the logic processing module includes a signal processing unit and a response feedback unit; the signal processing unit is connected to the response feedback unit; wherein,

[0018] The signal processing unit is configured to generate a vehicle state change signal based on the received parsing instructions and pre-configured vehicle control code, determine the validity of the vehicle state change signal, and send the validity to the response feedback unit; if the validity is valid, the vehicle state change signal is sent to the vehicle state simulation module.

[0019] The response feedback unit is used to generate a response signal based on the validity of the received data, and send the response signal to the message transceiver module.

[0020] Accordingly, the message transceiver module includes a message receiving unit and a message sending unit; the message receiving unit is connected to the signal processing unit, and the response feedback unit is connected to the message sending unit; wherein,

[0021] The message receiving unit is used to receive remote control commands, parse the remote control commands according to a pre-configured protocol parsing file to obtain parsing commands, and send the parsing commands to the signal processing unit.

[0022] The message sending unit is used to receive the response signal sent by the response feedback unit, generate a control feedback signal according to the response signal and a pre-configured protocol parsing file, and send the control feedback signal to the remote terminal corresponding to the remote control command.

[0023] According to the technical solution provided in the embodiments of this application, optionally, the device further includes: a vehicle model configuration module; wherein the vehicle model configuration module is respectively connected to the message transceiver module, the logic processing module and the vehicle state simulation module;

[0024] The vehicle configuration module is used to determine the simulated vehicle model, and based on the simulated vehicle model, determine the corresponding protocol parsing file, vehicle control code, and vehicle application signals; send the protocol parsing file to the message transceiver module to pre-configure the protocol parsing file in the message transceiver module; send the vehicle control code to the logic processing module to pre-configure the vehicle control code in the logic processing module; and send the vehicle application signals to the vehicle state simulation module to pre-configure the vehicle application signals in the vehicle state simulation module.

[0025] According to the technical solution provided in the embodiments of this application, optionally, the device further includes: an algorithm module; wherein the algorithm module is connected to the message transceiver module;

[0026] The algorithm module is used to receive the remote control command and the authentication information corresponding to the remote control command, perform authentication processing on the authentication information according to the pre-configured anti-theft authentication algorithm, and generate an authentication result; if the authentication result is successful, the remote control command is sent to the message transceiver module; if the authentication result is unsuccessful, the remote control command is not sent to the message transceiver module.

[0027] This application also provides a vehicle simulation testing method, applied to the vehicle simulation testing device as described in any embodiment, the method comprising:

[0028] Receive remote control commands, parse the remote control commands according to a pre-configured protocol parsing file, and obtain parsed commands;

[0029] Based on the parsing instructions and the pre-configured vehicle control code, a vehicle state change signal is generated;

[0030] Based on the vehicle status change signal, the pre-configured vehicle application signal is processed to update the vehicle application signal.

[0031] According to the technical solution provided in the embodiments of this application, optionally, after processing the pre-configured vehicle application signal according to the vehicle state change signal to update the vehicle application signal, the method further includes:

[0032] Based on the updated vehicle application signal, at least one target control corresponding to the updated vehicle application signal is determined from each graphical control, and the control state of the target control is updated.

[0033] According to the technical solution provided in the embodiments of this application, optionally, the step of receiving the remote control command and parsing the remote control command according to a pre-configured protocol parsing file to obtain a parsed command includes:

[0034] Receive remote control commands and the authentication information corresponding to the remote control commands;

[0035] The authentication information is processed according to the pre-configured anti-theft authentication algorithm to generate an authentication result;

[0036] If the authentication result is successful, the remote control command is parsed according to the pre-configured protocol parsing file to obtain the parsed command.

[0037] This application also provides an electronic device, the electronic device comprising:

[0038] Processor and memory;

[0039] The processor executes the steps of the vehicle simulation test method as described in any embodiment by calling the program or instructions stored in the memory.

[0040] In summary, this application proposes a vehicle simulation testing device. It receives remote control commands through a message transceiver module, parses the commands according to a pre-configured protocol parsing file, obtains parsed commands, and sends these parsed commands to a logic processing module to simulate the parsing of remote control commands. Then, the logic processing module generates vehicle state change signals based on the received parsed commands and pre-configured vehicle control code, and sends these signals to a vehicle state simulation module for testing and debugging of the software code. Furthermore, the vehicle state simulation module processes pre-configured vehicle application signals based on the received vehicle state change signals to update these signals, simulating the vehicle's overall state changes. This improves the robustness of vehicle simulation testing and the development efficiency of various vehicle functions. Compared to existing technologies, this application avoids using vehicle components and the entire vehicle for functional development and debugging, effectively utilizing simulation to improve the efficiency and effectiveness of development and debugging. Attached Figure Description

[0041] Figure 1 This is a schematic diagram of the structure of a vehicle simulation testing device provided in an embodiment of this application;

[0042] Figure 2 This is a schematic diagram of another vehicle simulation testing device provided in an embodiment of this application;

[0043] Figure 3 This is a schematic diagram of the structure of a vehicle simulation testing system provided in an embodiment of this application;

[0044] Figure 4 This is a flowchart of a whole vehicle simulation test method provided in an embodiment of this application;

[0045] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.

[0046] The text labels in the image represent:

[0047] 1-Message transceiver module, 2-Vehicle status simulation module, 3-Logic processing module, 4-Control module, 5-Vehicle model configuration module, 6-Algorithm module, 11-Message receiving unit, 12-Message sending unit, 31-Signal processing unit, 32-Response feedback unit, 100-Whole vehicle simulation test device, 200-Vehicle terminal, 300-Cloud platform, 400-Remote terminal, 500-Electronic equipment, 501-Processor, 502-Memory, 503-Input device and 504-Output device. Detailed Implementation

[0048] The present application will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and not intended to limit it. Furthermore, it should be noted that, for ease of description, only the parts relevant to the invention are shown in the accompanying drawings.

[0049] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.

[0050] Figure 1 This is a schematic diagram of the structure of a vehicle simulation testing device provided in an embodiment of this application. See also... Figure 1 The vehicle simulation test device includes: a message sending and receiving module 1, a vehicle state simulation module 2, and a logic processing module 3.

[0051] The message transceiver module 1 is connected to the logic processing module 3, and the logic processing module 3 is connected to the vehicle state simulation module 2. The message transceiver module 1 is used to receive remote control commands, parse the remote control commands according to the pre-configured protocol parsing file, obtain parsed commands, and send the parsed commands to the logic processing module 3. The logic processing module 3 is used to generate vehicle state change signals according to the received parsed commands and the pre-configured vehicle control codes, and send the vehicle state change signals to the vehicle state simulation module 2. The vehicle state simulation module 2 is used to process the pre-configured vehicle application signals according to the received vehicle state change signals to update the vehicle application signals.

[0052] Remote control commands are instructions sent by remote terminals (such as remote control applications on mobile phones) via a cloud platform and in-vehicle terminals to control the vehicle. A protocol parsing file is used to parse the remote control commands. Parsed commands are the result of parsing the remote control commands through the protocol parsing file. Vehicle control code is the software code for vehicle control. Vehicle state change signals are signals used to describe changes in vehicle state, determined by analyzing, calculating, and processing the parsed commands using the vehicle control code. These signals can represent changes in various vehicle components, such as a door opening or the left front window closing. Vehicle application signals are signals that pre-simulate the states of various vehicle components and can change according to the vehicle state change signals.

[0053] Specifically, message transceiver module 1 receives remote control commands sent by the user via a remote terminal through a cloud platform and an in-vehicle terminal (Telematics BOX, TBOX), determines the protocol parsing file corresponding to the model of the currently simulated vehicle, parses the remote control commands according to the protocol parsing file, and the parsing result is the parsed command, which is then sent to logic processing module 3. Upon receiving the parsed command, logic processing module 3 processes the parsed command using pre-configured vehicle control codes corresponding to the model of the currently simulated vehicle, generates a vehicle state change signal, and sends the vehicle state change signal to vehicle state simulation module 2. Then, vehicle state simulation module 2 receives the vehicle state change signal and processes the pre-configured vehicle application signals corresponding to the model of the currently simulated vehicle according to the vehicle state change signal, updating the vehicle application signals corresponding to the vehicle state change signal.

[0054] Figure 2 This is a schematic diagram of another vehicle simulation testing device provided in an embodiment of this application. See also... Figure 2 The vehicle simulation testing device also includes a control module 4. The control module 4 includes graphical controls corresponding to each vehicle application signal; the control module 4 is connected to the vehicle state simulation module 2.

[0055] The vehicle status simulation module 2 is used to send the updated vehicle application signal to the control module 4; the control module 4 is used to determine at least one target control corresponding to the updated vehicle application signal from the graphical controls based on the updated vehicle application signal, and update the control state of the target control.

[0056] Graphical controls are used to simulate the state of various components of the current vehicle, and can be drop-down lists, text boxes, and controls such as dashboards and knobs. Target controls are the graphical controls corresponding to the updated vehicle application signals sent in the updated vehicle application signals. Control states are the various variable states of the graphical controls, such as on / off states.

[0057] Specifically, the vehicle status simulation module 2 sends updated vehicle application signals to the control module 4. Upon receiving the updated vehicle application signals, the control module 4 determines the target controls from among the graphical controls whose states need to be changed, based on the updated vehicle application signals. For each updated vehicle application signal, the control state of the target control corresponding to that updated vehicle application signal is updated according to the indication of the updated vehicle application signal.

[0058] See Figure 2 The control module 4 is connected to the vehicle status simulation module 2 and the message sending and receiving module 1, respectively.

[0059] Among them, the control module 4 is also used to, for each graphical control, when receiving a local state change operation, treat the graphical control as an active change control, and update the control state of the active change control according to the local state change operation; and send the updated control state of each active change control to the vehicle state simulation signal 2 and the message transceiver module 1 respectively; the vehicle state simulation module 2 is also used to update the vehicle application signal corresponding to each active change control according to the received control state of each active change control; the message transceiver module 1 is also used to generate a local control signal according to the received control state of each active change control and the pre-configured protocol parsing file, and send the local control signal to the remote terminal corresponding to the remote control command.

[0060] Local state change operations are operations that modify the state of various components in the vehicle using graphical controls. This can be understood as simulating the behavior of manually operating various components on the vehicle. Active change controls are graphical controls whose state changes are generated by local state change operations. Local control signals are signals used to describe the state changes of various components occurring on the vehicle side.

[0061] Specifically, users can simulate local operations on the vehicle by manipulating graphical controls used to simulate various vehicle components. For each graphical control, upon receiving a local state change operation, it can be determined that the user has directly controlled it on the vehicle side. Therefore, the control controlled by the user can be designated as the actively changing control, that is, the graphical control corresponding to the local state change operation is designated as the actively changing control. Furthermore, the control state of the actively changing control is updated according to the corresponding local state change operation. The current control state of each actively changing control, i.e., the updated control state, is then sent to the vehicle state simulation signal 2 and the message transceiver module 1. The vehicle state simulation module 2 receives the updated control states of each actively changing control and updates the vehicle application signals corresponding to each actively changing control based on the update status, so that the vehicle application signals are consistent with the control states of each graphical control. The message transceiver module 1 receives the control status of each active change control and can determine that a local control operation has been performed on the vehicle side. Therefore, it encodes the control status of each active change control according to the pre-configured protocol parsing file to obtain the local control signal, and sends the local control signal to the remote terminal corresponding to the remote control command. The remote control terminal can identify the local control signal, parse and determine the operating component and the operation result, so as to prompt the user on the remote terminal that a local operation has been performed on the operating component on the vehicle side, and prompt the user to indicate the operation result of the operating component after the local operation is performed.

[0062] For example, the local state change operation simulates a door unlocking operation. In this case, the active change control is a door control, and its control state is updated to the unlocked state to simulate manually unlocking the door on the vehicle side. Furthermore, the vehicle application signal corresponding to the door control in the vehicle state simulation module 2 is synchronized and updated to the signal corresponding to the unlocked state. The message transceiver module 1 generates a local control signal indicating door unlocking based on the received door control state (unlocked state) and a pre-configured protocol parsing file, and sends the local control signal to the remote terminal corresponding to the remote control command. Upon receiving the local control signal, the remote terminal parses it and determines that the door has been unlocked on the vehicle side. Therefore, it can display a prompt message on the remote terminal, such as: "The door has been unlocked on the vehicle side; unlocking successful."

[0063] See Figure 2 The logic processing module 3 includes a signal processing unit 31 and a response feedback unit 32; the signal processing unit 31 is connected to the response feedback unit 32.

[0064] The signal processing unit 31 is used to generate a vehicle state change signal based on the received parsing instructions and the pre-configured vehicle control code, determine the validity of the vehicle state change signal, and send the validity to the response feedback unit 32; if the validity is valid, the vehicle state change signal is sent to the vehicle state simulation module 2; the response feedback unit 32 is used to generate a response signal based on the received validity and send the response signal to the message transceiver module 1.

[0065] Validity refers to information describing whether a vehicle status change signal is valid. The response signal is a feedback signal based on validity; it can be a remote control success signal or a remote control failure signal.

[0066] Specifically, the signal processing unit 31 receives parsing instructions from the message transceiver module 1, analyzes, calculates, and processes the parsing instructions according to the pre-configured vehicle control code, and obtains a vehicle state change signal. Then, it determines whether the vehicle state change signal is valid, that is, whether the obtained vehicle state change signal can control the change of one or more components of the vehicle, thus determining the validity of the vehicle state change signal. The validity is then sent to the response feedback unit 32. If the validity is valid, it is determined that the vehicle state change signal can control the change of vehicle components, and therefore, the vehicle state change signal is sent to the vehicle state simulation module 2. Otherwise, the vehicle state change signal is determined to be invalid and no processing is required. The response feedback unit 32 can receive the validity and generate a response signal corresponding to the remote control signal according to the validity, and send the response signal to the message transceiver module 1, so that the execution status of the remote control signal can be fed back to the remote terminal through the message transceiver module 1.

[0067] See Figure 2 The message receiving module 1 includes a message receiving unit 11 and a message sending unit 12; the message receiving unit 11 is connected to the signal processing unit 31, and the response feedback unit 32 is connected to the message sending unit 12.

[0068] The message receiving unit 11 is used to receive remote control commands, parse the remote control commands according to the pre-configured protocol parsing file, obtain parsed commands, and send the parsed commands to the signal processing unit 31; the message sending unit 12 is used to receive the response signal sent by the response feedback unit 32, generate a control feedback signal according to the response signal and the pre-configured protocol parsing file, and send the control feedback signal to the remote terminal corresponding to the remote control command.

[0069] Specifically, the message receiving unit 11 receives remote control commands forwarded by a remote terminal from the vehicle-mounted terminal via a cloud platform. Then, using a pre-configured protocol parsing file corresponding to the model of the current simulated vehicle, it parses the remote control commands to obtain parsed commands, which are then sent to the signal processing unit 31. The message sending unit 12 receives the response signal sent by the response feedback unit 32, encodes the response signal using a pre-configured protocol parsing file corresponding to the model of the current simulated vehicle, generates a control feedback signal, and sends the control feedback signal to the remote terminal corresponding to the remote control command. This can be done sequentially via the vehicle-mounted terminal and the cloud platform.

[0070] See Figure 2 It also includes: vehicle configuration module 5; wherein, vehicle configuration module 5 is connected to message sending and receiving module 1, logic processing module 3 and vehicle status simulation module 2 respectively.

[0071] The vehicle configuration module 5 is used to determine the simulated vehicle model, and based on the simulated vehicle model, determine the protocol parsing file, vehicle control code, and vehicle application signals; send the protocol parsing file to the message transceiver module 1 to pre-configure the protocol parsing file in the message transceiver module 1; send the vehicle control code to the logic processing module 3 to pre-configure the vehicle control code in the logic processing module 3; and send the vehicle application signals to the vehicle state simulation module 2 to pre-configure the vehicle application signals in the vehicle state simulation module 2.

[0072] The simulated vehicle model can be a newly added configuration vehicle or a vehicle model corresponding to a previously simulated vehicle. The current simulated vehicle is the simulated vehicle to be tested and responded to; it can be understood as a virtual vehicle.

[0073] Specifically, the simulation vehicle model is determined based on user requirements, or the vehicle model corresponding to the currently simulated vehicle is identified as the simulation vehicle model. Based on the simulation vehicle model, the protocol parsing file, vehicle control code, and vehicle application signals corresponding to the simulation vehicle model can be determined from the existing configuration. Alternatively, the protocol parsing file, vehicle control code, and vehicle application signals can be reconstructed, or modified and reused based on the existing model's protocol parsing file, vehicle control code, and vehicle application signals. Therefore, the protocol parsing file can be sent to the message transceiver module 1 via the vehicle model configuration module 5 for configuration in the message transceiver module 1. The vehicle control code can be sent to the logic processing module 3 via the vehicle model configuration module 5 for configuration in the logic processing module 3. Finally, the vehicle application signals can be sent to the vehicle state simulation module 2 via the vehicle model configuration module 5 for configuration in the vehicle state simulation module 2.

[0074] See Figure 2 It also includes: algorithm module 6; wherein, algorithm module 6 is connected to message sending and receiving module 1.

[0075] Algorithm module 6 is used to receive remote control commands and the authentication information corresponding to the remote control commands, perform authentication processing on the authentication information according to the pre-configured anti-theft authentication algorithm, and generate authentication results. If the authentication result is successful, the remote control command is sent to message transceiver module 1. If the authentication result is unsuccessful, the remote control command is not sent to message transceiver module 1.

[0076] The authentication information is used to determine whether the remote terminal issuing the remote control command is a securely authenticated terminal, i.e., to determine whether the remote terminal posing the remote control command poses a security risk. The anti-theft authentication algorithm is used to authenticate the security of the remote terminal using the authentication information. The authentication result includes successful and failed authentication. The authentication result describes whether the remote terminal controls the vehicle. If the authentication result is successful, the vehicle can be controlled by the remote control command sent by the remote terminal; otherwise, the remote terminal will not respond.

[0077] Specifically, the algorithm module 6 receives remote control commands and corresponding authentication information. To ensure vehicle security and reduce the risk of theft, the pre-configured anti-theft authentication algorithm corresponding to the model of the current simulated vehicle in the algorithm module 6 is used to authenticate the information and obtain the authentication result. If the authentication result is successful, it means that the remote terminal corresponding to the remote control command is secure, that is, it can be understood as a terminal bound to the vehicle (the current simulated vehicle) and can be used to control the vehicle. Therefore, the remote control command is sent to the message transceiver module 1 for response and execution. If the authentication result is unsuccessful, it means that the remote terminal corresponding to the remote control command is risky, that is, it can be understood as a terminal not bound to the vehicle and cannot be used to control the vehicle. Therefore, the remote control command is no longer processed or responded to, and is not sent to the message transceiver module 1 to ensure vehicle security.

[0078] Building upon the above example, a vehicle simulation test setup can be constructed using VSPY (Vehicle Spy, a multi-functional automotive network testing and analysis software). VSPY is a high-performance bus tool that integrates bus data monitoring and acquisition, diagnostics, and ECU (Electronic Control Unit) simulation. This example proposes a vehicle simulation device for remote vehicle control using a TBOX and an APP (Application, software program). This device is based on VSPY and undergoes secondary development. It can simulate functions such as remote control and anti-theft authentication, and further, can be used to debug and test the TBOX and APP. This vehicle simulation test setup includes: a message transmission and reception module, a vehicle state simulation module, a control module, a logic processing module, and an algorithm module. It may also include a module for adding new vehicle models.

[0079] 1. Message sending and receiving module, used for simulation project setup and signal matrix (protocol parsing file) import.

[0080] (1) Platform Creation. In VSPY, by configuring platform parameters, fixed signal parameters can be mapped to the platform. These fixed signal parameters can be understood as the parameter types of remote control commands used during testing, such as CAN (Controller Area Network) signals, Ethernet signals, LIN (Local Interconnect Network) signals, and UART (Universal Asynchronous Receiver / Transmitter). This step allows configuration of the CAN signal to facilitate the subsequent loading of the CAN signal matrix.

[0081] For example, in VSPY, you can select "None" in the drop-down list on the right side of "Setup-Network Databases" and "Current Platform", then click "Press to create or select a Platform" to create a platform, and then select this platform.

[0082] (2) Loading the signal matrix. Taking the CAN signal matrix as an example, the CAN signal matrix contains the definitions of all CAN signals. After loading the CAN signal matrix, the received CAN signals (such as remote control commands) can be parsed, and the transmission of CAN signals (such as control feedback signals) can be controlled.

[0083] For example, click Setup-Network Databases, add the file (protocol parsing file) corresponding to the CAN signal matrix in DW CAN 1, that is, the dbc (Database CAN, CAN bus network communication file format) file of the CAN signal matrix corresponding to TBOX, and save the changes by using Save Platform Changes. You can view the CAN signal matrix through SpyNetwork-Messages Editor-Database. After importing the dbc file, you can see the CAN messages.

[0084] (3) Add a transmit / receive signal matrix. Taking the CAN signal matrix as an example, after loading the transmit / receive CAN signal matrix, it is no longer dependent on this CAN signal matrix, which facilitates the porting of the project and the adaptation to new platforms.

[0085] For example, you can select the corresponding message (protocol parsing file) according to business needs, right-click and select Copy To to add the corresponding message to the Receive and Transmit lists.

[0086] 2. Vehicle Status Simulation Module: This module simulates vehicle status using signals. For example, the status of windows and doors can be obtained via CAN signals. Currently, functions that do not have particularly high real-time requirements generally use CAN signals for interaction, such as the control of doors, windows, and air conditioning. Therefore, vehicle status can be simulated by processing CAN signals. Of course, if other signal types are used, the corresponding transceiver matrix can be added.

[0087] (1) Application signals (vehicle application signals) correspond to the current vehicle status. Application signals are similar to global variables. Their types can be customized, their values ​​can be saved, and they can be associated with controls to save the vehicle status. The vehicle status is not related to the specific vehicle model, but the configuration and selection of the type and number of application signals are related to the specific vehicle model.

[0088] For example, signals are created using Scripting and Automation-Application Signals, using various application signals to represent the current state of the vehicle (the state of various components of the simulated vehicle), such as the current state of the doors and windows, vehicle speed, tire pressure, etc.

[0089] (2) Application Signal Type Selection. Based on the range of vehicle state values, each application signal can be designed as an enumeration type or a floating-point type. For example, the door opening / closing state can be an enumeration type, while the vehicle speed can be a floating-point type. It is understandable that the currently defined vehicle state and its corresponding application signals are determined by the set of functions supported by the current vehicle (the currently simulated vehicle).

[0090] 3. Control Module. Controls can be used to simulate vehicle status, such as drop-down lists, text boxes, and some dashboard and knob controls.

[0091] (1) Add a graphical control.

[0092] For example, graphical controls can be created using Measurement-Graphical Panels. Depending on the specific situation, the controls may be drop-down lists, text boxes, knobs, dashboards, etc.

[0093] (2) Binding graphical controls to application signals. Bind graphical controls to previously created application signals, such as binding list boxes to enumeration signals, text boxes to floating-point signals, or binding other controls to corresponding signals.

[0094] 4. Logic Processing Module. Create a code project file, such as a C Code Interface project, which uses C language to process the logic.

[0095] The C language can basically simulate the remote control logic of all vehicles, and the C code of key algorithms can be ported. The CAN signals of the TBOX are processed logically and the vehicle status is managed based on the actual vehicle logic.

[0096] (1) Create a code project. For example, a C Code Interface project.

[0097] For example, after creating a project through Scripting and Automation-Setup-Add Project, a Visual Studio (development tool) project is automatically generated. You only need to code in SpyCCode.c (VS project), and other files can be automatically generated by VSPY. This code project will generate a DLL (Dynamic Link Library) library for the Vehicle Spy3 (Multi-functional Automotive Network Testing and Analysis Software 3) project to call.

[0098] (2) Add a message receiving listener event. You can add a message (remote control command) listener event to process the CAN signal after receiving the CAN signal sent by TBOX.

[0099] For example, the received message is added to the message event via Scripting and Automation - C Code Interface - Edit - MessageEvents. Then, switch to Event Handler Code and copy the newly generated event handling code into SpyCCode.c. In SpyCCode.c, edit the received message handling function to listen for received CAN messages and parse them for appropriate logic processing.

[0100] (3) Vehicle Status Management. The vehicle status is stored in the VSPY application signals, and can then be viewed through the control interface. Vehicle status management is handled within the C Code Interfac module. By adding a listener event for the received signals, changes in the application signals can be detected. Following the actual vehicle interaction design, vehicle status is managed within the C Code Interfac module. Status switching can be triggered by remote control operations or manually via the control.

[0101] (4) Interactive simulation. The simulated remote control process logic processes the received signals in the VS project, updates the vehicle status, and generates a response message (response signal - control feedback signal), which interacts with the TBOX via CAN message to achieve the effect of simulating the vehicle status.

[0102] For example, the APP (remote terminal) performs a control operation. The TBOX receives the instruction from the APP (remote control instruction), processes it, and then sends a control signal (vehicle status change signal) to the vehicle. The VSPY device receives the control signal (remote control instruction - parsed instruction) sent by the TBOX and processes it in the C Code Interfac module. Some vehicle states may change. After a state change, the VSPY device assembles the corresponding CAN signal response (response signal - control feedback signal) and sends it to the TBOX. The TBOX then sends it to the APP, completing one interactive simulation.

[0103] 5. Algorithm Module. The anti-theft authentication algorithm is used in the remote control of the vehicle and is a prerequisite for remote control operation. Since the C Code Interface supports C language coding, complex algorithms can be implemented based on the C Code Interface.

[0104] (1) Add the processing logic of the anti-theft authentication algorithm in SpyCCode.c to implement the anti-theft authentication algorithm.

[0105] (2) During the simulation, anti-theft authentication is performed on remote control in the same way as on the actual vehicle. The TBOX anti-theft authentication process can be tested and debugged by power-off, which is more convenient and efficient than on the bench or in the actual vehicle.

[0106] 6. Adding a new vehicle model module. CAN matrices (signal matrices) designed by the same OEM for different vehicle models typically have minor differences. In this case, adapting to new models requires less work and can be quickly added. When adding a new vehicle model, the signal matrix of the new vehicle is reloaded, and the differing and newly added transmit / receive signals (CAN signals) are copied and synchronized again to re-add the differing and newly added receive signal monitoring events.

[0107] (1) Synchronize transmit and receive signals. Synchronize the modified transmit and receive signals (CAN signals) in the newly added models.

[0108] For example, taking CAN signals as an example, the CAN signal matrix file of the new vehicle model is loaded, and the differences between the new CAN signal matrix and the original CAN signal matrix are compared. The content is deleted, the changed send and receive messages are sent, and the new receive messages are copied to Message Editor-Receive and the new send messages are copied to MessageEditor-Transmit.

[0109] (2) Logic processing modification and adaptation.

[0110] For example, since the logic processing can be added in the C Code Interface module, the newly added CAN signal can be adapted through the C Code Interface module. In C Code Interface-Edit-Message Events, the modified and newly added Receive Message are added back to the Selected Message list. The newly added message receiving processing statement is copied from Event Handler Code to SpyCCode.c, and the processing logic is added according to the remote control design flow.

[0111] (3) Vehicle status modification. The application signals correspond to the vehicle status, and the application signals and controls can be modified synchronously according to the addition or removal of functions of the new vehicle (such as whether there is a sunroof, whether there are fuel consumption related parameters, etc.).

[0112] (4) Remote control test. Build an APP terminal (remote terminal) - cloud platform - TBOX (vehicle terminal) - VSPY simulation equipment (vehicle simulation test device) link to test the remote control function. By monitoring the vehicle status and performing functional tests on the APP terminal, it can be determined whether the signals (CAN signals) transmitted and received by the vehicle simulation are normal. If the function is normal, it means that the addition of the new model is successful.

[0113] The above methods enable whole-vehicle simulation, eliminating the dependence of development, debugging, and testing processes on other modules and hardware, thus improving product development efficiency. Furthermore, by simulating the whole vehicle, ideal and abnormal environments can be created, parameters can be set as needed, more abnormal situations can be covered, and the robustness of software modules can be ensured. In addition, when simulating the whole vehicle, there is a visual interface that is easy to operate, and the logic code can be developed based on the C language, enabling the simulation of complex algorithms, such as anti-theft authentication algorithms.

[0114] The vehicle simulation testing device provided in this application receives remote control commands through a message transceiver module, parses the remote control commands according to a pre-configured protocol parsing file to obtain parsed commands, and sends the parsed commands to a logic processing module to simulate parsing the remote control commands. Then, the logic processing module generates vehicle state change signals based on the received parsed commands and pre-configured vehicle control code, and sends these signals to a vehicle state simulation module for testing and debugging of the software code. Furthermore, the vehicle state simulation module processes pre-configured vehicle application signals based on the received vehicle state change signals to update the vehicle application signals, simulating changes in the vehicle's state. This improves the robustness of vehicle simulation testing and the development efficiency of various vehicle functions. Compared to existing technologies, this application avoids using vehicle components and the entire vehicle for function development and debugging, effectively utilizing simulation to improve the efficiency and effectiveness of development and debugging.

[0115] Figure 3 This is a schematic diagram of the structure of a vehicle simulation testing system provided in an embodiment of this application. See also... Figure 3 The vehicle simulation system includes: a vehicle simulation testing device 100, an on-board terminal 200, a cloud platform 300, and a remote terminal 400. The remote terminal 400 is communicatively connected to the cloud platform 300, the cloud platform 300 is communicatively connected to the on-board terminal 200, and the on-board terminal 200 is connected to the vehicle simulation testing device 100.

[0116] This system can simulate functions such as remote control and anti-theft authentication. Furthermore, it can be used to debug and test TBOX, APP, and other applications.

[0117] The vehicle simulation testing device 100 can be configured in hardware as follows: a VSPY device and a PC (Personal Computer) are connected, with the PC connected to the VSPY device. The CAN bus of the TBOX is connected to the CAN bus of the VSPY device to simulate the CAN channel connection between the TBOX and the vehicle. For example, the CAN1H of the VSPY device is connected to the CAN H of the TBOX, and the CAN1L of the VSPY device is connected to the CAN L of the TBOX. This can be achieved by creating a VSPY project. Specifically, using VSPY, open the Vehicle Spy 3 software and save the VSPY project via File-Save as. The signal baud rate can also be configured. For example, common automotive CAN bus baud rates include 500K, 250K, 125K, and 100K. The baud rate should be configured to match the baud rate of the TBOX CAN bus. For instance, this can be done via Setup-Hardware, where the baud rate can be configured to match the baud rate of the TBOX CAN bus.

[0118] The remote terminal 400 is used to send remote control commands sequentially to the vehicle simulation test device 100 via the cloud platform 300 and the vehicle terminal 200; the vehicle simulation test device 100 includes the vehicle simulation test device 100 provided in any embodiment of this application.

[0119] This application provides a vehicle simulation testing system that simulates the logic of remote vehicle control. Remote control commands are sent sequentially from a remote terminal to a cloud platform and an onboard terminal, and then the vehicle simulation testing device simulates and executes the remote control commands. The execution effect is simulated using signals or visualization, and feedback signals can be controlled through the aforementioned link. This system effectively tests the development of vehicle functions by simulating remote control logic, significantly improving the efficiency of developing and debugging remote vehicle control functions.

[0120] Figure 4 This is a flowchart of a vehicle simulation testing method provided in an embodiment of this application. See also... Figure 4 This whole-vehicle simulation testing method is applied to a whole-vehicle simulation testing device. The method specifically includes:

[0121] S410: Receives remote control commands, parses the remote control commands according to the pre-configured protocol parsing file, and obtains parsed commands.

[0122] S420 generates vehicle status change signals based on the parsing instructions and pre-configured vehicle control codes.

[0123] The S430 processes pre-configured vehicle application signals based on vehicle status change signals to update the vehicle application signals.

[0124] Specifically, the message transceiver module receives remote control commands, parses them according to a pre-configured protocol parsing file to obtain parsed commands, and sends these parsed commands to the logic processing module. The logic processing module then generates vehicle status change signals based on the received parsed commands and pre-configured vehicle control codes, and sends these signals to the vehicle status simulation module. The vehicle status simulation module then processes the pre-configured vehicle application signals based on the received vehicle status change signals to update the vehicle application signals.

[0125] Based on the above example, optionally, after processing the pre-configured vehicle application signals according to the vehicle state change signals to update the vehicle application signals, the method further includes:

[0126] Based on the updated vehicle application signal, at least one target control corresponding to the updated vehicle application signal is determined from the graphical controls, and the control state of the target control is updated.

[0127] Specifically, the vehicle simulation testing device also includes: a control module; wherein the control module includes graphical controls corresponding to each vehicle application signal; the control module is connected to the vehicle state simulation module;

[0128] The vehicle status simulation module sends the updated vehicle application signal to the control module; the control module determines at least one target control corresponding to the updated vehicle application signal from the graphical controls based on the updated vehicle application signal, and updates the control state of the target control.

[0129] Optionally, based on the above example, the method may also include:

[0130] For each graphical control, upon receiving a local state change operation, the graphical control is treated as an actively changing control, and the control state of the actively changing control is updated according to the local state change operation.

[0131] Update the vehicle application signals corresponding to each active change control based on the control state of each active change control.

[0132] Based on the received control states of each actively changing control and the pre-configured protocol parsing file, a local control signal is generated and sent to the remote terminal corresponding to the remote control command.

[0133] Specifically, the control module is connected to the vehicle state simulation module and the message transceiver module respectively. Through the control module, for each graphical control, upon receiving a local state change operation, the graphical control is treated as an active change control, and its control state is updated according to the local state change operation. The updated control states of each active change control are sent to the vehicle state simulation signal and the message transceiver module respectively. Through the vehicle state simulation module, the vehicle application signal corresponding to each active change control is updated according to the received control states of each active change control. Through the message transceiver module, a local control signal is generated according to the received control states of each active change control and a pre-configured protocol parsing file, and the local control signal is sent to the remote terminal corresponding to the remote control command.

[0134] Based on the above example, optionally, receiving the remote control command, parsing the remote control command according to a pre-configured protocol parsing file to obtain a parsed command; and generating a vehicle state change signal according to the parsed command and pre-configured vehicle control code, including:

[0135] Receive remote control commands, parse the remote control commands according to a pre-configured protocol parsing file, and obtain parsed commands;

[0136] Based on the parsing instructions and the pre-configured vehicle control code, a vehicle state change signal is generated, and the validity of the vehicle state change signal is determined.

[0137] Based on the validity, a response signal is generated. Based on the response signal and the pre-configured protocol parsing file, a control feedback signal is generated and sent to the remote terminal corresponding to the remote control command.

[0138] If the validity is valid, a vehicle state change signal is generated according to the parsing instruction and the pre-configured vehicle control code.

[0139] Specifically, the logic processing module includes a signal processing unit and a response feedback unit; the signal processing unit is connected to the response feedback unit.

[0140] The signal processing unit generates a vehicle state change signal based on the received parsing instructions and pre-configured vehicle control codes, determines the validity of the vehicle state change signal, and sends the validity to the response feedback unit; if the validity is valid, the vehicle state change signal is sent to the vehicle state simulation module; the response feedback unit generates a response signal based on the received validity and sends the response signal to the message transceiver module.

[0141] The message transceiver module includes a message receiving unit and a message sending unit; the message receiving unit is connected to the signal processing unit, and the response feedback unit is connected to the message sending unit.

[0142] The message receiving unit receives remote control commands, parses the remote control commands according to a pre-configured protocol parsing file to obtain parsed commands, and sends the parsed commands to the signal processing unit. The message sending unit receives response signals sent by the response feedback unit, generates control feedback signals according to the response signals and the pre-configured protocol parsing file, and sends the control feedback signals to the remote terminal corresponding to the remote control commands.

[0143] Based on the above example, optionally, before parsing the remote control command according to the pre-configured protocol parsing file to obtain the parsed command, the method further includes:

[0144] Determine the model to be simulated;

[0145] Based on the simulated vehicle model, determine the protocol parsing file, vehicle control code, and vehicle application signals corresponding to the simulated vehicle model, so as to pre-configure the protocol parsing file, the vehicle control code, and the vehicle application signals.

[0146] Specifically, the vehicle simulation testing device also includes: a vehicle model configuration module; wherein the vehicle model configuration module is connected to the message sending and receiving module, the logic processing module, and the vehicle state simulation module, respectively;

[0147] The vehicle model configuration module determines the simulated vehicle model, and based on the simulated vehicle model, determines the corresponding protocol parsing file, vehicle control code, and vehicle application signals. The protocol parsing file is sent to the message transceiver module for pre-configuration within the message transceiver module. The vehicle control code is sent to the logic processing module for pre-configuration within the logic processing module. The vehicle application signals are sent to the vehicle state simulation module for pre-configuration within the vehicle state simulation module.

[0148] Based on the above example, optionally, the step of receiving the remote control command and parsing the remote control command according to a pre-configured protocol parsing file to obtain the parsed command includes:

[0149] Receive remote control commands and the authentication information corresponding to the remote control commands;

[0150] The authentication information is processed according to the pre-configured anti-theft authentication algorithm to generate an authentication result;

[0151] If the authentication result is successful, the remote control command is parsed according to the pre-configured protocol parsing file to obtain the parsed command.

[0152] Specifically, the vehicle simulation testing device also includes: an algorithm module; wherein the algorithm module is connected to the message transceiver module;

[0153] The algorithm module receives the remote control command and the corresponding authentication information. Based on a pre-configured anti-theft authentication algorithm, it processes the authentication information to generate an authentication result. If the authentication result is successful, the remote control command is sent to the message transceiver module. If the authentication result is unsuccessful, the remote control command is not sent to the message transceiver module, and an authentication result is generated. The authentication result, whether successful or unsuccessful, can be fed back to the vehicle terminal or the remote terminal corresponding to the remote control command to remind the user to perform security authentication and improve vehicle security.

[0154] The vehicle simulation testing method provided in this application can be used with any vehicle simulation testing device of this application, and can have the same technical effect as the vehicle simulation testing device in the above embodiments.

[0155] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. For example... Figure 5 As shown, the electronic device 500 includes one or more processors 501 and memory 502.

[0156] The processor 501 may be a central processing unit (CPU) or other form of processing unit with data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 500 to perform desired functions.

[0157] The memory 502 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 501 may execute the program instructions to implement the vehicle simulation test method of any embodiment of this application described above and / or other desired functions. Various contents such as initial external parameters and thresholds may also be stored in the computer-readable storage medium.

[0158] In one example, the electronic device 500 may further include an input device 503 and an output device 504, these components being interconnected via a bus system and / or other forms of connection mechanisms (not shown). The input device 503 may include, for example, a keyboard, a mouse, etc. The output device 504 may output various information to the outside, including warning messages, braking force, etc. The output device 504 may include, for example, a display, a speaker, a printer, and a communication network and its connected remote output devices, etc.

[0159] Of course, for the sake of simplicity, Figure 5 Only some of the components of the electronic device 500 relevant to this application are shown in this illustration; components such as buses, input / output interfaces, etc., are omitted. In addition, the electronic device 500 may include any other suitable components depending on the specific application.

[0160] In addition to the methods and devices described above, embodiments of this application may also be computer program products, which include computer program instructions that, when executed by a processor, cause the processor to perform the steps of the vehicle simulation test method provided in any embodiment of this application.

[0161] The computer program product can be written in any combination of one or more programming languages ​​to perform the operations of the embodiments of this application. The programming languages ​​include object-oriented programming languages ​​such as Java and C++, as well as conventional procedural programming languages ​​such as C or similar languages. The program code can be executed entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0162] Furthermore, embodiments of this application may also be computer-readable storage media storing computer program instructions thereon, which, when executed by a processor, cause the processor to perform the steps of the whole vehicle simulation test method provided in any embodiment of this application.

[0163] The computer-readable storage medium may be any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may, for example, include, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: electrical connections having one or more wires, portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0164] It should be noted that the terminology used in this application is for the purpose of describing specific embodiments only and is not intended to limit the scope of this application. As shown in the specification and claims of this application, unless the context clearly indicates otherwise, words such as "a," "an," "an," and / or "the" do not specifically refer to the singular and may also include the plural. The terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, or apparatus. Without further limitations, an element defined by the phrase "comprising an..." does not exclude the presence of other identical elements in the process, method, or apparatus that includes said element.

[0165] It should also be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, and are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation on this application. Unless otherwise expressly specified and limited, the terms "installed," "connected," "linked," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication between two elements. For those skilled in the art, the specific meaning of the above terms in this application can be understood according to the specific circumstances.

[0166] This document uses specific examples to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. The above descriptions are only preferred embodiments of this application. It should be noted that due to the limitations of written expression, while there are objectively infinite specific structures, those skilled in the art can make several improvements, modifications, or changes without departing from the principles of this invention, and can also combine the above technical features in an appropriate manner. These improvements, modifications, changes, or combinations, or the direct application of the inventive concept and technical solution to other situations without modification, should all be considered within the scope of protection of this application.

Claims

1. A vehicle simulation testing device, characterized in that, include: The system comprises a message sending and receiving module, a vehicle status simulation module, and a logic processing module; wherein the message sending and receiving module is connected to the logic processing module, and the logic processing module is connected to the vehicle status simulation module. The message transceiver module is used to receive remote control commands, parse the remote control commands according to a pre-configured protocol parsing file to obtain parsing commands, and send the parsing commands to the logic processing module; The logic processing module is used to generate a vehicle state change signal based on the received parsing instructions and the pre-configured vehicle control code, and send the vehicle state change signal to the vehicle state simulation module. The vehicle state simulation module is used to process the pre-configured vehicle application signals according to the received vehicle state change signals, so as to update the vehicle application signals. The logic processing module includes a signal processing unit and a response feedback unit; the signal processing unit is connected to the response feedback unit; wherein... The signal processing unit is configured to generate a vehicle state change signal based on the received parsing instructions and pre-configured vehicle control code, determine the validity of the vehicle state change signal, and send the validity to the response feedback unit; if the validity is valid, the vehicle state change signal is sent to the vehicle state simulation module. The response feedback unit is used to generate a response signal based on the validity of the received data, and send the response signal to the message transceiver module.

2. The apparatus according to claim 1, characterized in that, Also includes: The control module includes graphical controls corresponding to each vehicle application signal; the control module is connected to the vehicle status simulation module. The vehicle status simulation module is used to send updated vehicle application signals to the control module; The control module is used to determine at least one target control corresponding to the updated vehicle application signal from among the graphical controls based on the updated vehicle application signal, and update the control state of the target control.

3. The apparatus according to claim 2, characterized in that, The control module is connected to the vehicle state simulation module and the message transceiver module, respectively; wherein... The control module is further configured to, for each graphical control, upon receiving a local state change operation, treat the graphical control as an actively changing control, and update the control state of the actively changing control according to the local state change operation; and send the updated control state of each actively changing control to the vehicle state simulation module and the message transceiver module respectively. The vehicle state simulation module is also used to update the vehicle application signal corresponding to each of the actively changing controls based on the control state of each of the received actively changing controls. The message transceiver module is further configured to generate a local control signal based on the received control states of each of the actively changing controls and a pre-configured protocol parsing file, and send the local control signal to the remote terminal corresponding to the remote control command.

4. The apparatus according to claim 1, characterized in that, The message transceiver module includes a message receiving unit and a message sending unit; the message receiving unit is connected to the signal processing unit, and the response feedback unit is connected to the message sending unit; wherein... The message receiving unit is used to receive remote control commands, parse the remote control commands according to a pre-configured protocol parsing file to obtain parsing commands, and send the parsing commands to the signal processing unit. The message sending unit is used to receive the response signal sent by the response feedback unit, generate a control feedback signal according to the response signal and a pre-configured protocol parsing file, and send the control feedback signal to the remote terminal corresponding to the remote control command.

5. The apparatus according to claim 1, characterized in that, Also includes: A vehicle model configuration module; wherein the vehicle model configuration module is connected to the message sending and receiving module, the logic processing module, and the vehicle state simulation module, respectively; The vehicle configuration module is used to determine the simulated vehicle model, and based on the simulated vehicle model, determine the corresponding protocol parsing file, vehicle control code, and vehicle application signals; send the protocol parsing file to the message transceiver module to pre-configure the protocol parsing file in the message transceiver module; send the vehicle control code to the logic processing module to pre-configure the vehicle control code in the logic processing module; and send the vehicle application signals to the vehicle state simulation module to pre-configure the vehicle application signals in the vehicle state simulation module.

6. The apparatus according to claim 1, characterized in that, Also includes: Algorithm module; wherein, the algorithm module is connected to the message sending and receiving module; The algorithm module is used to receive the remote control command and the authentication information corresponding to the remote control command, perform authentication processing on the authentication information according to the pre-configured anti-theft authentication algorithm, and generate an authentication result; if the authentication result is successful, the remote control command is sent to the message transceiver module; if the authentication result is unsuccessful, the remote control command is not sent to the message transceiver module.

7. A whole vehicle simulation test method, characterized in that, The device is applied to the vehicle simulation testing apparatus as described in any one of claims 1-6, comprising: Receive remote control commands, parse the remote control commands according to a pre-configured protocol parsing file, and obtain parsed commands; Based on the parsing instructions and the pre-configured vehicle control code, a vehicle state change signal is generated; Based on the vehicle status change signal, the pre-configured vehicle application signal is processed to update the vehicle application signal; The step of generating vehicle state change signals based on the parsing instructions and pre-configured vehicle control codes includes: Based on the parsing instructions and the pre-configured vehicle control code, a vehicle state change signal is generated, and the validity of the vehicle state change signal is determined. Based on the validity, a response signal is generated. Based on the response signal and the pre-configured protocol parsing file, a control feedback signal is generated and sent to the remote terminal corresponding to the remote control command. If the validity is valid, a vehicle state change signal is generated according to the parsing instruction and the pre-configured vehicle control code.

8. The method according to claim 7, characterized in that, After processing the pre-configured vehicle application signal according to the vehicle state change signal to update the vehicle application signal, the method further includes: Based on the updated vehicle application signal, at least one target control corresponding to the updated vehicle application signal is determined from each graphical control, and the control state of the target control is updated.

9. The method according to claim 7, characterized in that, The process of receiving remote control commands involves parsing the commands according to a pre-configured protocol parsing file to obtain parsed commands, including: Receive remote control commands and the authentication information corresponding to the remote control commands; The authentication information is processed according to the pre-configured anti-theft authentication algorithm to generate an authentication result; If the authentication result is successful, the remote control command is parsed according to the pre-configured protocol parsing file to obtain the parsed command.

10. An electronic device, characterized in that, The electronic device includes: Processor and memory; The processor executes the steps of the vehicle simulation test method as described in any one of claims 7 to 9 by calling the program or instructions stored in the memory.

Citation Information

Patent Citations

  • Vehicle remote instruction debugging system and method

    CN118101728A