CN114095405A - Vehicle function unit testing method and device, electronic equipment and storage medium - Google Patents

Vehicle function unit testing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114095405A
CN114095405A CN202210068845.9A CN202210068845A CN114095405A CN 114095405 A CN114095405 A CN 114095405A CN 202210068845 A CN202210068845 A CN 202210068845A CN 114095405 A CN114095405 A CN 114095405A
Authority
CN
China
Prior art keywords
data
area network
target
functional unit
local area
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.)
Granted
Application number
CN202210068845.9A
Other languages
Chinese (zh)
Other versions
CN114095405B (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.)
Guoqi Intelligent Control Beijing Technology Co Ltd
Original Assignee
Guoqi Intelligent Control Beijing 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 Guoqi Intelligent Control Beijing Technology Co Ltd filed Critical Guoqi Intelligent Control Beijing Technology Co Ltd
Priority to CN202210068845.9A priority Critical patent/CN114095405B/en
Publication of CN114095405A publication Critical patent/CN114095405A/en
Application granted granted Critical
Publication of CN114095405B publication Critical patent/CN114095405B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40267Bus for use in transportation systems
    • H04L2012/40273Bus for use in transportation systems the transportation system being a vehicle

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Small-Scale Networks (AREA)

Abstract

The application provides a method and a device for testing a vehicle functional unit, electronic equipment and a storage medium, wherein first test information is obtained and used for indicating a functional unit to be tested of a target vehicle; acquiring a controller local area network database file according to the first test information, wherein the controller local area network database file is used for representing a communication rule corresponding to a target network node in a controller local area network of a target vehicle; and decoding the controller local area network bus data based on the controller local area network database file to generate target data, and obtaining a function test result of the functional unit to be tested according to the target data. Because the corresponding controller local area network database file is obtained through the first test instruction, and the test process of the functional unit to be tested is completed based on the controller local area network database file, the time-consuming problem caused by compiling the embedded code aiming at the functional unit to be tested is avoided, and the test efficiency and the test accuracy are improved.

Description

Vehicle function unit testing method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for testing a vehicle functional unit, an electronic device, and a storage medium.
Background
Controller Area Network (CAN) communication is the most common Network communication mode in the automotive electronics industry at present, and various functional units arranged in a vehicle realize signal interaction with an Electronic Control Unit (ECU) of the vehicle through a CAN Network. Along with the continuous deepening of the electronic electrical appliance degree and the intelligent degree of the automobile, the number of nodes in the CAN communication network in the automobile and the number of signals interacted between ECU nodes are also increased continuously.
In the design stage of the vehicle, various functional units arranged on the vehicle need to be tested on the system so as to ensure that the actual performances of the various functional units CAN meet the design requirements. Because the functions of various functional units are greatly different, in the prior art, a corresponding embedded code needs to be manually written for the functional unit to realize the encoding and decoding of signals between the functional unit output and the ECU, so as to realize the information transmission between the functional unit and the ECU.
However, in the actual testing process, because the number of the functional units to be tested is huge, the embedded code is manually written in the prior art, which causes the problems of low testing efficiency, poor testing accuracy and the like.
Disclosure of Invention
The application provides a vehicle functional unit testing method, a vehicle functional unit testing device, electronic equipment and a storage medium, which are used for solving the problem of low testing efficiency caused by the need of independently developing signal coding and decoding codes in the vehicle functional unit testing process.
In a first aspect, the present application provides a vehicle functional unit testing method, comprising:
acquiring first test information, wherein the first test information is used for indicating a functional unit to be tested of a target vehicle; acquiring a controller local area network database file according to the first test information, wherein the controller local area network database file is used for representing a communication rule corresponding to a target network node in a controller local area network of the target vehicle, and the target network node is a network node corresponding to the functional unit to be tested; and decoding controller local area network bus data based on the controller local area network database file to generate target data, and obtaining a function test result of the functional unit to be tested according to the target data, wherein the controller local area network bus data is data sent by the target network node through the controller local area network, and the target data represents the functional data of the functional unit to be tested.
In a possible implementation manner, decoding controller area network bus data based on the controller area network database file to generate target data, includes: generating a conversion code file according to the controller area network database file, wherein the conversion code file is used for converting the controller area network bus data into target data; and operating the conversion code file to generate target data corresponding to the controller local area network bus data.
In a possible implementation manner, the controller area network database file includes message information, and the message information represents a data structure of the controller area network bus data; generating a conversion code file according to the controller area network database file comprises the following steps: determining a signal field in the controller area network bus data according to the message information, wherein the signal field is used for bearing the function data of the function testing unit; determining conversion information aiming at the signal information of the signal field, wherein the conversion information is used for representing a rule for converting the signal field; and generating a corresponding conversion code file according to the conversion information.
In a possible implementation manner, the controller area network bus data further includes parameter field information, where the parameter field information represents an identifier of a target network node that sends the controller area network bus data.
In one possible implementation manner, the conversion code file comprises a declaration file and a definition file, wherein the declaration file represents a calling method of the parsing function, and the definition file represents an implementation method of the parsing function; operating the conversion code file to generate target data corresponding to the controller local area network bus data, wherein the target data comprises: based on the statement file, calling an analysis function, wherein the analysis function represents the mapping relation between the controller local area network bus data and the target data; and executing the definition of the analysis function based on the definition file, and converting the controller area network bus data into the target data.
In a possible implementation manner, the controller area network bus data includes a signal field, where the signal field is used to carry function data of the functional unit to be tested, the definition of the parsing function includes a rule for converting the signal field, and the executing the definition of the parsing function based on the definition file converts the controller area network bus data into the target data, including: extracting field values of a plurality of subfields of the signal field based on the definition of the analytic function, and converting the field values of the subfields to generate analytic data corresponding to the subfields; and combining the analysis data to generate the target data.
In a possible implementation manner, obtaining a function test result of the functional unit to be tested according to the target data includes: determining a target application corresponding to the target data; and running the target application based on the target data to obtain a function test result of the functional unit to be tested.
In a possible implementation manner, the target data includes a signal name identifier; determining a target application corresponding to the target data, including: and determining the target application corresponding to the signal name identifier according to a preset mapping relation.
In a possible implementation manner, the obtaining a controller area network database file according to the first test information includes: acquiring data format information according to the first test information, wherein the data format information represents a data format of functional data of the functional unit to be tested, which is required by running a target application; and generating the controller local area network database file according to the data format information.
In a second aspect, the present application provides a vehicle functional unit testing device comprising:
the system comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module is used for acquiring first test information which is used for indicating a functional unit to be tested of a target vehicle;
a second obtaining module, configured to obtain a controller local area network database file according to the first test information, where the controller local area network database file is used to represent a communication rule corresponding to a target network node in a controller local area network of the target vehicle, and the target network node is a network node corresponding to the functional unit to be tested;
and the coding and decoding module is used for decoding controller local area network bus data based on the controller local area network database file to generate target data and obtaining a function test result of the functional unit to be tested according to the target data, wherein the controller local area network bus data is data sent by the target network node through the controller local area network, and the target data represents the function data of the functional unit to be tested.
In a possible implementation manner, when the encoding/decoding module decodes the controller area network bus data based on the controller area network database file to generate target data, the encoding/decoding module is specifically configured to: generating a conversion code file according to the controller area network database file, wherein the conversion code file is used for converting the controller area network bus data into target data; and operating the conversion code file to generate target data corresponding to the controller local area network bus data.
In a possible implementation manner, the controller area network database file includes message information, and the message information represents a data structure of the controller area network bus data; when the coding and decoding module generates a conversion code file according to the controller area network database file, the coding and decoding module is specifically configured to: determining a signal field in the controller area network bus data according to the message information, wherein the signal field is used for bearing the function data of the function testing unit; determining conversion information aiming at the signal information of the signal field, wherein the conversion information is used for representing a rule for converting the signal field; and generating a corresponding conversion code file according to the conversion information.
In a possible implementation manner, the controller area network bus data further includes parameter field information, where the parameter field information represents an identifier of a target network node that sends the controller area network bus data.
In one possible implementation manner, the conversion code file comprises a declaration file and a definition file, wherein the declaration file represents a calling method of the parsing function, and the definition file represents an implementation method of the parsing function; when the encoding and decoding module runs the transcoding file to generate target data corresponding to the controller area network bus data, the encoding and decoding module is specifically configured to: based on the statement file, calling an analysis function, wherein the analysis function represents the mapping relation between the controller local area network bus data and the target data; and executing the definition of the analysis function based on the definition file, and converting the controller area network bus data into the target data.
In a possible implementation manner, the controller area network bus data includes a signal field, the signal field is used to carry function data of the functional unit to be tested, the definition of the parsing function includes a rule for converting the signal field, and the codec module is specifically configured to, when executing the definition of the parsing function based on the definition file and converting the controller area network bus data into the target data: extracting field values of a plurality of subfields of the signal field based on the definition of the analytic function, and converting the field values of the subfields to generate analytic data corresponding to the subfields; and combining the analysis data to generate the target data.
In a possible implementation manner, when obtaining the function test result of the functional unit to be tested according to the target data, the encoding and decoding module is specifically configured to: determining a target application corresponding to the target data; and running the target application based on the target data to obtain a function test result of the functional unit to be tested.
In a possible implementation manner, the target data includes a signal name identifier; when determining the target application corresponding to the target data, the encoding and decoding module is specifically configured to: and determining the target application corresponding to the signal name identifier according to a preset mapping relation.
In a possible implementation manner, the second obtaining module is specifically configured to: acquiring data format information according to the first test information, wherein the data format information represents a data format of functional data of the functional unit to be tested, which is required by running a target application; and generating the controller local area network database file according to the data format information.
In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes the computer-executable instructions stored in the memory to implement the vehicle functional unit testing method according to any one of the first aspect of the embodiments of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium having stored thereon computer-executable instructions for implementing a vehicle functional unit testing method according to any one of the first aspect of the embodiments of the present application when executed by a processor.
According to a fifth aspect of embodiments herein there is provided a computer program product comprising a computer program which, when executed by a processor, implements a vehicle functional unit testing method as defined in any one of the first aspects above.
According to the vehicle function unit testing method, the vehicle function unit testing device, the electronic equipment and the storage medium, first testing information is obtained, and the first testing information is used for indicating a function unit to be tested of a target vehicle; acquiring a controller local area network database file according to the first test information, wherein the controller local area network database file is used for representing a communication rule corresponding to a target network node in a controller local area network of the target vehicle, and the target network node is a network node corresponding to the functional unit to be tested; and decoding controller local area network bus data based on the controller local area network database file to generate target data, and obtaining a function test result of the functional unit to be tested according to the target data, wherein the controller local area network bus data is data sent by the target network node through the controller local area network, and the target data represents the functional data of the functional unit to be tested. Because the corresponding controller local area network database file is obtained through the first test instruction, and the test process of the functional unit to be tested is completed based on the controller local area network database file, the time-consuming problem caused by compiling the embedded code aiming at the functional unit to be tested is avoided, and the test efficiency and the test accuracy are improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
Fig. 1 is an application scenario diagram of a vehicle functional unit test provided in the embodiment of the present application;
FIG. 2 is a flow chart of a vehicle functional unit testing method provided by one embodiment of the present application;
FIG. 3 is a schematic diagram illustrating an implementation of step S102 in the embodiment shown in FIG. 2;
FIG. 4 is a diagram illustrating specific implementation steps for obtaining a function test result of a functional unit to be tested according to target data;
FIG. 5 is a flow chart of a vehicle functional unit testing method provided in another embodiment of the present application;
FIG. 6 is a schematic diagram illustrating a specific implementation step of step S203 in the embodiment shown in FIG. 5;
fig. 7 is a schematic diagram of message information provided in an embodiment of the present application;
FIG. 8 is a diagram illustrating a specific implementation step of step S204 in the embodiment shown in FIG. 5;
FIG. 9 is a schematic structural diagram of a vehicle functional unit test provided by an embodiment of the present application;
FIG. 10 is a schematic view of an electronic device provided by an embodiment of the present application;
fig. 11 is a block diagram of a terminal device according to an exemplary embodiment of the present application.
With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terms referred to in this application are explained first:
controller area network database file: the CAN bus protocol data communication method comprises the following steps that a Database Can file (DBC file for short) is used for describing data communication among CAN network nodes, the DBC file contains protocol data in a CAN bus protocol and specific significances of the protocol data, and particularly the DBC file describes which messages exist on a CAN network and carry which information; and the information of the sending node, the receiving node and the like of the message, and the communication of the CAN network is carried out according to the description of the DBC file.
The following explains an application scenario of the embodiment of the present application:
fig. 1 is an application scenario diagram of a vehicle functional unit test provided in an embodiment of the present application, where the vehicle functional unit test provided in the embodiment of the present application may be applied in a scenario such as a model selection test, a module test, and a system test of a functional unit of a vehicle, for example, as shown in fig. 1, an execution main body of the method provided in the embodiment of the present application may be a vehicle machine device disposed in a target vehicle, and the vehicle machine device is in communication connection with a functional unit disposed on the vehicle through a CAN network in the vehicle machine system on one hand, where, more specifically, the functional unit is, for example, an image sensor, a laser radar sensor, a touch display screen, and the like disposed on the vehicle. On the other hand, the car machine equipment is in communication connection with the terminal equipment and performs data interaction with the terminal equipment in a wired or wireless communication mode, and more specifically, the car machine equipment can receive and respond to the test instruction sent by the terminal equipment, acquire target data corresponding to the functional unit to be tested for testing, generate a test result, and send the test result to the terminal equipment, so that a tester on one side of the terminal equipment can complete testing on the functional unit to be tested by inputting the test instruction for indicating the functional unit to be tested, and obtain the test result.
At present, in the design stage of a vehicle, various functional units arranged on the vehicle need to be tested to ensure that the actual performance of the various functional units CAN meet the design requirements, and in the test process, the functional units and the ECU need to perform information interaction based on a CAN network. Because the functions of various functional units and the contents in the transmitted messages are greatly different, for example, the transmitting node, the receiving node, the message length and the specific information content in the message may be different, an independent encoding and decoding program needs to be set for the message transmitted by each functional unit, thereby realizing the effective transmission of information. In the prior art, a corresponding embedded code needs to be manually written for the functional unit to realize the encoding and decoding of signals between the functional unit output and the ECU, so as to realize the information transmission between the functional unit and the ECU. However, in the actual testing process, because the number of the functional units to be tested is huge, the embedded code is manually written in the prior art, which causes the problems of low testing efficiency, poor testing accuracy and the like.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 2 is a flowchart of a vehicle functional unit testing method according to an embodiment of the present application, and as shown in fig. 2, an execution subject of the vehicle functional unit testing method according to this embodiment may be an ECU, a car machine device, or a vehicle, for example, the car machine device is used as the execution subject of the method according to this embodiment to describe, the method according to this embodiment includes the following steps:
step S101, first test information is obtained, and the first test information is used for indicating a functional unit to be tested of a target vehicle.
For example, the first test information is parameter information when a functional unit to be tested arranged in the vehicle is tested, that is, the functional unit to be tested of the target vehicle, such as a functional unit controlled by a CAN network, such as an image sensor, a laser radar sensor, a touch display screen, and the like, CAN be determined through the first test information. In a possible implementation manner, the first test information may be information input by a tester through an interactive interface set on the target vehicle, for example, the tester clicks a test item in a preset test list through a test function interface of the vehicle-mounted device system, where each test item corresponds to one to-be-tested function unit, so that the vehicle-mounted device obtains the first test information. In another possible implementation manner, referring to the application scenario diagram shown in fig. 1, the in-vehicle device is in communication connection with the terminal device, and the tester sends a test instruction including the first test information to the in-vehicle device through the terminal device, so that the test device obtains the first test information, and performs subsequent test steps on the functional unit to be tested based on the test information indicated by the first test information.
Step S102, obtaining a controller local area network database file according to the first test information, wherein the controller local area network database file is used for representing a communication rule corresponding to a target network node in a controller local area network of a target vehicle, and the target network node is a network node corresponding to a functional unit to be tested.
Illustratively, a Controller Area Network Database file (i.e., a Database Can file, hereinafter DBC file) is a standard Controller Area Network (i.e., Can) Database file, where information of a complete Can communication Network is defined and presented in a file according to a standardized format. For code development of the unpack/package part of CAN communication, all the required information CAN be obtained by the DBC. In this embodiment, the DBC file is used to describe a communication rule of a target network node corresponding to a functional unit to be tested in the CAN network, for example, a message identifier and a message length sent by the target network node, and a network node receiving the message. The DBC file has a preset format and a preset grammar rule, and the expression of the communication rule can be realized by presetting keywords, conforming contents and the like in the DBC file, and the specific principle and format of the DBC file are the prior art known by those skilled in the art, and are not described herein again.
Further, different functional units to be tested are set in the target vehicle, and different DBC files are correspondingly used, that is, when the functional units to be tested are different, the DBC files used by the CAN network are changed accordingly. In a possible implementation manner, the functional unit to be tested of the target vehicle has a one-to-one correspondence with the target network node, and therefore, based on the functional unit to be tested indicated by the first test information, a corresponding target network node CAN be determined, and then a DBC file corresponding to the CAN network including the target network node is determined, where the DBC file may be pre-stored locally in the vehicle equipment, and the DBC file corresponding to the first test information CAN be locally obtained from the vehicle equipment through a preset mapping relationship between the identifier of the functional unit to be tested and the identifier of the DBC file. Specifically, for example, when the first test information is a, the indicated function unit to be tested is the image sensor #01, and at this time, according to the preset mapping relationship between the identifiers of the function units to be tested DBC files, it is determined that the DBC file is DBC _ 001; and when the first test information is B, the indicated functional unit to be tested is the laser sensor #03, and at the moment, the DBC file is determined to be DBC _005 according to the preset mapping relation among the DBC file identifications of the functional unit to be tested.
In another possible implementation manner, the DBC file is not pre-stored locally in the in-vehicle device, but is generated based on the specific first test information after the in-vehicle device obtains the first test information. Illustratively, as shown in fig. 3, the specific implementation steps of step S102 include:
step S1021, according to the first test information, data format information is obtained, and the data format information represents a data format of functional data of the functional unit to be tested, which is required by the running target application.
Step S1022, a DBC file is generated according to the data format information.
For example, for the functional unit to be tested indicated by the first test information, the data sent by the functional unit to be tested through the CAN network is decoded, and then obtained and processed by the corresponding upper layer application (target application), so as to implement the corresponding function, where the data used by the target application is the functional data. That is, the functional data in the data sent by the functional unit to be tested is determined according to the requirement (i.e. the target application), and for the same functional unit to be tested, when the corresponding target applications are different, the data formats of the functional data sent by the functional unit to be tested may be different, so that the DBC files determining the rule for analyzing the functional data are also different. For example, for the same unit a to be tested, when corresponding to the target application app1, the message sent by the unit a to be tested includes three values { a, b, and c }, and when corresponding to the target application app2, the message sent by the unit a to be tested includes two values { a, b }. Therefore, for example, according to the first test information, information representing a data format of functional data required for running the target application, that is, data format information, may be obtained through the mapping relationship, and then, according to the data format information, and a preset format and syntax rule of the DBC file, a DBC file capable of parsing the functional data of the data type (that is, the functional data corresponding to the data format information) is generated.
In this embodiment, the first test information and the target application of the functional data using the functional unit to be tested are used to obtain the matched data format information, and then the DBC file is generated based on the data format information.
And S103, decoding CAN bus data based on the DBC file to generate target data, and obtaining a function test result of the functional unit to be tested according to the target data, wherein the CAN bus data is data sent by a target network node through a CAN, and the target data represents the functional data of the functional unit to be tested.
Illustratively, the data sent by the network node corresponding to the functional unit to be tested to the in-vehicle device through the CAN network is CAN bus data, and after the in-vehicle device obtains the CAN bus data, the in-vehicle device decodes the CAN bus data according to the communication rule represented by the DBC file, so as to obtain decompressed target data capable of representing the functional data of the functional unit to be tested. And further, testing the target data to obtain a target result. The communication rule represented by the DBC file needs to be realized through a program, so that the DBC file CAN be automatically converted into a program code capable of realizing the communication rule based on the format of the DBC file and a specific CAN network communication protocol, and the CAN bus data CAN be processed.
In a possible implementation manner, as shown in fig. 4, an implementation manner of obtaining a function test result of the functional unit to be tested according to the target data includes:
and step S1031, determining the target application corresponding to the target data.
Step S1032, the target application is operated based on the target data, and a function test result of the functional unit to be tested is obtained.
Illustratively, the target application is a program for consuming the functional data output by the functional unit to be tested, and whether the result output by the target application is correct or not determines whether the performance and compatibility of the functional unit to be tested are matched with those of the target vehicle or not. Therefore, the target data is processed according to the target application, and the running result of the target application, namely the function test result of the functional unit to be tested, is obtained. Specifically, for example, the functional data characterized by the target data is image sensor data, and the target application is an application of obstacle detection. And after the target application is processed according to the target data, the target application operates based on a built-in obstacle detection algorithm so as to obtain a detection result, such as a plane contour coordinate or a three-dimensional space coordinate of an obstacle, and at the moment, the functional test result is normal, namely, the functional unit to be tested can work normally. Otherwise, if the target application reports an error or the detection result indicates that no obstacle is detected, the functional test result is abnormal, that is, the functional unit to be tested cannot work normally. In a possible implementation manner, the target data includes a signal name identifier, and the signal name identifier represents the content of the functional data, so that the signal name identifier has a corresponding relationship with a target application consuming the functional data. Illustratively, the specific way of determining the target application corresponding to the target data includes: and determining the target application corresponding to the signal name identifier according to a preset mapping relation.
The method provided by the embodiment is applied to the scene of the functional unit test of the vehicle, and more specifically, for example, the scene of the type selection test. Therefore, whether the functional unit to be tested CAN pass the test depends on whether the function to be tested CAN communicate with the car machine equipment, the ECU and the like through the CAN network, and also depends on whether the data output by the functional unit to be tested CAN meet the requirements of specific target application after being analyzed, so that an ideal result is obtained. According to the method provided by the embodiment, after the CAN bus data is decoded and the target data is generated, the CAN bus data is tested based on the corresponding target application, so that the function test result of the functional unit to be tested is obtained, the full-process automatic test of the functional unit to be tested is realized, and the efficiency and the accuracy of testing the functional unit under the conditions of type selection test and system test of the functional unit of the vehicle are greatly improved.
In this embodiment, by acquiring first test information, the first test information is used to indicate a functional unit to be tested of a target vehicle; acquiring a DBC file according to the first test information, wherein the DBC file is used for representing a communication rule corresponding to a target network node in a CAN network of a target vehicle, and the target network node is a network node corresponding to a functional unit to be tested; and decoding the CAN bus data based on the DBC file to generate target data, and obtaining a function test result of the functional unit to be tested according to the target data, wherein the CAN bus data is data sent by a target network node through a CAN network, and the target data represents the functional data of the functional unit to be tested. The corresponding DBC file is obtained through the first test instruction, and the test process of the functional unit to be tested is completed based on the DBC file, so that the time-consuming problem caused by compiling the embedded code aiming at the functional unit to be tested is avoided, and the test efficiency and the test accuracy are improved.
Fig. 5 is a flowchart of a vehicle functional unit testing method according to another embodiment of the present application, and as shown in fig. 5, the vehicle functional unit testing method according to this embodiment further details step S103 on the basis of the vehicle functional unit testing method according to the embodiment shown in fig. 2, and then the vehicle functional unit testing method according to this embodiment includes the following steps:
step S201, acquiring first test information, where the first test information is used to indicate a functional unit to be tested of a target vehicle.
Step S202, a DBC file is obtained according to the first test information, wherein the DBC file is used for representing a communication rule corresponding to a target network node in a CAN network of a target vehicle, and the target network node is a network node corresponding to a functional unit to be tested.
Step S203, generating a conversion code file according to the DBC file, wherein the conversion code file is used for converting the CAN bus data into target data.
Illustratively, the information interaction CAN be realized only after encoding/decoding CAN be performed on the CAN bus data transmitted or received by the target network node, and the encoding/decoding process of the CAN bus data is realized by analyzing the DBC file, extracting the information in the DBC file, converting the information into a code script, and executing the code script. Wherein, the code script is carried, i.e. the code conversion file. The CAN bus data CAN be parsed into target data by executing the translation code file.
Illustratively, the DBC file includes message information, and the message information represents a data structure of CAN bus data, as shown in fig. 6, the specific implementation step of step S203 includes:
step S2031, according to the message information, determining a signal field in the CAN bus data, wherein the signal field is used for bearing the function data of the function testing unit.
Step S2032, determining conversion information for the signal information of the signal field, the conversion information being used for representing a rule for converting the signal field.
Step S2033, generating a corresponding conversion code file according to the conversion information.
Illustratively, the message information is information representing a data structure of the CAN bus data, wherein a specific implementation form of the CAN bus data may include a message, and the message includes a signal field and a reference field, wherein the signal field carries function data of the function testing unit. And the reference field is used for carrying parameters required by the representation of message sending, receiving and analyzing. Optionally, the parameter field includes a target network node identifier representing that the CAN bus data is sent, that is, a sending node. Through the target network node identifier, the vehicle-mounted device can determine the device to be tested corresponding to the target network node which sends the message, so that the corresponding target application is determined in the subsequent steps.
Further, according to the data structure represented by the message information, a signal field in the CAN bus data is determined, and a corresponding conversion rule is determined according to the field structure of the signal field. Because different functional units to be tested have different realization functions, the field structures corresponding to the signal fields in the CAN bus data sent by the target network nodes corresponding to the different functional units to be tested are different, and the field structures CAN be determined by the message information in the DBC file and the signal information in the message information. Fig. 7 is a schematic diagram of message information provided in an embodiment of the present application, and as shown in fig. 7, the message information records a message ID, a message name, a message length, and a sending node of CAN bus data, and also records signal information of a signal field of the CAN bus data, where the message information includes: the method comprises the steps of determining conversion rules of signal fields, namely conversion information, according to signal information such as signal names, signal multiplexing information, start bits, signal lengths, byte orders, signal value symbol types, signal factor values, signal offset values, receiving nodes of signals, and the like, and generating code files, namely conversion code files, capable of realizing the conversion rules based on preset syntax rules. The method for implementing the transformation rule by programming the grammar is the prior art implemented by those skilled in the art, and is not described herein again.
And step S204, operating the conversion code file to generate target data corresponding to the CAN bus data.
Specifically, after the conversion code file is obtained, the CAN bus data (i.e., the message) is transmitted and analyzed by operating the conversion code file, and then the target data for operating the target application CAN be obtained. Illustratively, the conversion code file includes a declaration file and a definition file, the declaration file characterizes a calling method of the parsing function, and the definition file characterizes an implementation method of the parsing function, as shown in fig. 8, the specific implementation step of step S204 includes:
step S2041, based on the statement file, calling an analysis function, wherein the analysis function represents the mapping relation between the CAN bus data and the target data;
step S2042, based on the definition file, the definition of the analytic function is executed, and the CAN bus data is converted into target data.
Specifically, the declaration file is, for example, an x.h file, and the definition file is, for example, an x.c file. The declaration file defines a calling method of the analysis function, and the calling entry of the analysis function can be realized by quoting the declaration file; the definition file defines the specific implementation logic of the analytic function, and the specific implementation logic of the analytic function is executed by referring to the definition file and calling the analytic function, so that the CAN bus data is converted into the target data.
In a possible implementation manner, the CAN bus data includes a signal field, the signal field is used to carry functional data of a functional unit to be tested, the definition of the parsing function includes a rule for converting the signal field, and the definition of the parsing function is executed based on a definition file to convert the CAN bus data into target data, including: based on the definition of the analytic function, extracting field values of a plurality of subfields of the signal field, and converting the field values of the subfields to generate analytic data corresponding to the subfields; and combining the analysis data to generate target data.
Illustratively, field values of a plurality of subfields of a signal field are extracted and translated based on rules for translating the signal field characterized by the definition of the parsing function, resulting in signal values, i.e., parsed data, that are subsequently used to execute the target application. The target data can be generated by combining a plurality of analysis data.
In this embodiment, the obtained DBC file is used to generate a target data conversion code file for converting the CAN data into the target data, and the target data is obtained by executing the conversion code file, thereby completing automatic conversion of the CAN data sent by the functional unit to be tested, and generating the target data that CAN be directly called by the target application, thereby implementing automatic CAN network data conversion for the target application, further implementing quick and accurate test on the functional unit to be tested, and improving the test efficiency.
Step S205, determining a target application corresponding to the target data.
And step S206, running the target application based on the target data to obtain a function test result of the functional unit to be tested.
In this embodiment, the implementation manners of step S201 to step S202 are the same as the implementation manners of step S101 to step S102 in the embodiment shown in fig. 2 of this application, and the implementation manners of step S205 to step S206 are described in detail in step S103 in the embodiment shown in fig. 2, and are not described again.
It should be noted that, the method provided in this embodiment only introduces a process of decoding data sent by the functional unit to be tested, and in some cases, there is a process of performing corresponding encoding on data sent by the in-vehicle device, so as to send the data to the functional unit to be tested.
Fig. 9 is a schematic structural diagram of a vehicle functional unit testing device according to an embodiment of the present application, and as shown in fig. 9, a vehicle functional unit testing device 3 according to the present embodiment includes:
a first obtaining module 31, configured to obtain first test information, where the first test information is used to indicate a functional unit to be tested of a target vehicle;
the second obtaining module 32 is configured to obtain a controller local area network database file according to the first test information, where the controller local area network database file is used to represent a communication rule corresponding to a target network node in a controller local area network of a target vehicle, and the target network node is a network node corresponding to a functional unit to be tested;
and the encoding and decoding module 33 is configured to decode controller local area network bus data based on the controller local area network database file to generate target data, and obtain a function test result of the functional unit to be tested according to the target data, where the controller local area network bus data is data sent by a target network node through a controller local area network, and the target data represents functional data of the functional unit to be tested.
In a possible implementation manner, the encoding/decoding module 33 is specifically configured to, when decoding the controller area network bus data based on the controller area network database file to generate the target data: generating a conversion code file according to the controller local area network database file, wherein the conversion code file is used for converting the controller local area network bus data into target data; and running the conversion code file to generate target data corresponding to the controller local area network bus data.
In one possible implementation, the controller area network database file includes message information, and the message information represents a data structure of the controller area network bus data; when the codec module 33 generates the conversion code file according to the controller area network database file, it is specifically configured to: determining a signal field in the controller local area network bus data according to the message information, wherein the signal field is used for bearing the function data of the function testing unit; determining conversion information aiming at the signal information of the signal field, wherein the conversion information is used for representing a rule for converting the signal field; and generating a corresponding conversion code file according to the conversion information.
In a possible implementation manner, the controller area network bus data further includes parameter field information, and the parameter field information indicates a target network node identifier for sending the controller area network bus data.
In a possible implementation manner, the conversion code file comprises a statement file and a definition file, wherein the statement file represents a calling method of an analysis function, and the definition file represents an implementation method of the analysis function; when the codec module 33 runs the transcoding file to generate target data corresponding to the controller area network bus data, it is specifically configured to: based on the statement file, calling an analysis function, wherein the analysis function represents the mapping relation between the local area network bus data of the controller and the target data; and executing the definition of the analysis function based on the definition file, and converting the controller area network bus data into target data.
In a possible implementation manner, the controller area network bus data includes a signal field, the signal field is used to carry function data of the functional unit to be tested, the definition of the parsing function includes a rule for converting the signal field, and the codec module 33 is specifically configured to, when executing the definition of the parsing function based on the definition file and converting the controller area network bus data into target data: based on the definition of the analytic function, extracting field values of a plurality of subfields of the signal field, and converting the field values of the subfields to generate analytic data corresponding to the subfields; and combining the analysis data to generate target data.
In a possible implementation manner, when obtaining the function test result of the functional unit to be tested according to the target data, the encoding/decoding module 33 is specifically configured to: determining a target application corresponding to the target data; and running the target application based on the target data to obtain a function test result of the functional unit to be tested.
In one possible implementation, the target data includes a signal name identifier; when determining the target application corresponding to the target data, the encoding/decoding module 33 is specifically configured to: and determining the target application corresponding to the signal name identifier according to a preset mapping relation.
In a possible implementation manner, the second obtaining module 32 is specifically configured to: acquiring data format information according to the first test information, wherein the data format information represents a data format of functional data of a functional unit to be tested, which is required by running a target application; and generating a controller area network database file according to the data format information.
The first obtaining module 31, the second obtaining module 32 and the coding and decoding module 33 are connected in sequence. The vehicle function unit testing method provided by this embodiment may implement the technical solution of the method embodiment shown in any one of fig. 2 to 8, and the implementation principle and technical effect are similar, and are not described herein again.
Fig. 10 is a schematic view of an electronic device according to an embodiment of the present application, and as shown in fig. 10, an electronic device 4 according to the embodiment includes: a processor 41, and a memory 42 communicatively coupled to the processor 41.
Wherein the memory 42 stores computer-executable instructions;
the processor 41 executes the computer-executable instructions stored in the memory 42 to implement the vehicle functional unit testing method provided in any one of the embodiments corresponding to fig. 2-8 of the present application.
The memory 41 and the processor 42 are connected by a bus 43.
The relevant descriptions and effects corresponding to the steps in the embodiments corresponding to fig. 2 to fig. 8 can be understood, and are not described in detail herein.
One embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the vehicle functional unit testing method provided in any one of the embodiments corresponding to fig. 2 to 8 of the present application.
The computer readable storage medium may be, among others, ROM, Random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
One embodiment of the present application provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the computer program implements the vehicle functional unit testing method provided in any one of the embodiments corresponding to fig. 2 to 8 of the present application.
Fig. 11 is a block diagram of a terminal device according to an exemplary embodiment of the present application, where the terminal device 800 may be a car machine device in this embodiment, or other devices connected to a CAN network of a target vehicle, such as a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Terminal device 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the terminal device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the terminal device 800. Examples of such data include instructions for any application or method operating on terminal device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of terminal device 800. Power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for terminal device 800.
The multimedia component 808 includes a screen providing an output interface between the terminal device 800 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. When the terminal device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive an external audio signal when the terminal device 800 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
Sensor component 814 includes one or more sensors for providing various aspects of state assessment for terminal device 800. For example, sensor assembly 814 can detect an open/closed state of terminal device 800, the relative positioning of components, such as a display and keypad of terminal device 800, sensor assembly 814 can also detect a change in position of terminal device 800 or a component of terminal device 800, the presence or absence of user contact with terminal device 800, orientation or acceleration/deceleration of terminal device 800, and a change in temperature of terminal device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
Communication component 816 is configured to facilitate communications between terminal device 800 and other devices in a wired or wireless manner. The terminal device 800 may access a wireless network based on a communication standard, such as WiFi, 3G, 4G, 5G, or other standard communication networks, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, communications component 816 further includes a Near Field Communications (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the terminal device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the methods provided by any of the embodiments of fig. 2-8 of the present application.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the terminal device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
An embodiment of the present application further provides a non-transitory computer-readable storage medium, where instructions in the storage medium, when executed by a processor of a terminal device, enable the terminal device 800 to perform the method provided in any embodiment corresponding to fig. 2 to 8 of the present application.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of modules is merely a division of logical functions, and an actual implementation may have another division, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (12)

1. A vehicle functional unit testing method, characterized in that the method comprises:
acquiring first test information, wherein the first test information is used for indicating a functional unit to be tested of a target vehicle;
acquiring a controller local area network database file according to the first test information, wherein the controller local area network database file is used for representing a communication rule corresponding to a target network node in a controller local area network of the target vehicle, and the target network node is a network node corresponding to the functional unit to be tested;
and decoding controller local area network bus data based on the controller local area network database file to generate target data, and obtaining a function test result of the functional unit to be tested according to the target data, wherein the controller local area network bus data is data sent by the target network node through the controller local area network, and the target data represents the functional data of the functional unit to be tested.
2. The method of claim 1, wherein decoding controller area network bus data based on the controller area network database file to generate target data comprises:
generating a conversion code file according to the controller area network database file, wherein the conversion code file is used for converting the controller area network bus data into target data;
and operating the conversion code file to generate target data corresponding to the controller local area network bus data.
3. The method of claim 2, wherein the controller area network database file includes message information characterizing a data structure of the controller area network bus data;
generating a conversion code file according to the controller area network database file comprises the following steps:
determining a signal field in the controller area network bus data according to the message information, wherein the signal field is used for bearing the function data of the function testing unit;
determining conversion information aiming at the signal information of the signal field, wherein the conversion information is used for representing a rule for converting the signal field;
and generating a corresponding conversion code file according to the conversion information.
4. The method of claim 3, wherein the controller area network bus data further comprises parameter field information characterizing an identity of a target network node sending the controller area network bus data.
5. The method of claim 2, wherein the translation code file comprises a declaration file that characterizes a calling method of the parsing function and a definition file that characterizes an implementation method of the parsing function;
operating the conversion code file to generate target data corresponding to the controller local area network bus data, wherein the target data comprises:
based on the statement file, calling an analysis function, wherein the analysis function represents the mapping relation between the controller local area network bus data and the target data;
and executing the definition of the analysis function based on the definition file, and converting the controller area network bus data into the target data.
6. The method of claim 5, wherein the controller area network bus data comprises a signal field for carrying function data of the functional unit under test, and the definition of the parsing function comprises a rule for converting the signal field,
the executing the definition of the parsing function based on the definition file to convert the controller area network bus data into the target data includes:
extracting field values of a plurality of subfields of the signal field based on the definition of the analytic function, and converting the field values of the subfields to generate analytic data corresponding to the subfields;
and combining the analysis data to generate the target data.
7. The method of claim 1, wherein obtaining the functional test result of the functional unit under test according to the target data comprises:
determining a target application corresponding to the target data;
and running the target application based on the target data to obtain a function test result of the functional unit to be tested.
8. The method of claim 7, wherein the target data includes a signal name identifier;
determining a target application corresponding to the target data, including:
and determining the target application corresponding to the signal name identifier according to a preset mapping relation.
9. The method according to any one of claims 1-8, wherein said obtaining a controller area network database file according to the first test information comprises:
acquiring data format information according to the first test information, wherein the data format information represents a data format of functional data of the functional unit to be tested, which is required by running a target application;
and generating the controller local area network database file according to the data format information.
10. A vehicle functional unit testing apparatus, comprising:
the system comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module is used for acquiring first test information which is used for indicating a functional unit to be tested of a target vehicle;
a second obtaining module, configured to obtain a controller local area network database file according to the first test information, where the controller local area network database file is used to represent a communication rule corresponding to a target network node in a controller local area network of the target vehicle, and the target network node is a network node corresponding to the functional unit to be tested;
and the coding and decoding module is used for decoding controller local area network bus data based on the controller local area network database file to generate target data and obtaining a function test result of the functional unit to be tested according to the target data, wherein the controller local area network bus data is data sent by the target network node through the controller local area network, and the target data represents the function data of the functional unit to be tested.
11. An electronic device, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored by the memory to implement the vehicle functional unit testing method of any of claims 1-9.
12. A computer-readable storage medium having computer-executable instructions stored thereon for implementing the vehicle functional unit testing method of any one of claims 1 to 9 when executed by a processor.
CN202210068845.9A 2022-01-21 2022-01-21 Vehicle function unit testing method and device, electronic equipment and storage medium Active CN114095405B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210068845.9A CN114095405B (en) 2022-01-21 2022-01-21 Vehicle function unit testing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210068845.9A CN114095405B (en) 2022-01-21 2022-01-21 Vehicle function unit testing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114095405A true CN114095405A (en) 2022-02-25
CN114095405B CN114095405B (en) 2022-04-15

Family

ID=80309111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210068845.9A Active CN114095405B (en) 2022-01-21 2022-01-21 Vehicle function unit testing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114095405B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114815786A (en) * 2022-06-24 2022-07-29 江西五十铃汽车有限公司 Test method and system for simulating alarm function triggering and electronic equipment
CN115314428A (en) * 2022-06-24 2022-11-08 合众新能源汽车有限公司 Vehicle CAN network testing method and system, electronic device and storage medium
CN115571072A (en) * 2022-10-24 2023-01-06 中国第一汽车股份有限公司 Mode conversion method and device for head-up display, electronic equipment and storage medium
CN115933584A (en) * 2022-10-27 2023-04-07 成都赛力斯科技有限公司 Vehicle-mounted controller testing system and method, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106338978A (en) * 2015-07-04 2017-01-18 杭州富阳恒泰汽车电器有限公司 CAN bus communication function test system and test method thereof
CN107666476A (en) * 2017-05-25 2018-02-06 国家计算机网络与信息安全管理中心 A kind of CAN risk checking method and device
CN111445751A (en) * 2020-04-17 2020-07-24 江苏桅杆电子科技有限公司 Automobile electric control simulation system and method
CN112685031A (en) * 2020-12-31 2021-04-20 江苏兴邦能源科技有限公司 Analysis method and system for DBC file of fuel cell test system
US20210178996A1 (en) * 2019-12-13 2021-06-17 Ut-Battelle, Llc Controller area network decoder (can-d)

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106338978A (en) * 2015-07-04 2017-01-18 杭州富阳恒泰汽车电器有限公司 CAN bus communication function test system and test method thereof
CN107666476A (en) * 2017-05-25 2018-02-06 国家计算机网络与信息安全管理中心 A kind of CAN risk checking method and device
US20210178996A1 (en) * 2019-12-13 2021-06-17 Ut-Battelle, Llc Controller area network decoder (can-d)
CN111445751A (en) * 2020-04-17 2020-07-24 江苏桅杆电子科技有限公司 Automobile electric control simulation system and method
CN112685031A (en) * 2020-12-31 2021-04-20 江苏兴邦能源科技有限公司 Analysis method and system for DBC file of fuel cell test system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114815786A (en) * 2022-06-24 2022-07-29 江西五十铃汽车有限公司 Test method and system for simulating alarm function triggering and electronic equipment
CN115314428A (en) * 2022-06-24 2022-11-08 合众新能源汽车有限公司 Vehicle CAN network testing method and system, electronic device and storage medium
CN115571072A (en) * 2022-10-24 2023-01-06 中国第一汽车股份有限公司 Mode conversion method and device for head-up display, electronic equipment and storage medium
CN115933584A (en) * 2022-10-27 2023-04-07 成都赛力斯科技有限公司 Vehicle-mounted controller testing system and method, computer equipment and storage medium
CN115933584B (en) * 2022-10-27 2024-06-11 重庆赛力斯凤凰智创科技有限公司 Vehicle-mounted controller testing system, method, computer equipment and storage medium

Also Published As

Publication number Publication date
CN114095405B (en) 2022-04-15

Similar Documents

Publication Publication Date Title
CN114095405B (en) Vehicle function unit testing method and device, electronic equipment and storage medium
CN115185717B (en) Interface calling method and device, electronic equipment and storage medium
CN114328482A (en) Data processing method, device, storage medium and program product
CN111338971B (en) Application testing method and device, electronic equipment and storage medium
CN111767058A (en) Program compiling method and device, electronic equipment and storage medium
CN115062046A (en) Database query method and device, electronic equipment and storage medium
CN110418181B (en) Service processing method and device for smart television, smart device and storage medium
CN109684112B (en) Program file operation method, device, terminal and storage medium
CN111061452A (en) Voice control method and device of user interface
US10958726B2 (en) Method of synchronizing device list in a smart network system, apparatus, and computer storage medium thereof
CN111488267B (en) Interface test script generation method and device and electronic equipment
CN111552606B (en) Data processing method and device and electronic equipment
CN111147530B (en) System, switching method, intelligent terminal and storage medium of multi-voice platform
CN111209195A (en) Method and device for generating test case
CN115562657A (en) Object code generation method, device and equipment
CN113626321B (en) Bridging test method, device, system and storage medium
CN114896165A (en) Testing method and device of conversation robot system, electronic equipment and storage medium
CN114428737A (en) Communication method, device, equipment and storage medium based on micro service system
CN114422472A (en) Network address conversion method and device and electronic equipment
CN111770236B (en) Conversation processing method, device, system, server and storage medium
CN113420531A (en) Code text conversion method and device and storage medium
CN112783510A (en) Data calling method and device, electronic equipment and storage medium
CN112530435A (en) Data transmission method, device and system, readable storage medium and electronic equipment
JP2019091444A (en) Processing method of smart interactive, device, facility and computer storage medium
CN113553040B (en) Registration realization method, device, equipment and medium for visible and spoken identification function

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