Vehicle underlying vulnerability test method, device and equipment

By using preset test case library and R&D personnel's judgment results in vehicle testing, real-vehicle or simulation tests are carried out, the problem of low testing efficiency of existing vehicle testing methods is solved, and more efficient detection of underlying problems and improvement of testing efficiency is achieved.

CN120197181APending Publication Date: 2025-06-24BEI DOU ZHI LIAN KE JI YOU XIAN GONG SI +1
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing vehicle testing methods have problems with inefficient testing, and it is difficult to effectively discover and expose the bugs (vulnerabilities/defects) of the underlying code. These vulnerabilities are usually difficult to reproduce, have far-reaching impacts and are highly concealed.

Method used

Provide a vehicle's underlying vulnerability testing method. By obtaining test cases from the preset test case library, conducting real vehicle or simulation tests on the test vehicle. If the test fails, the fault site will be retained and the results will be sent to the R&D personnel. According to the R&D personnel's judgment results, the next test case will be continued for testing.

Benefits of technology

It effectively improves the detection efficiency of underlying problems, enables R&D personnel to solve underlying problems in advance, improves testing efficiency, and shortens the development cycle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120197181A_ABST
    Figure CN120197181A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle underlying vulnerability test method, device and equipment. The method comprises the following steps: acquiring a test case from a preset test case library as a target test case; wherein the test case library is obtained by research and development personnel based on a preset question list; performing real vehicle or simulation test on the to-be-tested vehicle according to the target test case to obtain a corresponding target test result; if the target test result is test failure, the fault site is reserved, and the target test result is sent to research and development personnel to obtain a judgment result; and if the judgment result is that the target underlying problem corresponding to the target test result is in the problem list, acquiring a next test case from the test case library as a target test case, and returning to the step of performing the real vehicle or simulation test on the to-be-tested vehicle according to the target test case to obtain the corresponding target test result. The detection efficiency of the underlying problems can be improved, and research and development personnel can solve the underlying problems in advance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicles, and in particular, to a method, device, and equipment for testing underlying vulnerabilities of vehicles. Background Art

[0002] In current cockpit development, in order to address the limitations of traditional software development such as frequent changes in requirements, market pressure, insufficient customer participation, and high failure rates, agile development has solved the deficiencies of traditional development methods by flexibly responding to changes, rapid delivery, continuous feedback, and high-quality requirements, and has adapted to the complexity and uncertainty of modern software development. In this context, it is particularly important to expose BUGs (vulnerabilities / defects) in underlying code through functional testing of upper-layer applications. Underlying vulnerabilities / defects usually have the following characteristics: 1. Difficult to reproduce: dependent on specific timing, hardware states, or environmental conditions; 2. Far-reaching impact: may lead to system crashes, data corruption, or security vulnerabilities; 3. Strong concealment: may be hidden in compiler optimizations, memory operations, or concurrent interactions. Therefore, existing vehicle testing methods have the problem of low testing efficiency. Summary of the Invention

[0003] Embodiments of the present invention provide a method, device, and equipment for testing underlying vulnerabilities of vehicles, aiming to solve the problem of low testing efficiency in existing vehicle testing methods.

[0004] In a first aspect, embodiments of the present invention provide a method for testing underlying vulnerabilities of vehicles, the method comprising:

[0005] Obtaining a test case from a preset test case library as a target test case; wherein, the test case library is obtained by R & D personnel based on a preset problem list;

[0006] Performing on-vehicle or simulation testing on the vehicle to be tested according to the target test case, and obtaining a corresponding target test result;

[0007] If the target test result is a test failure, retaining the fault scene and sending the target test result to the R & D personnel to obtain a judgment result submitted by the R & D personnel according to the fault scene and the target test result;

[0008] If the judgment result is that the target underlying problem corresponding to the target test result is in the problem list, obtaining the next test case from the test case library as the target test case, and returning to execute the step of performing on-vehicle or simulation testing on the vehicle to be tested according to the target test case to obtain a corresponding target test result.

[0009] In a second aspect, embodiments of the present invention further provide a device for testing underlying vulnerabilities of vehicles, the device comprising:

[0010] An acquisition unit, configured to acquire a test case from a preset test case library as a target test case; wherein, the test case library is obtained by R & D personnel based on a preset problem list;

[0011] A test unit, configured to perform an on-vehicle or simulation test on a vehicle to be tested according to the target test case, and obtain a corresponding target test result;

[0012] A sending unit, configured to, if the target test result is a test failure, retain the fault scene and send the target test result to R & D personnel, so as to obtain a judgment result submitted by the R & D personnel according to the fault scene and the target test result;

[0013] An execution unit, configured to, if the judgment result is that the target underlying problem corresponding to the target test result is in the problem list, acquire the next test case from the test case library as the target test case, and return to execute the step of performing an on-vehicle or simulation test on the vehicle to be tested according to the target test case to obtain a corresponding target test result.

[0014] In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a memory and a processor, a computer program is stored on the memory, and when the processor executes the computer program, the method described in the first aspect above is implemented.

[0015] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, the storage medium stores a computer program, the computer program includes program instructions, and when the program instructions are executed by a processor, the method described in the first aspect above can be implemented.

[0016] The present invention provides a method, apparatus, and device for testing vehicle underlying vulnerabilities. The method includes: obtaining a test case from a preset test case library as a target test case; wherein, the test case library is obtained by R & D personnel based on a preset problem list; performing an on-vehicle or simulation test on the vehicle to be tested according to the target test case to obtain a corresponding target test result; if the target test result is a test failure, retaining the fault scene and sending the target test result to the R & D personnel to obtain a judgment result submitted by the R & D personnel according to the fault scene and the target test result; if the judgment result is that the target underlying problem corresponding to the target test result is in the problem list, obtaining the next test case from the test case library as the target test case, and returning to execute the step of performing an on-vehicle or simulation test on the vehicle to be tested according to the target test case to obtain a corresponding target test result. In the embodiments of the present invention, the test case library is obtained by R & D personnel based on a preset problem list. Performing an on-vehicle or simulation test on the vehicle to be tested according to the target test case can effectively improve the detection efficiency of underlying problems, enable the R & D personnel to solve underlying problems in advance, and can also effectively improve the test efficiency and shorten the development cycle. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0018] Figure 1 It is a flowchart of the method for testing vehicle underlying vulnerabilities provided by the embodiments of the present invention;

[0019] Figure 2 It is a schematic block diagram of the device for testing vehicle underlying vulnerabilities provided by the embodiments of the present invention;

[0020] Figure 3 It is a schematic block diagram of the electronic device provided by the embodiments of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0021] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts fall within the scope of the present invention.

[0022] It should be understood that when used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, wholes, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or their combinations.

[0023] It should also be understood that the terms used in this specification of the present invention are merely for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in this specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an", and "the" are intended to include the plural forms.

[0024] It should be further understood that the term "and / or" used in this specification of the present invention and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations. Embodiments of the present invention provide a method, device, and equipment for testing vehicle underlying vulnerabilities. For the method of testing vehicle underlying vulnerabilities, please refer to Figure 1 , Figure 1 which is a schematic flowchart of the method for testing vehicle underlying vulnerabilities provided by the embodiments of the present invention. This method is applied to the controller of the test system; the method for testing vehicle underlying vulnerabilities can be real vehicle testing or simulation testing, and the specific testing method can be set according to actual requirements; when the vehicle testing method is real vehicle testing, the controller is network-connected to the vehicle to be tested.

[0025] Figure 1 which is a schematic flowchart of the method for testing vehicle underlying vulnerabilities provided by the embodiments of the present invention. As Figure 1 shown, this method includes the following steps S110 - S140.

[0026] S110. Obtain a test case from a preset test case library as the target test case; wherein, the test case library is obtained by R & D personnel based on a preset problem list.

[0027] In this embodiment, the problem list includes multiple underlying problems, which include but are not limited to screen anomalies, vehicle power depletion, key function jams, performance degradation, reverse gear jams, external DVR jams, no external voice, etc.; each of the underlying problems corresponds to at least one root cause. For example, the root cause corresponding to the external DVR jam is abnormal camera driver, etc.; and the root cause can in turn correspond to at least one fault cause. For example, the root cause of performance degradation is abnormal memory, and the fault causes corresponding to abnormal memory are memory leak, memory overflow, etc.; R & D personnel can customize at least one test case according to the root cause or fault cause of the underlying problem and add the test case to the test case library; for example, the root cause corresponding to the external DVR jam is abnormal camera driver, and R & D personnel customize at least one test case according to the root cause. Therefore, this test case is associated with the root cause (abnormal camera driver) and the underlying problem (external DVR jam). During the process of conducting on-vehicle or simulation tests on the vehicle to be tested according to the test case, if an abnormal event occurs, the corresponding underlying problem can be quickly found according to the test case, which can effectively improve the detection efficiency of the underlying problem, enable R & D personnel to solve the underlying problem in advance, and can also effectively improve the test efficiency and shorten the development cycle.

[0028] Preferably, a general model is constructed according to the test case library, and the vehicle to be tested is tested according to the general model to improve the test efficiency.

[0029] S120. Conduct on-vehicle or simulation tests on the vehicle to be tested according to the target test case to obtain the corresponding target test result.

[0030] In this embodiment, the vehicle test methods include on-vehicle tests and simulation tests. The vehicle test method can be determined according to the target test case, and the vehicle to be tested is tested according to the target test case and the vehicle test method to obtain the corresponding target test result.

[0031] In one embodiment, step S120 includes: determining the vehicle test method according to the target test case; if the vehicle test method is an on-vehicle test, then conduct an on-vehicle test on the vehicle to be tested according to the target test case.

[0032] In this embodiment, the vehicle test method is determined according to the target test case; if the vehicle test method is an on-vehicle test, then conduct an on-vehicle test on the vehicle to be tested according to the target test case.

[0033] Furthermore, the target component is tested according to the target test case, that is, it is not necessarily to test the entire vehicle.

[0034] In one embodiment, after determining the vehicle test method according to the target test case, the following steps are further included: If the vehicle test method is a simulation test, obtain the parameter information of the vehicle to be tested; construct a vehicle simulation model according to the parameter information; build a simulation test scenario according to the target test case; control the vehicle simulation model to run in the simulation test scenario according to the target test case, and obtain the corresponding target test result.

[0035] In this embodiment, if the vehicle test method is a simulation test, obtain the parameter information of the vehicle to be tested; construct a vehicle simulation model according to the parameter information; build a simulation test scenario according to the target test case; wherein, the simulation test scenario can be a rainy day or a snowy day, etc.; control the vehicle simulation model to run in the simulation test scenario according to the target test case, and obtain the corresponding target test result.

[0036] In one embodiment, controlling the vehicle simulation model to run in the simulation test scenario according to the target test case and obtaining the corresponding target test result includes: obtaining the target test times according to the target test case; repeating the test on the vehicle simulation model in the simulation test scenario according to the target test times and the target test case.

[0037] In this embodiment, the target test case includes the target test times, and the target test times can be obtained by custom according to the actual application; repeat the test on the vehicle simulation model in the simulation test scenario according to the target test times and the target test case.

[0038] In one embodiment, after step S120, the following steps are further included: If the target test result is a successful test, obtain the next test case from the test case library as the target test case, and return to execute the step of performing an actual vehicle or simulation test on the vehicle to be tested according to the target test case to obtain the corresponding target test result.

[0039] In this embodiment, if the target test result is a successful test, determine whether there are still untested test cases in the test case library; if there are untested test cases, obtain the next test case from the test case library as the target test case, and return to execute the step of performing an actual vehicle or simulation test on the vehicle to be tested according to the target test case to obtain the corresponding target test result; if there are no untested test cases, generate a test report; wherein, the test report includes the test results corresponding to each test case.

[0040] S130. If the target test result is a test failure, preserve the fault scene and send the target test result to the R & D personnel to obtain the judgment result submitted by the R & D personnel based on the fault scene and the target test result.

[0041] In this embodiment, if the target test result is a test failure, preserve the fault scene and send the target test result to the R & D personnel. The R & D personnel judge whether the corresponding target underlying problem is a known underlying problem based on the fault scene and the target test result, obtain the corresponding judgment result and submit it.

[0042] In one embodiment, after obtaining the judgment result submitted by the R & D personnel based on the fault scene and the target test result, it further includes: if the judgment result is that the target underlying problem corresponding to the target test result is not in the problem list, send the target underlying problem to the BUG management system to obtain the analysis result submitted by the R & D personnel in the BUG management system based on the target underlying problem; send the analysis result to the R & D personnel to obtain the sorting result submitted by the R & D personnel based on the analysis result, so as to determine whether the target underlying problem is in the problem list according to the sorting result.

[0043] In this embodiment, if the judgment result is that the target underlying problem corresponding to the target test result is not in the problem list, send the target underlying problem to the BUG management system to obtain the analysis result submitted by the R & D personnel in the BUG management system based on the target underlying problem; send the analysis result to the R & D personnel, and the R & D personnel judge again whether the target underlying problem is in the problem list according to the analysis result to obtain the corresponding sorting result.

[0044] Further, after obtaining the sorting result submitted by the R & D personnel based on the analysis result, it further includes: obtain the next test case from the test case library as the target test case, and return to the step of performing an on-vehicle or simulation test on the vehicle to be tested according to the target test case to obtain the corresponding target test result.

[0045] In one embodiment, after determining whether the target underlying problem is in the problem list according to the sorting result, it further includes: if the sorting result is that the target underlying problem is in the problem list, count the target underlying problem into the problem list; if the sorting result is that the target underlying problem is not in the problem list, prompt the R & D personnel to add test cases according to the target underlying problem.

[0046] In this embodiment, if the sorting result is that the target underlying problem is in the problem list, the target underlying problem is counted into the problem list to improve the problem list; if the sorting result is that the target underlying problem is not in the problem list, the R & D personnel are prompted to add test cases according to the target underlying problem.

[0047] S140. If the judgment result is that the target underlying problem corresponding to the target test result is in the problem list, obtain the next test case from the test case library as the target test case, and return to execute the step of performing an on-vehicle or simulation test on the vehicle to be tested according to the target test case to obtain the corresponding target test result.

[0048] In this embodiment, the target test result corresponds to the target test case, and the target underlying problem corresponding to the target test result can be determined according to the target test case; if the judgment result is that the target underlying problem corresponding to the target test result is in the problem list, obtain the next test case from the test case library as the target test case, and return to execute the step of performing an on-vehicle or simulation test on the vehicle to be tested according to the target test case to obtain the corresponding target test result.

[0049] In summary, the test case library in the embodiment of the present invention is obtained by R & D personnel based on a preset problem list. Performing an on-vehicle or simulation test on the vehicle to be tested according to the target test case can effectively improve the detection efficiency of underlying problems, enable R & D personnel to solve underlying problems in advance, and can also effectively improve the test efficiency and shorten the development cycle.

[0050] Figure 2 It is a schematic block diagram of a vehicle underlying vulnerability testing device provided by an embodiment of the present invention. As Figure 2 shown, corresponding to the above vehicle underlying vulnerability testing method, the present invention also provides a vehicle underlying vulnerability testing device, which is configured in the controller of the test system; the vehicle underlying vulnerability testing method can be an on-vehicle test or a simulation test, and the specific test method can be set according to actual requirements; when the vehicle test method is an on-vehicle test, the controller is network-connected to the vehicle to be tested. Specifically, please refer to Figure 2 , the vehicle underlying vulnerability testing device 700 includes:

[0051] An obtaining unit 701, configured to obtain a test case from a preset test case library as a target test case; wherein, the test case library is obtained by R & D personnel based on a preset problem list;

[0052] A testing unit 702, configured to perform an on-vehicle or simulation test on the vehicle to be tested according to the target test case to obtain a corresponding target test result;

[0053] A sending unit 703, configured to, if the target test result is a test failure, retain the fault scene and send the target test result to a R & D personnel, so as to obtain a judgment result submitted by the R & D personnel according to the fault scene and the target test result;

[0054] An execution unit 704, configured to, if the judgment result indicates that the target underlying problem corresponding to the target test result is in the problem list, obtain the next test case from the test case library as a target test case, and return to execute the step of performing an on-vehicle or simulation test on the vehicle to be tested according to the target test case to obtain a corresponding target test result.

[0055] In some embodiments, when the test unit 702 executes the step of performing an on-vehicle or simulation test on the vehicle to be tested according to the target test case to obtain a corresponding target test result, it is specifically configured to:

[0056] Determine a vehicle test method according to the target test case; if the vehicle test method is an on-vehicle test, perform an on-vehicle test on the vehicle to be tested according to the target test case.

[0057] In some embodiments, after the test unit 702 executes the step of determining a vehicle test method according to the target test case, it is further configured to:

[0058] If the vehicle test method is a simulation test, obtain parameter information of the vehicle to be tested; construct a vehicle simulation model according to the parameter information; build a simulation test scenario according to the target test case; control the vehicle simulation model to run in the simulation test scenario according to the target test case to obtain a corresponding target test result.

[0059] In some embodiments, when the test unit 702 executes the step of controlling the vehicle simulation model to run in the simulation test scenario according to the target test case to obtain a corresponding target test result, it is specifically configured to:

[0060] Obtain a target test number according to the target test case; perform repeated tests on the vehicle simulation model in the simulation test scenario according to the target test number and the target test case.

[0061] In some embodiments, after the sending unit 703 executes the step of obtaining the judgment result submitted by the R & D personnel according to the fault scene and the target test result, it is further configured to:

[0062] If the judgment result indicates that the target underlying problem corresponding to the target test result is not in the problem list, then send the target underlying problem to the BUG management system to obtain the analysis result submitted by the R & D personnel in the BUG management system according to the target underlying problem; send the analysis result to the R & D personnel to obtain the sorting result submitted by the R & D personnel according to the analysis result, so as to determine whether the target underlying problem is in the problem list according to the sorting result.

[0063] In some embodiments, after the sending unit 703 executes the step of determining whether the target underlying problem is in the problem list according to the sorting result, it is further configured to:

[0064] If the sorting result indicates that the target underlying problem is in the problem list, then count the target underlying problem into the problem list; if the sorting result indicates that the target underlying problem is not in the problem list, then prompt the R & D personnel to add test cases according to the target underlying problem.

[0065] In some embodiments, after the testing unit 702 executes the step of performing an on-vehicle or simulation test on the vehicle to be tested according to the target test case to obtain the corresponding target test result, it is further configured to:

[0066] If the target test result is a successful test, then obtain the next test case from the test case library as the target test case, and return to execute the step of performing an on-vehicle or simulation test on the vehicle to be tested according to the target test case to obtain the corresponding target test result.

[0067] It should be noted that those skilled in the art can clearly understand the specific implementation processes of the above vehicle underlying vulnerability testing device and each unit. They can refer to the corresponding descriptions in the foregoing method embodiments. For the sake of convenience and brevity of description, they will not be elaborated herein.

[0068] The above vehicle underlying vulnerability testing device can be implemented in the form of a computer program, and this computer program can run on an electronic device as shown in Figure 3 shown.

[0069] Please refer to Figure 3 , Figure 3 which is a schematic block diagram of an electronic device provided by an embodiment of the present invention. The electronic device 800 can be a terminal or a server. Among them, the terminal can be an electronic device with a communication function such as a tablet computer, a notebook computer, a desktop computer, a personal digital assistant, and a wearable device. The server can be an independent server or a server cluster composed of multiple servers.

[0070] Refer to Figure 3, the electronic device 800 includes a processor 802, a memory, and a network interface 805 connected via a system bus 801. Among them, the memory may include a non-volatile storage medium 803 and an internal memory 804.

[0071] The non-volatile storage medium 803 can store an operating system 8031 and a computer program 8032. The computer program 8032 includes program instructions, which when executed, can cause the processor 802 to execute a vehicle underlying vulnerability testing method.

[0072] The processor 802 is used to provide computing and control capabilities to support the operation of the entire electronic device 800.

[0073] The internal memory 804 provides an environment for the operation of the computer program 8032 in the non-volatile storage medium 803. When the computer program 8032 is executed by the processor 802, it can cause the processor 802 to execute a vehicle underlying vulnerability testing method.

[0074] The network interface 805 is used for network communication with other devices. Those skilled in the art can understand that Figure 3 the structure shown in is only a block diagram of some structures related to the solution of the present invention, and does not constitute a limitation on the electronic device 800 to which the solution of the present invention is applied. The specific electronic device 800 may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0075] Among them, the processor 802 is used to run the computer program 8032 stored in the memory to implement the following steps:

[0076] Obtain a test case from a preset test case library as the target test case; wherein, the test case library is obtained by R & D personnel based on a preset problem list; perform an in-vehicle or simulation test on the vehicle to be tested according to the target test case to obtain a corresponding target test result; if the target test result is a test failure, retain the fault scene and send the target test result to the R & D personnel to obtain a judgment result submitted by the R & D personnel according to the fault scene and the target test result; if the judgment result is that the target underlying problem corresponding to the target test result is in the problem list, obtain the next test case from the test case library as the target test case, and return to execute the step of performing an in-vehicle or simulation test on the vehicle to be tested according to the target test case to obtain a corresponding target test result.

[0077] In some embodiments, when the processor 802 implements the step of performing an in-vehicle or simulation test on the vehicle to be tested according to the target test case to obtain a corresponding target test result, the following steps are specifically implemented:

[0078] Determine the vehicle test method according to the target test case; if the vehicle test method is an on-road vehicle test, then conduct an on-road vehicle test on the vehicle to be tested according to the target test case.

[0079] In some embodiments, after the processor 802 implements the step of determining the vehicle test method according to the target test case, the following steps are further implemented:

[0080] If the vehicle test method is a simulation test, obtain the parameter information of the vehicle to be tested; construct a vehicle simulation model according to the parameter information; build a simulation test scenario according to the target test case; control the vehicle simulation model to run in the simulation test scenario according to the target test case to obtain the corresponding target test result.

[0081] In some embodiments, when the processor 802 implements the step of controlling the vehicle simulation model to run in the simulation test scenario according to the target test case to obtain the corresponding target test result, the following steps are specifically implemented:

[0082] Obtain the target number of tests according to the target test case; repeat the test on the vehicle simulation model in the simulation test scenario according to the target number of tests and the target test case.

[0083] In some embodiments, after the processor 802 implements the step of obtaining the judgment result submitted by the R & D personnel according to the fault site and the target test result, the following steps are further implemented:

[0084] If the judgment result is that the target underlying problem corresponding to the target test result is not in the problem list, send the target underlying problem to the BUG management system to obtain the analysis result submitted by the R & D personnel in the BUG management system according to the target underlying problem; send the analysis result to the R & D personnel to obtain the sorting result submitted by the R & D personnel according to the analysis result, so as to determine whether the target underlying problem is in the problem list according to the sorting result.

[0085] In some embodiments, after the processor 802 implements the step of determining whether the target underlying problem is in the problem list according to the sorting result, the following steps are further implemented:

[0086] If the sorting result is that the target underlying problem is in the problem list, count the target underlying problem into the problem list; if the sorting result is that the target underlying problem is not in the problem list, prompt the R & D personnel to add test cases according to the target underlying problem.

[0087] In some embodiments, after the processor 802 implements the step of performing an on-vehicle or simulation test on the vehicle to be tested according to the target test case and obtaining the corresponding target test result, the following steps are further implemented:

[0088] If the target test result is a successful test, obtain the next test case from the test case library as the target test case, and return to execute the step of performing an on-vehicle or simulation test on the vehicle to be tested according to the target test case and obtaining the corresponding target test result.

[0089] It should be understood that in the embodiments of the present invention, the processor 802 may be a central processing unit (CPU), and the processor 802 may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0090] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program includes program instructions, and the computer program can be stored in a storage medium, and the storage medium is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the process steps of the embodiments of the above methods.

[0091] Therefore, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program, where the computer program includes program instructions. When the program instructions are executed by the processor, the processor executes the following steps:

[0092] Obtain a test case from a preset test case library as the target test case; wherein, the test case library is obtained by R & D personnel based on a preset problem list; perform an on-vehicle or simulation test on the vehicle to be tested according to the target test case to obtain a corresponding target test result; if the target test result is a test failure, retain the fault scene and send the target test result to the R & D personnel to obtain a judgment result submitted by the R & D personnel according to the fault scene and the target test result; if the judgment result is that the target underlying problem corresponding to the target test result is in the problem list, obtain the next test case from the test case library as the target test case, and return to execute the step of performing an on-vehicle or simulation test on the vehicle to be tested according to the target test case to obtain a corresponding target test result.

[0093] In one embodiment, when the processor executes the program instructions to implement the step of performing an on-vehicle or simulation test on the vehicle to be tested according to the target test case to obtain a corresponding target test result, the specific implementation is as follows:

[0094] Determine the vehicle test method according to the target test case; if the vehicle test method is an on-vehicle test, perform an on-vehicle test on the vehicle to be tested according to the target test case.

[0095] In one embodiment, after the processor executes the program instructions to implement the step of determining the vehicle test method according to the target test case, the following steps are also implemented:

[0096] If the vehicle test method is a simulation test, obtain the parameter information of the vehicle to be tested; construct a vehicle simulation model according to the parameter information; build a simulation test scenario according to the target test case; control the vehicle simulation model to run in the simulation test scenario according to the target test case to obtain a corresponding target test result.

[0097] In one embodiment, when the processor executes the program instructions to implement the step of controlling the vehicle simulation model to run in the simulation test scenario according to the target test case to obtain a corresponding target test result, the specific implementation is as follows:

[0098] Obtain the target test times according to the target test case; perform repeated tests on the vehicle simulation model in the simulation test scenario according to the target test times and the target test case.

[0099] In one embodiment, after the processor executes the program instructions to implement the step of obtaining the judgment result submitted by the R & D personnel according to the fault scene and the target test result, the following steps are also implemented:

[0100] If the judgment result indicates that the target underlying problem corresponding to the target test result is not in the problem list, send the target underlying problem to the BUG management system to obtain the analysis result submitted by the R & D personnel in the BUG management system according to the target underlying problem; send the analysis result to the R & D personnel to obtain the collation result submitted by the R & D personnel according to the analysis result, and determine whether the target underlying problem is in the problem list according to the collation result.

[0101] In one embodiment, after the processor executes the program instruction to implement the step of determining whether the target underlying problem is in the problem list according to the collation result, the following steps are further implemented:

[0102] If the collation result indicates that the target underlying problem is in the problem list, count the target underlying problem into the problem list; if the collation result indicates that the target underlying problem is not in the problem list, prompt the R & D personnel to add test cases according to the target underlying problem.

[0103] In one embodiment, after the processor executes the program instruction to implement the step of performing an on-vehicle or simulation test on the vehicle to be tested according to the target test case and obtaining the corresponding target test result, the following steps are further implemented:

[0104] If the target test result is a successful test, obtain the next test case from the test case library as the target test case, and return to execute the step of performing an on-vehicle or simulation test on the vehicle to be tested according to the target test case and obtaining the corresponding target test result.

[0105] The storage medium can be various computer-readable storage media such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disc that can store program codes.

[0106] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the components and steps of each example have been generally described according to their functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.

[0107] In several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of each unit is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0108] The steps in the method embodiments of the present invention can be adjusted, combined, and deleted according to actual needs. The units in the device embodiments of the present invention can be combined, divided, and deleted according to actual needs. In addition, the functional units in each embodiment of the present invention can be integrated into a processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit.

[0109] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing an electronic device (which can be a personal computer, a terminal, or a network device, etc.) to execute all or part of the steps of the methods described in each embodiment of the present invention.

[0110] As described above, the above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention can easily think of various equivalent modifications or substitutions, and these modifications or substitutions should all be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims

1. A vehicle bottom layer vulnerability testing method, characterized in that: The method comprises: Obtain a test case from a preset test case library as a target test case; wherein the test case library is obtained by the R&D personnel based on a preset question list; Performing a real vehicle or simulation test on the test vehicle according to the target test case to obtain a corresponding target test result; If the target test result is a test failure, retain the fault site and send the target test result to the R&D personnel to obtain the judgment result submitted by the R&D personnel based on the fault site and the target test result; If the judgment result is that the target underlying problem corresponding to the target test result is in the problem list, the next test case is obtained from the test case library as the target test case, and the step of performing a real vehicle or simulation test on the test vehicle according to the target test case to obtain the corresponding target test result is returned.

2. The vehicle bottom layer vulnerability testing method according to claim 1 is characterized in that: The performing of a real vehicle or simulation test on the vehicle to be tested according to the target test case to obtain a corresponding target test result includes: Determining a vehicle testing method according to the target test case; If the vehicle testing method is a real vehicle test, a real vehicle test is performed on the vehicle to be tested according to the target test case.

3. The vehicle bottom layer vulnerability testing method according to claim 2 is characterized in that: After determining the vehicle test mode according to the target test case, the method further includes: If the vehicle test mode is a simulation test, obtaining parameter information of the vehicle to be tested; Constructing a vehicle simulation model according to the parameter information; Building a simulation test scenario according to the target test case; The vehicle simulation model is controlled to run in the simulation test scenario according to the target test case to obtain a corresponding target test result.

4. The vehicle bottom layer vulnerability testing method according to claim 3 is characterized in that: The step of controlling the vehicle simulation model to run in the simulation test scenario according to the target test case to obtain a corresponding target test result includes: Obtaining a target number of tests according to the target test case; According to the target test number and the target test case, the vehicle simulation model is repeatedly tested in the simulation test scenario.

5. The vehicle bottom layer vulnerability testing method according to claim 1 is characterized in that: After obtaining the judgment result submitted by the R&D personnel according to the fault site and the target test result, the method further includes: If the judgment result is that the target underlying problem corresponding to the target test result is not in the problem list, the target underlying problem is sent to the BUG management system to obtain the analysis result submitted by the R&D personnel in the BUG management system according to the target underlying problem; The analysis result is sent to the R&D personnel to obtain the sorting result submitted by the R&D personnel according to the analysis result, so as to determine whether the target underlying problem is in the problem list according to the sorting result.

6. The vehicle bottom layer vulnerability testing method according to claim 5 is characterized in that: After determining whether the target underlying problem is in the problem list according to the sorting result, the method further includes: If the sorting result is that the target underlying problem is in the problem list, the target underlying problem is counted in the problem list; If the sorting result is that the target underlying problem is not in the problem list, the R&D personnel are prompted to add test cases according to the target underlying problem.

7. The vehicle bottom layer vulnerability testing method according to claim 1 is characterized in that: After performing a real vehicle or simulation test on the test vehicle according to the target test case and obtaining a corresponding target test result, the method further includes: If the target test result is a successful test, the next test case is obtained from the test case library as the target test case, and the step of performing a real vehicle or simulation test on the test vehicle according to the target test case to obtain a corresponding target test result is returned.

8. A vehicle bottom layer vulnerability testing device, characterized in that: The device comprises: An acquisition unit, used to acquire a test case from a preset test case library as a target test case; wherein the test case library is obtained by the R&D personnel based on a preset question list; A testing unit, used to perform a real vehicle or simulation test on the test vehicle according to the target test case to obtain a corresponding target test result; A sending unit, configured to retain the fault site and send the target test result to a research and development personnel if the target test result is a test failure, so as to obtain a judgment result submitted by the research and development personnel based on the fault site and the target test result; An execution unit is used to obtain the next test case from the test case library as the target test case if the judgment result is that the target underlying problem corresponding to the target test result is in the problem list, and return to execute the step of performing a real vehicle or simulation test on the test vehicle according to the target test case to obtain the corresponding target test result.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the vehicle underlying vulnerability testing method as described in any one of claims 1-7 is implemented.

10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, which includes program instructions. When the program instructions are executed by a processor, the processor executes the vehicle underlying vulnerability testing method as described in any one of claims 1-7.