Internet of vehicles performance test method and device, test tool and storage medium
By introducing plugins and vehicle-to-everything (V2X) communication protocols into the testing tool, performance testing is performed by simulating messages that the V2X platform can recognize. This solves the problem that existing tools cannot generate various types of messages, and verifies the throughput, response time, and stability of V2X performance.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHERY AUTOMOBILE CO LTD
- Filing Date
- 2023-07-28
- Publication Date
- 2026-08-04
AI Technical Summary
Existing vehicle-to-everything (V2X) performance testing tools cannot flexibly generate various types of messages, thus failing to meet the performance testing requirements of V2X.
The testing tool incorporates the necessary plugins for vehicle networking performance testing. The plugins use vehicle networking communication protocols to simulate vehicle users connecting to the platform. Adapted test scripts are written to generate concurrent login messages and event messages. Performance testing is then conducted by simulating messages that the vehicle networking platform can recognize.
By concurrently reporting a large number of login and event messages, the throughput, response time, and stability of the vehicle network performance are verified, meeting the performance testing requirements of the vehicle network.
Smart Images

Figure CN116980339B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle networking technology, and in particular to a vehicle networking performance testing method, device, testing tool and storage medium. Background Technology
[0002] With the advancement of intelligentization in the automotive industry, the Internet of Vehicles (IoV), as a fundamental component of automotive intelligence, is also becoming increasingly widespread. Due to the large number of vehicles and the fact that most business operations are reported on a per-second basis, the amount of reported data is enormous, placing higher demands on the performance of IoV platforms. Therefore, IoV performance testing is particularly important.
[0003] However, performance testing requires a wide variety of test data. In general, the testing tools used in this field only have the ability to send raw or target format messages to the vehicle network platform for testing. The test messages need to be obtained in advance using other methods, which is complicated and cannot meet the performance testing requirements of vehicle networks. Summary of the Invention
[0004] This application provides a method, apparatus, testing tool, and storage medium for testing vehicle-to-everything (V2X) performance, in order to solve the problem that testing tools in related technologies cannot flexibly generate various types of messages reported by vehicles to meet the needs of V2X performance testing.
[0005] The first aspect of this application provides a method for testing the performance of a vehicle-to-everything (V2X) network. The method is applied to a testing tool and includes the following steps: introducing a plugin required for V2X performance testing into the testing tool; simulating one or more vehicle users connecting to a V2X platform using the V2X communication protocol carried by the plugin, and writing a test script adapted to the plugin and the V2X communication protocol; simulating login messages and event messages recognizable by the V2X platform using the test script; and performing V2X performance testing on the V2X platform using the login messages and the event messages.
[0006] Optionally, in one embodiment of this application, the step of simulating login messages and event messages recognizable by the vehicle networking platform using the test script includes: creating a first target format message and a second target format message according to the test script; converting the first target format message into a login message recognizable by the vehicle networking platform; and converting the second target format message into an event message recognizable by the vehicle networking platform.
[0007] Optionally, in one embodiment of this application, the step of using the login message and the event message to perform vehicle network performance testing on the vehicle network platform includes: sending the login message and the event message to the vehicle network platform; and determining the test result of the vehicle network performance test based on the feedback result of the vehicle network platform.
[0008] Optionally, in one embodiment of this application, determining the test result of the vehicle network performance test based on the feedback result of the vehicle network platform includes: identifying a preset identifier in the response message fed back by the vehicle network platform; determining the error rate of vehicle login based on the preset identifier, wherein if the preset identifier is identified, it is determined that the login to the vehicle network platform is successful; otherwise, it is determined that the login to the vehicle network platform has failed and an error is reported.
[0009] Optionally, in one embodiment of this application, determining the test result of the vehicle network performance test based on the feedback result of the vehicle network platform includes: counting the number of event messages reported to the vehicle network platform, the success rate, and the test duration; and determining the vehicle network performance based on one or more of the number of messages, the success rate, and the test duration.
[0010] Optionally, in one embodiment of this application, the statistical reporting of event messages to the vehicle network platform, including the number of messages, success rate, and test duration, includes: using the statistical window of the testing tool to count the number of messages, success rate, and test duration.
[0011] Optionally, in one embodiment of this application, sending the login message and the event message to the vehicle network platform includes: after successfully logging into the vehicle network platform using the login message, reporting the event message to the vehicle network platform.
[0012] A second aspect of this application provides a vehicle-to-everything (V2X) performance testing device. The device is applied to a testing tool and includes: an introduction module for introducing a plug-in required for V2X performance testing into the testing tool; a simulation module for simulating one or more vehicle users connecting to a V2X platform using a V2X communication protocol carried by the plug-in, and for writing a test script adapted to the plug-in and the V2X communication protocol, and using the test script to simulate login messages and event messages recognizable by the V2X platform; and a testing module for performing V2X performance testing on the V2X platform using the login messages and the event messages.
[0013] Optionally, in one embodiment of this application, the simulation module is further configured to create a first target format message and a second target format message according to the test script protocol; convert the first target format message into a login message recognizable by the vehicle networking platform; and convert the second target format message into an event message recognizable by the vehicle networking platform.
[0014] Optionally, in one embodiment of this application, the testing module includes: a sending unit, configured to send the login message and the event message to the vehicle networking platform; and a determining unit, configured to determine the test result of the vehicle networking performance test based on the feedback result of the vehicle networking platform.
[0015] Optionally, in one embodiment of this application, the determining unit is further configured to identify a preset identifier in the response message fed back by the vehicle networking platform; and determine the error rate of vehicle login based on the preset identifier, wherein if the preset identifier is identified, it is determined that the login to the vehicle networking platform is successful; otherwise, it is determined that the login to the vehicle networking platform has failed and an error is reported.
[0016] Optionally, in one embodiment of this application, the determining unit is further configured to count the number of event messages reported to the vehicle network platform, the success rate, and the test duration; and determine the vehicle network performance based on one or more of the number of messages, the success rate, and the test duration.
[0017] Optionally, in one embodiment of this application, the determining unit is further configured to use the statistical window of the testing tool to count the number of messages, success rate, and test duration.
[0018] Optionally, in one embodiment of this application, the sending unit is further configured to report the event message to the vehicle network platform after successfully logging into the vehicle network platform using the login message.
[0019] A third aspect of this application provides a testing tool, 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 perform the vehicle networking performance testing method as described in the above embodiments.
[0020] A fourth aspect of this application provides a computer-readable storage medium having a computer program stored thereon, which is executed by a processor to perform the vehicle networking performance testing method as described in the above embodiments.
[0021] Therefore, this application has at least the following beneficial effects:
[0022] This application's embodiments can incorporate plugins required for vehicle-to-everything (V2X) performance testing into testing tools. By utilizing the V2X communication protocol carried by the plugins to simulate concurrent connections of user vehicles to the V2X platform, and writing test scripts adapted to the plugins and the V2X communication protocol, the platform can simulate login and event messages recognizable by the V2X platform. Through concurrent, large-scale reporting of login and event messages, the throughput, response time, and stability of the V2X performance can be verified. This solves the problem in related technologies where testing tools cannot flexibly generate various types of messages reported by vehicles to meet the needs of V2X performance testing.
[0023] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0024] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein:
[0025] Figure 1 This is a flowchart of a vehicle networking performance testing method provided according to an embodiment of this application;
[0026] Figure 2 This is a flowchart of the overall testing process provided according to the embodiments of this application;
[0027] Figure 3 This is a block diagram of a vehicle networking performance testing device provided according to an embodiment of this application;
[0028] Figure 4 This is a schematic diagram of the structure of the testing tool provided according to an embodiment of this application. Detailed Implementation
[0029] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.
[0030] The following description, with reference to the accompanying drawings, outlines a vehicle-to-everything (V2X) performance testing method, apparatus, testing tool, and storage medium according to embodiments of this application. Addressing the problems mentioned in the background section, this application provides a V2X performance testing method. This method is applied to a testing tool, which incorporates a plugin required for V2X performance testing. The plugin's V2X communication protocol simulates concurrent connections of user vehicles to a V2X platform. A test script adapted to the plugin and the V2X communication protocol is written to simulate login and event messages recognizable by the V2X platform. By concurrently reporting a large number of login and event messages, the throughput, response time, and stability of the V2X performance are verified. This solves the problem in related technologies where testing tools cannot flexibly generate various types of messages reported by vehicles to meet the requirements of V2X performance testing.
[0031] Specifically, Figure 1 This is a flowchart illustrating a vehicle network performance testing method provided in an embodiment of this application.
[0032] like Figure 1 As shown, the vehicle-to-everything (V2X) performance testing method includes the following steps:
[0033] In step S101, the plugins required for vehicle networking performance testing are introduced into the testing tool.
[0034] Understandably, to simulate the data reported by the vehicle in the testing tool, it is necessary to introduce the plugins required for vehicle network performance testing, such as the protobuf protocol plugin, MQTT (Message Queuing Telemetry Transport) middleware plugin, and protocol conversion JAR package plugin.
[0035] In step S102, the vehicle network communication protocol carried by the plug-in is used to simulate one or more vehicle users connecting to the vehicle network platform, and a test script adapted to the plug-in and the vehicle network communication protocol is written. The test script is used to simulate login messages and event messages that the vehicle network platform can recognize.
[0036] Understandably, vehicle-to-everything (V2X) platforms typically use protobuf as the encoding / decoding protocol and MQTT as the message transmission protocol. The raw data reported by the vehicle is deserialized into JSON format, which the system recognizes, using the protobuf protocol for processing. Therefore, this embodiment can use testing tools to start multi-threading, simulating multiple vehicle users and establishing communication links with the MQTT server. The success of the link establishment can be observed through the EMQ dashboard. Furthermore, the test scripts included in the plugin can flexibly generate and convert messages. By concurrently reporting large batches of remote control events and periodic signals, the throughput, response time, and stability of the V2X performance can be verified.
[0037] In one embodiment of this application, a test script is used to simulate login messages and event messages that can be recognized by the vehicle networking platform, including: creating a first target format message and a second target format message according to the test script; converting the first target format message into a login message that can be recognized by the vehicle networking platform; and converting the second target format message into an event message that can be recognized by the vehicle networking platform.
[0038] This embodiment of the application can write a proto file in the testing tool according to the vehicle-to-everything (V2X) communication protocol, create a target format message (JSON format message) based on the proto file, and convert the target format message generated in the previous step into a message that the V2X platform can recognize. When creating the target format message, this embodiment of the application can introduce variable parameters to enrich the test data.
[0039] Specifically, this application embodiment can develop test scripts for adapting the plugin and the vehicle-to-everything (V2X) communication protocol. These test scripts generate simulated vehicle-reported login messages, generate Java object data to be sent according to the protobuf protocol, convert it into a byte stream, and then convert it into a login message recognizable by the V2X platform. The login message includes information such as the vehicle terminal TBOX and SIM card. Furthermore, the test scripts carried by the plugin generate simulated vehicle-reported event messages, generate Java object data to be sent according to the protobuf protocol, convert it into a byte stream, and then convert it into an event message recognizable by the V2X platform.
[0040] In step S103, the vehicle network performance of the vehicle network platform is tested using login messages and event messages.
[0041] To ensure the timeliness and accuracy of vehicle-reported data processing, this application embodiment can send simulated login messages and event messages to the vehicle network platform for testing. Based on the feedback results from the vehicle network platform, the test results of the vehicle network performance test are determined to comprehensively evaluate the performance of the current vehicle network service.
[0042] In one embodiment of this application, sending a login message and an event message to the vehicle network platform includes: after successfully logging into the vehicle network platform using the login message, reporting an event message to the vehicle network platform.
[0043] Understandably, during vehicle-to-everything (V2X) performance testing, a simulated vehicle can log in to the V2X platform using a login message. After receiving the login request, the V2X platform replies with a test thread response message. Only after the simulated vehicle successfully logs in to the platform can the simulated vehicle's event messages be reported to the V2X platform for testing.
[0044] In one embodiment of this application, determining the test result of the vehicle network performance test based on the feedback result of the vehicle network platform includes: identifying a preset identifier in the response message fed back by the vehicle network platform; determining the error rate of vehicle login based on the preset identifier, wherein if the preset identifier is identified, it is determined that the login to the vehicle network platform is successful; otherwise, it is determined that the login to the vehicle network platform has failed and an error is reported.
[0045] The preset identifier can be a marker indicating whether the simulated vehicle has successfully logged in.
[0046] In this embodiment, after receiving the login message, the vehicle-to-everything (V2X) platform sends a response message containing a token. At this point, an assertion is added to the testing tool to determine whether the login to the platform was successful. In actual execution, this embodiment can determine whether the simulated vehicle has successfully logged in based on a preset identifier in the response message. If the preset identifier exists in the response message, the login to the V2X platform is considered successful; otherwise, the simulated login to the V2X platform is considered a failure and an error is reported. When the simulated vehicle fails to log in to the V2X platform, no event message can be reported to the V2X platform.
[0047] Furthermore, in this embodiment of the application, the statistical window of the testing tool can be used to count the number of event messages reported to the vehicle network platform, the success rate, and the test duration; the vehicle network performance can be comprehensively evaluated based on one or more of the number of messages, the success rate, and the test duration.
[0048] Furthermore, embodiments of this application can also determine whether the performance of the vehicle network meets the standards by observing the consumption rate of the MQTT middleware, the backlog situation, and the resource utilization rate of the service.
[0049] The following is combined with Figure 2 This application provides a detailed description of the vehicle network performance testing method according to embodiments of the present application. Vehicle network platforms typically use protobuf as the encoding / decoding protocol and MQTT as a middleware plugin. The method deserializes the raw hexadecimal data reported by the vehicle into a system-recognizable JSON format using the protobuf protocol, and includes the following steps:
[0050] 1. Import the relevant business JAR files and protobuf protocol JAR files into the testing tool via plugins.
[0051] 2. Create JSON format messages in the testing tool according to the protobuf protocol.
[0052] 3. Convert the JSON format message generated in the previous step to hexadecimal.
[0053] 4. Start multi-threading using testing tools to establish a communication link with the MQTT server.
[0054] 5. Using testing tools, simulate an MQTT producer and send the above-mentioned hexadecimal login message to the vehicle networking platform. After receiving the login request, the platform replies with a test thread response message.
[0055] 6. Using testing tools, simulate an MQTT producer to send the aforementioned hexadecimal events or periodic messages to the vehicle networking platform. After receiving the messages, the platform responds, thereby statistically analyzing the success rate of message transmission.
[0056] 7. Confirm the effective concurrency through the EMQ connection count.
[0057] 8. Service performance monitoring can be performed by observing the number of packets sent per unit time, throughput, test duration, success rate, etc., through the statistics window of the testing tool itself. Additionally, Grafna can be used to monitor server message consumption speed, as well as server memory, CPU, and other metrics.
[0058] The vehicle-to-everything (V2X) performance testing method proposed in this application introduces a plugin required for V2X performance testing into the testing tool. The plugin's V2X communication protocol simulates concurrent connections of user vehicles to the V2X platform. Test scripts adapted to the plugin and the V2X communication protocol are written to simulate login and event messages recognizable by the V2X platform. By concurrently reporting a large number of login and event messages, the throughput, response time, and stability of the V2X performance are verified. This solves the problem in related technologies where testing tools cannot flexibly generate various types of messages reported by vehicles to meet the needs of V2X performance testing.
[0059] Next, referring to the accompanying drawings, a vehicle networking performance testing device according to an embodiment of this application is described, which is applied to testing tools.
[0060] Figure 3 This is a block diagram of a vehicle networking performance testing device according to an embodiment of this application.
[0061] like Figure 3 As shown, the vehicle networking performance testing device 10 includes: an input module 100, a simulation module 200, and a testing module 300.
[0062] The module 100 is used to introduce the plug-in required for vehicle network performance testing into the testing tool; the simulation module 200 is used to simulate one or more vehicle users connecting to the vehicle network platform using the vehicle network communication protocol carried by the plug-in, and to write test scripts adapted to the plug-in and the vehicle network communication protocol, and to simulate login messages and event messages recognizable by the vehicle network platform using the test scripts; the testing module 300 is used to perform vehicle network performance testing on the vehicle network platform using login messages and event messages.
[0063] In one embodiment of this application, the simulation module 200 is further configured to create a first target format message and a second target format message according to the test script; convert the first target format message into a login message recognizable by the vehicle networking platform; and convert the second target format message into an event message recognizable by the vehicle networking platform.
[0064] In one embodiment of this application, the test module 300 includes a sending unit and a determining unit.
[0065] The sending unit is used to send login messages and event messages to the vehicle network platform; the determining unit is used to determine the test results of the vehicle network performance test based on the feedback results from the vehicle network platform.
[0066] In one embodiment of this application, the determining unit is further configured to identify a preset identifier in the response message fed back by the vehicle network platform; and determine the error rate of vehicle login based on the preset identifier, wherein if the preset identifier is identified, it is determined that the login to the vehicle network platform is successful; otherwise, it is determined that the login to the vehicle network platform has failed and an error is reported.
[0067] In one embodiment of this application, the determining unit is further configured to count the number of event messages reported to the vehicle network platform, the success rate, and the test duration; and to determine the vehicle network performance based on one or more of the number of messages, the success rate, and the test duration.
[0068] In one embodiment of this application, the determining unit is further configured to use the statistics window of the testing tool to count the number of messages, success rate, and test duration.
[0069] In one embodiment of this application, the sending unit is further configured to report an event message to the vehicle network platform after successfully logging into the vehicle network platform using the login message.
[0070] It should be noted that the foregoing explanation of the vehicle network performance testing method embodiment also applies to the vehicle network performance testing device of this embodiment, and will not be repeated here.
[0071] The vehicle-to-everything (V2X) performance testing device proposed in this application introduces a plugin required for V2X performance testing into the testing tool. It utilizes the V2X communication protocol carried by the plugin to simulate concurrent connections of user vehicles to the V2X platform. Test scripts adapted to the plugin and the V2X communication protocol are written to simulate login and event messages recognizable by the V2X platform. By concurrently reporting a large number of login and event messages, the throughput, response time, and stability of the V2X performance are verified. This solves the problem in related technologies where testing tools cannot flexibly generate various types of messages reported by vehicles to meet the needs of V2X performance testing.
[0072] Figure 4 A schematic diagram of the structure of the testing tool provided in an embodiment of this application. The testing tool may include:
[0073] The memory 401, the processor 402, and the computer program stored on the memory 401 and capable of running on the processor 402.
[0074] When the processor 402 executes the program, it implements the vehicle networking performance testing method provided in the above embodiments.
[0075] Furthermore, the testing tools also include:
[0076] Communication interface 403 is used for communication between memory 401 and processor 402.
[0077] The memory 401 is used to store computer programs that can run on the processor 402.
[0078] The memory 401 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.
[0079] If the memory 401, processor 402, and communication interface 403 are implemented independently, then the communication interface 403, memory 401, and processor 402 can be interconnected via a bus to complete communication between them. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be divided into address buses, data buses, control buses, etc. For ease of representation, Figure 4 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0080] Optionally, in a specific implementation, if the memory 401, processor 402, and communication interface 403 are integrated on a single chip, then the memory 401, processor 402, and communication interface 403 can communicate with each other through an internal interface.
[0081] Processor 402 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application.
[0082] This embodiment also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the above-described vehicle networking performance testing method.
[0083] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0084] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0085] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or N executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.
[0086] It should be understood that the various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0087] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
Claims
1. A method for testing the performance of vehicle networking, characterized in that, The method is applied to a testing tool, and the method includes the following steps: Incorporate the necessary plugins for vehicle networking performance testing into the testing tool; The plug-in carries a vehicle-to-everything (V2X) communication protocol to simulate one or more vehicle users connecting to the V2X platform. A test script adapted to the plug-in and the V2X communication protocol is written, and the test script is used to simulate login messages and event messages that the V2X platform can recognize. Send the login message and the event message to the vehicle network platform, and determine the test result of the vehicle network performance test based on the feedback result of the vehicle network platform; The step of determining the test result of the vehicle network performance test based on the feedback result of the vehicle network platform includes: identifying a preset identifier in the response message fed back by the vehicle network platform; determining the error rate of vehicle login based on the preset identifier, wherein if the preset identifier is identified, it is determined that the login to the vehicle network platform is successful; otherwise, it is determined that the login to the vehicle network platform has failed and an error is reported. The step of determining the test result of the vehicle network performance test based on the feedback result of the vehicle network platform includes: counting the number of event messages reported to the vehicle network platform, the success rate, and the test duration; and determining the vehicle network performance based on one or more of the number of messages, the success rate, and the test duration.
2. The vehicle networking performance testing method according to claim 1, characterized in that, The step of simulating login messages and event messages recognizable by the vehicle networking platform using the test script includes: Create a first target format message and a second target format message according to the test script; The first target format message is converted into a login message that can be recognized by the vehicle networking platform; The second target format message is converted into an event message that can be recognized by the vehicle networking platform.
3. The vehicle networking performance testing method according to claim 1, characterized in that, The statistical reporting of event messages to the vehicle network platform includes the number of messages, success rate, and test duration, among other metrics. The statistics window of the testing tool is used to count the number of messages, success rate, and test duration.
4. The vehicle networking performance testing method according to claim 1, characterized in that, Sending the login message and the event message to the vehicle networking platform includes: After successfully logging into the vehicle network platform using the login message, the event message is reported to the vehicle network platform.
5. A vehicle networking performance testing device, characterized in that, The apparatus is used in testing tools, wherein the apparatus includes: An import module is used to import the plugins required for vehicle networking performance testing into the testing tool. The simulation module is used to simulate one or more vehicle users connecting to the vehicle network platform using the vehicle network communication protocol carried by the plugin, and to write test scripts adapted to the plugin and the vehicle network communication protocol, and to use the test scripts to simulate login messages and event messages that the vehicle network platform can recognize. The sending unit is used to send the login message and the event message to the vehicle network platform; The determining unit is used to determine the test result of the vehicle network performance test based on the feedback result of the vehicle network platform; The determining unit is used to: identify a preset identifier in the response message fed back by the vehicle networking platform; determine the error rate of vehicle login based on the preset identifier, wherein if the preset identifier is identified, it is determined that the login to the vehicle networking platform is successful; otherwise, it is determined that the login to the vehicle networking platform has failed and an error is reported. The number of event messages reported to the vehicle network platform, the success rate, and the test duration are statistically analyzed; the vehicle network performance is determined based on one or more of the number of messages, the success rate, and the test duration.
6. A testing tool, characterized in that, include: The device includes 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 networking performance testing method as described in any one of claims 1-4.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that, The program is executed by the processor to implement the vehicle networking performance testing method as described in any one of claims 1-4.