Cloud platform performance test method and device, equipment and storage medium

By simulating vehicle login and business message sending, combined with dynamic container configuration, the problem of the existing technology being unable to effectively simulate a large number of vehicle connections is solved, the accuracy and stability of cloud platform performance testing is achieved, and test scenarios for multiple transmission protocols are supported.

CN120658650APending Publication Date: 2025-09-16CHONGQING CHANGAN AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511041479.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-28
Publication Date
2025-09-16

AI Technical Summary

Technical Problem

Existing cloud platform performance testing methods cannot effectively simulate scenarios where a large number of vehicles are connected simultaneously, resulting in inaccurate test results and failure to cover various scenarios in real environments.

Method used

By obtaining message collections from multiple simulated vehicles, performing login verification based on the transmission protocol, and sending business messages after successful login, the number of K8S cluster containers is dynamically configured to simulate the simultaneous login and business operations of multiple vehicles in a real environment, supporting the testing of multiple transmission protocols.

Benefits of technology

It has realized business message testing for multiple transmission protocols, improved the accuracy and coverage of test results, ensured the stable operation of K8S cluster, saved data preparation time, and ensured the reliability of test results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120658650A_ABST
    Figure CN120658650A_ABST
Patent Text Reader

Abstract

The invention relates to a cloud platform performance test method and device, equipment and a storage medium, and the method comprises the steps: obtaining a first message set of each of a plurality of first simulation vehicles under the condition that a test instruction is received; wherein the plurality of first simulation vehicles support a plurality of transmission protocols, and the first message set comprises a login message and other service messages; based on a transmission protocol supported by each first simulation vehicle, authentication information and a login message of each first simulation vehicle are sent to a cloud platform at the same time; and under the condition that login success information of each first simulation vehicle returned by the container running in the cloud platform is received, sending other service messages of each first simulation vehicle to the cloud platform based on a transmission protocol supported by each first simulation vehicle, and executing a performance test of the cloud platform.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of cloud platform performance testing, and in particular to a cloud platform performance testing method, apparatus, equipment, and storage medium. Background Art

[0002] A cloud platform, or cloud computing platform, refers to a platform that provides computing, networking, and storage capabilities based on hardware and software resources. For both cloud platform users and providers, cloud platform performance metrics are crucial. Understanding the performance of a cloud platform is crucial for determining whether the platform meets your needs. Therefore, performance testing is a crucial step in cloud platform development.

[0003] Existing testing methods use commonly available stress testing tools to simulate a maximum packet size and continuously send it for performance testing. This method not only significantly deviates from the real-world environment but also fails to cover many scenarios, such as the inability to simulate large numbers of vehicles connecting simultaneously. Summary of the Invention

[0004] One of the purposes of the present invention is to provide a cloud platform performance testing method to solve the problem in the prior art that it is impossible to simulate a large number of vehicles being connected simultaneously; the second purpose is to provide a cloud platform performance testing device; the third purpose is to provide an electronic device; and the fourth purpose is to provide a computer-readable storage medium.

[0005] In order to achieve the above object, the technical solution adopted by the present invention is as follows:

[0006] An embodiment of the present invention provides a cloud platform performance testing method, which includes:

[0007] Upon receiving the test instruction, obtaining first message sets of respective multiple first simulated vehicles; wherein the multiple first simulated vehicles support multiple transmission protocols, and the first message sets include login messages and other service messages;

[0008] Based on a transmission protocol supported by each first simulated vehicle, simultaneously sending authentication information and a login message of each first simulated vehicle to the cloud platform;

[0009] Upon receiving the successful login information of each first simulated vehicle returned by the container running in the cloud platform, based on the transmission protocol supported by each first simulated vehicle, other business messages of each first simulated vehicle are sent to the cloud platform at the same time to execute the performance test of the cloud platform.

[0010] According to the above technical means, the authentication information and login message of each first simulated vehicle are simultaneously sent to the cloud platform for login verification. When the login success information of each first simulated vehicle is returned by the container running in the cloud platform, it is indicated that multiple first simulated vehicles have successfully logged in at the same time. Then, other business messages of each first simulated vehicle are simultaneously sent to the cloud platform to perform performance testing of the cloud platform. This simulates the scenario in a real environment where multiple first simulated vehicles successfully log in at the same time and then send other business messages to the cloud platform. In addition, multiple first simulated vehicles support multiple transmission protocols, which can realize the testing of business messages of multiple transmission protocols.

[0011] Furthermore, the obtaining of the first message set of each of the multiple first simulated vehicles includes: determining the number of simulated vehicles of each transmission protocol supported by the same vehicle series based on the vehicle series ratio, the protocol ratio corresponding to the same vehicle series and the total number of simulated vehicles; obtaining relevant information of multiple second simulated vehicles from the first database based on the number of simulated vehicles of each transmission protocol supported by the same vehicle series; wherein the relevant information includes: vehicle identification number, vehicle identification number; obtaining the second message set of each transmission protocol from the second database based on each transmission protocol type; determining to execute the message set of the transmission protocol supported by the vehicle series to which the multiple first simulated vehicles belong based on the relevant information of the multiple second simulated vehicles, and correcting the second message set of the transmission protocol supported by the vehicle series to which each first simulated vehicle belongs to obtain the first message set of each first simulated vehicle; the multiple second simulated vehicles include multiple first simulated vehicles.

[0012] According to the above technical means, by first determining the number of simulated vehicles for each transmission protocol supported by the same vehicle series, then obtaining relevant information for multiple second simulated vehicles from the first database, and then verifying that the message set for the second simulated vehicles can be executed, the initial message set (i.e., the second message set) for each supported transmission protocol is modified based on the relevant information of the second simulated vehicle (i.e., the first simulated vehicle), thereby obtaining a first message set exclusive to the first simulated vehicle. Compared to manually preparing data, this method of obtaining a set of first message sets for multiple transmission protocols is significantly faster, thus achieving the goal of saving data preparation time.

[0013] Furthermore, the method of determining, based on the relevant information of the multiple second simulated vehicles, executing a message set of the transmission protocol supported by the vehicle series to which the multiple first simulated vehicles belong, includes: obtaining basic information of each second simulated vehicle from a third database based on the relevant information of each second simulated vehicle; wherein, the basic information includes at least one of the following: information indicating whether it is real-name, an integrated circuit card identification code, and a certificate number; and when determining, based on the basic information of each second simulated vehicle, executing a message set of the transmission protocol supported by the vehicle series to which each second simulated vehicle belongs, treating the second simulated vehicle as the first simulated vehicle.

[0014] According to the above technical means, multiple first simulated vehicles that have passed legal authentication are determined from multiple second simulated vehicles, and then based on the first message sets of the multiple first simulated vehicles, the performance test of the cloud platform is performed to ensure the accuracy of the test results.

[0015] Furthermore, the cloud platform performance testing method also includes: determining the target number of containers of the type corresponding to each transmission protocol based on the number of simulated vehicles corresponding to each transmission protocol; wherein different transmission protocols correspond to different types of containers; generating a first request based on the target number of containers of the type corresponding to each transmission protocol, and sending it to the K8S cluster of the cloud platform, so that the K8S cluster compares the target number of containers of the type corresponding to each transmission protocol with the existing number, and expands the existing number of containers of the type corresponding to each transmission protocol to be consistent with the target number.

[0016] According to the above technical means, the number of containers on the K8S cluster is dynamically configured in real time according to the number of simulated vehicles corresponding to each transmission protocol to ensure that the K8S cluster can stably run the business message processing tasks of all current second simulated vehicles.

[0017] Furthermore, when the login success information of each first simulated vehicle returned by the container running in the cloud platform is received, other business messages of each first simulated vehicle are sent to the cloud platform at the same time based on the transmission protocol supported by each first simulated vehicle, and the performance test of the cloud platform is executed, including: when the login success information of each first simulated vehicle returned by the container running in the cloud platform is received, the login success information of each first simulated vehicle is output; when the other business messages of each first simulated vehicle are sent to the cloud platform at the same time based on the transmission protocol supported by each first simulated vehicle; when the response information of the corresponding first simulated vehicle returned by the cloud platform is received, the response information of the corresponding first simulated vehicle is processed; and the test result of the cloud platform is obtained based on the statistical total number and processing time of other business messages processed by the cloud platform.

[0018] Furthermore, the cloud platform performance testing method also includes: in the process of executing the performance test of the cloud platform, simulating each first simulated vehicle to send a heartbeat message to the cloud platform according to a preset period.

[0019] Furthermore, during the peak time period, the sending volume of other business messages is set to the first sending volume, and the sending frequency is set to the first sending frequency; during the non-peak time period, the sending volume of other business messages is set to the second sending volume, and the sending frequency is set to the second sending frequency; wherein, the first sending volume is greater than the second sending volume, and the first sending frequency is greater than the second sending frequency.

[0020] An embodiment of the present invention provides a cloud platform performance testing device, the cloud platform performance testing device comprising:

[0021] An acquisition unit is used to acquire a first message set of each of a plurality of first simulated vehicles upon receiving a test instruction; wherein the plurality of first simulated vehicles support a plurality of transmission protocols, and the first message set includes a login message and other business messages; a processing unit is used to send the authentication information and login message of each first simulated vehicle to the cloud platform at the same time based on the transmission protocol supported by each first simulated vehicle; the processing unit is also used to send other business messages of each first simulated vehicle to the cloud platform at the same time based on the transmission protocol supported by each first simulated vehicle upon receiving login success information of each first simulated vehicle returned by the container running in the cloud platform, so as to execute performance testing of the cloud platform.

[0022] An embodiment of the present invention provides an electronic device, comprising: a processor and a memory configured to store a computer program that can be run on the processor, wherein the processor is configured to execute the steps of the aforementioned method when running the computer program.

[0023] An embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the aforementioned method are implemented.

[0024] An embodiment of the present invention provides a computer program product, including a computer program or instructions, which implements the steps of the above method when executed by a processor.

[0025] Beneficial effects of the present invention:

[0026] (1) The present invention simultaneously sends the authentication information and login message of each first simulated vehicle to the cloud platform for login verification. When the login success information of each first simulated vehicle is received from the container running in the cloud platform, it indicates that multiple first simulated vehicles have successfully logged in at the same time. Then, other business messages of each first simulated vehicle are simultaneously sent to the cloud platform to perform performance testing of the cloud platform. In this way, the scenario in which multiple first simulated vehicles successfully log in at the same time and then send other business messages to the cloud platform in a real environment is simulated. In addition, multiple first simulated vehicles support multiple transmission protocols, and can implement testing of business messages of multiple transmission protocols.

[0027] (2) The present invention first determines the number of simulated vehicles of each transmission protocol supported by the same vehicle series, then obtains relevant information of multiple second simulated vehicles from the first database, and then verifies that the message set of the second simulated vehicle can be executed. Then, based on the relevant information of the second simulated vehicle, that is, the first simulated vehicle, the initial message set of each supported transmission protocol, that is, the second message set, is corrected, thereby obtaining a first message set exclusive to the first simulated vehicle. Compared with manual data preparation, the speed of obtaining a set of first message sets of multiple transmission protocols in this way is much faster, thereby achieving the purpose of saving time in data preparation.

[0028] (3) The present invention dynamically configures the number of containers on the K8S cluster in real time according to the number of simulated vehicles corresponding to each transmission protocol, ensuring that the K8S cluster can stably run the business message processing tasks of all current second simulated vehicles;

[0029] (4) The present invention can ensure that when the simulated vehicle is replaced, a simulated vehicle that is exactly the same as the previous test will not be obtained, thereby ensuring the accuracy of the test results. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 The process diagram of the cloud platform performance testing method in the embodiment of the present invention is as follows Figure 1 ;

[0031] Figure 2 The process diagram of the cloud platform performance testing method in the embodiment of the present invention is as follows Figure 2 ;

[0032] Figure 3 The process diagram of the cloud platform performance testing method in the embodiment of the present invention is as follows Figure 3 ;

[0033] Figure 4 The process diagram of the cloud platform performance testing method in the embodiment of the present invention is as follows Figure 4 ;

[0034] Figure 5The process diagram of the cloud platform performance testing method in the embodiment of the present invention is as follows Figure 5 ;

[0035] Figure 6 A schematic diagram of an interface for a cloud platform performance test according to an embodiment of the present invention;

[0036] Figure 7 The process diagram of the cloud platform performance testing method in the embodiment of the present invention is as follows Figure 6 ;

[0037] Figure 8 This is a schematic diagram of the structure of the cloud platform performance testing device in an embodiment of the present invention;

[0038] Figure 9 Schematic diagram of the structure of the electronic device in an embodiment of the present invention. DETAILED DESCRIPTION

[0039] In order to enable a more detailed understanding of the features and technical contents of the embodiments of the present invention, the implementation of the embodiments of the present invention is described in detail below with reference to the accompanying drawings. The accompanying drawings are for reference only and are not intended to limit the embodiments of the present invention.

[0040] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention pertains. The terms used herein are for the purpose of describing the present embodiment only and are not intended to limit the present invention.

[0041] In the following description, references to “some embodiments,” “this embodiment,” “this embodiment,” and examples, etc., describe a subset of all possible embodiments, but it can be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.

[0042] If similar descriptions of "first / second" appear in the application documents, the following explanation is added. In the following description, the terms "first\second\third" are merely used to distinguish similar objects and do not represent a specific order of the objects. It can be understood that "first\second\third" can be interchanged with the specific order or sequence where permitted, so that the embodiment described herein can be implemented in an order other than that illustrated or described herein.

[0043] In this embodiment, the term "and / or" is merely a description of the association relationship between associated objects, indicating that three relationships may exist. For example, object A and / or object B may represent three situations: object A exists alone, object A and object B exist at the same time, and object B exists alone.

[0044] The embodiment of the present invention provides a cloud platform performance testing method, Figure 1 The process diagram of the cloud platform performance testing method in the embodiment of the present invention is as follows Figure 1 ,like Figure 1 As shown, the cloud platform performance testing method includes the following steps:

[0045] S101: Upon receiving a test instruction, obtaining a first message set of each of a plurality of first simulated vehicles; wherein the plurality of first simulated vehicles support a plurality of transmission protocols, and the first message set includes a login message and other service messages.

[0046] In the embodiment of the present invention, the test instruction is used to instruct to test the performance of the cloud platform.

[0047] In this embodiment of the present invention, a first simulated vehicle supports one transmission protocol. Some first simulated vehicles support transmission protocol 1, some first simulated vehicles support transmission protocol 2, some first simulated vehicles support transmission protocol 3, and so on. Based on this, multiple first simulated vehicles support multiple transmission protocols. This allows a set of first messages supporting multiple transmission protocols to be obtained.

[0048] For example, the multiple transmission protocols may include a Tag-Length-Value (TLV) protocol and a MATT protocol.

[0049] In the embodiment of the present invention, the login message refers to the message used by the first simulated vehicle to log in to the cloud platform. Other service messages refer to the messages used by the first simulated vehicle to perform service interactions with the cloud platform.

[0050] S102: Based on the transmission protocol supported by each first simulated vehicle, the authentication information and login message of each first simulated vehicle are sent to the cloud platform at the same time.

[0051] In an embodiment of the present invention, authentication information and login messages of multiple first simulated vehicles are sent to the cloud platform at the same time to simulate a scenario in which multiple first simulated vehicles simultaneously request login from the cloud platform in a real environment.

[0052] The authentication information is used to verify whether the first simulated vehicle is legitimate. For example, the authentication information can be a Vehicle Identification Number (VIN). The VIN code consists of 17 characters, commonly known as a 17-digit code. It is the vehicle's unique identification information, like a vehicle's "ID card number." It contains information such as the vehicle's manufacturer, year, model, body type and code, engine code, and assembly location.

[0053] S103: Upon receiving the successful login information of each first simulated vehicle returned by the container running in the cloud platform, other business messages of each first simulated vehicle are simultaneously sent to the cloud platform based on the transmission protocol supported by each first simulated vehicle to perform performance testing of the cloud platform.

[0054] In an embodiment of the present invention, upon receiving successful login information for each first simulated vehicle returned by a container running on a cloud platform, the simultaneous successful login of multiple first simulated vehicles is indicated, and then other service messages of each first simulated vehicle are simultaneously sent to the cloud platform to perform a performance test of the cloud platform, thereby simulating a scenario in which multiple first simulated vehicles simultaneously successfully log in and send other service messages to the cloud platform in a real-world environment. In addition, the multiple first simulated vehicles support multiple transmission protocols, enabling testing of service messages of multiple transmission protocols.

[0055] In some embodiments of the present invention, the step of obtaining a first message set of each of the plurality of first simulated vehicles includes the following steps:

[0056] S201: Based on the vehicle series ratio, the protocol ratio corresponding to the same vehicle series and the total number of simulated vehicles, determine the number of simulated vehicles for each protocol supported by the same vehicle series.

[0057] In the embodiment of the present invention, the vehicle series ratio refers to the proportion of different vehicle series in the total number of test vehicles.

[0058] In an embodiment of the present invention, the same vehicle series supports at least one transmission protocol. For example, a certain vehicle series supports two transmission protocols, namely, transmission protocol 1 and transmission protocol 2, and the corresponding protocol ratio of the vehicle series is the ratio of transmission protocol 1 to transmission protocol 2 (such as 2:3). A certain vehicle series supports three transmission protocols, namely, transmission protocol 3, transmission protocol 4 and transmission protocol 5, and the corresponding protocol ratio of the vehicle series is the ratio of transmission protocol 3 to transmission protocol 4 to transmission protocol 5 (such as 1:3:6). It should be noted that transmission protocol 1 and / or transmission protocol 2 can be the same as one or two of the transmission protocols among transmission protocol 3, transmission protocol 4 and transmission protocol 5, or can be completely different.

[0059] In this embodiment of the present invention, the total number of simulated vehicles corresponding to the same vehicle series is determined based on the vehicle series ratio and the total number of simulated vehicles. Furthermore, the number of simulated vehicles for each protocol supported by the same vehicle series is obtained based on the total number of simulated vehicles corresponding to the same vehicle series and the protocol ratio corresponding to the same vehicle series.

[0060] For example, the ratio between car series A, B, and C is 1:3:6, and the total number of simulated vehicles is 1 million. Then the total number of simulated vehicles corresponding to car series A is 100,000, the total number of simulated vehicles corresponding to car series B is 300,000, and the total number of simulated vehicles corresponding to car series C is 600,000. Car series A supports one transmission protocol, namely, transmission protocol 1. The corresponding protocol ratio of car series A is 1:0, and the number of simulated vehicles supported by transmission protocol 1 for car series A is 100,000. Car series B supports two transmission protocols, namely, transmission protocol 1 and transmission protocol 2. The corresponding protocol ratio of car series B can be 1:2, and the number of simulated vehicles supported by transmission protocol 1 for car series B is 100,000, and the number of simulated vehicles supported by transmission protocol 2 for car series B is 200,000. The C series supports two transmission protocols, namely transmission protocol 1, transmission protocol 2 and transmission protocol 3. The corresponding protocol ratio of the C series can be 1:2:3, which determines that the number of simulated vehicles supported by the C series for transmission protocol 1 is 100,000, the number of simulated vehicles supported for transmission protocol 2 is 200,000, and the number of simulated vehicles supported for transmission protocol 3 is 300,000.

[0061] S202: Based on the number of simulated vehicles of each transmission protocol supported by the same vehicle series, obtain relevant information of multiple second simulated vehicles from the first database; wherein the relevant information includes: vehicle identification number and vehicle identification number.

[0062] In this embodiment of the present invention, the first database stores the correspondence between vehicle series, supported transmission protocols, and related information. Based on this, the relevant information of multiple second simulated vehicles can be obtained from the first database based on the number of simulated vehicles supporting each protocol for the same vehicle series.

[0063] The Terminal Unit Identifier (TUID) is the unique identifier of the vehicle equipment. The Vehicle Identification Number is the unique identifier of the vehicle.

[0064] S203: Based on each transmission protocol type, obtain a second message set of each transmission protocol from a second database.

[0065] In the embodiment of the present invention, the second database pre-stores second message sets corresponding to multiple transmission protocols. Here, based on the multiple transmission protocols supported by the multiple first simulated vehicles, the second message set for each of the multiple transmission protocols is obtained from the second database.

[0066] S204: Based on the relevant information of the multiple second simulated vehicles, determine to execute the message set of the transmission protocol supported by the vehicle series to which the multiple first simulated vehicles belong, correct the second message set of the transmission protocol supported by the vehicle series to which each first simulated vehicle belongs, and obtain the first message set of each first simulated vehicle; the multiple second simulated vehicles include the multiple first simulated vehicles.

[0067] It should be noted that not all second simulated vehicles meet the test conditions. Here, based on the vehicle identification number and / or vehicle identification number of the second simulated vehicle, basic information for judging whether it meets the test conditions is obtained. Then, based on the basic information, if the current second simulated vehicle meets the test conditions, the second simulated vehicle is used as the first simulated vehicle. Based on the relevant information of the first simulated vehicle, the second message set of the transmission protocol supported by the vehicle series to which each first simulated vehicle belongs is corrected to obtain the exclusive first message set of each first simulated vehicle. Among them, the basic information includes at least one of the following: first information indicating whether it is real-name, vehicle equipment number, integrated circuit card identification code and certificate number.

[0068] In an embodiment of the present invention, by first determining the number of simulated vehicles for each transmission protocol supported by the same vehicle series, then obtaining relevant information about multiple second simulated vehicles from a first database, and then verifying that the message set for the second simulated vehicles can be executed, the initial message set for each supported transmission protocol, i.e., the second message set, is modified based on the relevant information about the second simulated vehicle, i.e., the first simulated vehicle, thereby obtaining a first message set exclusive to the first simulated vehicle. This method of obtaining a set of first message sets for multiple transmission protocols is significantly faster than manually preparing data, thereby saving time in preparing data.

[0069] In some embodiments of the present invention, determining, based on the relevant information of the plurality of second simulated vehicles, a message set for executing a transmission protocol supported by the vehicle series to which the plurality of first simulated vehicles belong, comprises the following steps:

[0070] S301: Based on the relevant information of each second simulated vehicle, basic information of each second simulated vehicle is obtained from the third database; wherein the basic information includes at least one of the following: information indicating whether it is real-name, an integrated circuit card identification code, and a certificate number.

[0071] S302: Based on the basic information of each second simulated vehicle, determine to execute a message set of a transmission protocol supported by the vehicle series to which each second simulated vehicle belongs, and use the second simulated vehicle as the first simulated vehicle.

[0072] In an embodiment of the present invention, when at least one of the following is met: the information indicating whether the vehicle is real-named indicates that the vehicle is real-named; the number of digits in the integrated circuit card identification code meets the first legal requirement; the number of digits in the certificate number meets the second legal requirement, then the message set of the protocol supported by the vehicle series to which the second simulated vehicle belongs is determined to be executed.

[0073] Based on this, if the information indicating whether the current second simulated vehicle is real-name indicates that the vehicle is real-name registered, and / or the number of digits in the integrated circuit card identification code meets the first legal requirement, and / or the number of digits in the certificate number meets the second legal requirement, a message set is determined that can execute the transmission protocol supported by the second simulated vehicle. For each second simulated vehicle, S301 to S302 are executed to determine multiple first simulated vehicles from the multiple second simulated vehicles, where the first simulated vehicles are legally authenticated vehicles. Further, performance testing of the cloud platform can be performed based on the first message sets of the multiple first simulated vehicles.

[0074] In an embodiment of the present invention, multiple first simulated vehicles that have passed legal authentication are determined from multiple second simulated vehicles, and then based on the first message sets of the multiple first simulated vehicles, performance testing of the cloud platform is performed to ensure the accuracy of the test results.

[0075] In some embodiments of the present invention, the cloud platform performance testing method further includes the following steps:

[0076] S401: Based on the number of simulated vehicles corresponding to each transmission protocol, determine the target number of containers of the type corresponding to each transmission protocol; different transmission protocols correspond to different types of containers.

[0077] In the embodiment of the present invention, the number of simulated vehicles that can be run in one container is fixed.

[0078] For example, if the number of simulated vehicles corresponding to a certain transmission protocol is 100,000, and the number of simulated vehicles that can be run by the type container corresponding to the transmission protocol is 10,000, then the number of containers of this type required is 10.

[0079] S402: Generate a first request based on the target number of containers of the same type as each transport protocol, and send it to the K8S cluster of the cloud platform, so that the K8S cluster compares the target number of containers of the same type as each transport protocol with the existing number, and expands the existing number of containers of the same type as each transport protocol to be consistent with the target number.

[0080] In this embodiment of the present invention, the K8S cluster parses the first request and obtains the target number of containers of the same type for each transport protocol. Furthermore, the target number is compared with the existing number of containers of the same type for the transport protocol. If the target number is greater than the existing number, the K8S cluster must perform an operation to expand the containers so that the number of containers on the K8S cluster reaches the desired number. If the target number is less than or equal to the existing number, the K8S cluster does not need to perform the operation to expand the containers.

[0081] In this embodiment of the present invention, the number of containers on the K8S cluster is dynamically configured in real time according to the number of simulated vehicles corresponding to each transmission protocol, ensuring that the K8S cluster can stably run the business message processing tasks of all current second simulated vehicles.

[0082] In some embodiments of the present invention, upon receiving login success information of each first simulated vehicle returned by the container running in the cloud platform, based on the transmission protocol supported by each first simulated vehicle, other business messages of each first simulated vehicle are simultaneously sent to the cloud platform to perform performance testing of the cloud platform, including the following steps:

[0083] S501: Upon receiving login success information of each first simulated vehicle returned by the container running in the cloud platform, output the login success information of each first simulated vehicle.

[0084] Here, the successful login information of each first simulated vehicle is outputted, with the purpose of simulating that each first simulated vehicle will reply with a successful login information after successful login in a real environment.

[0085] S502: Based on the transmission protocol supported by each first simulated vehicle, other business messages of each first simulated vehicle are sent to the cloud platform at the same time.

[0086] S503: Upon receiving the response information corresponding to the first simulated vehicle returned by the cloud platform, process the response information corresponding to the first simulated vehicle.

[0087] Here, the response information corresponding to the first simulated vehicle is processed in order to simulate that the first simulated vehicle will process the response information returned by the cloud platform in a real environment.

[0088] S504: Based on the total number and processing time of other business messages processed by the cloud platform, a test result of the cloud platform is obtained.

[0089] Here, the ratio of the total number of other business messages processed by the cloud platform to the processing time is determined to obtain the number of processed business messages at each time, and then compared with the expected number of processed business messages at each time to obtain the test results that characterize the cloud platform.

[0090] In some embodiments of the present invention, the cloud platform performance testing method further includes:

[0091] During the performance test of the cloud platform, each first simulated vehicle is simulated to send a heartbeat message to the cloud platform according to a preset period.

[0092] Here, simulating each first simulated vehicle to send a heartbeat message to the cloud platform according to a preset period is to ensure a long connection between the first simulated vehicle and the cloud platform, thereby ensuring the accuracy of the final cloud platform test results.

[0093] In some embodiments of the present invention, during a peak period, the sending volume of other service messages is set to a first sending volume and a sending frequency to a first sending frequency;

[0094] During the off-peak period, the sending volume of other service messages is set to the second sending volume and the sending frequency is set to the second sending frequency;

[0095] The first transmission amount is greater than the second transmission amount, and the first transmission frequency is greater than the second transmission frequency.

[0096] In the embodiment of the present invention, different sending volumes and sending frequencies of business messages are set in different time periods to simulate the test scenarios in a real environment, thereby ensuring the accuracy of the final cloud platform test results.

[0097] In some embodiments of the present invention, the cloud platform performance testing method further includes: displaying the test results of the cloud platform in the first display area.

[0098] In some embodiments of the present invention, the cloud platform performance testing method further includes: acquiring log information in real time, and displaying the log information in the second display area.

[0099] In some embodiments of the present invention, obtaining a test result of the cloud platform based on the total number and processing time of other business messages processed by the cloud platform includes:

[0100] A first result is obtained based on the total number and processing time of other business messages processed by the cloud platform and the corresponding expected results;

[0101] Receive performance data of the running container returned by the cloud platform;

[0102] Determining a second result based on performance data of the container running in the cloud platform and the corresponding expected result;

[0103] A test result of the cloud platform is determined based on the first result and the second result.

[0104] In an embodiment of the present invention, the ratio of the total number of other business messages processed by the cloud platform and the processing time is determined to obtain the number of processed business messages at each time, and then compared with the expected number of processed business messages at each time to obtain a first result.

[0105] In an embodiment of the present invention, multiple containers are running on a cloud platform, and the performance data of each container refers to data representing the performance of the container. The number of containers for which the performance data is less than or equal to the expected result is counted, and the ratio of the number of containers to the total number of containers is calculated to obtain a second result.

[0106] Furthermore, a third result is obtained by adding the product of the first result and the first weight, and the product of the second result and the second weight. If the third result is greater than or equal to a preset result threshold, the test result of the cloud platform indicates that the test passed. If the third result is less than the preset result threshold, the test result of the cloud platform indicates that the test failed.

[0107] Exemplarily, the performance data may include the memory usage and CPU utilization of the container. Based on this, the memory usage of multiple containers is counted, the number of first containers whose memory usage is less than or equal to the memory usage threshold is counted, and the ratio of the number of first containers to the total number of containers is calculated to obtain a fourth result. Based on the CPU utilization of multiple containers, the number of second containers whose CPU usage is less than or equal to the CPU usage threshold is counted, and the ratio of the number of second containers to the total number of containers is calculated to obtain a fifth result. The second result is obtained by adding the product of the fourth result and the third weight, and the product of the fifth result and the fourth weight.

[0108] In this way, the test result of the cloud platform is comprehensively determined based on the first result and the second result, thereby ensuring the accuracy of the test result.

[0109] In some embodiments of the present invention, the cloud platform performance testing method further includes:

[0110] When receiving the instruction to replace the simulated vehicle, obtaining again the first message set of each of the plurality of third simulated vehicles; wherein the plurality of third simulated vehicles includes the first simulated vehicle, and the plurality of third simulated vehicles supports multiple transmission protocols;

[0111] Based on the transmission protocol supported by each third simulated vehicle, the authentication information and login message of each third simulated vehicle are simultaneously sent to the cloud platform;

[0112] Upon receiving the successful login information of each third simulated vehicle returned by the container running in the cloud platform, other business messages of each third simulated vehicle are sent to the cloud platform at the same time based on the transmission protocol supported by each third simulated vehicle to execute the performance test of the cloud platform.

[0113] In the embodiment of the present invention, the simulated vehicle replacement instruction is used to instruct the service message of replacing the simulated vehicle used in the previous test.

[0114] In an embodiment of the present invention, by replacing simulated vehicles, the situation in a real environment where some vehicles still send a large number of business messages to the platform after their login expires and they log in again is simulated. This is to determine whether the platform can operate stably.

[0115] It should be noted that the difference from the previous test is that the test data obtained are not exactly the same. The subsequent steps can be explained in detail with reference to the above embodiment and will not be repeated here.

[0116] In some embodiments of the present invention, the cloud platform performance testing method also includes: sending a second request to the cloud platform; when receiving the cloud platform's response to the second request, displaying the number of returned container online and normal operating protocol messages, the number of returned container online and unable to operate normally protocol messages, and the number of returned containers that are not online.

[0117] Based on the above embodiment, the embodiment of the present invention illustrates an interface diagram of a cloud platform performance test. Figure 6 This is a schematic diagram of an interface for a cloud platform performance test according to an embodiment of the present invention. Figure 6 As shown in the figure, the interface of the cloud platform performance test includes:

[0118] Stress testing environment 41 and its content items; wherein the content items of the stress testing environment include a test environment, a pre-production environment, and a production environment; stress testing refers to stress testing;

[0119] The number of existing containers 42 and its content items; wherein the content item of the number of existing containers is used to display the number of different types of containers on the cloud platform side;

[0120] The first database 43 and its content items; wherein the content items of the first database are its access URLs, which can be written by the user, or selected from a pre-set drop-down box, or after the stress testing environment is selected, the access URL of the first database is automatically selected as the corresponding access URL; the first database stores relevant information of the simulated vehicle;

[0121] A second database 44 and its content items; wherein the content items of the second database are its access URLs, which can be written by the user, or selected from a pre-set drop-down box, or after the stress testing environment is selected, the access URL of the second database is automatically selected as the corresponding access URL; the second database stores a second message set of different transmission protocols;

[0122] Vehicle series ratio 45 and its content items; wherein, the content item of vehicle series ratio refers to the ratio of the number of different vehicle series to the total number of simulated vehicles set, which can be written by the user or selected from the pre-set drop-down box content;

[0123] Protocol ratio 46 and its content items; wherein, protocol ratio refers to the transmission protocol ratio corresponding to the same vehicle series, which can be written by the user or selected from the pre-set drop-down box content;

[0124] Open button 47; Close button 48; Change simulated vehicle button 49;

[0125] and a result display area 50, in which the test results of the cloud platform are displayed (i.e., the first display area mentioned above), and the results can be further filtered, for example, to select only error results to be displayed;

[0126] And the log display area 51, the log display area (ie the second display area mentioned above) displays log information, and can also further perform log filtering, such as displaying log information of certain simulated vehicles.

[0127] Based on this, an embodiment of the present invention provides a cloud platform performance testing method. Figure 7 The process diagram of the cloud platform performance testing method in the embodiment of the present invention is as follows Figure 6 ,like Figure 7 As shown, the cloud platform performance testing method includes the following steps:

[0128] S701: Preparation before testing.

[0129] Including: setting the stress testing environment, setting the access URL of the first database, setting the access URL of the second database, setting the vehicle series ratio, and setting the protocol ratio corresponding to the same vehicle series.

[0130] S702: When a test instruction is received, the total number of simulated vehicles corresponding to the same vehicle series is determined based on the vehicle series ratio and the total number of simulated vehicles.

[0131] Here, when the user clicks the start button, a test instruction is generated.

[0132] S703: Based on the total number of simulated vehicles corresponding to the same vehicle series and the protocol ratio corresponding to the same vehicle series, the number of simulated vehicles for each protocol supported by the same vehicle series is obtained.

[0133] S704: Based on the number of simulated vehicles of each transmission protocol supported by the same vehicle series, obtain relevant information of multiple second simulated vehicles from the first database; wherein the relevant information includes: vehicle identification number and vehicle identification number.

[0134] S705: Based on each transmission protocol type, obtain a second message set of each transmission protocol from a second database.

[0135] S706: Based on the relevant information of the plurality of second simulated vehicles, basic information of each second simulated vehicle is obtained from the third database; wherein the basic information includes: information indicating whether the vehicle is real-name registered, an integrated circuit card identification code, and a certificate number.

[0136] S707: When the basic information of the second simulated vehicle is verified to be legal, the second simulated vehicle is used as the first simulated vehicle, and the second message set of the transmission protocol supported by the vehicle series to which each first simulated vehicle belongs is corrected to obtain the first message set of each first simulated vehicle.

[0137] S708: Based on the transmission protocol supported by each first simulated vehicle, the authentication information and login message of each first simulated vehicle are sent to the cloud platform at the same time.

[0138] S709: Upon receiving the successful login information of each first simulated vehicle returned by the container running in the cloud platform, output the successful login information of each first simulated vehicle.

[0139] It should be noted that before executing S709, the target number of containers of the type corresponding to each transport protocol is determined based on the number of simulated vehicles corresponding to each transport protocol, and different transport protocols correspond to different types of containers; a first request is generated based on the target number of containers of the type corresponding to each transport protocol, and sent to the K8S cluster of the cloud platform, so that the K8S cluster parses the first request and obtains the target number of containers of the type corresponding to each transport protocol; further, it is compared with the existing number of containers of the type corresponding to the corresponding transport protocol. If the target number is greater than the existing number, the K8S cluster needs to perform the operation of expanding the container so that the number of containers on the K8S cluster is the required number of containers; if the target number is less than or equal to the existing number, the K8S cluster does not need to perform the operation of expanding the container.

[0140] S710: Based on the transmission protocol supported by each first simulated vehicle, other business messages of each first simulated vehicle are sent to the cloud platform at the same time.

[0141] S711: Upon receiving the response information corresponding to the first simulated vehicle returned by the cloud platform, process the response information corresponding to the first simulated vehicle.

[0142] That is, the first simulated vehicle can correctly process the reply content of the cloud platform.

[0143] S712: Based on the total number and processing time of other business messages processed by the cloud platform, a test result of the cloud platform is obtained.

[0144] In the process of executing the performance test of the cloud platform, each first simulated vehicle is simulated to send a heartbeat message to the cloud platform according to a preset period to ensure a long connection between the first simulated vehicle and the cloud platform.

[0145] During the process of sending business messages, the traffic access volume can be dynamically configured according to the traffic changes in the actual environment.

[0146] After stable operation, the simulated vehicles can be replaced to simulate the situation in the real environment where some vehicles still send a large number of business messages to the platform when their login expires and they log in again, to see whether the platform can run stably.

[0147] The aforementioned cloud platform performance testing method is a Java distributed project developed with Spring Boot, leveraging a Kubernetes cluster. It supports automatic horizontal scaling, enabling access to container connection limits and dynamic adjustment of container connection devices. Data can be dynamically retrieved from the database based on the designed data volume and target targets, eliminating duplication of data preparation for testers and optimizing process efficiency. Kubernetes cluster application nodes support one-click device switching, preventing cache buildup on devices with long-term connections that could impact performance test results. During stress testing, connection status monitoring is available in real time, and the number of concurrent connections to devices can be controlled. By analyzing real-world vehicle traffic from various models and series, the method supports data analysis and collection based on real-world production conditions, message database generation, real-vehicle simulation of vehicle condition message databases, simulation at specified cycles, and real-vehicle cycle-based vehicle condition simulation, covering a full range of scenarios. It also supports full-link stress testing time analysis, encompassing processes from vehicle initiation, cloud reception, and return from the cloud to the vehicle. This allows for optimization of remote control and other vehicle control timelines, providing meaningful data support for a better remote control experience. At the same time, it can also support multiple protocols, such as MQTT and TLV. It can dynamically obtain devices that meet the requirements based on the protocol and vehicle model, and then obtain the messages of the corresponding devices that support the protocol, distribute the messages, and send them according to the message ratio.

[0148] The effects of the above solution are:

[0149] 1. Efficiency improvement indicators

[0150] Simulation efficiency: Single-node virtual vehicle generation speed ≥ 1000 / second

[0151] Compressed test cycle: Completing a million-level vehicle stress test is shortened from the traditional 30-45 days to 15-20 days (efficiency increased by 50%)

[0152] 2. Performance optimization indicators

[0153] Concurrent processing capability: A single test node supports ≥50,000 vehicle long connections

[0154] Response delay control: Under the pressure of 8 million vehicles connecting, the system end-to-end delay is ≤1s

[0155] 3. Cost saving indicators

[0156] Operation and maintenance costs: Platform-based testing reduces manual intervention time by 78%

[0157] Energy efficiency: Test system unit terminal energy consumption ≤ 0.13W

[0158] 4. Technical breakthrough indicators

[0159] Protocol compatibility: supports MQTT and TLV protocol mixed scenario simulation

[0160] Elastic scalability: supports seamless expansion from 10,000 to 8 million vehicles, with fast resource allocation response time.

[0161] Based on the above embodiments, the present invention further provides a cloud platform performance testing device. Figure 8 FIG. 1 is a schematic diagram showing the structure of a cloud platform performance testing device according to an embodiment of the present invention. Figure 8 As shown, the cloud platform performance testing device 80 includes:

[0162] An acquisition unit 801 is configured to acquire, upon receiving a test instruction, a first message set of each of a plurality of first simulated vehicles; wherein the plurality of first simulated vehicles support a plurality of transmission protocols, and the first message set includes a login message and other service messages;

[0163] The processing unit 802 is configured to simultaneously send the authentication information and the login message of each first simulated vehicle to the cloud platform based on a transmission protocol supported by each first simulated vehicle;

[0164] The processing unit 802 is also used to, upon receiving the successful login information of each first simulated vehicle returned by the container running in the cloud platform, send other business messages of each first simulated vehicle to the cloud platform based on the transmission protocol supported by each first simulated vehicle to perform performance testing of the cloud platform.

[0165] In an embodiment of the present invention, the authentication information and login message of each first simulated vehicle are simultaneously sent to the cloud platform for login verification. When the login success information of each first simulated vehicle is returned by the container running in the cloud platform, it is indicated that multiple first simulated vehicles have successfully logged in at the same time. Then, other business messages of each first simulated vehicle are simultaneously sent to the cloud platform to perform a performance test of the cloud platform. This simulates a scenario in a real environment where multiple first simulated vehicles successfully log in at the same time and then send other business messages to the cloud platform. In addition, multiple first simulated vehicles support multiple transmission protocols, which can implement testing of business messages of multiple transmission protocols.

[0166] In some embodiments of the present invention, the acquisition unit 801 is specifically used to determine the number of simulated vehicles for each transmission protocol supported by the same vehicle series based on the vehicle series ratio, the protocol ratio corresponding to the same vehicle series and the total number of simulated vehicles; based on the number of simulated vehicles for each transmission protocol supported by the same vehicle series, obtain relevant information of multiple second simulated vehicles from the first database; wherein, the relevant information includes: vehicle identification number, vehicle identification number; based on each transmission protocol type, obtain the second message set of each transmission protocol from the second database; based on the relevant information of the multiple second simulated vehicles, determine to execute the message set of the transmission protocol supported by the vehicle series to which the multiple first simulated vehicles belong, correct the second message set of the transmission protocol supported by the vehicle series to which each first simulated vehicle belongs, and obtain the first message set of each first simulated vehicle; the multiple second simulated vehicles include multiple first simulated vehicles.

[0167] In some embodiments of the present invention, the acquisition unit 801 is specifically used to obtain basic information of each second simulated vehicle from a third database based on the relevant information of each second simulated vehicle; wherein, the basic information includes at least one of the following: information indicating whether it is real-name, an integrated circuit card identification code and a certificate number; based on the basic information of each second simulated vehicle, determine to execute a message set of the transmission protocol supported by the vehicle series to which each second simulated vehicle belongs, and use the second simulated vehicle as the first simulated vehicle.

[0168] In some embodiments of the present invention, the processing unit 802 is further used to determine the target number of containers of the type corresponding to each transport protocol based on the number of simulated vehicles corresponding to each transport protocol; wherein different transport protocols correspond to different types of containers; a first request is generated based on the target number of containers of the type corresponding to each transport protocol, and sent to the K8S cluster of the cloud platform, so that the K8S cluster compares the target number of containers of the type corresponding to each transport protocol with the existing number, and expands the existing number of containers of the type corresponding to each transport protocol to be consistent with the target number.

[0169] In some embodiments of the present invention, the processing unit 802 is specifically used to output the login success information of each first simulated vehicle upon receiving the login success information of each first simulated vehicle returned by the container running in the cloud platform; based on the transmission protocol supported by each first simulated vehicle, send other business messages of each first simulated vehicle to the cloud platform at the same time; upon receiving the response information of the corresponding first simulated vehicle returned by the cloud platform, process the response information of the corresponding first simulated vehicle; and obtain the test result of the cloud platform based on the statistical total number and processing time of other business messages processed by the cloud platform.

[0170] In some embodiments of the present invention, the processing unit 802 is further configured to simulate each first simulated vehicle sending a heartbeat message to the cloud platform according to a preset period during the performance test of the cloud platform.

[0171] In some embodiments of the present invention, during peak time periods, the sending volume of other business messages is set to a first sending volume, and the sending frequency is set to a first sending frequency; during non-peak time periods, the sending volume of other business messages is set to a second sending volume, and the sending frequency is set to a second sending frequency; wherein, the first sending volume is greater than the second sending volume, and the first sending frequency is greater than the second sending frequency.

[0172] An embodiment of the present invention further provides another electronic device, Figure 9 FIG. 1 is a schematic diagram of the structure of the electronic device according to an embodiment of the present invention. Figure 9 As shown, the electronic device 90 includes: a processor 901 and a memory 902 configured to store a computer program that can be run on the processor;

[0173] The processor 901 is configured to execute the method steps in the aforementioned embodiment when running a computer program.

[0174] Of course, in actual application, Figure 9 As shown, the various components in the electronic device 90 are coupled together via a bus system 903. It is understood that the bus system 903 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 903 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Figure 9 Various buses are labeled as bus system 903.

[0175] In practical applications, the processor may be at least one of an application-specific integrated circuit (ASIC), a digital signal processing device (DSPD), a programmable logic device (PLD), a field-programmable gate array (FPGA), a controller, a microcontroller, and a microprocessor. It is understood that for different devices, the electronic device used to implement the functions of the processor may also be other, and the embodiments of the present invention do not specifically limit this.

[0176] The above-mentioned memory can be a volatile memory (volatile memory), such as a random-access memory (RAM); or a non-volatile memory (non-volatile memory), such as a read-only memory (ROM), a flash memory, a hard disk (HDD) or a solid-state drive (SSD); or a combination of the above types of memory, and provides instructions and data to the processor.

[0177] In an exemplary embodiment, the present invention further provides a computer-readable storage medium for storing a computer program.

[0178] Optionally, the computer-readable storage medium can be applied to any one of the methods in the embodiments of the present invention, and the computer program enables the computer to execute the corresponding processes implemented by the processor in each method in the embodiments of the present invention. For the sake of brevity, they are not repeated here.

[0179] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0180] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0181] In addition, the functional units in the embodiments of the present invention can all be integrated into one processing module, or each unit can be a separate unit, or two or more units can be integrated into one unit; the above-mentioned integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units. It can be understood by those skilled in the art that all or part of the steps of the above-mentioned method embodiments can be completed by hardware related to program instructions, and the above-mentioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above-mentioned method embodiments; and the above-mentioned storage medium includes various media that can store program codes, such as mobile storage devices, read-only memories (ROMs), random access memories (RAMs), magnetic disks or optical disks.

[0182] The methods disclosed in the several method embodiments provided by the present invention can be arbitrarily combined without conflict to obtain new method embodiments.

[0183] The features disclosed in several product embodiments provided by the present invention can be arbitrarily combined without conflict to obtain new product embodiments.

[0184] The features disclosed in several method or device embodiments provided by the present invention can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.

[0185] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any modifications or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present invention should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.

Claims

1. A cloud platform performance testing method, characterized in that: The cloud platform performance testing method includes: Upon receiving the test instruction, obtaining a first message set of each of the plurality of first simulated vehicles; wherein the plurality of first simulated vehicles support a plurality of transmission protocols, and the first message set includes a login message and other service messages; Based on a transmission protocol supported by each first simulated vehicle, simultaneously sending authentication information and a login message of each first simulated vehicle to the cloud platform; Upon receiving the successful login information of each first simulated vehicle returned by the container running in the cloud platform, based on the transmission protocol supported by each first simulated vehicle, other business messages of each first simulated vehicle are sent to the cloud platform at the same time to execute the performance test of the cloud platform.

2. The cloud platform performance testing method according to claim 1, characterized in that: The obtaining of the first message sets of the respective first simulated vehicles includes: Based on the vehicle series ratio, the protocol ratio corresponding to the same vehicle series, and the total number of simulated vehicles, determine the number of simulated vehicles for each transmission protocol supported by the same vehicle series; Based on the number of simulated vehicles of each transmission protocol supported by the same vehicle series, relevant information of multiple second simulated vehicles is obtained from the first database; wherein the relevant information includes: vehicle identification number and vehicle identification number; Based on each transmission protocol type, obtaining a second message set for each transmission protocol from a second database; Based on the relevant information of the multiple second simulated vehicles, when determining to execute a message set of the transmission protocol supported by the vehicle series to which the multiple first simulated vehicles belong, the second message set of the transmission protocol supported by the vehicle series to which each first simulated vehicle belongs is corrected to obtain the first message set of each first simulated vehicle; the multiple second simulated vehicles include multiple first simulated vehicles.

3. The cloud platform performance testing method according to claim 2, characterized in that: The step of determining, based on the relevant information of the plurality of second simulated vehicles, a message set for executing a transmission protocol supported by a vehicle series to which the plurality of first simulated vehicles belong, comprises: Based on the relevant information of each second simulated vehicle, basic information of each second simulated vehicle is obtained from a third database; wherein the basic information includes at least one of the following: information indicating whether the vehicle is real-name registered, an integrated circuit card identification code, and a certificate number; Based on the basic information of each second simulated vehicle, when determining to execute a message set of a transmission protocol supported by the vehicle series to which each second simulated vehicle belongs, the second simulated vehicle is used as the first simulated vehicle.

4. The cloud platform performance testing method according to any one of claims 1 to 3, characterized in that: The cloud platform performance testing method further includes: Based on the number of simulated vehicles corresponding to each transport protocol, determine the target number of containers of the type corresponding to each transport protocol; wherein different transport protocols correspond to different types of containers; A first request is generated based on the target number of containers of the same type as each transport protocol, and sent to the K8S cluster of the cloud platform, so that the K8S cluster compares the target number of containers of the same type as each transport protocol with the existing number, and expands the existing number of containers of the same type as each transport protocol to be consistent with the target number.

5. The cloud platform performance testing method according to any one of claims 1 to 3, characterized in that: Upon receiving login success information of each first simulated vehicle returned by the container running in the cloud platform, based on the transmission protocol supported by each first simulated vehicle, other business messages of each first simulated vehicle are simultaneously sent to the cloud platform to perform performance testing of the cloud platform, including: Upon receiving login success information of each first simulated vehicle returned by the container running in the cloud platform, outputting login success information of each first simulated vehicle; Based on the transmission protocol supported by each first simulated vehicle, simultaneously sending other business messages of each first simulated vehicle to the cloud platform; Upon receiving the response information corresponding to the first simulated vehicle returned by the cloud platform, processing the response information corresponding to the first simulated vehicle; Based on the total number and processing time of other business messages processed by the cloud platform, the test results of the cloud platform are obtained.

6. The cloud platform performance testing method according to any one of claims 1 to 3, characterized in that: The cloud platform performance testing method further includes: During the performance test of the cloud platform, each first simulated vehicle is simulated to send a heartbeat message to the cloud platform according to a preset period.

7. The cloud platform performance testing method according to any one of claims 1 to 3, characterized in that: During the peak period, the sending volume of other business messages is set to the first sending volume and the sending frequency is set to the first sending frequency; During the off-peak period, the sending volume of other service messages is set to the second sending volume and the sending frequency is set to the second sending frequency; The first transmission amount is greater than the second transmission amount, and the first transmission frequency is greater than the second transmission frequency.

8. A cloud platform performance testing device, characterized in that: The cloud platform performance testing device includes: An acquiring unit, configured to acquire, upon receiving a test instruction, a first message set of each of a plurality of first simulated vehicles; wherein the plurality of first simulated vehicles support a plurality of transmission protocols, and the first message set includes a login message and other service messages; a processing unit, configured to simultaneously send authentication information and a login message of each first simulated vehicle to the cloud platform based on a transmission protocol supported by each first simulated vehicle; The processing unit is also used to, upon receiving the successful login information of each first simulated vehicle returned by the container running in the cloud platform, send other business messages of each first simulated vehicle to the cloud platform at the same time based on the transmission protocol supported by each first simulated vehicle, and perform performance testing of the cloud platform.

9. An electronic device, characterized in that: The electronic device comprises: a processor and a memory configured to store a computer program capable of running on the processor, Wherein, the processor is configured to execute the steps of the cloud platform performance testing method described in any one of claims 1 to 7 when running the computer program.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the cloud platform performance testing method described in any one of claims 1 to 7 are implemented.