CN113468070A - Consistency test method for vehicle-mounted Ethernet - Google Patents

Consistency test method for vehicle-mounted Ethernet Download PDF

Info

Publication number
CN113468070A
CN113468070A CN202110836422.2A CN202110836422A CN113468070A CN 113468070 A CN113468070 A CN 113468070A CN 202110836422 A CN202110836422 A CN 202110836422A CN 113468070 A CN113468070 A CN 113468070A
Authority
CN
China
Prior art keywords
test
target
vehicle
interface
mounted ethernet
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.)
Pending
Application number
CN202110836422.2A
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 Yingheng Electronic Co ltd
Original Assignee
Shanghai Yingheng Electronic 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 Yingheng Electronic Co ltd filed Critical Shanghai Yingheng Electronic Co ltd
Priority to CN202110836422.2A priority Critical patent/CN113468070A/en
Publication of CN113468070A publication Critical patent/CN113468070A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Small-Scale Networks (AREA)

Abstract

The embodiment of the application provides a consistency test method of a vehicle-mounted Ethernet, which is characterized in that at least one piece of interface information required to be used in the communication process of target equipment and a target ECU is obtained, the target equipment is simulated to be communicated with the target ECU through a vehicle-mounted Ethernet test tool according to the at least one piece of interface information, a test result is generated, the consistency test of the vehicle-mounted Ethernet is realized, the test cost is reduced, and the test efficiency and the test accuracy are improved.

Description

Consistency test method for vehicle-mounted Ethernet
Technical Field
The embodiment of the application relates to the technical field of vehicle testing, in particular to a consistency testing method and device for a vehicle-mounted Ethernet, electronic equipment and a storage medium.
Background
The continuous innovation of Advanced Driving Assistance System (ADAS) technology, high-quality vehicle-mounted video entertainment system, automatic driving technology combining big data and cloud computing, and the like, and the application in the field of automobiles accelerate the networking and intelligentization of automobiles, so that the capacity requirement of the vehicle-mounted network of the automobiles is increased explosively, which far exceeds the capacity of the traditional automobile bus controller local area network (CAN) and Local Interconnect Network (LIN), and under the background, the vehicle-mounted ethernet is produced and the rapid development is achieved.
The SOME/IP (fully: scalable service-oriented middleware IP) is a service-oriented scalable middleware based on Internet Protocol (IP), is an intermediate technology specially applied to the field of automobiles, and is mainly used for controlling message communication in a vehicle-mounted ethernet. In order to ensure interoperability between communication devices using ethernet in an automobile, it is necessary to verify the implementation of the on-board ethernet and the compliance of the protocol standards by a compliance test.
In the prior art, the consistency test of the vehicle-mounted Ethernet is mainly carried out manually, and due to the characteristic of high bandwidth of the Ethernet, the consistency test of the vehicle-mounted Ethernet is carried out manually, which is very tedious and time-consuming work, so that the problems of high test efficiency and high error rate exist when the consistency test of the vehicle-mounted Ethernet is carried out.
Disclosure of Invention
The embodiment of the application provides a consistency testing method and device for a vehicle-mounted Ethernet, electronic equipment and a storage medium, and aims to solve the problems of high testing efficiency and high error rate in the prior art.
In a first aspect, an embodiment of the present application provides a method for testing consistency of a vehicle-mounted ethernet, including:
acquiring at least one interface information required to be used in the communication process of target equipment and a target Electronic Control Unit (ECU);
and simulating the target equipment to communicate with the target ECU through a vehicle-mounted Ethernet test tool according to the at least one interface information to generate a test result.
Optionally, the simulating, by the vehicle-mounted ethernet test tool, the target device to communicate with the target ECU according to the at least one piece of interface information includes:
generating a test script according with the grammar rule of the vehicle-mounted Ethernet test tool according to the at least one interface information;
and associating the test script with the vehicle-mounted Ethernet test tool so that the vehicle-mounted Ethernet test tool communicates with the target ECU according to the test script.
Optionally, the associating the test script with the vehicle-mounted ethernet test tool includes:
and storing the test script under a target path, and sending the target path to the vehicle-mounted Ethernet test tool.
Optionally, the generating a test result includes:
determining a target test case according to the at least one interface information, wherein the target test case comprises the at least one interface information;
and running the target test case to generate a test result.
Optionally, the running the target test case to generate a test result includes:
acquiring a first test value and a second test value which are generated in the communication process of the vehicle-mounted Ethernet test tool and the target ECU and are related to a target interface, wherein the first test value is from the vehicle-mounted Ethernet test tool, and the second test value is from a debugger connected with the target ECU;
and obtaining a test result of the target interface by comparing whether the first test value is consistent with the second test value.
Optionally, the acquiring at least one interface information that needs to be used in a communication process between the target device and the target ECU includes:
acquiring at least one interface identifier required to be used in the communication process of the target equipment and the target ECU;
and obtaining at least one piece of interface information by matching the at least one interface identifier with the interface information in an interface list, wherein the interface list comprises information of all communication interfaces.
Optionally, the method further comprises:
and generating a visual test report based on the test result.
In a second aspect, an embodiment of the present application provides a device for testing consistency of a vehicle-mounted ethernet, including:
the acquisition module is used for acquiring at least one piece of interface information required to be used in the communication process of the target equipment and the target Electronic Control Unit (ECU);
and the processing module is used for simulating the target equipment to communicate with the target ECU through a vehicle-mounted Ethernet test tool according to the at least one piece of interface information to generate a test result.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the method for testing consistency of the in-vehicle ethernet network according to the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for testing consistency of the in-vehicle ethernet network according to the first aspect.
According to the consistency test method and device for the vehicle-mounted Ethernet, the electronic equipment and the storage medium, the at least one interface information which is needed to be used in the communication process of the target equipment and the target ECU is obtained, the target equipment is simulated to be communicated with the target ECU through the vehicle-mounted Ethernet test tool according to the at least one interface information, the test result is generated, the consistency test for the vehicle-mounted Ethernet is achieved, the test cost is reduced, and the test efficiency and the test accuracy are improved.
Drawings
Fig. 1 is a schematic flowchart of a consistency testing method for a vehicle-mounted ethernet according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a consistency testing method for a CANoe tool-based vehicle ethernet according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a consistency testing apparatus for a vehicle-mounted ethernet according to a second embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to a third embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures.
The main ideas of the technical scheme are as follows: based on the technical problems in the prior art, the embodiments of the present application provide an automatic test scheme for a vehicle-mounted ethernet based on SOME/IP, where a platform-based test system is developed in advance based on SOME/IP, and a corresponding operation flow is executed by the test system, specifically, relevant information of an interface that needs to be used in a communication process between a target device and a target Electronic Control Unit (ECU) is obtained, and a vehicle-mounted ethernet test tool is called to simulate the communication between the target device and the target ECU. Compared with the prior art, the test time is greatly reduced, the test efficiency is improved, errors in manual test are eliminated, the test accuracy is improved, and the labor cost required by the test is reduced.
Example one
Fig. 1 is a schematic flowchart of a consistency testing method for a vehicle-mounted ethernet according to an embodiment of the present application, where the method of the present embodiment may be executed by a consistency testing apparatus for a vehicle-mounted ethernet according to an embodiment of the present application, and the apparatus may be implemented by software and/or hardware and may be integrated in an electronic device such as a computer. As shown in fig. 1, the method for testing the consistency of the vehicle-mounted ethernet in this embodiment includes:
s101, acquiring at least one piece of interface information required to be used in the communication process of the target device and the target ECU.
In this step, after the target device and the target ECU used in the test are determined, interface information required to be used in the communication process between the target device and the target ECU is obtained, and the number of the interface information is at least one, so that the subsequent test work can be conveniently carried out.
The interface information is related information of an interface required to be used in a communication process between the target device and the target ECU, such as an interface identifier, a structural body, a variable, an array, and the like. The target ECU is any one ECU in the vehicle, and one of the plurality of ECUs in the vehicle can be selected as the target ECU according to actual conditions in the actual test process. The target device may be an ECU other than the target ECU, or may be other devices in the vehicle that can communicate with the target ECU, such as meters and sensors.
In a possible implementation manner, in this step, by obtaining an interface identifier of at least one interface that needs to be used in the communication process between the target device and the target ECU, the interface information of the at least one interface is obtained by matching the at least one interface identifier with the interface information in the interface list.
The interface list may be a pre-generated file including information of all communication interfaces in the vehicle, and may be stored in the memory, where the interface list includes not only ethernet interface information, but also information of interfaces such as a Controller Area Network (CAN), a Local Interconnect Network (LIN), and the like. The file format of the interface list is not limited here, and may be a file in an excel format, a file in an xml format, or the like.
In this embodiment, the interface information of each interface is obtained by matching the acquired interface identifier with the interface information in the interface list and screening the interface in the interface list matched with the interface identifier.
It can be understood that the interface identifier that needs to be used in the communication process between the target device and the target ECU may be determined according to the input operation of the user on the human-computer interaction interface, or the required interface may be automatically matched based on the communication flow according to the determined target device and the determined target ECU to obtain the interface identifier, and the obtaining mode of the interface identifier may be set according to the actual situation, which is not limited herein.
And S102, simulating the target equipment to communicate with the target ECU through the vehicle-mounted Ethernet test tool according to the at least one piece of interface information, and generating a test result.
In this step, a vehicle-mounted ethernet test tool is called according to the interface information acquired in S101, and based on the SOME/IP, the vehicle-mounted ethernet test tool simulates the target device to communicate with the target ECU, so as to obtain a test result of this test, that is, whether the communication implementation effect between the target device and the target ECU is consistent with the protocol standard, thereby implementing a consistency test of the communication between the target device and the target ECU.
The vehicle-mounted Ethernet test tool can be any tool capable of performing Ethernet simulation test, and is mainly used for simulating target equipment communicating with a target ECU (electronic control Unit), specifically, simulating a message format and a communication behavior in the communication process of the target equipment and the target ECU, so that the consistency test of the communication between the target equipment and the target ECU is realized. Illustratively, the vehicle-mounted ethernet test tool is a controller area network environment (CANoe) tool, and the CANoe tool has ethernet and SOME/IP template engineering therein, and has functions of network monitoring, data acquisition/recording, node simulation/diagnosis, automatic test, and the like.
It should be noted that, in this embodiment, the vehicle-mounted ethernet testing tool is installed in advance on the electronic device executing the technical solution of the present application, so that the ethernet testing tool can be directly invoked in this step.
In a possible implementation manner, in the step, a test script conforming to the grammar rule of the vehicle-mounted Ethernet test tool is automatically generated according to at least one piece of interface information; and associating the test script with the vehicle-mounted Ethernet test tool so that the vehicle-mounted Ethernet test tool communicates with the target ECU according to the test script to realize the consistency test of communication.
For example, if the network test tool is a CANoe tool, the generated test script must use a CANoe tool script language, i.e., a controller area network access programming (CAPL) test script, to meet the use requirement of the CANoe tool. Accordingly, in this embodiment, the association between the test script and the CANoe tool is realized by storing the CAPL test script under the target path and sending the target path to the CANoe tool, specifically, after receiving the target path, the CANoe tool obtains the ethernet information matrix file, establishes a network node in the template engineering, associates the target path under the node, realizes the establishment of the ethernet test engineering, and then performs analog communication with the target ECU according to the established ethernet test engineering.
The target path refers to a path for storing the generated test script, and is usually a certain determined location in the memory, and the corresponding test script can be found through the route target path.
In a possible implementation manner, in this step, a target test case is screened from the candidate test cases according to at least one piece of interface information, where the target test case is a test case including the interface information determined in S101, so as to ensure that each interface used in the communication process between the target device and the target ECU can be traversed when the test is executed, and the integrity and the reliability of the test are ensured. After the target test case is screened out, the target test case is selected and operated, and then a corresponding test result can be obtained.
Illustratively, taking one of the interfaces (called a target interface for easy distinction) as an example, the principle of generating the test result through the target test case is as follows: acquiring a first test value and a second test value which are generated in the communication process of a vehicle-mounted Ethernet test tool and a target ECU and are related to a target interface, wherein the first test value is from the vehicle-mounted Ethernet test tool, and the second test value is from a debugger connected with the target ECU; and obtaining a test result of the target interface by comparing whether the first test value is consistent with the second test value. The first test value and the second test value of each interface are respectively obtained, and whether the first test value is consistent with the second test value is compared, so that test results of all the interfaces can be obtained, and the test of the condition of the interface used by the vehicle-mounted Ethernet in the communication process of the target equipment and the target ECU is realized.
Wherein, first test value is the receiving and dispatching signal value of on-vehicle ethernet testing tool, and the second test value is the receiving and dispatching signal value of target ECU, because outside target ECU is independent of equipment, can't directly acquire the receiving and dispatching information value that it produced, consequently, through setting up the debugger that is connected with target ECU among this embodiment to state through debugger monitoring target ECU obtains the second test value.
It is understood that, in the present embodiment, the test may be performed a plurality of times by repeating the above-described S101 to S102 by replacing the target ECU, thereby implementing the consistency test on the entire vehicle-mounted ethernet.
Optionally, after S102, the method of this embodiment further includes: and generating a visual test report based on the obtained test result, and displaying the visual test report so as to facilitate the user to check the test result and improve the use experience of the user.
Taking a CANoe tool as an example, fig. 2 is a schematic flow chart of a consistency testing method for a vehicle-mounted ethernet based on a CANoe tool according to an embodiment of the present application, as shown in fig. 2. In the testing process, firstly, obtaining and analyzing an interface list according to a pre-configured initialization file, wherein the interface list can be an ARXML file, then, matching the interface list with an interface identification file (such as an excel file) required to be used in the test, obtaining at least one interface information required to be used in the test by judging whether an interface in the interface list is a target interface in the interface identification file, generating a CAPL test script according to the obtained interface information of all target interfaces, configuring and burning a target ECU based on the CAPL test script, finally, starting the CANoe tool, calling an Application Programming Interface (API) of a debugger through the CANoe tool, adding an interface variable and carrying out value taking/assignment on the interface variable, realizing the consistency test of the target ECU, in the testing process, and running a related test case, comparing the value obtained by the debugger with the value at the CANoe position to obtain a test result, and generating a test report.
It should be noted that, to ensure that the embodiment described above can be smoothly developed, before starting the test, a corresponding test environment needs to be established, that is, a platform-based test system is developed, taking a CANoe tool as an example, the following programming languages are mainly involved in the development process:
(1) python: the method is used for building the whole framework and realizing interface calling;
(2) CANoe CAPL: the test case for realizing the internal use of the CANoe is generated by a python tool;
(3) perl: the method is used for visualizing the test result and generating a hypertext Markup Language (HTML) test report.
In the embodiment, the consistency test of the vehicle-mounted Ethernet is realized by acquiring the at least one interface information required to be used in the communication process of the target equipment and the target ECU, simulating the communication between the target equipment and the target ECU through the vehicle-mounted Ethernet test tool according to the at least one interface information, and generating the test result, so that the test cost is reduced, and the test efficiency and the test accuracy are improved.
Example two
Fig. 3 is a schematic structural diagram of a consistency testing apparatus for a vehicle-mounted ethernet according to a second embodiment of the present application, and as shown in fig. 3, a consistency testing apparatus 10 for a vehicle-mounted ethernet according to the present embodiment includes:
an acquisition module 11 and a processing module 12.
The acquisition module 11 is used for acquiring at least one piece of interface information required to be used in the communication process between the target device and the target electronic control unit ECU;
and the processing module 12 is configured to simulate, by using a vehicle-mounted ethernet test tool, the target device to communicate with the target ECU according to the at least one piece of interface information, and generate a test result.
Optionally, the processing module 12 is specifically configured to:
generating a test script according with the grammar rule of the vehicle-mounted Ethernet test tool according to the at least one interface information;
and associating the test script with the vehicle-mounted Ethernet test tool so that the vehicle-mounted Ethernet test tool communicates with the target ECU according to the test script.
Optionally, the processing module 12 is specifically configured to:
and storing the test script under a target path, and sending the target path to the vehicle-mounted Ethernet test tool.
Optionally, the processing module 12 is specifically configured to:
determining a target test case according to the at least one interface information, wherein the target test case comprises the at least one interface information;
and running the target test case to generate a test result.
Optionally, the processing module 12 is specifically configured to:
acquiring a first test value and a second test value which are generated by the vehicle-mounted Ethernet test tool and related to a target interface in the communication process of the vehicle-mounted Ethernet test tool and the target ECU, wherein the first test value is generated by the vehicle-mounted Ethernet test tool, and the second test value is generated by a debugger connected with the target ECU;
and obtaining a test result of the target interface by comparing whether the first test value is consistent with the second test value.
Optionally, the obtaining module 11 is specifically configured to:
acquiring at least one interface identifier required to be used in the communication process of the target equipment and the target ECU;
and obtaining at least one piece of interface information by matching the at least one interface identifier with the interface information in an interface list, wherein the interface list comprises information of all communication interfaces.
Optionally, the processing module 12 is further configured to:
and generating a visual test report based on the test result.
The consistency testing device for the vehicle-mounted Ethernet provided by the embodiment can execute the consistency testing method for the vehicle-mounted Ethernet provided by the embodiment of the method, and has corresponding functional modules and beneficial effects of the execution method. The implementation principle and technical effect of this embodiment are similar to those of the above method embodiments, and are not described in detail here.
EXAMPLE III
Fig. 4 is a schematic structural diagram of an electronic device according to a third embodiment of the present application, as shown in fig. 4, the electronic device 20 includes a memory 21, a processor 22, and a computer program stored in the memory and executable on the processor; the number of the processors 22 of the electronic device 20 may be one or more, and one processor 22 is taken as an example in fig. 4; the processor 22 and the memory 21 in the electronic device 20 may be connected by a bus or other means, and fig. 4 illustrates the connection by the bus as an example.
The memory 21 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the acquisition module 11 and the processing module 12 in the embodiment of the present application. The processor 22 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory 21, that is, implements the above-described consistency testing method for the vehicle ethernet.
The memory 21 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 21 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 21 may further include memory located remotely from processor 22, which may be connected to devices through a grid. Examples of such a mesh include, but are not limited to, the internet, an intranet, a local area network, a mobile communications network, and combinations thereof.
Example four
A fourth embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, the computer program, when being executed by a computer processor, is configured to perform a method for conformance testing of an in-vehicle ethernet network, the method including:
acquiring at least one interface information required to be used in the communication process of target equipment and a target Electronic Control Unit (ECU);
and simulating the target equipment to communicate with the target ECU through a vehicle-mounted Ethernet test tool according to the at least one interface information to generate a test result.
Of course, the computer program of the computer-readable storage medium provided in this embodiment of the present application is not limited to the method operations described above, and may also perform related operations in the consistency testing method for the vehicle ethernet network provided in any embodiment of the present application.
From the above description of the embodiments, it is obvious for those skilled in the art that the present application can be implemented by software and necessary general hardware, and certainly can be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a grid device) to execute the methods described in the embodiments of the present application.
It should be noted that, in the embodiment of the consistency testing apparatus for a vehicle-mounted ethernet, the units and modules included in the embodiment are only divided according to functional logic, but are not limited to the above division, as long as corresponding functions can be implemented; in addition, specific names of the functional units are only used for distinguishing one functional unit from another, and are not used for limiting the protection scope of the application.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims (10)

1. A consistency test method for a vehicle-mounted Ethernet is characterized by comprising the following steps:
acquiring at least one interface information required to be used in the communication process of target equipment and a target Electronic Control Unit (ECU);
and simulating the target equipment to communicate with the target ECU through a vehicle-mounted Ethernet test tool according to the at least one interface information to generate a test result.
2. The method of claim 1, wherein simulating, by the on-board ethernet test tool, the target device to communicate with the target ECU according to the at least one interface information comprises:
generating a test script according with the grammar rule of the vehicle-mounted Ethernet test tool according to the at least one interface information;
and associating the test script with the vehicle-mounted Ethernet test tool so that the vehicle-mounted Ethernet test tool communicates with the target ECU according to the test script.
3. The method of claim 2, wherein associating the test script with the in-vehicle ethernet test tool comprises:
and storing the test script under a target path, and sending the target path to the vehicle-mounted Ethernet test tool.
4. The method of claim 1, wherein generating the test results comprises:
determining a target test case according to the at least one interface information, wherein the target test case comprises the at least one interface information;
and running the target test case to generate a test result.
5. The method of claim 4, wherein the running the target test case and generating the test result comprises:
acquiring a first test value and a second test value which are generated in the communication process of the vehicle-mounted Ethernet test tool and the target ECU and are related to a target interface, wherein the first test value is from the vehicle-mounted Ethernet test tool, and the second test value is from a debugger connected with the target ECU;
and obtaining a test result of the target interface by comparing whether the first test value is consistent with the second test value.
6. The method according to claim 1, wherein the obtaining at least one interface information required to be used by the target device in communication with the target ECU comprises:
acquiring at least one interface identifier required to be used in the communication process of the target equipment and the target ECU;
and obtaining at least one piece of interface information by matching the at least one interface identifier with the interface information in an interface list, wherein the interface list comprises information of all communication interfaces.
7. The method according to any one of claims 1-6, further comprising:
and generating a visual test report based on the test result.
8. A consistency test device of a vehicle-mounted Ethernet is characterized by comprising:
the acquisition module is used for acquiring at least one piece of interface information required to be used in the communication process of the target equipment and the target Electronic Control Unit (ECU);
and the processing module is used for simulating the target equipment to communicate with the target ECU through a vehicle-mounted Ethernet test tool according to the at least one piece of interface information to generate a test result.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method for conformance testing of vehicular ethernet according to any of claims 1-7 when executing the program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method for conformance testing of an in-vehicle ethernet network according to any of claims 1 to 7.
CN202110836422.2A 2021-07-23 2021-07-23 Consistency test method for vehicle-mounted Ethernet Pending CN113468070A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110836422.2A CN113468070A (en) 2021-07-23 2021-07-23 Consistency test method for vehicle-mounted Ethernet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110836422.2A CN113468070A (en) 2021-07-23 2021-07-23 Consistency test method for vehicle-mounted Ethernet

Publications (1)

Publication Number Publication Date
CN113468070A true CN113468070A (en) 2021-10-01

Family

ID=77882072

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110836422.2A Pending CN113468070A (en) 2021-07-23 2021-07-23 Consistency test method for vehicle-mounted Ethernet

Country Status (1)

Country Link
CN (1) CN113468070A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115032969A (en) * 2022-06-27 2022-09-09 中国第一汽车股份有限公司 Ethernet test system of vehicle-mounted controller
CN115412459A (en) * 2022-08-31 2022-11-29 重庆长安汽车股份有限公司 Ring network testing method, system and equipment of vehicle-mounted Ethernet
CN116074216A (en) * 2023-01-09 2023-05-05 中国第一汽车股份有限公司 Test method and test device for vehicle-mounted Ethernet physical layer and cloud server
CN116401146A (en) * 2023-01-16 2023-07-07 宁德时代(上海)智能科技有限公司 Data interaction method and device, storage medium, server and vehicle

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115032969A (en) * 2022-06-27 2022-09-09 中国第一汽车股份有限公司 Ethernet test system of vehicle-mounted controller
CN115412459A (en) * 2022-08-31 2022-11-29 重庆长安汽车股份有限公司 Ring network testing method, system and equipment of vehicle-mounted Ethernet
CN115412459B (en) * 2022-08-31 2023-06-02 重庆长安汽车股份有限公司 Ring network testing method, system and equipment for vehicle-mounted Ethernet
CN116074216A (en) * 2023-01-09 2023-05-05 中国第一汽车股份有限公司 Test method and test device for vehicle-mounted Ethernet physical layer and cloud server
CN116401146A (en) * 2023-01-16 2023-07-07 宁德时代(上海)智能科技有限公司 Data interaction method and device, storage medium, server and vehicle
CN116401146B (en) * 2023-01-16 2023-12-22 宁德时代(上海)智能科技有限公司 Data interaction method and device, storage medium, server and vehicle

Similar Documents

Publication Publication Date Title
CN113468070A (en) Consistency test method for vehicle-mounted Ethernet
CN111159049B (en) Automatic interface testing method and system
US9201764B2 (en) Method and device for creating and testing a control unit program
EP3761605B1 (en) Vehicle diagnosis method, related device and system
JP2017106911A (en) Device for supplying data to hardware-in-the-loop simulator
WO2022120717A1 (en) Simulation task scheduling method, execution method, simulation implementation method and device
CN109918302B (en) Vehicle-mounted automatic testing method and device, vehicle-mounted multimedia system and automobile
CN107370637B (en) Vehicle-mounted ECU communication function automatic test system and method
CN111897724A (en) Automatic testing method and device suitable for cloud platform
CN113791605A (en) Test method, device, equipment and storage medium
CN114326672A (en) ECU simulation detection method, electronic device and storage medium
CN114997101A (en) Signal control method, system, medium and device based on chip verification system
CN111506501B (en) Method and device for generating test instruction set and electronic equipment
CN115118577B (en) Remote upgrade abnormality cause determination method, device, electronic equipment and storage medium
CN115542875A (en) Vehicle detection method based on SOA service and related equipment
CN117597669A (en) Test method, system and device
CN113985849A (en) Method for writing DTC (digital control channel) read ECU (electronic control unit) version of automatic clear-reading whole vehicle based on CANoe software
CN108829081B (en) Control system test method and system
CN117439833A (en) Data conversion method and device of vehicle-mounted bus, electronic equipment and storage medium
CN115933584B (en) Vehicle-mounted controller testing system, method, computer equipment and storage medium
CN118092210A (en) Message processing method, device, electronic equipment and medium
CN114816427A (en) Interface generation method and device based on automobile open system architecture
CN117155818A (en) Real vehicle testing method, system and medium based on SOA service
CN115470711A (en) Intelligent test method and device for vehicle, vehicle and storage medium
CN116828522A (en) Test method, test device, electronic equipment and computer readable storage medium

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