Vehicle testing method, device and equipment based on T-BOX remote control and storage medium

By constructing a virtual vehicle testing environment and utilizing TBOX nodes and ECU simulation nodes, high-precision simulation and consistency verification of TBOX remote control functions were achieved, solving the problems of low testing efficiency and complex configuration in existing technologies, and improving testing automation and reliability.

CN121792584APending Publication Date: 2026-04-03LISHENG AUTOMOBILE TECHNOLOGY (GUANGZHOU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-31
Publication Date
2026-04-03

AI Technical Summary

Technical Problem

The current verification of TBOX remote control functions relies on real vehicle testing, which is inefficient, has poor repeatability, and cannot achieve high-precision simulation and consistency verification. Furthermore, the differences in communication protocols and signal mapping between different vehicle models make the test configuration complex and prone to errors.

Method used

By acquiring the test configuration parameters of the vehicle under test, generating the corresponding test script, constructing a virtual vehicle test environment, including TBOX nodes and ECU simulation nodes, sending remote control commands, collecting virtual communication data, determining the response accuracy of TBOX nodes, and achieving high-precision simulation and consistency verification.

Benefits of technology

Remote control logic testing can be completed without a physical vehicle, improving the automation and reusability of testing, generating structured test reports, and supporting performance evaluation and issue tracing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121792584A_ABST
    Figure CN121792584A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle test method, device and equipment based on T-BOX remote control and a storage medium, and the method comprises the steps: obtaining test configuration parameters of a tested vehicle, and generating a test script corresponding to a vehicle type based on the parameters; loading a network configuration file specified by the test script to construct a virtual vehicle test environment; according to the test script, a remote control instruction is sent to the TBOX node through the TSP interface, so that the TBOX node generates a corresponding control message and distributes the control message to the target ECU simulation node; and collecting virtual communication data between the TBOX node and the ECU simulation node in the virtual environment, and determining the response accuracy of the TBOX node based on the data. According to the invention, high-precision simulation and consistency verification of a TBOX remote control function are realized through a virtualized vehicle test environment and an automatic script driving mechanism, and remote control logic test can be completed without depending on a real vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicle testing technology, and in particular to a vehicle testing method, apparatus, equipment, and storage medium based on T-BOX remote control. Background Technology

[0002] With the development of intelligent connected vehicle technology, remote control of vehicles has become one of the core applications in Telematics Boxes (TBOXes). TBOXes communicate with Remote Service Platforms (TSPs) to enable various control functions such as remote vehicle start, air conditioning control, and door lock management. However, existing TBOX functional verification mainly relies on real-vehicle testing or semi-automatic testing methods driven by manual scripts. The testing process is limited by vehicle availability, environmental stability, and human intervention, resulting in low testing efficiency, poor repeatability, and insufficient reliability of results.

[0003] Furthermore, communication protocols, signal mappings, and control logic differ across vehicle models. Traditional testing processes require script adaptation and signal configuration for each model, leading to complex and error-prone test configurations. Existing testing platforms have low levels of virtualization and automation, making it impossible to perform fine-grained simulation and consistency verification of TBOX communication responses. They also struggle to automatically collect and analyze communication messages, failing to meet the needs of rapid verification and batch testing for next-generation intelligent connected vehicles.

[0004] In summary, the shortcomings of the existing technology urgently need to be addressed. Summary of the Invention

[0005] This invention provides a vehicle testing method, apparatus, equipment, and storage medium based on T-BOX remote control, which addresses the deficiencies in the prior art and enables high-precision simulation and consistency verification of the T-BOX remote control function, allowing remote control logic testing to be completed without relying on a real vehicle.

[0006] This invention provides a vehicle testing method based on T-BOX remote control, comprising: The test configuration parameters of the vehicle under test are obtained, and a test script corresponding to the vehicle model under test is generated based on the test configuration parameters; the test script is used to send remote control commands to the TBOX through the TSP interface; Load the network configuration file specified by the test script to build a virtual vehicle test environment. The virtual vehicle test environment includes a TBOX node and an ECU simulation node. The TBOX node is used to receive remote control commands and send control messages. The ECU simulation node is used to simulate the condition of the vehicle under test to verify the remote control logic of the TBOX node and its response to control messages. According to the test script, a remote control command is sent to the TBOX node through the TSP interface, so that the TBOX node generates the corresponding control message and distributes it to the target ECU simulation node. Collect virtual communication data between the TBOX node and the ECU simulation node in the virtual vehicle test environment; The accuracy of the TBOX node's response is determined based on the virtual communication data.

[0007] According to the present invention, a vehicle testing method based on T-BOX remote control is provided, wherein the test configuration parameters include a list of remote control functions, vehicle communication protocol type, signal mapping relationship, control parameter set, and vehicle model identification information.

[0008] According to the vehicle testing method based on T-BOX remote control provided by the present invention, the step of loading the network configuration file specified by the test script to construct a virtual vehicle testing environment specifically includes: Parse the node definition information and communication parameters in the network configuration file; Instantiate TBOX nodes and multiple ECU simulation nodes based on node definition information; Configure the bus protocol, signal channel identifier, and transmission rate according to the communication parameters; Establish a logical connection between the TBOX node and the ECU simulation node to form a virtual vehicle testing environment.

[0009] According to the vehicle testing method based on T-BOX remote control provided by the present invention, the step of sending remote control commands to the TBOX node through the TSP interface according to the test script, so that the TBOX node generates corresponding control messages and distributes them to the target ECU simulation node, specifically includes: Parse the remote control instruction set in the test script to determine the instruction type, target module identifier, and control parameters; Based on the instruction type and target module identifier, a communication session with the TBOX node is established through the TSP interface protocol layer; The control parameters are encapsulated into a remote control request message conforming to the target communication protocol format; After receiving the request message, the TBOX node calls the internal message generation logic to generate the corresponding control message; Based on the communication topology defined in the network configuration file, a target ECU simulation node is selected, and control messages are distributed to the target ECU simulation node. The target ECU simulation node performs a response simulation based on the message content and returns feedback data.

[0010] According to the vehicle testing method based on T-BOX remote control provided by the present invention, the step of collecting virtual communication data between the TBOX node and the ECU simulation node in the virtual vehicle testing environment specifically includes: A communication monitoring module is deployed in a virtual vehicle testing environment. The communication monitoring module is used to monitor and collect control messages sent by the TBOX node and response messages returned by the ECU simulation node in real time based on preset message filtering rules. The collected virtual communication data is sorted according to timestamps, and a communication log file is generated. The control messages and response messages in the communication log file are associated to form a message correspondence table for accuracy analysis.

[0011] According to a vehicle testing method based on T-BOX remote control provided by the present invention, the step of determining the response accuracy of the TBOX node based on the virtual communication data specifically includes: The collected virtual communication data is parsed to extract the instruction identifier, timestamp, and execution result parameters from the control and response messages; Establish a correspondence between control messages and response messages based on command identifiers; Calculate the time interval between the sending of the control message and the return of the corresponding response message, and compare it with the preset response time limit threshold; When the time interval of the response message is within a preset threshold range and the execution result parameters are consistent with the expected result, the response of the TBOX node is determined to be accurate. If the response times out or the execution result is inconsistent, the response of the TBOX node is determined to be abnormal.

[0012] According to the vehicle testing method based on T-BOX remote control provided by the present invention, after the step of determining the response accuracy of the TBOX node based on the virtual communication data, the method specifically includes: A structured test report is generated based on the response accuracy of the TBOX node.

[0013] According to the present invention, a vehicle testing method based on T-BOX remote control is provided. The present invention also provides a vehicle testing device based on T-BOX remote control, comprising: The parameter acquisition module is used to acquire the test configuration parameters of the vehicle under test, and generate a test script corresponding to the vehicle model under test based on the test configuration parameters; the test script is used to send remote control commands to the TBOX through the TSP interface; The environment building module is used to load the network configuration file specified by the test script to build a virtual vehicle test environment. The virtual vehicle test environment includes a TBOX node and an ECU simulation node. The TBOX node is used to receive remote control commands and send control messages. The ECU simulation node is used to simulate the condition of the vehicle under test to verify the remote control logic of the TBOX node and its response to control messages. The instruction sending module is used to send remote control instructions to the TBOX node through the TSP interface according to the test script, so that the TBOX node generates the corresponding control message and distributes it to the target ECU simulation node; The data acquisition module is used to collect virtual communication data between the TBOX node and the ECU simulation node in the virtual vehicle testing environment; The data verification module is used to determine the accuracy of the TBOX node's response based on the virtual communication data.

[0014] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the vehicle testing method based on T-BOX remote control as described above.

[0015] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the vehicle testing method based on T-BOX remote control as described above.

[0016] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the vehicle testing method based on T-BOX remote control as described above.

[0017] This invention provides a vehicle testing method, apparatus, equipment, and storage medium based on T-BOX remote control. It acquires the test configuration parameters of the vehicle under test and generates a test script corresponding to the vehicle model based on these parameters. A network configuration file specified by the test script is loaded to construct a virtual vehicle test environment, which includes a TBOX node and an ECU simulation node. According to the test script, remote control commands are sent to the TBOX node via a TSP interface, causing the TBOX node to generate corresponding control messages and distribute them to the target ECU simulation node. Virtual communication data between the TBOX node and the ECU simulation node in the virtual environment is collected, and the response accuracy of the TBOX node is determined based on this data. This invention achieves high-precision simulation and consistency verification of TBOX remote control functions through a virtualized vehicle test environment and an automated script-driven mechanism, enabling remote control logic testing without relying on a real vehicle. This method not only improves the automation and reusability of the testing process but also automatically generates structured test reports, including remote control command execution sequences, communication interaction records, and difference analysis results, providing technical support for performance evaluation and problem tracing of vehicle remote control functions. Attached Figure Description

[0018] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0019] Figure 1 This is a flowchart illustrating the vehicle testing method based on T-BOX remote control provided by the present invention. Figure 2 This is a schematic diagram of the vehicle testing device based on T-BOX remote control provided by the present invention; Figure 3 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation

[0020] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0021] To address the problems in existing technologies, this invention proposes a vehicle testing method based on T-BOX remote control, enabling high-precision simulation and consistency verification of the T-BOX remote control function, and allowing for remote control logic testing without relying on a real vehicle. The following describes this vehicle testing method based on T-BOX remote control. Figure 1 As shown, including but not limited to the following steps: Step 110: Obtain the test configuration parameters of the vehicle under test, and generate a test script corresponding to the vehicle model under test based on the test configuration parameters; the test script is used to send remote control commands to the TBOX through the TSP interface.

[0022] In step 110, the testing system first retrieves the test configuration parameters of the vehicle model under test from the vehicle configuration database. These parameters include a list of remote control functions, vehicle communication protocol types, signal mapping relationships, a set of control parameters, and vehicle model identification information. Based on these parameters, the system automatically parses the remote control logic and protocol format of different vehicle models and generates corresponding test script files using a script template engine. These test scripts define the remote control command sequence, parameter loading rules, and TSP interface interaction specifications, which are used for subsequent automatic execution of T-BOX remote command issuance.

[0023] Step 120: Load the network configuration file specified by the test script to build a virtual vehicle test environment. The virtual vehicle test environment includes a TBOX node and an ECU simulation node. The TBOX node is used to receive remote control commands and send control messages. The ECU simulation node is used to simulate the condition of the vehicle under test to verify the remote control logic of the TBOX node and its response to control messages.

[0024] In step 120, the system parses the network configuration file referenced in the test script, extracting node definition information and communication parameters. Based on this information, the test system instantiates a TBOX node and multiple ECU simulation nodes, corresponding to vehicle control units (such as the body control module, air conditioning control module, engine control module, etc.). Subsequently, the system configures the bus protocol (such as CAN, LIN, or Ethernet), signal channel identifier, and transmission rate according to the communication parameters, and establishes logical connections between the TBOX node and each ECU simulation node, thereby forming an executable virtual vehicle test environment.

[0025] Step 130: According to the test script, send a remote control command to the TBOX node through the TSP interface, so that the TBOX node generates the corresponding control message and distributes it to the target ECU simulation node.

[0026] In step 130, the test system parses the remote control instruction set in the test script, extracting the type, target module identifier, and control parameters of each instruction. Based on the instruction type, the system establishes a communication channel with the TBOX node through the TSP interface protocol layer, and encapsulates the control parameters into a remote control request message conforming to the communication protocol format (such as JSON or binary CAN frames). Upon receiving the request, the TBOX node generates the corresponding control message according to its internal message generation logic and distributes the control message to the target ECU simulation node according to the communication topology defined in the network configuration file. After receiving the message, the target ECU simulation node executes the response simulation logic and generates feedback data to return to the TBOX node, thus achieving closed-loop control simulation.

[0027] Step 140: Collect virtual communication data between the TBOX node and the ECU simulation node in the virtual vehicle test environment.

[0028] In step 140, the test system deploys a communication monitoring module in the virtual vehicle test environment. This module, based on preset message filtering rules, monitors and collects control messages sent by the TBOX node and response messages returned by the ECU simulation node in real time. All collected communication data is timestamped and stored as a communication log file. The system further correlates the control and response messages in the communication log to form a message correspondence table for consistency analysis, providing data support for subsequent response accuracy determination.

[0029] Step 150: Determine the response accuracy of the TBOX node based on the virtual communication data.

[0030] In step 150, the system parses the collected virtual communication data, extracting the instruction identifier, execution result parameters, and timestamp information from the control and response messages. The system establishes a one-to-one correspondence between the control and response messages based on the instruction identifier and calculates the time interval between them. When the response time is within a preset response time limit threshold and the execution result parameters match the expected result, the system determines that the TBOX node's response is accurate; if the response times out or the execution result is inconsistent, it is marked as an abnormal response.

[0031] After the test is completed, the system automatically generates a structured test report, which includes the remote control command execution sequence, communication interaction records, response results and difference analysis information, which can be used for TBOX remote control performance evaluation and problem tracing.

[0032] As a further optional embodiment, the test configuration parameters include a list of remote control functions, vehicle communication protocol type, signal mapping relationship, control parameter set, and vehicle model identification information.

[0033] In this embodiment, the test configuration parameters may include a remote control function list, vehicle communication protocol type, signal mapping relationship, control parameter set, and vehicle model identification information. Specifically, the remote control function list describes the various remote operation functions supported by the vehicle under test; the vehicle communication protocol type specifies the communication protocol between the TBOX, the backend system, and each ECU node; the signal mapping relationship defines the mapping between control commands and corresponding vehicle signals; the control parameter set records the parameter values ​​required for each remote control command; and the vehicle model identification information distinguishes different vehicle models to ensure consistency and compatibility of the generated test script with the corresponding vehicle model.

[0034] As a further optional embodiment, the step of loading the network configuration file specified by the test script to build the virtual vehicle test environment specifically includes: Parse the node definition information and communication parameters in the network configuration file; Instantiate TBOX nodes and multiple ECU simulation nodes based on node definition information; Configure the bus protocol, signal channel identifier, and transmission rate according to the communication parameters; Establish a logical connection between the TBOX node and the ECU simulation node to form a virtual vehicle testing environment.

[0035] In this embodiment, the operation of loading the network configuration file specified by the test script to construct the virtual vehicle test environment first parses the node definition information and communication parameters in the network configuration file. The node definition information includes the unique identifier of the TBOX node and each ECU module, the node type, functional description, and the corresponding communication port; the communication parameters include bus type, signal channel number, transmission rate, and message format. After parsing, the system instantiates the TBOX node and multiple ECU simulation nodes in the virtual environment based on the node definition information, enabling each node to independently process input commands and generate response data in the virtual network. Subsequently, the system configures the bus protocol, signal channel identifier, and transmission rate according to the communication parameters to ensure that the message transmission between nodes conforms to the real communication characteristics of the target vehicle. Simultaneously, the system establishes a logical connection relationship between the TBOX node and the ECU simulation nodes to form a complete communication topology, enabling the TBOX node to correctly distribute the control messages generated by the remote control commands to each target ECU simulation node, and ensuring that the ECU simulation nodes can execute response simulations according to the set logic. This achieves closed-loop verification and multi-scenario adaptation testing of the remote control function in the virtual vehicle test environment. This implementation method enables high-coverage, low-risk remote control function testing without the need for actual vehicles, and allows for flexible adjustment of node configurations and communication parameters to adapt to different vehicle models and testing requirements.

[0036] As a further optional embodiment, the step of sending remote control commands to the TBOX node via the TSP interface according to the test script, so that the TBOX node generates corresponding control messages and distributes them to the target ECU simulation node, specifically includes: Parse the remote control instruction set in the test script to determine the instruction type, target module identifier, and control parameters; Based on the instruction type and target module identifier, a communication session with the TBOX node is established through the TSP interface protocol layer; The control parameters are encapsulated into a remote control request message conforming to the target communication protocol format; After receiving the request message, the TBOX node calls the internal message generation logic to generate the corresponding control message; Based on the communication topology defined in the network configuration file, a target ECU simulation node is selected, and control messages are distributed to the target ECU simulation node. The target ECU simulation node performs a response simulation based on the message content and returns feedback data.

[0037] In this embodiment, the operation of sending remote control commands to the TBOX node via the TSP interface specifically includes the following steps: First, the system parses the remote control command set in the test script, identifying the type of each command, the target module identifier, and the corresponding control parameters to ensure that each command can be correctly mapped to a functional module in the virtual vehicle. Then, based on the command type and target module identifier, the system establishes a communication session with the TBOX node at the protocol layer of the TSP interface to ensure the reliability and protocol consistency of command transmission. Next, the system encapsulates the parsed control parameters into a remote control request message conforming to the target communication protocol format, enabling it to be correctly identified and processed by the TBOX node. After receiving the request message, the TBOX node calls its internal message generation logic to generate the corresponding control message and selects a target ECU simulation node for distribution based on the previously loaded virtual vehicle network topology information. After receiving the control message, each ECU simulation node executes a simulated response operation according to the message content and returns feedback data to complete the closed-loop verification. Through this implementation method, the system can accurately simulate the communication and control process between the TBOX and each ECU module in a virtual vehicle testing environment, achieve high-fidelity verification of remote control functions, and support flexible combination testing of multiple command types, multi-target modules and different communication protocols, which significantly improves the test coverage and automation level.

[0038] As a further optional embodiment, the step of collecting virtual communication data between the TBOX node and the ECU simulation node in the virtual vehicle test environment specifically includes: A communication monitoring module is deployed in a virtual vehicle testing environment. The communication monitoring module is used to monitor and collect control messages sent by the TBOX node and response messages returned by the ECU simulation node in real time based on preset message filtering rules. The collected virtual communication data is sorted according to timestamps, and a communication log file is generated. The control messages and response messages in the communication log file are associated to form a message correspondence table for accuracy analysis.

[0039] In this embodiment, a communication monitoring module is deployed in the virtual vehicle testing environment to capture control messages sent by the TBOX node and response messages returned by the ECU simulation node in real time. The communication monitoring module automatically identifies and extracts key messages related to remote control commands based on preset message filtering rules, eliminating irrelevant information to ensure the accuracy and validity of the collected data. The collected virtual communication data is sorted by timestamp, and the system automatically generates a structured communication log file to record the sending and receiving order of each control message and its corresponding response message. Simultaneously with log file generation, the system associates control messages with their corresponding response messages to form a complete message correspondence table for subsequent response accuracy analysis and performance evaluation. This implementation method enables comprehensive monitoring and accurate recording of the communication behavior between the TBOX node and the ECU simulation node in the virtual vehicle testing environment, providing a reliable data foundation for the verification of remote control functions and supporting automated analysis and anomaly detection.

[0040] As a further optional embodiment, the step of determining the response accuracy of the TBOX node based on the virtual communication data specifically includes: The collected virtual communication data is parsed to extract the instruction identifier, timestamp, and execution result parameters from the control and response messages; Establish a correspondence between control messages and response messages based on command identifiers; Calculate the time interval between the sending of the control message and the return of the corresponding response message, and compare it with the preset response time limit threshold; When the time interval of the response message is within a preset threshold range and the execution result parameters are consistent with the expected result, the response of the TBOX node is determined to be accurate. If the response times out or the execution result is inconsistent, the response of the TBOX node is determined to be abnormal.

[0041] In this embodiment, the system first parses the collected virtual communication data, automatically extracting the instruction identifier, timestamp, and execution result parameters from each control message and its corresponding response message. Then, the system establishes a correspondence between control messages and response messages based on the instruction identifier, ensuring that each control instruction is accurately mapped to its response result. The system further calculates the time interval between the control message being sent and the corresponding response message being returned, and compares it with a preset response timeout threshold to determine if the response is timely. When the time interval of the response message is within the preset threshold range and the execution result parameters are consistent with the expected result, the system automatically determines that the TBOX node's response is accurate; when the response times out or the execution result does not meet expectations, the system determines that the response is abnormal. Simultaneously, the system can record the analysis results in a structured data table, providing data support for subsequent test report generation. Through this implementation method, a comprehensive and accurate evaluation of the accuracy and reliability of the TBOX remote control function in a virtual vehicle testing environment can be achieved.

[0042] As a further optional embodiment, after the step of determining the response accuracy of the TBOX node based on the virtual communication data, the following is specifically included: A structured test report is generated based on the response accuracy of the TBOX node.

[0043] In this embodiment, the system automatically generates a structured test report based on the accuracy results of the TBOX node response obtained from the aforementioned analysis. This report includes the execution sequence of each remote control command, the corresponding control and response messages, the response time interval, execution result parameters, and comparative analysis information with expected results. The system organizes and categorizes the test data according to a preset format, enabling the test report to clearly display the verification status of each remote control function and potential anomalies. The generated report can be used to evaluate the performance and reliability of the TBOX remote control function, and also provides data support and decision-making basis for problem localization, system optimization, and subsequent test strategy formulation, thereby achieving automation, standardization, and efficiency in the testing process.

[0044] The vehicle testing device based on T-BOX remote control provided by the present invention will be described below, such as... Figure 2 As shown, the vehicle testing device based on T-BOX remote control described below and the vehicle testing method based on T-BOX remote control described above can be referred to in correspondence.

[0045] A vehicle testing device based on T-BOX remote control, comprising: The parameter acquisition module 210 is used to acquire the test configuration parameters of the vehicle under test, and generate a test script corresponding to the vehicle model under test based on the test configuration parameters; the test script is used to send remote control commands to the TBOX through the TSP interface; The environment building module 220 is used to load the network configuration file specified by the test script to build a virtual vehicle test environment. The virtual vehicle test environment includes a TBOX node and an ECU simulation node. The TBOX node is used to receive remote control commands and send control messages. The ECU simulation node is used to simulate the condition of the vehicle under test to verify the remote control logic of the TBOX node and its response to control messages. The instruction sending module 230 is used to send remote control instructions to the TBOX node through the TSP interface according to the test script, so that the TBOX node generates the corresponding control message and distributes it to the target ECU simulation node; Data acquisition module 240 is used to acquire virtual communication data between the TBOX node and the ECU simulation node in the virtual vehicle test environment; The data verification module 250 is used to determine the response accuracy of the TBOX node based on the virtual communication data.

[0046] Figure 3 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 3 As shown, the electronic device may include: a processor 310, a communications interface 320, a memory 330, and a communication bus 340, wherein the processor 310, the communications interface 320, and the memory 330 communicate with each other via the communication bus 340. The processor 310 can call logical instructions in the memory 330 to execute a vehicle testing method based on T-BOX remote control, the method including: The test configuration parameters of the vehicle under test are obtained, and a test script corresponding to the vehicle model under test is generated based on the test configuration parameters; the test script is used to send remote control commands to the TBOX through the TSP interface; Load the network configuration file specified by the test script to build a virtual vehicle test environment. The virtual vehicle test environment includes a TBOX node and an ECU simulation node. The TBOX node is used to receive remote control commands and send control messages. The ECU simulation node is used to simulate the condition of the vehicle under test to verify the remote control logic of the TBOX node and its response to control messages. According to the test script, a remote control command is sent to the TBOX node through the TSP interface, so that the TBOX node generates the corresponding control message and distributes it to the target ECU simulation node. Collect virtual communication data between the TBOX node and the ECU simulation node in the virtual vehicle test environment; Based on the virtual communication data, the response accuracy of the TBOX node is determined. Furthermore, the logical instructions in the aforementioned memory 330 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, optical disks, and other media capable of storing program code.

[0047] On the other hand, the present invention also provides a computer program product, the computer program product comprising a computer program that can be stored on a non-transitory computer-readable storage medium, wherein when the computer program is executed by a processor, the computer is able to execute the vehicle testing method based on T-BOX remote control provided by the above methods, the method comprising: The test configuration parameters of the vehicle under test are obtained, and a test script corresponding to the vehicle model under test is generated based on the test configuration parameters; the test script is used to send remote control commands to the TBOX through the TSP interface; Load the network configuration file specified by the test script to build a virtual vehicle test environment. The virtual vehicle test environment includes a TBOX node and an ECU simulation node. The TBOX node is used to receive remote control commands and send control messages. The ECU simulation node is used to simulate the condition of the vehicle under test to verify the remote control logic of the TBOX node and its response to control messages. According to the test script, a remote control command is sent to the TBOX node through the TSP interface, so that the TBOX node generates the corresponding control message and distributes it to the target ECU simulation node. Collect virtual communication data between the TBOX node and the ECU simulation node in the virtual vehicle test environment; Based on the virtual communication data, the response accuracy of the TBOX node is determined. Furthermore, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the vehicle testing method based on T-BOX remote control provided by the methods described above, the method comprising: The test configuration parameters of the vehicle under test are obtained, and a test script corresponding to the vehicle model under test is generated based on the test configuration parameters; the test script is used to send remote control commands to the TBOX through the TSP interface; Load the network configuration file specified by the test script to build a virtual vehicle test environment. The virtual vehicle test environment includes a TBOX node and an ECU simulation node. The TBOX node is used to receive remote control commands and send control messages. The ECU simulation node is used to simulate the condition of the vehicle under test to verify the remote control logic of the TBOX node and its response to control messages. According to the test script, a remote control command is sent to the TBOX node through the TSP interface, so that the TBOX node generates the corresponding control message and distributes it to the target ECU simulation node. Collect virtual communication data between the TBOX node and the ECU simulation node in the virtual vehicle test environment; Based on the virtual communication data, the response accuracy of the TBOX node is determined. The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0048] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0049] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A vehicle testing method based on T-BOX remote control, characterized in that, include: Obtain the test configuration parameters of the vehicle under test, and generate a test script corresponding to the vehicle model under test based on the test configuration parameters; The test script is used to send remote control commands to TBOX via the TSP interface; Load the network configuration file specified by the test script to build a virtual vehicle test environment. The virtual vehicle test environment includes a TBOX node and an ECU simulation node. The TBOX node is used to receive remote control commands and send control messages. The ECU simulation node is used to simulate the condition of the vehicle under test to verify the remote control logic of the TBOX node and its response to control messages. According to the test script, a remote control command is sent to the TBOX node through the TSP interface, so that the TBOX node generates the corresponding control message and distributes it to the target ECU simulation node. Collect virtual communication data between the TBOX node and the ECU simulation node in the virtual vehicle test environment; The accuracy of the TBOX node's response is determined based on the virtual communication data.

2. The vehicle testing method based on T-BOX remote control according to claim 1, characterized in that, The test configuration parameters include a list of remote control functions, vehicle communication protocol type, signal mapping relationship, control parameter set, and vehicle model identification information.

3. The vehicle testing method based on T-BOX remote control according to claim 1, characterized in that, The step of loading the network configuration file specified by the test script to build the virtual vehicle test environment specifically includes: Parse the node definition information and communication parameters in the network configuration file; Instantiate TBOX nodes and multiple ECU simulation nodes based on node definition information; Configure the bus protocol, signal channel identifier, and transmission rate according to the communication parameters; Establish a logical connection between the TBOX node and the ECU simulation node to form a virtual vehicle testing environment.

4. The vehicle testing method based on T-BOX remote control according to claim 1, characterized in that, The step of sending remote control commands to the TBOX node via the TSP interface according to the test script, so that the TBOX node generates corresponding control messages and distributes them to the target ECU simulation node, specifically includes: Parse the remote control instruction set in the test script to determine the instruction type, target module identifier, and control parameters; Based on the instruction type and target module identifier, a communication session with the TBOX node is established through the TSP interface protocol layer; The control parameters are encapsulated into a remote control request message conforming to the target communication protocol format; After receiving the request message, the TBOX node calls the internal message generation logic to generate the corresponding control message; Based on the communication topology defined in the network configuration file, a target ECU simulation node is selected, and control messages are distributed to the target ECU simulation node. The target ECU simulation node performs a response simulation based on the message content and returns feedback data.

5. The vehicle testing method based on T-BOX remote control according to claim 1, characterized in that, The step of collecting virtual communication data between the TBOX node and the ECU simulation node in the virtual vehicle test environment specifically includes: A communication monitoring module is deployed in a virtual vehicle testing environment. The communication monitoring module is used to monitor and collect control messages sent by the TBOX node and response messages returned by the ECU simulation node in real time based on preset message filtering rules. The collected virtual communication data is sorted according to timestamps, and a communication log file is generated. The control messages and response messages in the communication log file are associated to form a message correspondence table for accuracy analysis.

6. The vehicle testing method based on T-BOX remote control according to claim 1, characterized in that, The step of determining the response accuracy of the TBOX node based on the virtual communication data specifically includes: The collected virtual communication data is parsed to extract the instruction identifier, timestamp, and execution result parameters from the control and response messages; Establish a correspondence between control messages and response messages based on command identifiers; Calculate the time interval between the sending of the control message and the return of the corresponding response message, and compare it with the preset response time limit threshold; When the time interval of the response message is within a preset threshold range and the execution result parameters are consistent with the expected result, the response of the TBOX node is determined to be accurate. If the response times out or the execution result is inconsistent, the response of the TBOX node is determined to be abnormal.

7. The vehicle testing method based on T-BOX remote control according to claim 1, characterized in that, Following the step of determining the response accuracy of the TBOX node based on the virtual communication data, the specific steps include: A structured test report is generated based on the response accuracy of the TBOX node.

8. A vehicle testing device based on T-BOX remote control, characterized in that, include: The parameter acquisition module is used to acquire the test configuration parameters of the vehicle under test, and generate a test script corresponding to the vehicle model under test based on the test configuration parameters; The test script is used to send remote control commands to TBOX via the TSP interface; The environment building module is used to load the network configuration file specified by the test script to build a virtual vehicle test environment. The virtual vehicle test environment includes a TBOX node and an ECU simulation node. The TBOX node is used to receive remote control commands and send control messages. The ECU simulation node is used to simulate the condition of the vehicle under test to verify the remote control logic of the TBOX node and its response to control messages. The instruction sending module is used to send remote control instructions to the TBOX node through the TSP interface according to the test script, so that the TBOX node generates the corresponding control message and distributes it to the target ECU simulation node; The data acquisition module is used to collect virtual communication data between the TBOX node and the ECU simulation node in the virtual vehicle testing environment; The data verification module is used to determine the accuracy of the TBOX node's response based on the virtual communication data.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the vehicle testing method based on T-BOX remote control as described in any one of claims 1 to 7.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the vehicle testing method based on T-BOX remote control as described in any one of claims 1 to 7.