CN110737983A - Method, device and equipment for testing functions of vehicles and storage medium - Google Patents

Method, device and equipment for testing functions of vehicles and storage medium Download PDF

Info

Publication number
CN110737983A
CN110737983A CN201910975596.XA CN201910975596A CN110737983A CN 110737983 A CN110737983 A CN 110737983A CN 201910975596 A CN201910975596 A CN 201910975596A CN 110737983 A CN110737983 A CN 110737983A
Authority
CN
China
Prior art keywords
test
script
function
case
platform
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.)
Withdrawn
Application number
CN201910975596.XA
Other languages
Chinese (zh)
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.)
Shanghai Yuancheng Automobile Technology Co Ltd
Original Assignee
Shanghai Yuancheng 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 Shanghai Yuancheng Automobile Technology Co Ltd filed Critical Shanghai Yuancheng Automobile Technology Co Ltd
Priority to CN201910975596.XA priority Critical patent/CN110737983A/en
Publication of CN110737983A publication Critical patent/CN110737983A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M17/00Testing of vehicles
    • G01M17/007Wheeled or endless-tracked vehicles

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

The invention provides vehicle function test methods, devices, equipment and storage media, and relates to the technical field of function automation tests, wherein the method is applied to a function test platform, the function test platform comprises a general use case platform and an automatic test platform, the method comprises the steps of obtaining a function test case through the general use case platform, using the function test case to test the functions of a vehicle, generating an automatic test script through the general use case platform according to the function test case and a preset compiling script, operating the automatic test script through the automatic test platform according to the function test case to process an analog simulation signal of a controller corresponding to the function to obtain a test result of the function, generating the test script through the use case platform according to the function test case and the preset compiling script, and operating the test script through the test platform to obtain the test result of the function, thereby reducing unnecessary human resource waste and reducing the cost of the vehicle function.

Description

Method, device and equipment for testing functions of vehicles and storage medium
Technical Field
The invention relates to the technical field of function automation tests, in particular to a function test method, a function test device, function test equipment and a storage medium for vehicles.
Background
With the rapid development of automotive electronics, functional tests are required to be performed on vehicles in order to ensure that various functions of the vehicles can operate normally, and with the increasing number of functions of the vehicles, cases for the functional tests of the vehicles are also increasing.
In the prior art, a test engineer can compile a test case according to a function instruction manual compiled by a product engineer, and then manually use a corresponding test tool according to the test case to complete a function test corresponding to the function instruction manual.
However, in the related art, a testing tool needs to be manually used for performing the functional test, which wastes unnecessary human resources and increases the cost of the functional test.
Disclosure of Invention
The present invention aims to provide functional test methods, apparatuses, devices and storage media for vehicles, so as to solve the problems in the related art that the functional test needs to be performed manually by using a test tool, which wastes unnecessary human resources and increases the cost of the functional test.
In order to achieve the above purpose, the embodiment of the present invention adopts the following technical solutions:
, the embodiment of the invention provides a function test method of vehicles, which is applied to a function test platform, wherein the function test platform comprises a general use case platform and an automatic test platform, and the method comprises the following steps:
acquiring a functional test case through the general case platform, wherein the functional test case is used for testing the function of the vehicle;
generating an automatic test script according to the functional test case and a preset compiling script through the general case platform, wherein the preset compiling script is a script with a script compiling function;
and running the automatic test script through the automatic test platform according to the function test case so as to process the analog simulation signal of the controller corresponding to the function to obtain the test result of the function.
, the acquiring the functional test case comprises searching the functional test case from the functional test case cell corresponding to the test case address according to the test case address in the preset writing script.
, generating an automatic test script according to the functional test case and a preset compiling script, including:
determining a script type according to the test case type of the functional test case;
and automatically generating the automatic test script according to the functional test case and the script type through the preset compiling script.
, before running the automatic test script according to the functional test case through the automatic test platform, the method further includes:
analyzing the functional test cases through the general case platform and the preset compiling script to generate a gateway database, wherein the gateway database comprises: gateway data corresponding to information of the controller of the function on the vehicle and gateway data corresponding to information of the function.
Correspondingly, through the automatic test platform, according to the functional test case, the automatic test script is operated, including:
and calling the gateway database from the general use case platform through the automatic test platform, and operating the automatic test script obtained from the general use case platform according to gateway data corresponding to the information of the controller and gateway data corresponding to the information of the function in the gateway database so as to process the analog simulation signal and obtain a test result of the function.
, the automatic test platform comprises a test gateway and an analog simulation system, wherein the analog simulation system is used for generating analog simulation signals of the controller, the analog simulation signals comprise gateway data and hardware signals corresponding to the information of the controller, and the test gateway is used for transmitting and processing the analog simulation signals.
In a second aspect, an embodiment of the present invention further provides a functional test apparatus for kinds of vehicles, which is applied to a functional test platform, where the functional test platform includes a general use case platform and an automatic test platform, and the apparatus includes:
the acquisition module is used for acquiring a functional test case through the general case platform, and the functional test case is used for testing the function of the vehicle;
the generating module is used for generating an automatic test script according to the functional test case and a preset compiling script through the general case platform, wherein the preset compiling script is a script with a script compiling function;
and the operation module is used for operating the automatic test script through the automatic test platform according to the function test case so as to process the analog simulation signal of the controller corresponding to the function and obtain the test result of the function.
And , the obtaining module is specifically configured to search the functional test case from the functional test case cell corresponding to the test case address according to the test case address in the preset writing script.
And , the generating module is specifically configured to determine a script type according to the test case type of the functional test case, and automatically generate the automatic test script according to the functional test case and the script type through the preset compiling script.
, the apparatus further comprises:
the processing module is used for analyzing the functional test cases through the general case platform and the preset compiling script to generate a gateway database, and the gateway database comprises: gateway data corresponding to information of the controller of the function on the vehicle and gateway data corresponding to information of the function.
Correspondingly, the running module is further specifically configured to be used for an automatic test platform, call the gateway database from the general use-case platform, and run the automatic test script acquired from the general use-case platform according to gateway data corresponding to the information of the controller and gateway data corresponding to the information of the function in the gateway database, so as to process the analog simulation signal, and obtain a test result of the function.
, the automatic test platform comprises a test gateway and an analog simulation system, wherein the analog simulation system is used for generating analog simulation signals of the controller, the analog simulation signals comprise gateway data and hardware signals corresponding to the information of the controller, and the test gateway is used for transmitting and processing the analog simulation signals.
In a third aspect, an embodiment of the present invention further provides kinds of test devices, which include a memory and a processor, where the memory stores therein a computer program operable on the processor, and the processor executes the computer program to implement the steps of the method according to the .
In a fourth aspect, the present invention further provides computer readable storage media, on which a computer program is stored, the computer program, when executed by a processor, implementing the steps of the method of the above .
The function test method of kinds of vehicles is applied to the function test platform, the function test platform comprises a general use case platform and an automatic test platform, the function test case is obtained through the general use case platform and is used for testing the function of the vehicle, the general use case platform generates an automatic test script according to the function test case and the preset compiling script, the automatic test platform operates the automatic test script according to the function test case to process the analog simulation signal of the function corresponding controller to obtain the test result of the function, the general use case platform generates the automatic test script according to the function test case and the preset script, and the automatic test platform operates the test script to obtain the test result of the function, thereby reducing unnecessary human resource waste and reducing the cost of the function test of the vehicle.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
FIG. 1 is a schematic structural diagram of a functional test of vehicles according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a function test method for kinds of vehicles according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of kinds of automatic test platforms according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart of a function test method for kinds of vehicles according to an embodiment of the present invention;
FIG. 5 is a schematic flow chart of a function test method for kinds of vehicles according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of a function testing device for kinds of vehicles according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of a function testing device for kinds of vehicles according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of kinds of test equipment provided by the embodiment of the invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are partial embodiments, but not all embodiments, of of the present invention.
The function test method of the vehicle provided by the embodiment of the invention is applied to a function test platform, and the test platform can comprise a general use-case platform and an automatic test platform. The functional test platform may be integrated on a test device, and the test device may be a notebook computer, a desktop computer, or other types of computer devices, and the like, which is not limited in this embodiment of the present invention.
Fig. 1 is a schematic structural diagram of a function test of kinds of vehicles according to an embodiment of the present invention, and as shown in fig. 1, a function test platform 100 includes a general use case platform 10 and an automatic test platform 20, the general use case platform 10 may store a preset compiling script 11 and a general test case template 12, the automatic test platform 20 may include an automatic test script 21 and a test result 22, where both the general use case platform 10 and the automatic test platform 20 may be application programs, the automatic test platform 20 may obtain a function test case for testing functions of a vehicle, and generate the automatic test script 21 according to the preset compiling script 11 and the general test case template 12, and the automatic test platform 20 may obtain the automatic test script 21, and run the automatic test script 21 according to the function test case to obtain the test result 22 of the function.
Fig. 2 is a schematic flow chart of a function test method for kinds of vehicles according to an embodiment of the present invention, and as shown in fig. 2, the method includes:
s101, acquiring a functional test case through a general case platform.
Wherein the functional test case is used for testing the function of the vehicle.
In the embodiment of the invention, the universal case platform can be an th application program installed on the test equipment, the universal case platform can be stored with a preset compiling script and a universal test case template, the universal test case template can be stored with a plurality of functional test cases of vehicles, and the universal test case template can be stored in a table form or other forms on the universal case platform.
The test equipment can acquire the functional test case by adopting the tool chain corresponding to the storage format according to the case storage format of the universal test case template through the universal case platform.
For example, the general test case template on the case platform may store the functional test case in a form such as microsoft table (microsoft excel); other tables can be adopted to store the function test cases; other files capable of being directly read by a user and application software with programming function can be used for storage.
It should be noted that the vehicle may be a vehicle, and may also be another vehicle having a controller and needing to perform a function test, which is not limited in the embodiment of the present invention.
The vehicle functions may include, for example, the bus transfer function of any controller for braking control, starting control, or steering control of the vehicle, or other vehicle functions.
And S102, generating an automatic test script according to the functional test case and a preset compiling script through the general case platform.
The preset compiling script is a script with a script compiling function.
In possible embodiments, the test equipment can fuse the functional test cases according to the preset compiling script through the general case platform to compile the test script, and generate the automatic test script corresponding to the functional test cases.
In the embodiment of the invention, the universal test case template can comprise at least parameters such as test description, test type, event, parameter setting, mathematical symbol setting, popup display information, monitoring signal, waiting event, test passing condition, test failure condition, software version number and the like.
It should be noted that the preset script may be a script written by a programmer or having an automatic test script generation function by a test engineer on a use case platform, for example, when the general use case platform is Microsoft Excel, the preset script may be a script designed by a Visual Basic for Applications (VBA) program of an application program embedded in Microsoft Excel, and the automatic test script may be a script file in a language of a CAPL (communication application Programming language), that is, a CAPL script is automatically generated by the VBA script.
S103, running an automatic test script through the automatic test platform according to the functional test case to process the analog simulation signal of the controller corresponding to the function to obtain a test result of the function.
In possible embodiments, the test device may run the automatic test script through the automatic test platform according to the gateway database generated by the automatic test script and the functional test case, process the analog simulation signal between the controllers through the analog simulation signal provided by the automatic test platform by using a gateway processing algorithm corresponding to the information in the gateway database, and obtain the running result generated after running the automatic test script, so as to obtain the functional test result.
It should be noted that the general use case platform may be a second application installed on the testing device, and the second application may be a bus analysis tool, such as an analysis tool of a Controller Area Network (CAN) bus, such as a Vector CANoe, or may be another type of bus analysis tool, which is not limited in this embodiment of the present invention.
To sum up, the embodiment of the present invention provides a function test method for kinds of vehicles, which is applied to a function test platform, the function test platform includes a general use case platform and an automatic test platform, the general use case platform obtains a function test case, the function test case is used for testing the function of the vehicle, the general use case platform generates an automatic test script according to the function test case and a preset compiling script, the automatic test platform runs the automatic test script according to the function test case to process the analog simulation signal of the function corresponding controller, and obtains the test result of the function.
If the functional test case is a multifunctional vehicle for testing, and each function has a corresponding controller, the automatic test platform can realize the test of the multifunctional multi-controller by running the automatic test script corresponding to the functional test case, so that the test efficiency is improved.
Moreover, the automatic test script is generated through the universal case platform according to the functional test cases and the preset compiling script, so that the time for researching and developing functional test projects can be saved, the research and development efficiency is improved, multiple tests on the same function can be realized, the quality of the functional test is improved, the functions of multiple controllers in the vehicle can be tested, and the test on all functions of the whole vehicle is realized.
The function of the vehicle in the embodiment of the invention refers to the definition of the whole vehicle function, all functions of the vehicle realized in various application scenes, including all software algorithms, hardware and network databases, and the function modules of each subsystem are divided according to the whole vehicle function modules, the management of all hardware and network database signals of the subsystem is completed through the subsystem controller, and the functions of the subsystem and the functions of other systems of the subsystem auxiliary finished vehicle are realized through reasonable and detailed software algorithms.
Optionally, fig. 3 is a schematic structural diagram of automatic test platforms according to an embodiment of the present invention, as shown in fig. 3, an automatic test platform 20 includes a test gateway 23 and an analog simulation system 24, the analog simulation system 24 is configured to generate an analog simulation signal of a controller, the analog simulation signal includes gateway data and a hardware signal corresponding to information of the controller, and the test gateway 23 is configured to transmit and process the analog simulation signal.
The test gateway can be generated through the general case platform according to the gateway generator related to the functional test case, and the automatic test platform can obtain the test gateway from the general case platform and import the test gateway to the automatic test platform.
In an embodiment of the present invention, simulation system 24 may be a Virtualization Technology (VT) system, which may include at least virtual controllers, each of which may be configured to generate controller simulation signals, and gateway 23 may also be a virtual gateway configured to transmit and process the virtual simulation signals.
Therefore, under the condition of operating the automatic test script, the automatic test platform can enable the analog simulation system to simulate at least controllers of the vehicle, simulate information transmission among the controllers and generate analog simulation signals of each controller, and under the condition of operating the automatic test script, the automatic test platform can also enable the test gateway to transmit and process the analog simulation signals, for example, after processing the analog simulation signals of controllers, the signals are transmitted to the corresponding controllers.
For example, an analog-to-analog system may generate analog signals that emulate a variety of hardware signals such as analog, digital, power output, pulse width modulation, and the like.
It should be noted that the analog simulation system generates the analog simulation signal, and may suspect to store the analog simulation signal, and when the analog simulation system needs the analog simulation signal again, the analog simulation signal may be directly read.
Optionally, in S101, obtaining the functional test case through the general case platform may include: and searching the functional test case from the functional test case cell corresponding to the test case address according to the test case address in the preset compiling script.
The cells may be cells corresponding to Microsoft Excel, and the functional test cases may include test conditions, test sequences, test determination methods, signals to be recorded in the test, and the like.
The preset writing script can store at least use case addresses of the functions to be tested, and the use case addresses can be used for representing the storage addresses of the functional test use cases of the functions to be tested in the use case template.
In possible embodiments, the use case template is stored in a table manner, and the functional test case can be recorded in a plurality of cells of the table of the use case template, and the test equipment can address the cell address of the functional test case according to a preset script through a general use case platform, and determine the content corresponding to each address in the functional test case, so that the functional test case can be searched from the Excel cell corresponding to the use case address, and the functional test case can be acquired.
In addition, a preset compiling script, namely a script which is compiled by a test engineer and can automatically compile the script, can search the test conditions, test sequences, network signals and hardware signals which are required to be collected and recorded by the test and form an automatic test from the functional test case cells corresponding to the case addresses, compile an automatic test script which can be automatically formed according to different conditions, sequences, result judgment and the like of different functional test cases, generally compiles an automatic compiling program script through programming languages, and the program script can automatically form an automatic test running script of another programming languages.
Fig. 4 is a flowchart illustrating a functional test method for kinds of vehicles according to an embodiment of the present invention, and as shown in fig. 4, in S102, the step of generating an automatic test script according to a functional test case and a preset compiling script through a general case platform may include:
s201, determining the script type according to the test case type of the functional test case.
The functional test case may include a test case type.
The test equipment can also set a selection interface through a general test case template of a general case platform, provide a plurality of script types through the selection interface, and a user can perform selection operation, wherein the contents of the selection operation are all contained in a preset script writing mode, and the test equipment can receive the script type selection operation through the general case platform and determine the script type selected by the user according to the script type selection operation.
It should be noted that the multiple script types in the selection interface may include at least script types, such as a complete simulation function test, a test with a simulation system, and a virtual automatic function test, and of course, the user may preset other script types in the universal test case template according to actual requirements, which is not limited in the embodiment of the present invention.
S202, automatically generating an automatic test script according to the functional test case and the script type through a preset compiling script.
In the embodiment of the invention, the test equipment can automatically generate the automatic test script by adopting the preset compiling script through the general use case platform according to the specific content of the addressed functional test case and the determined script type, and establish the fusion of the preset compiling script and the general test case template through the general test case template to generate the automatic test script of another programming languages of the script type.
In summary, the embodiment of the present invention provides types of vehicle function test methods, which determine the script type according to the test case type of the function test case, and compile an automatic test script according to the function test case and the script type by presetting the script, thereby reducing unnecessary human resource waste, reducing the cost for the vehicle function test, and simultaneously facilitating the test for the multifunctional multi-controller vehicle in the vehicle and improving the test efficiency.
Fig. 5 is a schematic flowchart of a function test method for kinds of vehicles according to an embodiment of the present invention, and as shown in fig. 5, before S103, the method may further include:
s301, processing the functional test cases through a general case platform and a preset compiling script to generate a gateway database.
Wherein the gateway database includes: gateway data corresponding to information of a controller of a function on a vehicle and gateway data corresponding to information of the function. The gateway database is designed based on information in the gateway database of the controller of the on-board function of the vehicle.
In the embodiment of the invention, the function test case can comprise a function to be tested and a controller required to be used when the function is tested, the controller of the function to be tested, namely the controller of the function tested by the function test case can be determined through the general case platform, and the gateway of the controller for the function can be determined according to the function of the function to be tested. Different functional tests are carried out, and different test gateways are provided, namely different processing algorithms of different gateways are provided. The gateway database may also store information about the gateway. If there are multiple gateways corresponding to the controller with the function, the gateway database may also store information of the multiple gateways.
Optionally, the step of running the automatic test script through the automatic test platform according to the functional test case in S103 may include:
s302, through the automatic test platform, according to the gateway database called from the universal case platform, and according to the gateway data corresponding to the information of the controller and the gateway data corresponding to the information of the function, which are obtained from the gateway database, the automatic test script obtained from the universal case platform is operated so as to process the analog simulation signal, and the test result of the function is obtained.
In the method, the test equipment can also generate a test report comprising the test result of the function under the condition of obtaining the test result of the function, and the test equipment can also display the test report through the test platform so that a user can know the test result of the function. Of course, the testing device may also store the test report in a predetermined storage location, or send the test report to other devices, such as a terminal device connected to the testing device.
In possible embodiments, the test device may run an automatic test script through the automatic test platform according to the gateway data corresponding to the gateway database information and the gateway data corresponding to the function information, simulate an analog signal through the automatic test platform, determine a gateway according to the gateway data corresponding to the information of the controller in the gateway database and the gateway data corresponding to the function information, process the analog signal of the controller with the function according to the gateway, and obtain a running result generated after the automatic test script is run, so as to obtain a test result of the function.
It should be noted that the operation result generated after the test script is run may be a result indication signal generated after the test script is run, or may be a specific parameter value, which is not specifically limited in the embodiment of the present invention.
In summary, the embodiment of the present invention provides a function test method for transportation vehicles, which includes processing a function test case through a general case platform and a preset compiling script to generate a gateway database, and running an automatic test script obtained from the general case platform through an automatic test platform to process an analog simulation signal to obtain a function test result, so as to reduce unnecessary waste of human resources and reduce cost for a transportation vehicle function test.
Fig. 6 is a schematic structural diagram of a function test device for kinds of vehicles according to an embodiment of the present invention, and as shown in fig. 6, the device includes:
the acquisition module 601 is used for acquiring a functional test case through a general case platform, wherein the functional test case is used for testing the function of a vehicle;
the generating module 602 is configured to generate an automatic test script according to the functional test case and a preset compiling script through the general case platform, where the preset compiling script is a script with a script compiling function;
and the running module 603 is configured to run the automatic test script through the automatic test platform according to the functional test case, so as to process the analog simulation signal of the controller corresponding to the function, and obtain a test result of the function.
Optionally, the obtaining module 601 is specifically configured to search the functional test case from the functional test case cell corresponding to the test case address according to the test case address in the preset compiling script.
Optionally, the generating module 602 is specifically configured to determine the script type according to the test case type of the functional test case; and automatically generating an automatic test script according to the functional test case and the script type by presetting a compiling script.
Optionally, as shown in fig. 7, the apparatus further includes:
the processing module 604 is configured to analyze the functional test case through a preset compiling script by using the general case platform, and generate a gateway database, where the gateway database includes: gateway data corresponding to information of a controller of a function on a vehicle and gateway data corresponding to information of the function;
correspondingly, the running module 603 is further specifically configured to be used for the automatic test platform, call the gateway database from the general use-case platform, and run the automatic test script acquired from the general use-case platform according to the gateway data corresponding to the information of the controller in the gateway database and the gateway data corresponding to the information of the function, so as to process the analog simulation signal and obtain the test result of the function.
Optionally, the automatic test platform comprises: a test gateway and an analog simulation system; the simulation system is used for generating simulation signals of the controller, the simulation signals comprise gateway data and hardware signals corresponding to information of the controller, and the test gateway is used for transmitting and processing the simulation signals.
The above-mentioned apparatus is used for executing the method provided by the foregoing embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
These modules may be or more Integrated circuits configured to implement the above methods, such as or more Application Specific Integrated Circuits (ASICs), or more microprocessors (DSPs), or more Field Programmable Gate Arrays (FPGAs), etc. again, for example, when a module is implemented in the form of processing element scheduler code, the processing element may be a general purpose processor, such as a Central Processing Unit (CPU) or other processor that may invoke the program code.
Fig. 8 is a schematic structural diagram of kinds of test devices provided in an embodiment of the present invention, where the test devices may be computing devices with data processing functions.
The device includes: a processor 801 and a memory 802.
The memory 802 is used for storing programs, and the processor 801 calls the programs stored in the memory 802 to execute the above-mentioned method embodiments. The specific implementation and technical effects are similar, and are not described herein again.
Optionally, the present invention also provides program products, such as computer readable storage media, comprising a program which, when executed by a processor, is adapted to perform the above-described method embodiments.
For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units into logical functional divisions may be realized in other ways, for example, multiple units or components may be combined or integrated into another systems, or features may be omitted or not executed, and at point , the shown or discussed coupling or direct coupling or communication connection between each other may be through interfaces, and the indirect coupling or communication connection between the units or devices may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in places, or may also be distributed on multiple network units.
In addition, the functional units in the embodiments of the present invention may be integrated into processing units, or each unit may exist alone physically, or two or more units are integrated into units.
The software functional unit is stored in storage media and includes a plurality of instructions for enabling computer devices (such as personal computers, servers, or network devices) or processors (english: processors) to execute part of the steps of the methods according to the embodiments of the present invention.

Claims (12)

  1. The functional test method of kinds of vehicles is applied to a functional test platform, the functional test platform comprises a general use case platform and an automatic test platform, and the method comprises the following steps:
    acquiring a functional test case through the general case platform, wherein the functional test case is used for testing the function of the vehicle;
    generating an automatic test script according to the functional test case and a preset compiling script through the general case platform, wherein the preset compiling script is a script with a script compiling function;
    and running the automatic test script through the automatic test platform according to the function test case so as to process the analog simulation signal of the controller corresponding to the function to obtain the test result of the function.
  2. 2. The method of claim 1, wherein the obtaining a functional test case comprises:
    and searching the functional test case from the functional test case cell corresponding to the test case address according to the test case address in the preset compiling script.
  3. 3. The method of claim 1, wherein generating an automatic test script according to the functional test case and a preset authoring script comprises:
    determining a script type according to the test case type of the functional test case;
    and automatically generating the automatic test script according to the functional test case and the script type through the preset compiling script.
  4. 4. The method of claim 1, wherein prior to running the automated test script according to the functional test case via the automated test platform, the method further comprises:
    processing the functional test cases through the general case platform and the preset compiling script to generate a gateway database, wherein the gateway database comprises: gateway data corresponding to information of the controller of the function on the vehicle and gateway data corresponding to information of the function;
    correspondingly, through the automatic test platform, according to the functional test case, the automatic test script is operated, including:
    and calling the gateway database from the general use case platform through the automatic test platform, and operating the automatic test script obtained from the general use case platform according to gateway data corresponding to the information of the controller and gateway data corresponding to the information of the function in the gateway database so as to process the analog simulation signal and obtain a test result of the function.
  5. 5. The method of , wherein the automated test platform comprises a test gateway and an analog simulation system, the analog simulation system is used for generating analog simulation signals of the controller, the analog simulation signals comprise gateway data corresponding to the information of the controller and hardware signals, and the test gateway is used for transmitting and processing the analog simulation signals.
  6. The functional test device of kinds of vehicles is applied to the functional test platform, the functional test platform includes general use case platform and automatic test platform, its characterized in that, the device includes:
    the acquisition module is used for acquiring a functional test case through the general case platform, and the functional test case is used for testing the function of the vehicle;
    the generating module is used for generating an automatic test script according to the functional test case and a preset compiling script through the general case platform, wherein the preset compiling script is a script with a script compiling function;
    and the operation module is used for operating the automatic test script through the automatic test platform according to the function test case so as to process the analog simulation signal of the controller corresponding to the function and obtain the test result of the function.
  7. 7. The apparatus according to claim 6, wherein the obtaining module is specifically configured to search the functional test case from a functional test case cell corresponding to the test case address according to the test case address in the preset authoring script.
  8. 8. The apparatus according to claim 6, wherein the generating module is specifically configured to determine a script type according to a test case type of the functional test case; and automatically generating the automatic test script according to the functional test case and the script type through the preset compiling script.
  9. 9. The apparatus of claim 6, wherein the apparatus further comprises:
    the processing module is used for analyzing the functional test cases through the general case platform and the preset compiling script to generate a gateway database, and the gateway database comprises: gateway data corresponding to information of the controller of the function on the vehicle and gateway data corresponding to information of the function;
    correspondingly, the running module is further specifically configured to be used for an automatic test platform, call the gateway database from the general use-case platform, and run the automatic test script acquired from the general use-case platform according to gateway data corresponding to the information of the controller and gateway data corresponding to the information of the function in the gateway database, so as to process the analog simulation signal, and obtain a test result of the function.
  10. 10. The apparatus of , wherein the automated test platform comprises a test gateway and an analog simulation system, the analog simulation system is used for generating analog simulation signals of the controller, the analog simulation signals comprise gateway data corresponding to information of the controller and hardware signals, and the test gateway is used for transmitting and processing the analog simulation signals.
  11. 11, test device, comprising a memory, a processor, a computer program being stored in the memory and being executable on the processor, wherein the processor, when executing the computer program, performs the steps of the method according to any of the preceding claims 1 to 5 through .
  12. 12, computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any of claims 1 to 5, .
CN201910975596.XA 2019-10-11 2019-10-11 Method, device and equipment for testing functions of vehicles and storage medium Withdrawn CN110737983A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910975596.XA CN110737983A (en) 2019-10-11 2019-10-11 Method, device and equipment for testing functions of vehicles and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910975596.XA CN110737983A (en) 2019-10-11 2019-10-11 Method, device and equipment for testing functions of vehicles and storage medium

Publications (1)

Publication Number Publication Date
CN110737983A true CN110737983A (en) 2020-01-31

Family

ID=69268902

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910975596.XA Withdrawn CN110737983A (en) 2019-10-11 2019-10-11 Method, device and equipment for testing functions of vehicles and storage medium

Country Status (1)

Country Link
CN (1) CN110737983A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114390093A (en) * 2021-12-20 2022-04-22 深圳市精优达科技有限公司 Virtual gateway simulation system

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101194233A (en) * 2005-04-18 2008-06-04 捷讯研究有限公司 System and method of testing wireless component applications
CN104363207A (en) * 2014-10-29 2015-02-18 北京成众志科技有限公司 Multi-factor security enhancement authorization and authentication method
CN105808432A (en) * 2015-03-04 2016-07-27 中车株洲电力机车研究所有限公司 Software automated testing system and method for rail traffic drive control unit/ tractive control unit (DCU/TCU)
CN107831757A (en) * 2017-11-29 2018-03-23 合肥巨动力系统有限公司 Based on dSPACE motor control hardware in ring automatization test system and method
CN108255722A (en) * 2018-01-15 2018-07-06 厦门美图移动科技有限公司 Scenario generation method, script generation device and server
CN108833231A (en) * 2018-06-27 2018-11-16 无锡南理工科技发展有限公司 A kind of household security protection device and its application method based on Internet of Things
CN109218139A (en) * 2018-10-23 2019-01-15 京信通信系统(中国)有限公司 Gateway test macro
CN109246622A (en) * 2018-08-29 2019-01-18 上海奥孛睿斯科技有限公司 A kind of internet-of-things terminal position acquisition system and acquisition methods
CN109782630A (en) * 2019-03-25 2019-05-21 北京经纬恒润科技有限公司 Automatic parking emulation test method and system
CN110036619A (en) * 2016-12-27 2019-07-19 英特尔Ip公司 Frame for IOT protocol-identifier and management
CN110049449A (en) * 2019-04-23 2019-07-23 宁波弘讯软件开发有限公司 A kind of location determining method, system and relevant apparatus
CN110109831A (en) * 2019-04-24 2019-08-09 中科恒运股份有限公司 Automated test frame system, automated testing method and terminal device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101194233A (en) * 2005-04-18 2008-06-04 捷讯研究有限公司 System and method of testing wireless component applications
CN104363207A (en) * 2014-10-29 2015-02-18 北京成众志科技有限公司 Multi-factor security enhancement authorization and authentication method
CN105808432A (en) * 2015-03-04 2016-07-27 中车株洲电力机车研究所有限公司 Software automated testing system and method for rail traffic drive control unit/ tractive control unit (DCU/TCU)
CN110036619A (en) * 2016-12-27 2019-07-19 英特尔Ip公司 Frame for IOT protocol-identifier and management
CN107831757A (en) * 2017-11-29 2018-03-23 合肥巨动力系统有限公司 Based on dSPACE motor control hardware in ring automatization test system and method
CN108255722A (en) * 2018-01-15 2018-07-06 厦门美图移动科技有限公司 Scenario generation method, script generation device and server
CN108833231A (en) * 2018-06-27 2018-11-16 无锡南理工科技发展有限公司 A kind of household security protection device and its application method based on Internet of Things
CN109246622A (en) * 2018-08-29 2019-01-18 上海奥孛睿斯科技有限公司 A kind of internet-of-things terminal position acquisition system and acquisition methods
CN109218139A (en) * 2018-10-23 2019-01-15 京信通信系统(中国)有限公司 Gateway test macro
CN109782630A (en) * 2019-03-25 2019-05-21 北京经纬恒润科技有限公司 Automatic parking emulation test method and system
CN110049449A (en) * 2019-04-23 2019-07-23 宁波弘讯软件开发有限公司 A kind of location determining method, system and relevant apparatus
CN110109831A (en) * 2019-04-24 2019-08-09 中科恒运股份有限公司 Automated test frame system, automated testing method and terminal device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114390093A (en) * 2021-12-20 2022-04-22 深圳市精优达科技有限公司 Virtual gateway simulation system
CN114390093B (en) * 2021-12-20 2024-05-24 深圳市精优达科技有限公司 Virtual gateway simulation system

Similar Documents

Publication Publication Date Title
CN109739478B (en) Front-end project automatic construction method and device, storage medium and electronic equipment
US20190034318A1 (en) Hardware-Software Co-Verification for Debugging Firmware on a Hardware Simulator
CN112100072B (en) Static detection method, device, equipment and medium for application program code
CN103793326A (en) Assembly test method and device
CN108802511B (en) Method and system for testing battery management unit
CN112433940A (en) Software development kit SDK testing method and related equipment
CN112363938A (en) Data processing method and device, electronic equipment and storage medium
CN102722438B (en) Kernel debugging method and equipment
CN111459814A (en) Automatic test case generation method and device and electronic equipment
CN110737983A (en) Method, device and equipment for testing functions of vehicles and storage medium
CN112416762B (en) API test method and device, equipment and computer readable storage medium
CN113704095A (en) Automatic generation method and device for automatic interface test case
CN116090376B (en) Chip integrated verification component development method and device and computer equipment
CN110717305A (en) Method, system, device and medium suitable for verifying and confirming FPGA
CN112231165B (en) Memory fault simulation method based on link library injection and memory mapping modes
CN113377648A (en) Software system diagnosis method and device, electronic equipment and computer readable medium
CN114647568A (en) Automatic testing method and device, electronic equipment and readable storage medium
Langenwalter et al. Embedded Steer-by-Wire System Development
US20230419009A1 (en) Computer-implemented method for simulating an electrical circuit by means of a real-time platform
CN116125950A (en) Automatic generation method, equipment and medium for hardware-in-loop simulation test tool
CN114490423A (en) Automatic testing method and device, electronic equipment and storage medium
Konno et al. Accuracy improvement of anomaly-based intrusion detection system using taguchi method
CN117421872A (en) SYSML modeling-based system simulation system and method for automatically generating semi-physical test cases
CN118093173A (en) AI processor scheduling method, device, equipment and storage medium based on job scheduling system
CN115757110A (en) Automatic testing method and device and electronic equipment

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20200131

WW01 Invention patent application withdrawn after publication