[go: up one dir, main page]

CN115454832B - A vehicle function test case development method and related equipment - Google Patents

A vehicle function test case development method and related equipment

Info

Publication number
CN115454832B
CN115454832B CN202211049157.4A CN202211049157A CN115454832B CN 115454832 B CN115454832 B CN 115454832B CN 202211049157 A CN202211049157 A CN 202211049157A CN 115454832 B CN115454832 B CN 115454832B
Authority
CN
China
Prior art keywords
function
vehicle
basic
link information
basic function
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211049157.4A
Other languages
Chinese (zh)
Other versions
CN115454832A (en
Inventor
周飞
王文涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Voyah Automobile Technology Co Ltd
Original Assignee
Voyah Automobile Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Voyah Automobile Technology Co Ltd filed Critical Voyah Automobile Technology Co Ltd
Priority to CN202211049157.4A priority Critical patent/CN115454832B/en
Publication of CN115454832A publication Critical patent/CN115454832A/en
Application granted granted Critical
Publication of CN115454832B publication Critical patent/CN115454832B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Abstract

本申请实施例提供了一种车辆功能测试用例开发方法,包括:基于车辆的FIP功能实现计划,获取至少一种车辆基础功能的基础功能测试描述信息;基于所述基础功能测试描述信息,获取对应的基础功能测试链路信息,所述基础功能测试链路信息用于指示关联的车辆基础功能被执行时的信号传递路径;基于目标功能与所述车辆基础功能的关联关系确定所述的目标功能目标功能链路信息;根据所述目标功能链路信息,获取对应的功能接口信号映射清单,以生成所述目标功能的功能测试用例。这样,通过预先输入基础功能测试描述信息和基础功能测试链路信息,并通过获取功能接口信号映射清单,以生成功能测试用例,可以将开发过程提前,减少工作量,并节约开发时间。

The 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 basic vehicle 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, 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 target function link information based on the association relationship between the target function and the vehicle basic function; according to the target function link information, obtaining the corresponding function interface signal mapping list to generate a function test case for the target function. In this way, by pre-inputting the basic function test description information and the basic function test link information, and by obtaining the function interface signal mapping list to generate a function test case, the development process can be advanced, the workload can be reduced, and development time can be saved.

Description

Vehicle function test case development method and related equipment
Technical Field
The invention relates to the technical field of vehicles, in particular to a vehicle function test case development method and related equipment.
Background
The development of the function test cases of the current vehicles is carried out based on the function specifications of all subsystems of the whole vehicle, and the function description, the function logic and the function signals are highly integrated, so that the generated vehicle function links are single. Therefore, in the case of logic change or signal change, the update of the functional test case must be implemented by manually modifying the entire functional test case, thereby increasing the workload of checking and modifying the functional test case. Especially under the SOA architecture, the update frequency of software is greatly increased, the modification requirement of the functional test case is also increased, the modification mode of the traditional functional test case is used, the modification is carried out item by manpower, a great amount of manpower is required to be input, the cost of personnel is increased, and the development and modification period time is long, so that the development efficiency is influenced.
Disclosure of Invention
The invention provides a vehicle function test case development method, which aims to solve the problems that the development of the existing vehicle function test case is carried out by depending on the function specifications of all subsystems of a whole vehicle, so that the generated function link is single, the whole function test case subjected to the update needs to be manually modified under the condition of signal or logic update, the workload of inspection and modification is increased, the cost of personnel is increased, the development and modification period time is long, and the development efficiency is low.
In a first aspect, the present invention provides a method for developing a vehicle function test case, including:
Acquiring basic function test description information of at least one basic function of the vehicle based on the FIP function implementation plan of the vehicle;
Acquiring corresponding basic function test link information based on the basic function test description information, wherein the basic function test link information is used for indicating a signal transmission path when the related basic function of the vehicle is executed;
determining the target function link information of the target function based on the association relation between the target function and the basic function of the vehicle;
and acquiring a corresponding function interface signal mapping list according to the target function link information to generate a function test case of the target function.
Optionally, the method further comprises:
Acquiring change information of a function interface signal mapping list of a function test case of the vehicle basic function under the condition that the function interface signal mapping of the vehicle basic function is changed;
and acquiring a function interface signal mapping update list of the function test case of the vehicle basic function based on the change information.
Optionally, the function description information comprises an overview of the function test case, a precondition of the function test case, a test step of the function test case and an expected result of the function test case.
Optionally, the obtaining corresponding basic function test link information based on the basic function test description information includes:
Acquiring a network topology structure of the vehicle;
And acquiring the function link information of the basic function of the vehicle based on the network topology structure of the vehicle and the function description information of the basic function of the vehicle.
Optionally, the network topology of the vehicle is obtained based on the SOA architecture of the vehicle.
Optionally, the acquiring the network topology of the vehicle includes:
A network topology of the vehicle is determined based on the type of the vehicle.
Optionally, the network topology of the vehicle is determined based on a loading phase of the vehicle.
In a second aspect, the present invention also provides a vehicle function test case development device, including:
the first acquisition module is used for acquiring basic function test description information of at least one basic function of the vehicle based on the FIP function implementation plan of the vehicle;
The second acquisition module is used for acquiring corresponding basic function test link information based on the basic function test description information, wherein the basic function test link information is used for indicating a signal transmission path when the related basic function of the vehicle is executed;
The determining module is used for determining the target function link information of the target function based on the association relation between the target function and the basic function of the vehicle;
And the third acquisition module is used for acquiring a corresponding function interface signal mapping list according to the target function link information so as to generate a function test case of the target function.
In a third aspect, the present invention further provides an electronic device, including a memory, and a processor, where the processor is configured to implement the steps of the vehicle function test case development method according to any one of the first aspect when executing the computer program stored in the memory.
In a fourth aspect, the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the vehicle function test case development method according to any one of the first aspects.
According to the technical scheme, the vehicle function test case development method comprises the steps of obtaining basic function test description information of at least one vehicle basic function based on a FIP function implementation plan of a vehicle, obtaining corresponding basic function test link information based on the basic function test description information, wherein the basic function test link information is used for indicating a signal transmission path when an associated vehicle basic function is executed, determining target function link information based on an association relation between a 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 of the target function. Because the development of the existing vehicle function test cases needs to be carried out by depending on the function specifications of all subsystems of the whole vehicle, the generated function links are single, and therefore, under the condition of signal or logic update, the whole function test cases subjected to the update need to be manually modified, so that the workload of inspection and modification is increased, further, the cost of personnel is increased, the period time of development and modification is long, and the development efficiency is low. The embodiment of the application provides a vehicle function test case development method, which is characterized in that basic function test description information and basic function test link information are input in advance, and a function interface signal mapping list is obtained to generate a function test case, so that the development process can be advanced, the development time is saved, and the workload of staff is reduced.
Drawings
In order to more clearly illustrate the technical solution of the present application, the drawings that are needed in the embodiments will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic flow chart of a method for developing a vehicle function test case according to an embodiment of the present application;
FIG. 2 is a schematic block diagram of a vehicle function test case development device according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
Fig. 4 is a schematic block diagram of a computer-readable storage medium according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The embodiments described in the examples below do not represent all embodiments consistent with the application. Merely exemplary of systems and methods consistent with aspects of the application as set forth in the claims. In the several embodiments provided in the present embodiments, it should be understood that the disclosed apparatus and method may be implemented in other manners, and the apparatus embodiments described below are merely exemplary.
As shown in fig. 1, an embodiment of the present application provides a method for developing a vehicle function test case, where an execution body of the method may be a server, and fig. 1 is a schematic flowchart of the method for developing a vehicle function test case provided by the embodiment of the present application, where the method includes:
step S110, acquiring basic function test description information of at least one basic function of the vehicle based on the FIP function implementation plan of the vehicle.
The basic functions of the vehicle may be functions commonly used by different types and models of the vehicle, for example, a switching function of a left and right turn signal lamp of the vehicle, a switching function of a wiper, a switching function of an air conditioner, a temperature adjusting function, and the like, and in a development stage of a functional test case of the vehicle, a function required to generate the functional test case may be actively selected by a worker from basic functions included in a FIP function implementation plan of the vehicle, or a function required to generate the functional test case may be automatically selected by a preset program from the basic functions included in the FIP function implementation plan of the vehicle.
The FIP function implementation plan of the vehicle may include not only a basic function but also a function specific to a part of the vehicle, for example, a function of starting a trunk, a function of switching a light of the trunk, and the like in the case of a vehicle having a trunk. Moreover, the FIP function implementation plan of the vehicle can be updated at any time, and when a new function not belonging to the FIP function implementation plan appears, the staff can supplement the function test description information of the function into the FIP function implementation plan.
Step S120, based on the basic function test description information, obtaining corresponding basic function test link information, where the basic function test link information is used to indicate a signal transmission path when the associated basic function of the vehicle is executed.
The link information is related to the type and model of the vehicle, and includes a connection relationship between hardware of the vehicle and a communication connection relationship between each domain controller of the vehicle and the central controller.
Illustratively, the above-described link information may be obtained directly during the development phase.
Step S130, determining the target function link information based on the association relation between the target function and the basic function of the vehicle.
The target function may be the vehicle basic function, or may be a combination of the vehicle basic functions.
The method includes the steps of obtaining basic function test description information of each basic function in a combination and a combination relation between each function in the combination, and obtaining function link information of the target function based on the basic function test description information and the combination relation.
For example, in the case where the target function is left turn light on, the above target function may be determined to be a vehicle base function, and the determined target function includes a 5-item target function link between the steering controller and the first domain controller, the first domain controller and the center controller, the center controller and the vehicle dashboard, the center controller and the second domain controller, and the second domain controller and the light controller.
Step S140, according to the target function link information, a corresponding function interface signal mapping list is obtained to generate a function test case of the target function.
The function interface signal mapping list includes a mapping of the entire link from the trigger signal to the execution signal.
According to some embodiments, the above method further comprises:
Acquiring change information of a function interface signal mapping list of a function test case of the vehicle basic function under the condition that the function interface signal mapping of the vehicle basic function is changed;
And acquiring a function interface signal mapping update list of the function test case of the basic function of the vehicle based on the change information.
Because the basic function test description information and the basic function test link information are preset, the development process can be advanced, the function interface signal mapping list is updated under the condition that the function interface signal mapping of the basic function of the vehicle is changed, the function interface signal mapping update list can be obtained, the function test case of the target function can be directly generated based on the update list, the modification speed and efficiency are improved, the labor cost is saved, and the development period is shortened.
According to some embodiments, the function description information includes an overview of the function test case, a precondition of the function test case, a test step of the function test case, and an expected result of the function test case.
The function description information does not directly refer to the function description in the subsystem function specification, the function description defined by the FIP function implementation plan is adopted, development work is not required to be carried out after hardware installation is completed, the development process can be advanced, meanwhile, the FIP function implementation plan is usually only required to be subjected to function supplementation under the condition that new function test requirements appear, the workload of modification is small, the universality is high, and the development period can be greatly shortened.
According to some embodiments, the obtaining corresponding basic function test link information based on the basic function test description information includes:
Acquiring a network topology structure of the vehicle;
And acquiring the function link information of the basic function of the vehicle based on the network topology structure of the vehicle and the function description information of the basic function of the vehicle.
For example, the hardware device involved in implementing the basic function of the vehicle may be determined by acquiring at least one of an overview of the functional test case and a test procedure of the functional test case, and the functional link information of the basic function of the vehicle may be acquired based on the hardware device and a network topology of the vehicle.
Through the network topology structure of the vehicle and the function description information of the basic functions of the vehicle, the automatic grabbing of the function link information can be realized, the development time is shortened, and the workload of developers is reduced.
According to some embodiments, the network topology of the vehicle is obtained based on the SOA architecture of the vehicle.
For example, the network topology of the vehicle may be directly entered by a worker during the development phase.
The SOA architecture of the vehicle can improve the multiplexing degree of software, shorten the development period, reduce the workload of developers, decouple the realization paths of the functional logic and the network topology of the vehicle, improve the flexibility of the development of the functional test case of the vehicle when the signal change or the logic change occurs, simplify the modified operation steps and improve the development efficiency of the update iteration stage of the functional test case of the vehicle.
According to some embodiments, the obtaining the network topology of the vehicle includes:
and determining the network topology structure of the vehicle based on the type of the vehicle.
The network topology structure of the vehicle is related to the type of the vehicle, and by classifying the vehicles, the acquisition time of the network topology structure of the vehicle can be reduced, the development period is shortened, and the workload of developers is reduced.
According to some embodiments, the network topology of the vehicle is determined based on a loading phase of the vehicle.
In the development process of the function test cases of the vehicle, the function test cases are generally required to be updated in different loading stages, and the network topology structures of the vehicle are also different in different loading stages, so that the network topology structures of the vehicle are obtained in different loading stages, the working efficiency in the development process can be improved, and the development period is shortened.
As shown in fig. 2, fig. 2 is a schematic structural diagram of a vehicle function test case development device according to an embodiment of the present application.
The embodiment of the application provides a vehicle function test case development device 200, which comprises:
a first obtaining module 201, configured to obtain basic function test description information of at least one basic function of a vehicle based on a FIP function implementation plan of the vehicle;
a second obtaining module 202, configured to obtain 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 the associated vehicle basic function is executed;
A determining module 203, configured to determine the target function link information based on an association relationship between a target function and the basic function of the vehicle;
And a third obtaining module 204, configured to obtain a corresponding function interface signal mapping list according to the target function link information, so as to generate a function test case of the target function.
The vehicle function test case development device 200 can implement each process implemented in the method embodiment of fig. 1, and in order to avoid repetition, a description thereof will be omitted.
As shown in fig. 3, fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
The embodiment of the application provides an electronic device 300, which comprises a memory 310, a processor 320 and a computer program 311 stored in the memory 310 and capable of running on the processor 320, wherein the processor 320 executes the computer program 311 to realize the following steps:
Acquiring basic function test description information of at least one basic function of the vehicle based on the FIP function implementation plan of the vehicle;
acquiring corresponding basic function test link information based on the basic function test description information, wherein the basic function test link information is used for indicating a signal transmission path when the related basic function of the vehicle is executed;
determining the target function link information of the target function based on the association relation between the target function and the basic function of the vehicle;
and acquiring a corresponding function interface signal mapping list according to the target function link information to generate a function test case of the target function.
In a specific implementation, when the processor 320 executes the computer program 311, any implementation manner of the embodiment corresponding to fig. 1 may be implemented.
Since the electronic device described in this embodiment is a device for implementing an apparatus in this embodiment of the present application, based on the method described in this embodiment of the present application, those skilled in the art can understand the specific implementation of the electronic device in this embodiment and various modifications thereof, so how the electronic device implements the method in this embodiment of the present application will not be described in detail herein, and as long as those skilled in the art implement the device for implementing the method in this embodiment of the present application, all devices are within the scope of the application to be protected.
As shown in fig. 4, fig. 4 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present application.
The present embodiment provides a computer readable storage medium 400 having stored thereon a computer program 411, which computer program 411 when executed by a processor realizes the steps of:
Acquiring basic function test description information of at least one basic function of the vehicle based on the FIP function implementation plan of the vehicle;
acquiring corresponding basic function test link information based on the basic function test description information, wherein the basic function test link information is used for indicating a signal transmission path when the related basic function of the vehicle is executed;
determining the target function link information of the target function based on the association relation between the target function and the basic function of the vehicle;
and acquiring a corresponding function interface signal mapping list according to the target function link information to generate a function test case of the target function.
In the foregoing embodiments, the descriptions of the embodiments are focused on, and for those portions of one embodiment that are not described in detail, reference may be made to the related descriptions of other embodiments.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Embodiments of the present application also provide a computer program product comprising computer software instructions that, when run on a processing device, cause the processing device to execute a flow in a vehicle function test case development method as in the corresponding embodiment of fig. 1.
The computer program product described above includes one or more computer instructions. When the above-described computer program instructions are loaded and executed on a computer, the processes or functions described above according to embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The 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, from one website, computer, server, or data center by wired (e.g., coaxial cable, fiber optic, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer readable storage medium may be any available medium that can be stored by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a Solid State Disk (SSD)), or the like.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the above-described division of units is merely a logical function division, and there may be another division manner in actual implementation, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units described above, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the above-described method of the various embodiments of the present application. The storage medium includes a U disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
In summary, the foregoing embodiments are merely for illustrating the technical solution of the present application, and not for limiting the same, and although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those skilled in the art that the technical solution described in the foregoing embodiments may be modified or some of the technical features may be substituted for those described in detail, and that these modifications or substitutions do not depart from the spirit and scope of the technical solution of the embodiments of the present application.

Claims (8)

1.一种车辆功能测试用例开发方法,其特征在于,包括:1. A vehicle function test case development method, characterized by comprising: 基于车辆的FIP功能实现计划,获取至少一种车辆基础功能的基础功能测试描述信息,所述车辆基础功能用于表征不同种类和型号的所述车辆均通用的功能,所述FIP功能实现计划还包括车辆的部分特有功能;Based on the FIP function implementation plan of the vehicle, basic function test description information of at least one basic function of the vehicle is obtained, wherein the basic function of the vehicle is used to characterize functions common to the vehicles of different types and models, and the FIP function implementation plan also includes some unique functions of the vehicle; 基于所述基础功能测试描述信息,获取对应的基础功能测试链路信息,所述基础功能测试链路信息用于指示关联的车辆基础功能被执行时的信号传递路径;所述基础功能测试链路信息包括所述车辆的硬件之间的连接关系和所述车辆的各域控制器与中央控制器之间的通信连接关系;Based on the basic function test description information, corresponding basic function test link information is obtained, where the basic function test link information is used to indicate a signal transmission path when the associated vehicle basic function is executed; the basic function test link information includes a connection relationship between the hardware of the vehicle and a communication connection relationship between each domain controller of the vehicle and a central controller; 基于目标功能与所述车辆基础功能的关联关系确定所述目标功能的目标功能链路信息,其中,所述目标功能为多个所述车辆基础功能的组合;Determine target function link information of the target function based on the association relationship between the target function and the vehicle basic function, wherein 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, the basic function test description information of each basic function in the combination and the combination relationship between the basic functions are obtained, and based on the basic function test description information and the combination relationship, the target function link information of the target function is obtained; 根据所述目标功能链路信息,获取对应的功能接口信号映射清单,以生成所述目标功能的功能测试用例;According to the target function link information, obtain the corresponding function interface signal mapping list to generate a function test case of the target function; 所述基于所述基础功能测试描述信息,获取对应的基础功能测试链路信息,包括:The acquiring corresponding basic function test link information based on the basic function test description information includes: 获取所述车辆的网络拓扑结构;Acquire a network topology structure of the vehicle; 基于所述车辆的网络拓扑结构和所述车辆基础功能的功能描述信息,获取所述车辆基础功能的功能链路信息;Based on the network topology of the vehicle and the functional description information of the basic functions of the vehicle, obtaining functional link information of the basic functions of the vehicle; 所述功能描述信息包括:所述功能测试用例的概述、所述功能测试用例的前置条件、所述功能测试用例的测试步骤和所述功能测试用例的期望结果;The functional description information includes: an overview of the functional test case, the preconditions of the functional test case, the test steps of the functional test case and the expected results of the functional test case; 所述基于所述车辆的网络拓扑结构和所述车辆基础功能的功能描述信息,获取所述车辆基础功能的功能链路信息,包括:The acquiring the functional link information of the basic function of the vehicle based on the network topology of the vehicle and the functional description information of the basic function of the vehicle includes: 基于所述功能测试用例的概述和所述功能测试用例的测试步骤中的至少一者,确定实现所述车辆基础功能的硬件装置;Determining a hardware device that implements the basic function of the vehicle based on at least one of the overview of the functional test case and the test steps of the functional test case; 基于所述硬件装置和所述网络拓扑结构,获取所述车辆基础功能的功能链路信息。Based on the hardware device and the network topology, functional link information of the basic functions of the vehicle is obtained. 2.如权利要求1所述的方法,其特征在于,还包括:2. The method according to claim 1, further comprising: 在所述车辆基础功能的功能接口信号映射发生变更的情况下,获取所述车辆基础功能的功能测试用例的功能接口信号映射清单的变更信息;When the function interface signal mapping of the basic vehicle function changes, obtaining change information of the function interface signal mapping list of the function test case of the basic vehicle function; 基于所述变更信息,获取所述车辆基础功能的功能测试用例的功能接口信号映射更新清单。Based on the change information, an updated list of functional interface signal mappings of functional test cases of the basic functions of the vehicle is obtained. 3.如权利要求1所述的方法,其特征在于,所述车辆的网络拓扑结构是基于车辆的SOA架构获得的。3. The method according to claim 1 is characterized in that the network topology of the vehicle is obtained based on the SOA architecture of the vehicle. 4.如权利要求1所述的方法,其特征在于,所述获取所述车辆的网络拓扑结构,包括:4. The method according to claim 1, characterized in that the obtaining of the network topology of the vehicle comprises: 基于所述车辆的类型确定所述车辆的网络拓扑结构。A network topology of the vehicles is determined based on the type of the vehicles. 5.如权利要求1所述的方法,其特征在于,所述车辆的网络拓扑结构是基于所述车辆的装车阶段确定的。5. The method of claim 1, wherein the network topology of the vehicle is determined based on a loading phase of the vehicle. 6.一种车辆功能测试用例开发装置,其特征在于,包括:6. A vehicle function test case development device, characterized by comprising: 第一获取模块,用于基于车辆的FIP功能实现计划,获取至少一种车辆基础功能的基础功能测试描述信息,所述车辆基础功能用于表征不同种类和型号的所述车辆均通用的功能,所述FIP功能实现计划还包括车辆下的特有功能;A first acquisition module is used to acquire basic function test description information of at least one basic function of the vehicle based on the FIP function implementation plan of the vehicle, wherein the basic function of the vehicle is used to characterize the functions common to the vehicles of different types and models, and the FIP function implementation plan also includes the unique functions of the vehicle; 第二获取模块,用于基于所述基础功能测试描述信息,获取对应的基础功能测试链路信息,所述基础功能测试链路信息用于指示关联的车辆基础功能被执行时的信号传递路径;所述基础功能测试链路信息包括所述车辆的硬件之间的连接关系和所述车辆的各域控制器与中央控制器之间的通信连接关系;A second acquisition module is used to acquire corresponding basic function test link information based on the basic function test description information, wherein the basic function test link information is used to indicate a signal transmission path when the associated vehicle basic function is executed; the basic function test link information includes a connection relationship between the hardware of the vehicle and a communication connection relationship between each domain controller of the vehicle and a central controller; 确定模块,用于基于目标功能与所述车辆基础功能的关联关系确定所述目标功能的目标功能链路信息,其中,所述目标功能为多个所述车辆基础功能的组合;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, wherein the target function is a combination of a plurality of the 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, the basic function test description information of each basic function in the combination and the combination relationship between the basic functions are obtained, and based on the basic function test description information and the combination relationship, the target function link information of the target function is obtained; 第三获取模块,用于根据所述目标功能链路信息,获取对应的功能接口信号映射清单,以生成所述目标功能的功能测试用例;A third acquisition module is used to acquire a corresponding functional interface signal mapping list according to the target function link information to generate a functional test case of the target function; 所述基于所述基础功能测试描述信息,获取对应的基础功能测试链路信息,包括:The acquiring corresponding basic function test link information based on the basic function test description information includes: 获取所述车辆的网络拓扑结构;Acquire a network topology structure of the vehicle; 基于所述车辆的网络拓扑结构和所述车辆基础功能的功能描述信息,获取所述车辆基础功能的功能链路信息;Based on the network topology of the vehicle and the functional description information of the basic functions of the vehicle, obtaining functional link information of the basic functions of the vehicle; 所述功能描述信息包括:所述功能测试用例的概述、所述功能测试用例的前置条件、所述功能测试用例的测试步骤和所述功能测试用例的期望结果;The functional description information includes: an overview of the functional test case, the preconditions of the functional test case, the test steps of the functional test case and the expected results of the functional test case; 所述基于所述车辆的网络拓扑结构和所述车辆基础功能的功能描述信息,获取所述车辆基础功能的功能链路信息,包括:The acquiring the functional link information of the basic function of the vehicle based on the network topology of the vehicle and the functional description information of the basic function of the vehicle includes: 基于所述功能测试用例的概述和所述功能测试用例的测试步骤中的至少一者,确定实现所述车辆基础功能的硬件装置;Determining a hardware device that implements the basic function of the vehicle based on at least one of the overview of the functional test case and the test steps of the functional test case; 基于所述硬件装置和所述网络拓扑结构,获取所述车辆基础功能的功能链路信息。Based on the hardware device and the network topology, functional link information of the basic functions of the vehicle is obtained. 7.一种电子设备,包括存储器、处理器,其特征在于,所述处理器用于执行存储器中存储的计算机程序时实现如权利要求1至5中任一项所述的车辆功能测试用例开发方法的步骤。7. An electronic device comprising a memory and a processor, wherein the processor is used to implement the steps of the vehicle function test case development method as described in any one of claims 1 to 5 when executing a computer program stored in the memory. 8.一种计算机可读存储介质,其上存储有计算机程序,其特征在于:所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的车辆功能测试用例开发方法的步骤。8. A computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of the vehicle function test case development method according to any one of claims 1 to 5 are implemented.
CN202211049157.4A 2022-08-30 2022-08-30 A vehicle function test case development method and related equipment Active CN115454832B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211049157.4A CN115454832B (en) 2022-08-30 2022-08-30 A vehicle function test case development method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211049157.4A CN115454832B (en) 2022-08-30 2022-08-30 A vehicle function test case development method and related equipment

Publications (2)

Publication Number Publication Date
CN115454832A CN115454832A (en) 2022-12-09
CN115454832B true CN115454832B (en) 2025-07-15

Family

ID=84301072

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211049157.4A Active CN115454832B (en) 2022-08-30 2022-08-30 A vehicle function test case development method and related equipment

Country Status (1)

Country Link
CN (1) CN115454832B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116150036A (en) * 2023-03-31 2023-05-23 重庆长安汽车股份有限公司 Method, device, equipment and medium for vehicle lamp testing based on service-oriented architecture
CN116737494B (en) * 2023-06-08 2024-05-03 中国第一汽车股份有限公司 Method and device for monitoring functional safety of vehicle, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108446221A (en) * 2018-03-05 2018-08-24 平安普惠企业管理有限公司 System detection method, device, computer equipment and storage medium
CN111064628A (en) * 2018-10-16 2020-04-24 联合汽车电子有限公司 CAN bus automatic test system
CN114328176A (en) * 2021-11-23 2022-04-12 江铃汽车股份有限公司 A test case generation method, system, storage medium and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7353156B2 (en) * 2002-02-01 2008-04-01 International Business Machines Corporation Method of switching external models in an automated system-on-chip integrated circuit design verification system
US9310433B2 (en) * 2014-04-18 2016-04-12 Breker Verification Systems Testing SOC with portable scenario models and at different levels
US10140204B2 (en) * 2015-06-08 2018-11-27 International Business Machines Corporation Automated dynamic test case generation
US11249885B2 (en) * 2020-02-10 2022-02-15 EMC IP Holding Company LLC Test case generator and user interface
CN111858338A (en) * 2020-07-21 2020-10-30 卡斯柯信号(北京)有限公司 Test case design method and device
CN114676035B (en) * 2021-02-25 2024-11-15 北京新能源汽车股份有限公司 A test case generation method, device and electronic device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108446221A (en) * 2018-03-05 2018-08-24 平安普惠企业管理有限公司 System detection method, device, computer equipment and storage medium
CN111064628A (en) * 2018-10-16 2020-04-24 联合汽车电子有限公司 CAN bus automatic test system
CN114328176A (en) * 2021-11-23 2022-04-12 江铃汽车股份有限公司 A test case generation method, system, storage medium and device

Also Published As

Publication number Publication date
CN115454832A (en) 2022-12-09

Similar Documents

Publication Publication Date Title
CN115454832B (en) A vehicle function test case development method and related equipment
US11223525B2 (en) Gateway device, firmware update method, and recording medium
US11695790B2 (en) Anomaly detection electronic control unit, onboard network system, and anomaly detection method
CN110888414B (en) Test method for upgrading vehicle controller
CN112667494B (en) A configuration table-based automotive UDS automated testing method, system and storage medium
US11989535B2 (en) Simulation method and recording medium
CN110347609B (en) Method and device for testing blockchain software
US9569404B2 (en) In-vehicle controller and non-transitory tangible computer readable medium
US20130031532A1 (en) Method, computer, and device for validating execution of tasks in adaptable computer systems
CN118243397A (en) Vehicle detection method, device, equipment and readable storage medium
CN107992420B (en) Management method and system of test project
CN116107903A (en) Method, device, equipment and medium for testing vehicle-end service function
JP2023057798A5 (en)
CN115437910A (en) Vehicle offline detection method and device, vehicle, management equipment and storage medium
CN117034840B (en) Control signal generation method and circuit
CN116643998B (en) AUTOSAR RTM-based test method and device
KR20130117077A (en) Method for operating of electronic control apparatus for vehicle
CN118259939B (en) Electronic control unit upgrade method, device, vehicle terminal and storage medium
JP7728408B2 (en) Systems and methods for cross-domain provisioning
CN118034750B (en) Upgrade control instruction response method and device, mobile terminal and readable storage medium
KR101354697B1 (en) Electronic control apparatus for vehicle
CN118377698A (en) Block chain performance test method, device, electronic equipment and medium
JP2025100342A (en) System and method for managing tests for testing embedded systems in a vehicle - Patents.com
CN116048935A (en) Function simulation method and device after software upgrading
HK40009094B (en) Method and apparatus for testing blockchain software

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant