Testing method, device and equipment based on Internet of Vehicles platform

By optimizing the test process on the Internet of Vehicles platform, first performing communication protocol tests and ensuring passes before performing functional tests, the test blockage and cost increase caused by communication protocol testing problems is solved, and the testing efficiency and reliability of product releases are improved.

CN120186052APending Publication Date: 2025-06-20GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510305375.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-14
Publication Date
2025-06-20

AI Technical Summary

Technical Problem

Problems in communication protocol testing of the Internet of Vehicles system will block subsequent tests, increasing the cost of repair and the risk of delayed release.

Method used

A test method based on the Internet of Vehicles platform is proposed, which first performs communication protocol testing, and then performs functional testing after the results are passed, optimizes the test process, and ensures that the communication protocol test is qualified before performing functional testing.

Benefits of technology

It improves the success rate of functional testing, reduces the probability of re-repair during the functional testing phase, reduces the repair cost and testing cost, and avoids the risk of delayed product release.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120186052A_ABST
    Figure CN120186052A_ABST
Patent Text Reader

Abstract

The invention provides a test method, device and equipment based on an Internet of Vehicles platform, and is applied to the technical field of Internet of Vehicles testing, and the method comprises the steps: determining test input parameter information based on a test demand when the test demand is received, then determining a target test script corresponding to the test demand from a preset test script library based on the test input parameter information, and sending the target test script to the Internet of Vehicles platform; the target test script is executed, a test result is generated, and when the test result is qualified, a function test is carried out based on the test requirement, so that when the test of the Internet of Vehicles platform is carried out based on the test requirement, the communication protocol test is moved forward, the communication protocol test is carried out firstly, and the function test is carried out after the communication protocol test is qualified. Therefore, even if the communication protocol test is not qualified, only the communication protocol test needs to be retested, the function test and part of real vehicle tests do not need to be repeatedly tested, the subsequent function test is not influenced, and the repair cost and the test cost are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of vehicle networking testing, and particularly to a testing method, device, and equipment based on a vehicle networking platform. Background Art

[0002] For a vehicle networking system, communication protocol testing is a relatively important link. Currently, the communication protocol testing of a vehicle networking system is in the middle position in the entire testing process. If there are problems in the communication protocol testing, it will block subsequent tests, increasing the repair cost and the risk of delayed release. Summary of the Invention

[0003] In view of this, the purpose of this application is to propose a testing method, device, and equipment based on a vehicle networking platform to solve the problem that problems in communication protocol testing lead to blocking of subsequent tests and increase the repair cost.

[0004] Based on the above purpose, the first aspect of this application provides a testing method based on a vehicle networking platform, including:

[0005] In response to receiving a test requirement, determining test input parameter information based on the test requirement;

[0006] Based on the test input parameter information, determining a target test script from a preset test script library;

[0007] Executing the target test script and generating a test result;

[0008] In response to the test result being qualified, performing a function test based on the test requirement.

[0009] When testing the vehicle networking platform based on the test requirement, first execute the target test script and generate a test result, that is, first perform the communication protocol test. After determining that the test result is qualified, that is, the communication protocol test is qualified, then perform the function test. In this way, the execution step of the communication protocol test is moved forward to before the execution step of the function test, optimizing the test process and ensuring that the function test is performed only after the communication protocol test is qualified. In this way, the success rate of the function test can be increased, and the probability of repair during the function test stage can be reduced.

[0010] Optionally, the test input parameter information at least includes a test function name and source information, and the source information includes country information and / or site information;

[0011] The determining a target test script from a preset test script library based on the test input parameter information includes:

[0012] Based on the test function name, determining multiple initial test scripts corresponding to the test function name from the preset test script library;

[0013] Determine a target test script from the multiple initial test scripts.

[0014] When determining the target test script, first, based on the test function name, determine multiple initial test scripts corresponding to the test function name from a preset test script library, so as to accurately determine all the initial test scripts corresponding to the test function name. Then, determine a unique target test script from all the initial test scripts based on specific information corresponding to the test requirements included in the test input parameter information. In this way, an accurate target test script can be determined, thereby improving the accuracy of protocol communication testing.

[0015] Optionally, the determining the target test script from the multiple initial test scripts includes:

[0016] Obtain the marking information of each of the initial test scripts;

[0017] In response to the marking information including the source information, determine the initial test script corresponding to the marking information as the target test script.

[0018] When determining the target test script, determine whether an initial test script is the target test script by judging whether the marking information of each initial test script includes the source information. Only when it is determined that the marking information includes the source information, can the initial test script corresponding to the marking information be determined as the target test script. In this way, the accuracy of the finally determined target test script can be ensured, ensuring that the target test script is applicable to the test function name, country information, and site information corresponding to the test requirements, and improving the accuracy of protocol communication testing.

[0019] Optionally, the executing the target test script and generating a test result includes:

[0020] Send verification information to the simulation communication device side;

[0021] In response to receiving the feedback information sent by the simulation communication device side, decrypt the feedback information to obtain decryption information;

[0022] Generate a test result based on the verification information, feedback information, and decryption information.

[0023] During the execution of the target test script, it is determined whether the communication connection between the vehicle networking platform and the simulation communication device end is normal by whether feedback information sent by the simulation communication device end can be received. Specifically, verification information is first sent to the simulation communication device end. If the feedback information sent by the simulation communication device end is received, it indicates that the communication connection between the vehicle networking platform and the simulation communication device end is normal. Under the condition of ensuring normal communication connection, the decryption information is obtained by decrypting the feedback information, and then the test result is generated based on the verification information, the feedback information, and the decryption information. In this way, by judging the test result, it can be determined whether the data interaction between the vehicle networking platform and the simulation communication device end and the protocol data parsing function of the vehicle networking platform are normal. Through such two-step progressive judgments, an accurate test result can be obtained, improving the accuracy of the protocol communication test.

[0024] Optionally, the method further includes:

[0025] In response to the feedback information being the same as the preset feedback information and the decryption information being the same as the preset decryption information, it is determined that the test result is qualified.

[0026] When the feedback information sent by the simulation communication device end received by the vehicle networking platform is the same as the preset feedback information, it indicates that the communication connection between the vehicle networking platform and the simulation communication device end is normal at this time, and the communication interaction between the two is normal, and the communication interaction between the two can be realized normally. On this basis, when the decryption information is the same as the preset decryption information, it indicates that the decryption information obtained by the vehicle networking platform after decrypting the feedback information according to the preset decryption rule is consistent with the preset decryption information. Then it further indicates that the protocol data parsing function of the vehicle networking platform for the protocol data from the simulation communication device is normal. At this time, it is determined that the communication connection between the vehicle networking platform and the simulation communication device end is normal, and the data interaction between the vehicle networking platform and the simulation communication device end and the protocol data parsing function of the vehicle networking platform are both normal. At this time, it is finally determined that the test result of the protocol communication test is qualified, and subsequent functional tests can be carried out.

[0027] Optionally, the functional test based on the test requirements includes:

[0028] Receive a function execution instruction corresponding to the test requirements sent by the remote control end, and send the function execution instruction to the vehicle end;

[0029] In response to receiving the instruction feedback information sent by the vehicle end, send the instruction feedback information to the remote control end;

[0030] In response to receiving the status information sent by the remote control end, determine whether the functional test is qualified based on the status information, the function execution instruction, and the instruction feedback information.

[0031] When performing functional testing, forward the function execution instructions sent by the remote control end to the vehicle end, and forward the instruction feedback information fed back by the vehicle end to the remote control end. In this way, it is possible to determine whether the interaction among the remote control end, the vehicle end, and the vehicle networking platform is normal based on the information interaction among them. When it is determined that the interaction among the three is normal, further determine whether the content of the data interaction is normal based on the status information, the function execution instructions, and the instruction feedback information, so as to determine whether the functional testing is qualified. In this way, the qualification rate of the functional testing can be improved.

[0032] Optionally, the function execution instructions include execution status information and execution parameter information;

[0033] The determining whether the functional testing is qualified based on the status information, the function execution instructions, and the instruction feedback information includes:

[0034] Obtain the feedback status information and the feedback parameter information in the instruction feedback information;

[0035] If the execution status information, the feedback status information, and the status information are the same, and the execution parameter information and the feedback parameter information are the same, then determine that the functional testing is qualified.

[0036] By judging whether the execution status information, the feedback status information, and the status information are the same, determine whether the information interaction among the vehicle end, the vehicle networking platform, and the remote control end is normal. When the execution status information, the feedback status information, and the status information are the same, it indicates that the status display in the functional testing is normal; by judging whether the execution parameter information and the feedback parameter information are the same, determine whether the data interaction among the vehicle end, the vehicle networking platform, and the remote control end is normal. When the execution parameter information and the feedback parameter information are the same, determine that the test data in the functional testing is normal. Only when it is determined that the status display is normal and the test data is normal can it be determined that the functional testing is qualified. Through these two judgment steps, the accuracy of the functional testing can be improved.

[0037] Optionally, the sending the function execution instructions to the vehicle end includes: decrypting the function execution instructions to obtain the decrypted execution instructions, and sending the decrypted execution instructions to the vehicle end;

[0038] The sending the instruction feedback information to the remote control end includes: decrypting the instruction feedback information to obtain the decrypted instruction feedback information, and sending the decrypted instruction feedback information to the remote control end.

[0039] In the process of information interaction and data interaction among the vehicle terminal, the remote control terminal, and the vehicle networking platform, the vehicle networking platform decrypts the function execution instructions sent by the remote control terminal and the instruction feedback information sent by the vehicle terminal, and then forwards the decrypted information, so as to further verify whether the data parsing functions among the vehicle terminal, the remote control terminal, and the vehicle networking platform are normal, and improve the accuracy of function testing.

[0040] The second aspect of the present application provides a test device based on a vehicle networking platform, including:

[0041] A first determination module, configured to determine test input parameter information based on the test requirement in response to receiving the test requirement;

[0042] A second determination module, configured to determine a target test script from a preset test script library based on the test input parameter information;

[0043] A first execution module, configured to execute the target test script and generate a test result;

[0044] A second execution module, configured to perform a function test based on the test requirement in response to the test result being qualified.

[0045] The third aspect of the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory and running on the processor. When the processor executes the program, the method described in any item of the first aspect above is implemented.

[0046] The fourth aspect of the present application provides a computer-readable storage medium storing computer instructions for causing the computer to execute the test method based on a vehicle networking platform described in any item of the first aspect above.

[0047] The fifth aspect of the present application provides a computer program product including computer program instructions, which when running on a computer, cause the computer to execute the test method based on a vehicle networking platform described in any item of the first aspect above.

[0048] As can be seen from the above, for the test method, device, and equipment based on the vehicle networking platform provided in this application, when a test requirement is received, test input parameter information is determined based on the test requirement. Then, based on the test input parameter information, a target test script corresponding to the test requirement is determined from a preset test script library, the target test script is executed, and a test result is generated. When the test result is qualified, functional testing is performed based on the test requirement. In this way, when testing the vehicle networking platform based on the test requirement, the target test script is first executed to generate a test result, that is, communication protocol testing is first performed. After it is determined that the test result is qualified, that is, the communication protocol testing is qualified, functional testing is then performed. In this way, the execution step of communication protocol testing is advanced to before the execution step of functional testing, optimizing the test process and ensuring that functional testing is only performed after the communication protocol testing is qualified, which can increase the success rate of functional testing and reduce the probability of repair during the functional testing phase. In addition, functional testing is only performed when the test result is qualified, that is, when the test result is unqualified, functional testing is not performed. In this way, when the test result is unqualified, only the communication protocol testing needs to be retested, and there is no need to repeat the testing for subsequent functional testing and partial on-vehicle testing, reducing the repair cost and the cost of repeated testing. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the technical solutions in this application or related technologies, the following will briefly introduce the drawings required for use in the description of the embodiments or related technologies. Obviously, the drawings in the following description are only the embodiments of this application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0050] Figure 1 The first process schematic diagram of the test method based on the vehicle networking platform according to the embodiment of this application;

[0051] Figure 2 The second process schematic diagram of the test method based on the vehicle networking platform according to the embodiment of this application;

[0052] Figure 3 The schematic diagram of the test device based on the vehicle networking platform according to the embodiment of this application;

[0053] Figure 4 The schematic diagram of the electronic device according to the embodiment of this application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0054] To make the objectives, technical solutions, and advantages of this application clearer and more understandable, the following further details this application in combination with specific embodiments and with reference to the accompanying drawings.

[0055] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of this application should have the ordinary meanings understood by those of ordinary skill in the field to which this application belongs. The "first", "second" and similar terms used in the embodiments of this application do not denote any order, quantity or importance, but are only used to distinguish different components. Words such as "including" or "comprising" mean that the elements or objects appearing before this word cover the elements or objects listed after this word and their equivalents, without excluding other elements or objects. Words such as "connected" or "linked" are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right", etc. are only used to represent relative positional relationships, and when the absolute position of the object being described changes, the relative positional relationship may also change accordingly.

[0056] For the vehicle networking platform ((Telematics Service Provider, TSP)), communication protocol testing is a relatively important link. Communication protocol testing refers to the process of verifying and validating a communication protocol to ensure that it complies with the specifications and can work properly. A communication protocol refers to the rules and standards agreed upon when the vehicle networking platform communicates with other devices (such as vehicle communication devices), which stipulates the data transmission format, transmission rate, error detection and correction methods, etc. Communication protocol testing is mainly used to test whether the communication connection / communication protocol between the vehicle networking platform and the vehicle is normal, and further test the parsing ability of the vehicle networking platform for protocol data and the data interaction with the vehicle is normal.

[0057] Currently, the communication protocol testing of the vehicle networking system is in the middle position in the entire testing process. Generally speaking, for the new functional requirements developed by the development side, basically, functional testing is first carried out for the new functional requirements. After the functional testing is qualified, real vehicle testing is carried out. During the real vehicle testing process, communication protocol testing is carried out. After the communication protocol testing and real vehicle testing are qualified, subsequent other tests are carried out.

[0058] However, the inventors found in actual testing that since functional testing and partial real vehicle testing have been carried out before the communication protocol testing, if there are problems with the test results of the communication protocol testing, the test results must be returned to the development side for repair. After the repair is completed, functional testing and real vehicle testing still need to be carried out again, which greatly increases the repair cost and testing cost, resulting in an increased risk of product delay in release.

[0059] Based on this, see Figure 1 , this application provides a testing method based on a vehicle networking platform, which is executed by the vehicle networking platform. The method specifically includes the following steps:

[0060] Step S100: In response to receiving a test requirement, determine test input parameter information based on the test requirement;

[0061] Step S200: Based on the test input parameter information, determine a target test script from a preset test script library;

[0062] Step S300: Execute the target test script and generate a test result;

[0063] Step S400: In response to the test result being qualified, perform a function test based on the test requirement.

[0064] Specifically, the development side will send the test requirements for the newly developed corresponding new function to the vehicle networking platform, and the vehicle networking platform will test the test requirements corresponding to the new function.

[0065] Among them, the development side can directly send the test requirements to the vehicle networking platform, or log in to a communication device such as a remote control APP based on the test requirement script corresponding to the test requirement, and use this communication device to send the test requirements to the vehicle networking platform. Therefore, when the vehicle networking platform can receive the test requirements, it proves that the communication connection between the vehicle networking platform and the development side or the remote control APP is unobstructed.

[0066] When the vehicle networking platform can receive the test requirements, determine the test input parameter information based on the test requirements. The test input parameter information includes at least a test function name and source information, and the source information includes country information and / or site information.

[0067] Exemplarily, when receiving a test requirement for the air conditioning function, determine that the test function name is "Bluetooth" based on this test requirement, the country information in the source information of this test requirement is "China", and the site information is "Site A". It should be noted that the source information must include country information, can include site information, or may not include site information, and whether to include site information is limited according to actual needs.

[0068] After determining the test input parameter information, determine a target test script from a preset test script library. Among them, the preset test script library is a collection of all test scripts that must be tested when all vehicle-related functions are applied in different countries and / or different sites. The test script is the test process necessary to test this function.

[0069] Since the test scripts corresponding to different functions, different countries, and different sites are different, in this application, it is necessary to determine the target test script from the preset test script library based on the test input parameter information, so that the determined target test script matches the test input parameter information, ensuring that the subsequent executed target test script meets the test requirements.

[0070] The target test script is a pre-set test script corresponding to the test requirements. The test script includes the test procedures necessary for testing this function, and the test procedures are pre-configured test information that needs to be executed.

[0071] Then, after determining the target test script, execute the target test script and generate a test result. When it is determined that the test result is qualified, at this time, it is determined that the communication protocol test of the vehicle networking platform is qualified, and then functional testing is performed based on the test requirements.

[0072] That is, when testing the vehicle networking platform based on the test requirements, first execute the target test script and generate a test result, that is, first perform the communication protocol test. After it is determined that the test result is qualified, that is, the communication protocol test is qualified, then perform functional testing. In this way, the execution steps of the communication protocol test are advanced to before the execution steps of the functional test, optimizing the test process, ensuring that the functional test is only performed after the communication protocol test is qualified. In this way, the success rate of the functional test can be increased, and the probability of repair during the functional test stage can be reduced.

[0073] Correspondingly, if the test result is unqualified, it means that the communication protocol test is unqualified. Then, the functional test is not continued, but the test result of the communication protocol test is returned to the development side for repair. After the repair is completed, the communication protocol test is performed again until the communication protocol test is qualified and then the functional test is performed.

[0074] In this way, when the communication protocol test is unqualified, only the communication protocol test needs to be retested, and there is no need to repeat the functional test and part of the in-vehicle test, greatly reducing the repair cost and test cost, optimizing the communication protocol test process, and reducing the risk of product delay in release.

[0075] Advancing the communication protocol test can also detect potential problems and defects earlier, avoid these problems from blocking the functional test and in-vehicle test in the middle and late stages, reduce the test risk, and reduce the cost of discovering and repairing problems later.

[0076] In addition, when the test result is qualified, it means that the communication protocol test is qualified. The qualified communication protocol test indicates that the communication connection / communication protocol between the vehicle networking platform and the vehicle (or simulation vehicle, simulation communication device of the vehicle, etc.) is normal, and the ability of the vehicle networking platform to parse protocol data and the data interaction with the vehicle (or simulation vehicle, simulation communication device of the vehicle, etc.) are normal. Therefore, the communication protocol test is the basis of the functional test. Therefore, when it is determined that the communication protocol test is qualified and then the functional test is performed, the success rate of the functional test can be increased, and the probability of repair during the functional test stage can be reduced.

[0077] Since the test scripts corresponding to different functions, different countries, and different sites are different, it is a very crucial step to accurately determine the target test script corresponding to the test requirements based on the test input parameter information.

[0078] Based on this, in some embodiments, step S200 determines the target test script from a preset test script library based on the test input parameter information, including:

[0079] Step S210: Determine multiple initial test scripts corresponding to the test function name from the preset test script library;

[0080] Step S220: Determine the target test script from the multiple initial test scripts.

[0081] Specifically, since the test content and test process corresponding to different functions, different countries, and different sites will vary, the test scripts to be tested (i.e., the target test scripts) corresponding to them are also different. Therefore, after determining the test input parameter information corresponding to the test requirements, it is necessary to determine the target test script corresponding to it based on the test input parameter information.

[0082] Based on the test function name, determine multiple initial test scripts corresponding to the test function name from the preset test script library. The multiple initial test scripts are all the test scripts corresponding to the test function name in the preset test script library.

[0083] These test scripts include the test scripts of this test function name corresponding to different countries and different sites. Each test script corresponds to a country and a site respectively. Therefore, the content of each test script may be the same or different.

[0084] Therefore, it is also necessary to determine the target test script corresponding to both the country information and the site information from these multiple initial test scripts corresponding to the test function name.

[0085] Exemplarily, when receiving a test requirement for the air conditioner function, based on this test requirement, the test function name is determined to be "Bluetooth", the country information in the source information of this test requirement is "China", and the site information is "Site A".

[0086] Then, based on the test function name being "Bluetooth", determine 30 initial test scripts corresponding to the test function name "Bluetooth" from the preset test script library. Among these 30 initial test scripts, each initial test script may be applicable to different countries and different sites.

[0087] Exemplarily, among the 30 initial test scripts, 5 initial test scripts are applicable to "the United States", 20 initial test scripts are applicable to "China", 3 initial test scripts are applicable to "Canada", etc. Among them, the 20 initial test scripts applicable to "China" may be respectively applicable to "Site A", "Site B", "Site C", "Site D", "Site E", etc.

[0088] Finally, it is necessary to determine the final target test script from these 30 initial test scripts corresponding to "Bluetooth".

[0089] In this application, first, based on the test function name, multiple initial test scripts corresponding to the test function name are determined from the preset test script library, so that all the initial test scripts corresponding to the test function name can be accurately determined. Then, a specific piece of information corresponding to the test requirement included in the test input parameter information is determined from all the initial test scripts to determine the unique target test script. In this way, an accurate target test script can be determined to improve the accuracy of the protocol communication test.

[0090] Since there are many initial test scripts corresponding to each function name, and the countries and sites applicable to these initial test scripts are all different, therefore, how to determine the unique target test script from the multiple initial test scripts corresponding to the function name is another problem that needs to be solved.

[0091] Based on this, in some embodiments, step S220 of determining the target test script from the multiple initial test scripts includes:

[0092] Step S221, obtaining the marking information of each of the initial test scripts;

[0093] Step S222, in response to the source information being included in the marking information, determining the initial test script corresponding to the marking information as the target test script.

[0094] Specifically, after determining the multiple initial test scripts corresponding to the test function name, it is necessary to determine the target test script from the multiple initial test scripts.

[0095] First, the marking information of each of the initial test scripts is obtained. The marking information at least includes the country information, site information, etc. applicable to the initial test script. The marking of the marking information is completed when configuring the preset test script library, that is, each test script in the preset test script library has marking information, and the marking information at least includes the country information, site information, etc. applicable to the initial test script.

[0096] Then, it is determined whether the source information in the test input parameters is included in the tag information in each initial test script. When the source information is included in the tag information, it indicates that the initial test script corresponding to the tag information is applicable to the test requirements of the source information, and the corresponding protocol communication test can be performed based on this initial test script. When the source information is not included in the tag information, it indicates that the initial test script corresponding to the tag information is not applicable to the test requirements of the source information, and the corresponding protocol communication test cannot be performed based on this initial test script.

[0097] Therefore, when it is determined that the source information is included in the tag information, the initial test script corresponding to the tag information is determined as the target test script, and the corresponding protocol communication test can be performed based on this target test script. The test content and test process in this target test script can meet the requirements necessary for testing this function by the country and site corresponding to the test requirements.

[0098] It should be noted that the inclusion of the source information in the tag information means that all the content in the source information must be included in the tag information. That is, when the source information only includes country information, the tag information must include this country information; when the source information includes both country information and site information, the tag information must include both country information and site information.

[0099] In this application, when determining the target test script, it is determined whether the initial test script is the target test script by judging whether the source information is included in the tag information of each initial test script. Only when it is determined that the source information is included in the tag information can the initial test script corresponding to the tag information be determined as the target test script. In this way, the accuracy of the finally determined target test script can be ensured, ensuring that the target test script is applicable to the test function name, country information, and site information corresponding to the test requirements, and improving the accuracy of the protocol communication test.

[0100] Since the communication protocol tests the interaction between the vehicle networking platform and the vehicle-side communication device. Therefore, in this application, the interaction can be carried out based on the simulation communication device between the vehicle networking platform and the simulated vehicle-side communication device. In this way, not only can the communication protocol be tested, but also there is no need to test based on a real vehicle, and the communication protocol test can be carried out before the real vehicle is manufactured, improving the flexibility of the communication protocol test.

[0101] Based on this, in some embodiments, the step S300 executes the target test script and generates a test result, including:

[0102] Step S310: Send verification information to the simulation communication device end;

[0103] Step S320: In response to receiving the feedback information sent by the simulation communication device, decrypt the feedback information to obtain decrypted information;

[0104] Step S330: Generate a test result based on the verification information, feedback information, and decrypted information.

[0105] Specifically, the simulation communication device can be a communication device on a simulation vehicle or a simulation communication device that simulates an actual vehicle. The simulation communication device is basically the same as the communication device of the actual vehicle and can be used to replace the actual vehicle for testing. The test result of the communication protocol between the vehicle networking platform and the simulation communication device can basically represent the test result of the communication protocol between the vehicle networking platform and the actual vehicle.

[0106] Therefore, in this application, the communication protocol test is performed for the vehicle networking platform and the simulation communication device. In this way, the protocol communication test can be carried out without waiting until the actual vehicle test stage, and the test order of the protocol communication test can be advanced, so that potential problems and defects can be discovered earlier, avoiding these problems from blocking the function test and actual vehicle test in the middle and late stages, reducing the test risk, and reducing the cost of discovering and repairing problems in the later stage.

[0107] In addition, since it takes a long time cycle to complete the development or iteration of a new function from the development end and then configure the function to the actual vehicle, waiting until the actual vehicle test stage to perform the protocol communication test results in a significant delay in the test order of the protocol communication test, which is not conducive to the discovery of potential problems.

[0108] In this application, the protocol communication test can be carried out without waiting until the actual vehicle test stage. The test order of the protocol communication test can be significantly advanced, and the problems occurring in the protocol communication test stage can be repaired early. After the protocol test is qualified, the subsequent function test and actual vehicle test can be carried out, which can increase the pass rate of the function test and actual vehicle test, and then reduce the probability of returning to the development end for repair and shorten the test time.

[0109] When executing the target test script and generating the test result, first send the verification information to the simulation communication device. When receiving the feedback information sent by the simulation communication device, it indicates that the communication connection between the vehicle networking platform and the simulation communication device is normal at this time, and the communication interaction between the two is normal.

[0110] Then, it is necessary to further verify the parsing ability of the vehicle networking platform for protocol data and whether the data interaction between the two is normal, that is, whether the interacted data is normal. Therefore, decrypt the feedback information to obtain decrypted information.

[0111] Finally, a test result is generated based on the verification information, feedback information, and decryption information. The test result includes the content of these three pieces of information and the test result finally determined based on the analysis of these three pieces of information. Based on this test result, it can be determined whether the protocol communication test is qualified. When it is determined that the protocol communication test is qualified, the next functional test can be carried out.

[0112] In this application, during the execution of the target test script, it is judged whether the communication connection between the vehicle networking platform and the simulation communication device end is normal by whether the feedback information sent by the simulation communication device end can be received. Specifically, verification information is first sent to the simulation communication device end. If the feedback information sent by the simulation communication device end is received, it indicates that the communication connection between the vehicle networking platform and the simulation communication device end is normal. Under the condition of ensuring the normal communication connection, the decryption information is obtained by decrypting the feedback information, and then the test result is generated based on the verification information, feedback information, and decryption information. In this way, by judging the test result, it can be determined whether the data interaction between the vehicle networking platform and the simulation communication device end and the protocol data parsing function of the vehicle networking platform are normal. Through these two progressive judgments, an accurate test result can be obtained, improving the accuracy of the protocol communication test.

[0113] It should be noted that the above steps S310 to S330 are necessary steps when executing the target test script. However, when executing the target test script, in addition to these three steps, there are many other specific operations for the corresponding functions according to the test requirements. Exemplarily, taking the "air conditioning function" as an example, there are also operations such as increasing the air conditioning temperature or decreasing the air conditioning temperature.

[0114] In some embodiments, the method further includes how to judge whether the test result is qualified.

[0115] Specifically, when the feedback information is the same as the preset feedback information and the decryption information is the same as the preset decryption information, it is determined that the test result is qualified.

[0116] The preset feedback information is the information fed back by the simulation communication device end based on the received verification information when the communication connection between the preset vehicle networking platform and the simulation communication device end is normal. Exemplarily, when the communication connection between the vehicle networking platform and the simulation communication device end is normal, when the vehicle networking platform sends the verification information "A" to the simulation communication device end, the simulation communication device end will feedback the preset feedback information "A1".

[0117] Therefore, when the feedback information sent by the vehicle networking platform received from the simulation communication device end is the same as the preset feedback information, it indicates that the communication connection between the vehicle networking platform and the simulation communication device end is normal at this time, the communication interaction between the two is normal, and the communication interaction between the two can be realized normally.

[0118] The preset decryption information is the information obtained by decrypting the preset feedback information according to the preset decryption rule. The preset decryption rule is the decryption rule used by the preset vehicle networking platform when decrypting data from the vehicle end.

[0119] Therefore, when the decryption information is the same as the preset decryption information, it indicates that the decryption information obtained by the vehicle networking platform after decrypting the feedback information according to the preset decryption rule is consistent with the preset decryption information. Then it further indicates that the parsing function of the vehicle networking platform for the protocol data from the simulation communication device is normal. At this time, it is determined that the communication connection between the vehicle networking platform and the simulation communication device end is normal, and the data interaction between the vehicle networking platform and the simulation communication device end as well as the parsing function of the vehicle networking platform for the protocol data are all normal. At this time, it is finally determined that the test result of the protocol communication test is qualified, and subsequent function tests can be carried out.

[0120] In this application, when the feedback information sent by the simulation communication device end received by the vehicle networking platform is the same as the preset feedback information, it indicates that the communication connection between the vehicle networking platform and the simulation communication device end is normal at this time, and the communication interaction between the two is normal, and the communication interaction between the two can be realized normally. On this basis, when the decryption information is the same as the preset decryption information, it indicates that the decryption information obtained by the vehicle networking platform after decrypting the feedback information according to the preset decryption rule is consistent with the preset decryption information. Then it further indicates that the parsing function of the vehicle networking platform for the protocol data from the simulation communication device is normal. At this time, it is determined that the communication connection between the vehicle networking platform and the simulation communication device end is normal, and the data interaction between the vehicle networking platform and the simulation communication device end as well as the parsing function of the vehicle networking platform for the protocol data are all normal. At this time, it is finally determined that the test result of the protocol communication test is qualified, and subsequent function tests can be carried out.

[0121] After determining that the communication protocol test is qualified, it is necessary to further carry out function tests. Then it is very crucial to accurately and effectively carry out function tests.

[0122] Based on this, in some embodiments, the function test based on the test requirements in step S400 includes:

[0123] Step S410: Receive the function execution instruction corresponding to the test requirement sent by the remote control end, and send the function execution instruction to the vehicle end;

[0124] Step S420: In response to receiving the instruction feedback information sent by the vehicle end, send the instruction feedback information to the remote control end;

[0125] Step S430: In response to receiving the status information sent by the remote control terminal, determine whether the function test is qualified based on the status information, the function execution instruction, and the instruction feedback information.

[0126] Specifically, the remote control terminal is a control terminal that can remotely control the vehicle to execute the functions corresponding to the test requirements. Exemplarily, the remote control terminal can be an APP for remotely controlling the vehicle.

[0127] The vehicle terminal can be the vehicle terminal of a simulated vehicle or the vehicle terminal of a real vehicle, and the test results of the simulated vehicle and the real vehicle are basically the same.

[0128] During the function test, it is necessary to test whether the function connections between the remote control terminal, the vehicle networking platform, and the vehicle terminal are normal. Specifically, it is necessary to test whether the instructions sent by the remote control terminal for a certain function can be successfully sent, whether the display status of the remote control terminal can be successfully changed, and whether the vehicle networking platform can act as an intermediate bridge between the remote control terminal and the vehicle terminal to realize the forwarding and saving of interactive data.

[0129] When specifically conducting the function test, the function execution instruction corresponding to the test requirement sent by the remote control terminal, and the function execution instruction includes execution status information and execution parameter information.

[0130] The execution status information represents the execution status of this function. For example, for the "Bluetooth function", the function status information is "Bluetooth function turned on" or "Bluetooth function turned off"; for the "air conditioning function", the function status information is "air conditioning heating function turned on", "air conditioning cooling function turned on", or "air conditioning function turned off", etc.

[0131] The execution parameter information represents the specific data parameters when executing this function. For example, for the "air conditioning heating function", the execution parameter information can be "heated to 22°C within 10 minutes", "heated to 25°C within 15 minutes", etc.

[0132] After receiving the function execution instruction corresponding to the test requirement sent by the remote control terminal, the vehicle networking platform sends the function execution instruction to the vehicle terminal.

[0133] After receiving the function execution instruction, the vehicle terminal will perform corresponding operations based on the function execution instruction, then generate a corresponding instruction feedback information, and send the instruction feedback information to the vehicle networking platform. The instruction feedback information reflects the specific situation after the vehicle terminal executes the function instruction operation.

[0134] After receiving the instruction feedback information sent by the vehicle terminal, the vehicle networking platform sends the instruction feedback information to the remote control terminal. After receiving the instruction feedback information, the remote control terminal will send its own status information to the vehicle networking platform. The status information refers to the status information of the remote control terminal based on the buttons or knobs corresponding to this test function.

[0135] After the vehicle networking platform receives the status information sent by the remote control end, it determines whether the function test is qualified based on the status information, the function execution instruction, and the instruction feedback information.

[0136] Exemplarily, when performing a function test on the "air conditioning heating function", the remote control end APP sends a function execution instruction "Turn on the air conditioning heating function and heat to 22°C within 10 minutes". Among them, the execution status information in the function execution instruction is "Turn on the air conditioning heating function", and the execution parameter information is "Heat to 22°C within 10 minutes".

[0137] After the vehicle networking platform receives the function execution instruction "Turn on the air conditioning heating function and heat to 22°C within 10 minutes" sent by the remote control end, it sends the function execution instruction to the vehicle end.

[0138] After the vehicle end receives the function execution instruction "Turn on the air conditioning heating function and heat to 22°C within 10 minutes", it will perform corresponding operations based on the function execution instruction. Normally, the vehicle end will turn on the air conditioning heating function according to the function execution instruction and heat to 22°C within 10 minutes. Then the vehicle end generates a corresponding instruction feedback information "Turn on the air conditioning heating function, heating time 10 minutes, temperature 22°C" and sends the instruction feedback information to the vehicle networking platform.

[0139] After the vehicle networking platform receives the instruction feedback information "Turn on the air conditioning heating function, heating time 10 minutes, temperature 22°C" sent by the vehicle end, it sends the instruction feedback information to the remote control end. After the remote control end receives the instruction feedback information, it will send its own status information "Turn on the air conditioning heating function" or "Turn off the air conditioning heating function" to the vehicle networking platform.

[0140] After the vehicle networking platform receives the status information "Turn on the air conditioning heating function" or "Turn off the air conditioning heating function" sent by the remote control end, it determines whether the function test is qualified based on the status information, the function execution instruction, and the instruction feedback information. When the function test is qualified, subsequent on-vehicle tests can be carried out; when the function test is unqualified, it returns to the development end for repair. However, at this time, the reason for the unqualified function test is definitely not caused by the communication protocol test. Therefore, when the development end conducts problem diagnosis and repair, it can not consider the part of the protocol communication test, which can reduce the repair cost and improve the repair efficiency.

[0141] In this application, during functional testing, the function execution instructions sent by the remote control end are forwarded to the vehicle end, and the instruction feedback information fed back by the vehicle end is forwarded to the remote control end. In this way, it is possible to determine whether the interaction among the remote control end, the vehicle end, and the vehicle networking platform is normal based on the information interaction among them. When it is determined that the interaction among the three is normal, based on the status information, function execution instructions, and instruction feedback information, it is further determined whether the content of the data interaction is normal, so as to determine whether the functional test is qualified. In this way, the qualified rate of the functional test can be improved; in addition, performing the functional test on the basis that the communication protocol test has passed can reduce the unqualified rate of the functional test.

[0142] Furthermore, how to determine whether the content of the data interaction is normal based on the content of the status information, function execution instructions, and instruction feedback information, and then determine whether the functional test is qualified is another problem that urgently needs to be solved.

[0143] Based on this, in some embodiments, determining whether the functional test is qualified based on the status information, the function execution instructions, and the instruction feedback information in step S430 includes:

[0144] Step S431: Obtain the feedback status information and feedback parameter information in the instruction feedback information;

[0145] Step S432: If the execution status information, the feedback status information, and the status information are the same, and the execution parameter information and the feedback parameter information are the same, it is determined that the functional test is qualified.

[0146] Specifically, after the vehicle networking platform receives the instruction feedback information sent by the vehicle end, it obtains the feedback status information and feedback parameter information in the instruction feedback information. The feedback status information represents the status information of the function after the vehicle end operates based on the function execution instruction, and the feedback parameter information represents the parameter information of the function after the vehicle end operates based on the function execution instruction.

[0147] Exemplarily, when the function execution instruction is "Turn on the air-conditioning heating function and heat to 22°C within 10 minutes", the vehicle end performs corresponding operations based on the received function execution instruction, and then generates instruction feedback information "Turn on the air-conditioning heating function, heating time 10 minutes, temperature 22°C" based on the situation after the operation.

[0148] After the vehicle networking platform obtains the feedback status information and feedback parameter information in the instruction feedback information, it judges the execution status information, the feedback status information, and the status information.

[0149] If the execution status information, feedback status information, and status information are the same, it indicates that the execution status information when the remote control terminal sends an instruction, the feedback status information after the vehicle terminal executes the instruction, and the status information after the remote control terminal sends the instruction are consistent. This further indicates that the remote control terminal can successfully issue a function instruction for execution, the vehicle networking platform can successfully forward the function execution instruction, the vehicle terminal can correctly execute the function instruction and feedback the correct status information, and the remote control terminal can also correctly display the status information after the function execution. At this time, it shows that the status display in the function test is normal.

[0150] If the execution parameter information and the feedback parameter information are the same, it indicates that the remote control terminal can successfully send the execution parameter information, the vehicle networking platform can successfully forward the execution parameter information, and the vehicle terminal can successfully execute the operation and feedback the correct parameter information. At this time, it shows that the test data in the function test is normal.

[0151] Therefore, when the execution status information, feedback status information, and status information are the same, and the execution parameter information and the feedback parameter information are the same, it can be finally determined that the function test is qualified.

[0152] In this application, by judging whether the execution status information, feedback status information, and status information are the same, it is determined whether the information interaction between the vehicle terminal, the vehicle networking platform, and the remote control terminal is normal. When the execution status information, feedback status information, and status information are the same, it indicates that the status display in the function test is normal; by judging whether the execution parameter information and the feedback parameter information are the same, it is determined whether the data interaction between the vehicle terminal, the vehicle networking platform, and the remote control terminal is normal. When the execution parameter information and the feedback parameter information are the same, it is determined that the test data in the function test is normal. When it is determined that the status display is normal and the test data is normal, it can be determined that the function test is qualified. Through these two judgment steps, the accuracy of the function test can be improved.

[0153] In some embodiments, in step S410, sending the function execution instruction to the vehicle terminal includes: decrypting the function execution instruction to obtain the decrypted execution instruction, and sending the decrypted execution instruction to the vehicle terminal.

[0154] In step S420, sending the instruction feedback information to the remote control terminal includes: decrypting the instruction feedback information to obtain the decrypted instruction feedback information, and sending the decrypted instruction feedback information to the remote control terminal.

[0155] Specifically, after the vehicle networking platform receives the function execution instruction corresponding to the test requirement sent by the remote control terminal, it decrypts the function execution instruction to obtain the decrypted execution instruction, and sends the decrypted execution instruction to the vehicle terminal.

[0156] After the vehicle end receives the decrypted execution instruction, it performs corresponding operations based on the decrypted execution instruction, then generates a corresponding encrypted instruction feedback message, and sends the instruction feedback message to the vehicle networking platform.

[0157] After the vehicle networking platform receives the instruction feedback message sent by the vehicle end, it decrypts the instruction feedback message to obtain the decrypted instruction feedback message, and sends the decrypted instruction feedback message to the remote control end.

[0158] After the remote control end receives the decrypted instruction feedback message, it sends its own status information to the vehicle networking platform. After the vehicle networking platform receives the status information, it decrypts the status information to obtain the decrypted status information, and then determines whether the function test is qualified based on the decrypted status information, the decrypted function execution instruction, and the decrypted instruction feedback message.

[0159] Among them, the process of determining whether the function test is qualified based on the decrypted status information, the decrypted function execution instruction, and the decrypted instruction feedback message is exactly the same as the above process of determining whether the function test is qualified based on the status information, the function execution instruction, and the instruction feedback message, and will not be elaborated here.

[0160] Among them, the encryption and decryption rules between the vehicle end and the vehicle networking platform, and the encryption and decryption rules between the remote control end and the vehicle networking platform are both preset rules, and the two can be the same or different.

[0161] Exemplarily, when performing a function test for the "air conditioning heating function", the remote control end APP sends a function execution instruction "Turn on the air conditioning heating function and heat to 22°C within 10 minutes". Among them, the execution status information in the function execution instruction is "Turn on the air conditioning heating function", and the execution parameter information is "Heat to 22°C within 10 minutes".

[0162] After the vehicle networking platform receives the encrypted function execution instruction "Turn on the air conditioning heating function and heat to 22°C within 10 minutes" sent by the remote control end, it decrypts the function execution instruction to obtain the decrypted execution instruction "Turn on the air conditioning heating function and heat to 22°C within 10 minutes", and sends the decrypted execution instruction to the vehicle end.

[0163] After the vehicle end receives the function execution instruction "Turn on the air conditioning heating function and heat to 22°C within 10 minutes", it will perform corresponding operations based on the function execution instruction. Under normal circumstances, the vehicle end will turn on the air conditioning heating function according to the function execution instruction and heat to 22°C within 10 minutes. Then the vehicle end generates a corresponding encrypted instruction feedback message "Turn on the air conditioning heating function, heating time 10 minutes, temperature 22°C", and sends the encrypted instruction feedback message to the vehicle networking platform.

[0164] After the vehicle networking platform receives the encrypted instruction feedback information "Air conditioning heating function is turned on, heating time is 10 min, temperature is 22 °C" sent by the vehicle terminal, it decrypts the encrypted instruction feedback information to obtain the decrypted instruction feedback information, and then sends the decrypted instruction feedback information to the remote control terminal. After receiving the instruction feedback information, the remote control terminal will send its own encrypted status information "Air conditioning heating function is turned on" or "Air conditioning heating function is turned off" to the vehicle networking platform.

[0165] After the vehicle networking platform receives the encrypted status information "Air conditioning heating function is turned on" or "Air conditioning heating function is turned off" sent by the remote control terminal, it decrypts the encrypted status information to obtain the decrypted status information.

[0166] Then, based on the decrypted status information, the decrypted function execution instruction, and the decrypted instruction feedback information, it is determined whether the function test is qualified. When the function test is qualified, subsequent on-vehicle tests can be carried out.

[0167] In this application, during the information interaction and data interaction among the vehicle terminal, the remote control terminal, and the vehicle networking platform, the vehicle networking platform decrypts the function execution instruction sent by the remote control terminal and the instruction feedback information sent by the vehicle terminal that it receives, and then forwards the decrypted information. In this way, it can further verify whether the data parsing functions among the vehicle terminal, the remote control terminal, and the vehicle networking platform are normal, and improve the accuracy of the function test.

[0168] In some embodiments, referring to Figure 2 , the test method based on the vehicle networking platform provided by this application may specifically include the following steps:

[0169] 1. Configuration of the preset test script library: Design the grouping name (exemplarily, design the grouping name in a certain file) according to the service name related to the protocol in the project (i.e., the test function name), and write the test script. Mark the grouping information (i.e., the marking information) in the test script.

[0170] 2. Configuration of the vehicle networking platform: Create a protocol test trigger task in a tool with sustainable build and deployment functions (such as Jenkins), configure the protocol test script running command, and set the input parameters: the name of the release service (i.e., the test function name), the affiliated site, and the country.

[0171] That is, when the test input parameter information corresponding to the received test requirement meets this input parameter, the protocol test task is triggered, and the protocol test script runs.

[0172] 3. Execution operations of the vehicle networking platform: For iterative new requirements, after the development is completed with code writing and self-testing, and after the service work order is successfully released (i.e., the test requirements are received), the corresponding test script is determined according to the country, site, and service name of the released service, and the corresponding test task is triggered to run. After the test task runs to completion, a test report (i.e., test result) is generated.

[0173] 4. Analyze the test report. If there are problems, submit the problems to the development side, and the development side will rework and repair them. If there are no problems, it will be sent to the test link for subsequent testing (such as subsequent functional testing).

[0174] In this application, based on the test framework, combined with the ability of tools with sustainable build and deployment functions (such as Jenkins) for automated build, test, and deployment, the communication protocol test is advanced. In this way, defects in the project can be detected earlier, the cost of discovering and repairing problems later can be reduced, the project risk is lowered, and the entire vehicle networking test process is protected.

[0175] The test method, device, and equipment based on the vehicle networking platform provided in this application, when receiving test requirements, determine test input parameter information based on the test requirements, then based on the test input parameter information, determine the target test script corresponding to the test requirements from the preset test script library, execute the target test script and generate a test result. When the test result is qualified, functional testing is performed based on the test requirements. In this way, when testing the vehicle networking platform based on the test requirements, the communication protocol test is advanced. First, the communication protocol test is performed. After the communication protocol test is qualified, functional testing is performed. In this way, even if the communication protocol test is unqualified, only the communication protocol test needs to be retested, and there is no need to repeat the functional testing and partial in-vehicle testing. It will not affect the subsequent functional testing, greatly reducing the repair cost and test cost, optimizing the communication protocol test process, and reducing the risk of product delayed release. In addition, since functional testing is performed after determining that the communication protocol test is qualified, the success rate of functional testing can be increased, the probability of repair during the functional testing phase can be reduced, and the test cost can be further reduced.

[0176] It should be noted that the method of the embodiment of this application can be executed by a single device, such as a computer or a server, etc. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In this case of a distributed scenario, one of the multiple devices can only execute one or more steps of the method of the embodiment of this application, and these multiple devices will interact with each other to complete the described method.

[0177] It should be noted that some embodiments of the present application have been described above. In some cases, the actions or steps described in the above embodiments may be executed in a different order from that in the above embodiments and still achieve the desired results. Additionally, the processes depicted in the drawings do not necessarily require the specific order or consecutive order shown to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0178] Based on the same inventive concept, corresponding to any of the above-described method embodiments, the present application also provides a test device based on a vehicle networking platform.

[0179] Referring to Figure 3 , the test device based on the vehicle networking platform includes:

[0180] A first determination module 100, configured to determine test input parameter information based on the received test requirement in response to the received test requirement;

[0181] A second determination module 200, configured to determine a target test script from a preset test script library based on the test input parameter information;

[0182] A first execution module 300, configured to execute the target test script and generate a test result;

[0183] A second execution module 400, configured to perform a function test based on the test requirement in response to the test result being qualified.

[0184] In some embodiments, the test input parameter information at least includes a test function name and source information, and the source information includes country information and / or site information.

[0185] In some embodiments, the second determination module 200 is further configured to:

[0186] Based on the test function name, determine a plurality of initial test scripts corresponding to the test function name from the preset test script library;

[0187] Determine a target test script from the plurality of initial test scripts.

[0188] In some embodiments, the second determination module 200 is further configured to:

[0189] Obtain the marking information of each of the initial test scripts;

[0190] In response to the marking information including the source information, determine the initial test script corresponding to the marking information as the target test script.

[0191] In some embodiments, the first execution module 300 is further configured to:

[0192] Send verification information to the simulation communication device side;

[0193] In response to receiving the feedback information sent by the simulation communication device side, decrypt the feedback information to obtain decrypted information;

[0194] Generate a test result based on the verification information, feedback information, and decrypted information.

[0195] In some embodiments, the second execution module 400 is further configured to:

[0196] If the feedback information is the same as the preset feedback information and the decrypted information is the same as the preset decrypted information, determine that the test result is qualified.

[0197] In some embodiments, the second execution module 400 is further configured to:

[0198] Receive the function execution instruction corresponding to the test requirement sent by the remote control end, and send the function execution instruction to the vehicle end;

[0199] In response to receiving the instruction feedback information sent by the vehicle end, send the instruction feedback information to the remote control end;

[0200] In response to receiving the status information sent by the remote control end, determine whether the function test is qualified based on the status information, the function execution instruction, and the instruction feedback information.

[0201] In some embodiments, the function execution instruction includes execution status information and execution parameter information.

[0202] In some embodiments, the second execution module 400 is further configured to:

[0203] Obtain the feedback status information and feedback parameter information in the instruction feedback information;

[0204] If the execution status information, the feedback status information, and the status information are the same, and the execution parameter information and the feedback parameter information are the same, determine that the function test is qualified.

[0205] In some embodiments, the second execution module 400 is further configured to:

[0206] Decrypt the function execution instruction to obtain the decrypted execution instruction, and send the decrypted execution instruction to the vehicle end;

[0207] Decrypt the instruction feedback information to obtain the decrypted instruction feedback information, and send the decrypted instruction feedback information to the remote control end.

[0208] For the convenience of description, when describing the above device, it is divided into various modules according to functions for separate description. Of course, when implementing the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.

[0209] The device in the above embodiment is used to implement the corresponding test method based on the vehicle networking platform in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be elaborated herein.

[0210] Based on the same inventive concept, corresponding to the method in any of the above embodiments, the present application further provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, it implements the test method based on the vehicle networking platform described in any of the above embodiments.

[0211] Figure 4 FIG. shows a more specific schematic diagram of the hardware structure of the electronic device provided in this embodiment. The device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. Among them, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are communicatively connected to each other inside the device through the bus 1050.

[0212] The processor 1010 may be implemented in a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, etc., and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0213] The memory 1020 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When implementing the technical solutions provided in the embodiments of this specification through software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.

[0214] The input / output interface 1030 is used to connect to the input / output module to achieve information input and output. The input / output module can be configured as a component in the device (not shown in the figure), or can be externally connected to the device to provide corresponding functions. Among them, the input device can include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device can include a display, a speaker, a vibrator, an indicator light, etc.

[0215] The communication interface 1040 is used to connect to the communication module (not shown in the figure) to achieve communication interaction between this device and other devices. Among them, the communication module can achieve communication through wired means (such as USB, network cable, etc.), or can achieve communication through wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0216] The bus 1050 includes a path to transmit information between various components of the device (such as the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).

[0217] It should be noted that although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040, and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, those skilled in the art can understand that the above device may also only include the components necessary to implement the solution of the embodiments of this specification, and do not have to include all the components shown in the figure.

[0218] The electronic device of the above embodiment is used to implement the corresponding test method based on the vehicle networking platform in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be elaborated here.

[0219] Based on the same inventive concept, corresponding to the method of any of the above embodiments, the present application also provides a non-transitory computer-readable storage medium, and the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to make the computer execute the test method based on the vehicle networking platform as described in any of the foregoing embodiments.

[0220] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory, or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD), or other optical storage, magnetic cassette tapes, magnetic disk storage, or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device.

[0221] The computer instructions stored in the storage medium of the above embodiment are used to cause the computer to execute the test method based on the vehicle networking platform described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be elaborated here.

[0222] Based on the same inventive concept, corresponding to the method of any of the above embodiments, the present application also provides a computer program product, including computer program instructions. When the computer program instructions run on a computer, the computer is caused to execute the test method based on the vehicle networking platform described in any of the above embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be elaborated here.

[0223] It can be understood that before using the technical solutions of the various embodiments in the present disclosure, the types, usage scopes, usage scenarios, etc. of the personal information involved will be informed to the user in an appropriate manner, and the user's authorization will be obtained.

[0224] For example, in response to receiving an active request from the user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be executed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application program, server, or storage medium that executes the operations of the technical solutions of the present disclosure according to the prompt message.

[0225] As an optional but non-limiting implementation manner, the way of sending a prompt message to the user in response to receiving an active request from the user can be, for example, in the form of a pop-up window, and the prompt message can be presented in text in the pop-up window. In addition, the pop-up window can also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0226] It should be understood that the above-mentioned notice and the process of obtaining user authorization are only illustrative and do not limit the implementation manner of the present disclosure. Other ways that comply with relevant laws and regulations can also be applied to the implementation manner of the present disclosure.

[0227] Those of ordinary skill in the art should understand that the discussion of any of the above embodiments is only exemplary and is not intended to imply that the scope of the present application is limited to these examples; within the concept of the present application, the technical features in the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations in different aspects of the embodiments of the present application as described above, and for the sake of brevity, they are not provided in detail.

[0228] In addition, for the sake of simplicity of description and discussion, and in order not to make the embodiments of the present application difficult to understand, the well-known power / ground connections to integrated circuit (IC) chips and other components may or may not be shown in the provided drawings. In addition, the devices may be shown in block diagram form in order to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform on which the embodiments of the present application are to be implemented (i.e., these details should be completely within the understanding of those skilled in the art). In the case where specific details (such as circuits) are set forth to describe the exemplary embodiments of the present application, it will be apparent to those skilled in the art that the embodiments of the present application can be implemented without these specific details or with variations of these specific details. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0229] Although the present application has been described in connection with specific embodiments of the present application, many alternatives, modifications, and variations of these embodiments will be apparent to those of ordinary skill in the art based on the foregoing description. For example, other memory architectures (such as dynamic RAM (DRAM)) can be used with the embodiments discussed.

[0230] The embodiments of the present application are intended to cover all such alternatives, modifications, and variations that fall within the broad scope of the present application. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application shall be included within the protection scope of the present application.

Claims

1. A testing method based on a vehicle networking platform, characterized in that: include: In response to receiving a test requirement, determining test input parameter information based on the test requirement; Based on the test input information, determining a target test script from a preset test script library; Execute the target test script and generate test results; In response to the test result being qualified, a functional test is performed based on the test requirement.

2. The method according to claim 1, characterized in that The test input information at least includes the test function name and source information, and the source information includes country information and / or site information; The step of determining a target test script from a preset test script library based on the test input parameter information includes: Based on the test function name, determining a plurality of initial test scripts corresponding to the test function name from the preset test script library; A target test script is determined from the plurality of initial test scripts.

3. The method according to claim 2, characterized in that The step of determining a target test script from the plurality of initial test scripts comprises: Obtaining tag information of each of the initial test scripts; In response to the source information being included in the tag information, an initial test script corresponding to the tag information is determined to be a target test script.

4. The method according to claim 1, characterized in that The executing the target test script and generating the test result comprises: Send verification information to the simulation communication device; In response to receiving feedback information sent by the simulated communication device, decrypting the feedback information to obtain decrypted information; A test result is generated based on the verification information, feedback information and decryption information.

5. The method according to claim 4, characterized in that The method further comprises: In response to the feedback information being the same as the preset feedback information, and the decryption information being the same as the preset decryption information, it is determined that the test result is qualified.

6. The method according to claim 1, characterized in that The performing functional testing based on the test requirements includes: Receiving a function execution instruction corresponding to the test requirement sent by the remote control end, and sending the function execution instruction to the vehicle end; In response to receiving the command feedback information sent by the vehicle end, sending the command feedback information to the remote control end; In response to receiving the status information sent by the remote control end, it is determined whether the function test is qualified based on the status information, the function execution instruction and the instruction feedback information.

7. The method according to claim 6, characterized in that The function execution instruction includes execution status information and execution parameter information; The determining whether the function test is qualified based on the state information, the function execution instruction and the instruction feedback information includes: Acquire feedback status information and feedback parameter information in the instruction feedback information; In response to the execution status information, the feedback status information and the status information being the same, and the execution parameter information and the feedback parameter information being the same, it is determined that the functional test is qualified.

8. The method according to claim 6, characterized in that The sending of the function execution instruction to the vehicle end includes: decrypting the function execution instruction to obtain a decrypted execution instruction, and sending the decrypted execution instruction to the vehicle end; The sending of the command feedback information to the remote control end includes: decrypting the command feedback information to obtain decrypted command feedback information, and sending the decrypted command feedback information to the remote control end.

9. A test device based on the Internet of Vehicles platform, characterized in that: include: A first determining module is configured to determine test input parameter information based on the test requirement in response to receiving the test requirement; A second determination module is configured to determine a target test script from a preset test script library based on the test input parameter information; A first execution module, configured to execute the target test script and generate a test result; The second execution module is configured to perform a functional test based on the test requirement in response to the test result being qualified.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 8 is implemented.