A method for developing vehicle function test cases and related devices

The method leverages FIP functionality plans to automate vehicle functionality testing, addressing inefficiencies in manual updates by mapping signal paths and interfaces, thereby reducing development time and costs.

CN115454832BActive Publication Date: 2025-07-15VOYAH AUTOMOBILE TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211049157.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-30
Publication Date
2025-07-15
Estimated Expiration
2042-08-30

AI Technical Summary

Technical Problem

The development of existing vehicle functional test cases relies on the functional specifications of each subsystem of the vehicle, resulting in the need to manually modify the entire functional test case when signal or logic is updated, increasing the workload and personnel costs, and extending the development cycle.

Method used

Based on the FIP function implementation plan, obtain basic functional test description information and signal transmission paths, generate functional test cases, and reduce the need for modification of the entire functional test case.

Benefits of technology

By obtaining basic functional test information and signal transmission paths in advance, functional test cases are automatically generated, which reduces manual modification workload, shortens development cycle, and improves development efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115454832B_ABST
    Figure CN115454832B_ABST
Patent Text Reader

Abstract

An embodiment of the present application provides a method for developing vehicle function test cases, including: obtaining basic function test description information of at least one vehicle basic function based on the FIP function implementation plan of the vehicle; obtaining corresponding basic function test link information based on the basic function test description information, where the basic function test link information is used to indicate the signal transmission path when the associated vehicle basic function is executed; determining the target function link information of the target function based on the association relationship between the target function and the vehicle basic function; and obtaining a corresponding function interface signal mapping list according to the target function link information to generate function test cases for the target function. In this way, by pre-inputting basic function test description information and basic function test link information, and by obtaining a function interface signal mapping list to generate function test cases, the development process can be advanced, the workload can be reduced, and the development time can be saved.
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 for developing vehicle function test cases and related devices. Background Art

[0002] At present, the development of vehicle function test cases is based on the function specifications of each subsystem of the whole vehicle, integrating function descriptions, function logics, and function signals highly, resulting in a single vehicle function link. Therefore, in the case of logic changes or signal changes, it is necessary to manually modify the entire function test case to update the function test case, resulting in an increase in the workload of checking and modifying the function test case. Especially in the SOA architecture, the software update frequency has increased significantly, and the modification requirements for function test cases have also increased accordingly. Using the traditional method of modifying function test cases and modifying them item by item manually requires a large amount of manpower, resulting in an increase in personnel costs, a long development and modification cycle time, and affecting development efficiency. Summary of the Invention

[0003] The present invention provides a method for developing vehicle function test cases to solve the problem that the current development of vehicle function test cases needs to rely on the function specifications of each subsystem of the whole vehicle, resulting in a single function link. Therefore, in the case of signal or logic updates, it is necessary to manually modify the entire function test case where the above updates occur, resulting in an increase in the workload of checking and modifying, and further resulting in an increase in personnel costs, a long development and modification cycle time, and low development efficiency.

[0004] In a first aspect, the present invention provides a method for developing vehicle function test cases, including:

[0005] Based on the FIP function implementation plan of the vehicle, obtain at least one piece of basic function test description information of the vehicle basic functions;

[0006] Based on the basic function test description information, obtain the corresponding basic function test link information, where the basic function test link information is used to indicate the signal transmission path when the associated vehicle basic function is executed;

[0007] Based on the association relationship between the target function and the vehicle basic functions, determine the target function link information of the target function;

[0008] According to the target function link information, obtain the corresponding function interface signal mapping list to generate the function test case of the target function.

[0009] Optionally, the method further includes:

[0010] In the case where the function interface signal mapping of the vehicle basic function changes, obtain the change information of the function interface signal mapping list of the function test cases of the vehicle basic function;

[0011] Based on the change information, obtain the updated list of function interface signal mappings of the function test cases of the vehicle basic function.

[0012] Optionally, the function description information includes: the overview of the function test case, the preconditions of the function test case, the test steps of the function test case, and the expected results of the function test case.

[0013] Optionally, obtaining the corresponding basic function test link information based on the basic function test description information includes:

[0014] Obtain the network topology of the vehicle;

[0015] Based on the network topology of the vehicle and the function description information of the vehicle basic function, obtain the function link information of the vehicle basic function.

[0016] Optionally, the network topology of the vehicle is obtained based on the SOA architecture of the vehicle.

[0017] Optionally, obtaining the network topology of the vehicle includes:

[0018] Determine the network topology of the vehicle based on the type of the vehicle.

[0019] Optionally, the network topology of the vehicle is determined based on the vehicle's installation stage.

[0020] In a second aspect, the present invention also provides a vehicle function test case development device, including:

[0021] A first acquisition module, configured to obtain the basic function test description information of at least one vehicle basic function based on the FIP function implementation plan of the vehicle;

[0022] A second acquisition module, configured to obtain the corresponding basic function test link information based on the basic function test description information, where the basic function test link information is used to indicate the signal transmission path when the associated vehicle basic function is executed;

[0023] A determination module, configured to determine the target function link information of the target function based on the association relationship between the target function and the vehicle basic function;

[0024] A third acquisition module, configured to obtain the corresponding function interface signal mapping list according to the target function link information, so as to generate the function test case of the target function.

[0025] In a third aspect, the present invention further provides an electronic device, including a memory and a processor, and the processor is configured to implement the steps of the vehicle function test case development method according to any one of the first aspects as described above when executing a computer program stored in the memory.

[0026] In a fourth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the vehicle function test case development method according to any one of the first aspects.

[0027] As can be seen from the above technical solutions, the embodiments of the present application provide a vehicle function test case development method, including: obtaining basic function test description information of at least one vehicle basic function based on the FIP function implementation plan of the vehicle; obtaining corresponding basic function test link information based on the basic function test description information, where the basic function test link information is used to indicate the signal transmission path when the associated vehicle basic function is executed; determining the target function link information of the target function based on the association relationship between the target function and the vehicle basic function; and obtaining a corresponding function interface signal mapping list according to the target function link information to generate a function test case for the target function. Since the development of current vehicle function test cases relies on the function specifications of each subsystem of the whole vehicle, the generated function links are single. Therefore, in the case of signal or logic updates, it is necessary to manually modify the entire function test case where the above updates occur, resulting in an increased workload for inspection and modification, thereby increasing the personnel cost, having a long development and modification cycle time, and low development efficiency. The embodiments of the present application provide a vehicle function test case development method. By pre-inputting basic function test description information and basic function test link information, and obtaining a function interface signal mapping list to generate function test cases, the development process can be advanced, development time can be saved, and the workload of staff can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the technical solutions of the present application, the drawings required for the embodiments will be briefly introduced below. Obviously, for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0029] Figure 1 It is a schematic flowchart of a vehicle function test case development method provided by an embodiment of the present application;

[0030] Figure 2 It is a schematic structural diagram of a vehicle function test case development device provided by an embodiment of the present application;

[0031] Figure 3 Schematic structural diagram of an electronic device provided by an embodiment of the present application;

[0032] Figure 4 Schematic structural diagram of a computer-readable storage medium provided by an embodiment of the present application. Detailed implementation manners

[0033] The embodiments will be described in detail below, and the examples are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following embodiments do not represent all implementation manners consistent with the present application. They are merely examples of systems and methods consistent with some aspects of the present application detailed in the claims. In several embodiments provided by the embodiments of the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described below are merely exemplary.

[0034] As Figure 1 shown, an embodiment of the present application provides a method for developing vehicle function test cases. The execution subject of this method can be a server. Figure 1 Schematic flowchart of a method for developing vehicle function test cases provided by an embodiment of the present application. The method includes:

[0035] Step S110: Based on the FIP function implementation plan of the vehicle, obtain the basic function test description information of at least one vehicle basic function.

[0036] Exemplarily, the above vehicle basic functions can be functions common to different vehicle types and models. For example, the switch functions of the left and right turn signals of the vehicle, the switch function of the windshield wiper, and the switch and temperature adjustment functions of the air conditioner, etc. In the vehicle function test case development stage, the staff can actively select the functions that need to generate function test cases from the basic functions included in the vehicle's FIP function implementation plan, or the functions that need to generate function test cases can be automatically selected from the basic functions included in the vehicle's FIP function implementation plan through a preset program.

[0037] It should be noted that the above vehicle's FIP function implementation plan can include not only basic functions but also some specific functions of the vehicle. For example, for a vehicle with a trunk, it can also include the start function of the trunk, the light switch function of the trunk, etc. Moreover, the above vehicle's FIP function implementation plan can be updated at any time. In the case of a new function that does not belong to the FIP function implementation plan, the staff can supplement the function test description information of this function into the FIP function implementation plan.

[0038] Step S120: Based on the above basic function test description information, obtain the corresponding basic function test link information, where the above basic function test link information is used to indicate the signal transmission path when the associated vehicle basic function is executed.

[0039] It should be noted that the above link information is related to the type and model of the vehicle, including the connection relationship between vehicle hardware and the communication connection relationship between each domain controller and the central controller of the vehicle.

[0040] Exemplarily, the above link information can be directly obtained during the development stage.

[0041] Step S130: Based on the association relationship between the target function and the above vehicle basic functions, determine the target function link information of the above target function.

[0042] It should be noted that the above target function can be the above vehicle basic function or a combination of the above vehicle basic functions.

[0043] Exemplarily, when the above target function is one of the vehicle basic functions, based on the basic function test description information of this basic function, obtain the function link information of this target function; when the above target function is a combination of several vehicle basic functions, obtain the basic function test description information of each basic function in the combination and the combination relationship between each function, and based on the above basic function test description information and combination relationship, obtain the function link information of this target function.

[0044] For example, when the target function is the activation of the left turn signal, it can be determined that the above target function is a vehicle basic function, and it is determined that the target function includes: 5 target function links between the steering controller and the first domain controller, the first domain controller and the central controller, the central controller and the vehicle dashboard, the central controller and the second domain controller, and the second domain controller and the lighting controller.

[0045] Step S140: According to the above target function link information, obtain the corresponding function interface signal mapping list to generate the function test cases of the above target function.

[0046] It should be noted that the function interface signal mapping list includes the mapping of the entire link from the trigger signal to the execution signal.

[0047] According to some embodiments, the above method further includes:

[0048] When the function interface signal mapping of the above vehicle basic function changes, obtain the change information of the function interface signal mapping list of the function test cases of the above vehicle basic function;

[0049] Based on the above change information, obtain the updated list of function interface signal mappings for the function test cases of the above vehicle basic functions.

[0050] Since the above basic function test description information and the above basic function test link information are preset, the development process can be advanced. When the function interface signal mapping of the vehicle basic functions changes, update the function interface signal mapping list, and the updated list of function interface signal mappings can be obtained. Based on the above updated list, the function test cases of the target function can be directly generated, improving the modification speed and efficiency, saving labor costs, and shortening the development cycle.

[0051] According to some embodiments, the above function description information includes: the overview of the above function test cases, the preconditions of the above function test cases, the test steps of the above function test cases, and the expected results of the above function test cases.

[0052] The function description information no longer directly refers to the function description in the subsystem function specification, but adopts the function description defined in the FIP function implementation plan. There is no need to carry out development work only after the hardware installation is completed, and the development process can be advanced. At the same time, usually only when there are new function test requirements, the FIP function implementation plan needs to be supplemented with functions, and the amount of modification work is small and the versatility is high, which can greatly shorten the development cycle.

[0053] According to some embodiments, obtaining the corresponding basic function test link information based on the above basic function test description information includes:

[0054] Obtain the network topology structure of the above vehicle;

[0055] Based on the network topology structure of the above vehicle and the function description information of the above vehicle basic functions, obtain the function link information of the above vehicle basic functions.

[0056] Exemplarily, by obtaining at least one of the overview of the above function test cases and the test steps of the above function test cases, the hardware devices involved in implementing the above vehicle basic functions can be determined, and based on the above hardware devices and the network topology structure of the above vehicle, the function link information of the above vehicle basic functions can be obtained.

[0057] Through the network topology structure of the vehicle and the function description information of the vehicle basic functions, the automatic capture of function link information can be realized, shortening the development time and reducing the workload of developers.

[0058] According to some embodiments, the network topology structure of the above vehicle is obtained based on the SOA architecture of the vehicle.

[0059] Exemplarily, the network topology of the above vehicle can be directly input by the staff during the development stage.

[0060] The SOA architecture of the vehicle can improve the software reuse level, shorten the development cycle, reduce the workload of developers, and can also decouple the implementation paths of the vehicle's functional logic and network topology. When there are signal changes or logic changes, it improves the flexibility of developing vehicle functional test cases, simplifies the modification operation steps, and improves the development efficiency during the update and iteration stage of vehicle functional test cases.

[0061] According to some embodiments, obtaining the network topology of the above vehicle includes:

[0062] Determining the network topology of the vehicle based on the type of the above vehicle.

[0063] The network topology of the vehicle is related to the type of the vehicle. By classifying the vehicle, the acquisition time of the vehicle network topology can be reduced, the development cycle can be shortened, and the workload of developers can be reduced.

[0064] According to some embodiments, the network topology of the above vehicle is determined based on the vehicle's loading stage.

[0065] Since during the development process of vehicle functional test cases, it is usually necessary to update the functional test cases for different loading stages, and the network topology of the vehicle is also different at different loading stages. Therefore, obtaining the network topology of the vehicle at different loading stages can improve the work efficiency during the development process and shorten the development cycle.

[0066] As Figure 2 shown, Figure 2 is a schematic structural diagram of a vehicle functional test case development device provided by an embodiment of the present application.

[0067] An embodiment of the present application provides a vehicle functional test case development device 200, and the device includes:

[0068] A first acquisition module 201, configured to acquire basic function test description information of at least one vehicle basic function based on the vehicle's FIP function implementation plan;

[0069] A second acquisition module 202, configured to acquire corresponding basic function test link information based on the above basic function test description information, and the above basic function test link information is used to indicate the signal transmission path when the associated vehicle basic function is executed;

[0070] A determination module 203, configured to determine the target function target function link information based on the association relationship between the target function and the above vehicle basic function;

[0071] A third acquisition module 204, configured to obtain a corresponding function interface signal mapping list according to the above target function link information, so as to generate a function test case for the above target function.

[0072] A vehicle function test case development device 200 can implement Figure 1 each process implemented in the method embodiments described above. To avoid repetition, details are not described herein again.

[0073] As Figure 3 shown, Figure 3 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.

[0074] An embodiment of the present application provides an electronic device 300, including a memory 310, a processor 320, and a computer program 311 stored on the memory 310 and executable on the processor 320. When the processor 320 executes the computer program 311, the following steps are implemented:

[0075] Based on the FIP function implementation plan of the vehicle, obtain basic function test description information of at least one vehicle basic function;

[0076] Based on the basic function test description information, obtain corresponding basic function test link information, where the basic function test link information is used to indicate the signal transmission path when the associated vehicle basic function is executed;

[0077] Based on the association relationship between the target function and the above vehicle basic functions, determine the above target function target function link information;

[0078] According to the above target function link information, obtain a corresponding function interface signal mapping list, so as to generate a function test case for the above target function.

[0079] In a specific implementation process, when the processor 320 executes the computer program 311, it can implement Figure 1 any implementation manner in the corresponding embodiment.

[0080] Since the electronic device introduced in this embodiment is the device used to implement an apparatus in an embodiment of the present application, based on the method introduced in the embodiment of the present application, those skilled in the art can understand the specific implementation manners and various variations of the electronic device in this embodiment. Therefore, the specific implementation of how this electronic device implements the method in the embodiment of the present application is not described in detail here. As long as the device used by those skilled in the art to implement the method in the embodiment of the present application belongs to the scope of protection of the present application.

[0081] As Figure 4 shown, Figure 4Schematic structural diagram of a computer-readable storage medium provided by an embodiment of the present application.

[0082] This embodiment provides a computer-readable storage medium 400, on which a computer program 411 is stored. When the computer program 411 is executed by a processor, the following steps are implemented:

[0083] Based on the FIP function implementation plan of the vehicle, obtain the basic function test description information of at least one vehicle basic function;

[0084] Based on the basic function test description information, obtain the corresponding basic function test link information, and the above basic function test link information is used to indicate the signal transmission path when the associated vehicle basic function is executed;

[0085] Based on the association relationship between the target function and the above vehicle basic function, determine the target function link information of the above target function;

[0086] According to the above target function link information, obtain the corresponding function interface signal mapping list to generate the function test cases of the above target function.

[0087] It should be noted that in the above embodiments, the descriptions of the various embodiments have their own emphases. For the parts not detailed in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.

[0088] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0089] The present application is described with reference to the flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowcharts and / or block diagrams, and the combination of processes and / or blocks in the flowcharts and / or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded computer, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate a device for implementing the functions specified in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.

[0090] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory produce a manufacture including an instruction device that implements the functions specified in one or more processes and / or blocks Figure 1 in one or more processes and / or blocks Figure 1 specified in the block or blocks.

[0091] These computer program instructions can also be loaded onto a computer or other programmable data processing device, such that a series of operational steps are performed on the computer or other programmable device to produce a computer-implemented process, thereby providing steps for implementing the functions specified in one or more processes and / or blocks Figure 1 in one or more processes and / or blocks Figure 1 specified in the block or blocks.

[0092] The embodiments of the present application also provide a computer program product, which includes computer software instructions. When the computer software instructions run on a processing device, the processing device is caused to execute the processes in the vehicle function test case development method in the corresponding embodiment Figure 1 as described in the corresponding embodiment.

[0093] The above computer program product includes one or more computer instructions. When the above computer program instructions are loaded and executed on a computer, the processes or functions as described above in the embodiments of the present application are all or partially generated. The above computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The above computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the above computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wirelessly (such as infrared, wireless, microwave, etc.). The above computer-readable storage medium may be any available medium that a computer can store, or a data storage device such as a server or data center that includes one or more integrated available media. The above available media may be magnetic media (such as floppy disks, hard disks, magnetic tapes), optical media (such as DVDs), or semiconductor media (such as solid state disks (SSDs)), etc.

[0094] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments, and will not be described herein again.

[0095] In several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the above-mentioned division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the couplings, direct couplings, or communication connections shown or discussed with each other can be indirect couplings or communication connections through some interfaces, devices, or units, and can be in electrical, mechanical, or other forms.

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

[0097] In addition, in each embodiment of the present application, the functional units can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

[0098] If the above-mentioned 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 computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods in the various embodiments of the present application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.

[0099] In summary, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for developing vehicle function test cases, characterized in that, Including: Based on the vehicle's FIP function implementation plan, obtain the basic function test description information of at least one vehicle basic function, where the vehicle basic function is used to characterize the functions that are common to different types and models of the vehicle, and the FIP function implementation plan also includes some specific functions of the vehicle; Based on the basic function test description information, obtain the corresponding basic function test link information, where the basic function test link information is used to indicate the signal transmission path when the associated vehicle basic function is executed; the basic function test link information includes the connection relationship between the hardware of the vehicle and the communication connection relationship between each domain controller and the central controller of the vehicle; Based on the association relationship between the target function and the vehicle basic function, determine the target function link information of the target function, where the target function is a combination of multiple vehicle basic functions; The determining the target function link information of the target function based on the association relationship between the target function and the vehicle basic function includes: When the target function is one of the vehicle basic functions, based on the basic function test description information corresponding to the basic function, obtain the function link information of the target function; When the target function is a combination of multiple vehicle basic functions, obtain the basic function test description information of each basic function in the combination and the combination relationship between each basic function, and based on the above basic function test description information and the combination relationship, obtain the target function link information of the target function; According to the target function link information, obtain the corresponding function interface signal mapping list to generate the function test cases of the target function; The obtaining the corresponding basic function test link information based on the basic function test description information includes: Obtain the network topology of the vehicle; Based on the network topology of the vehicle and the function description information of the vehicle basic function, obtain the function link information of the vehicle basic function; The function description information includes: the overview of the function test cases, the preconditions of the function test cases, the test steps of the function test cases, and the expected results of the function test cases; The obtaining the function link information of the vehicle basic function based on the network topology of the vehicle and the function description information of the vehicle basic function includes: Based on at least one of the overview of the function test cases and the test steps of the function test cases, determine the hardware device for implementing the vehicle basic function; Based on the hardware device and the network topology, obtain the function link information of the vehicle basic function.

2. The method according to claim 1, wherein Also including: In the case where the function interface signal mapping of the vehicle basic function changes, obtain the change information of the function interface signal mapping list of the function test cases of the vehicle basic function; Based on the change information, obtain the function interface signal mapping update list of the function test cases of the vehicle basic function.

3. The method according to claim 1, wherein The network topology of the vehicle is obtained based on the SOA architecture of the vehicle.

4. The method according to claim 1, characterized in that, The obtaining the network topology of the vehicle includes: Determine the network topology of the vehicle based on the type of the vehicle.

5. The method according to claim 1, characterized in that, The network topology of the vehicle is determined based on the vehicle loading stage of the vehicle.

6. A vehicle function test case development device, characterized in that, Including: A first acquisition module, configured to acquire basic function test description information of at least one vehicle basic function based on a FIP function implementation plan of the vehicle, where the vehicle basic function is used to characterize functions that are common to different types and models of the vehicle, and the FIP function implementation plan further includes specific functions of the vehicle; A second acquisition module, configured to acquire corresponding basic function test link information based on the basic function test description information, where the basic function test link information is used to indicate a signal transmission path when an associated vehicle basic function is executed; the basic function test link information includes a connection relationship between hardware of the vehicle and a communication connection relationship between each domain controller and a central controller of the vehicle; A determination module, configured to determine target function link information of the target function based on an association relationship between the target function and the vehicle basic function, where the target function is a combination of multiple vehicle basic functions; The determining the target function link information of the target function based on the association relationship between the target function and the vehicle basic function includes: When the target function is one of the vehicle basic functions, acquiring the function link information of the target function based on the basic function test description information corresponding to the basic function; When the target function is a combination of multiple vehicle basic functions, acquiring the basic function test description information of each basic function in the combination and a combination relationship between each basic function, and acquiring the target function link information of the target function based on the basic function test description information and the combination relationship; A third acquisition module, configured to acquire a corresponding function interface signal mapping list according to the target function link information to generate a function test case for the target function; The acquiring the corresponding basic function test link information based on the basic function test description information includes: Acquiring the network topology of the vehicle; Acquiring function link information of the vehicle basic function based on the network topology of the vehicle and function description information of the vehicle basic function; The function description information includes: an overview of the function test case, a precondition of the function test case, test steps of the function test case, and an expected result of the function test case; The acquiring the function link information of the vehicle basic function based on the network topology of the vehicle and the function description information of the vehicle basic function includes: Determining a hardware device for implementing the vehicle basic function based on at least one of the overview of the function test case and the test steps of the function test case; Acquiring the function link information of the vehicle basic function based on the hardware device and the network topology.

7. An electronic device, comprising a memory and a processor, characterized in that, When the processor executes the computer program stored in the memory, the steps of the vehicle function test case development method according to any one of claims 1 to 5 are implemented.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, it implements the steps of the vehicle function test case development method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • System test method and apparatus, computer device and storage medium

    CN108446221A

  • Automatic test system for CAN bus

    CN111064628A

  • Test case generation method and system, storage medium and equipment

    CN114328176A