CN113791605B - Test method, device, equipment and storage medium - Google Patents

Test method, device, equipment and storage medium Download PDF

Info

Publication number
CN113791605B
CN113791605B CN202111067037.2A CN202111067037A CN113791605B CN 113791605 B CN113791605 B CN 113791605B CN 202111067037 A CN202111067037 A CN 202111067037A CN 113791605 B CN113791605 B CN 113791605B
Authority
CN
China
Prior art keywords
diagnosis
tested
ecu
user
test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111067037.2A
Other languages
Chinese (zh)
Other versions
CN113791605A (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.)
FAW Jiefang Automotive Co Ltd
Original Assignee
FAW Jiefang Automotive 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 FAW Jiefang Automotive Co Ltd filed Critical FAW Jiefang Automotive Co Ltd
Priority to CN202111067037.2A priority Critical patent/CN113791605B/en
Publication of CN113791605A publication Critical patent/CN113791605A/en
Application granted granted Critical
Publication of CN113791605B publication Critical patent/CN113791605B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics

Abstract

The application discloses a testing method, a testing device, testing equipment and a storage medium. The method comprises the following steps: acquiring a target ECU to be tested and a VCI selected by a user; the technical scheme of the application can be used for establishing the ECU to be tested, simulating bus electric control data generated by the ECU to be tested in the using process, testing the ECU to be tested, greatly improving the vehicle research and development efficiency, shortening the research and development period and providing powerful support for the whole vehicle research and development.

Description

Test method, device, equipment and storage medium
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a testing method, a testing device, testing equipment and a storage medium.
Background
The whole vehicle comprises a plurality of ECUs for respectively controlling different electric control functions of the vehicle, all ECUs of the vehicle are respectively connected into different buses of the vehicle, and a data communication network in the vehicle is generally formed by a plurality of CAN buses. However, for these electronic control tests, it is always difficult to detect the vehicle, and some controllers need to generate data only in the running state of the vehicle, and some data need to be generated only under special conditions. Detection of vehicle electrical control systems has been a problem in the industry, typically with small devices connected to the vehicle in motion, and technicians operating the devices and recording data in the form. This approach is not only labor-consuming, but also has potential safety hazards in driving, and it is difficult to simulate the extreme data required for an experiment during normal driving.
Disclosure of Invention
The embodiment of the application provides a testing method, a device, equipment and a storage medium, which are used for realizing the establishment of an ECU to be tested, simulating bus electric control data generated by the ECU to be tested in the using process, testing the ECU to be tested, greatly improving the vehicle research and development efficiency, shortening the research and development period and providing powerful support for the whole vehicle research and development.
In a first aspect, an embodiment of the present application provides a testing method, including:
acquiring a target ECU to be tested and a VCI selected by a user;
and establishing connection with diagnostic equipment based on the VCI selected by the user so as to enable the diagnostic equipment to test the target ECU to be tested.
In a second aspect, an embodiment of the present application further provides a testing device, including:
the acquisition module is used for acquiring the target ECU to be tested and the VCI selected by the user;
and the testing module is used for establishing connection with the diagnosis equipment based on the VCI selected by the user so as to enable the diagnosis equipment to test the target ECU to be tested.
Further, the obtaining module is specifically configured to:
and if the selection operation of the user on the target ECU to be tested in the diagnosis test engineering is detected, acquiring the target ECU to be tested corresponding to the selection operation.
In a third aspect, an embodiment of the present application further provides a computer device, including a memory, a processor, and a computer program stored on the memory and capable of running on the processor, where the processor implements the test method according to any one of the embodiments of the present application when executing the program.
In a fourth aspect, embodiments of the present application also provide a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements a test method according to any of the embodiments of the present application.
According to the embodiment of the application, the target ECU to be tested and the VCI selected by the user are obtained; and establishing connection with the diagnostic equipment based on the VCI selected by the user so as to enable the diagnostic equipment to test the target ECU to be tested, thereby solving the problems that a small-sized equipment is connected with a running vehicle, and a technician operates the equipment and records data in a form. The method is not only labor-wasting, but also has hidden danger of driving safety, and is difficult to simulate the problem of extreme data required by experiments in the normal driving process, so that the method can establish the ECU to be tested, test the ECU to be tested by simulating the bus electric control data generated by the ECU in the using process, greatly improve the vehicle research and development efficiency, shorten the research and development period and provide powerful support for the whole vehicle research and development.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a test method in an embodiment of the application;
FIG. 1a is a schematic diagram of a system in an embodiment of the application;
FIG. 1b is a flow chart of operation in an embodiment of the present application;
FIG. 2 is a schematic diagram of a testing device according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an electronic device according to an embodiment of the present application;
fig. 4 is a schematic structural view of a computer-readable storage medium containing a computer program in an embodiment of the present application.
Detailed Description
The application is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present application are shown in the drawings. Furthermore, embodiments of the application and features of the embodiments may be combined with each other without conflict.
Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart depicts operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently, or at the same time. Furthermore, the order of the operations may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, and the like. Furthermore, embodiments of the application and features of the embodiments may be combined with each other without conflict.
The term "comprising" and variants thereof as used herein is intended to be open ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment".
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance.
Fig. 1 is a flowchart of a testing method provided by an embodiment of the present application, where the embodiment is applicable to a case of testing an ECU to be tested, the method may be performed by a testing device in the embodiment of the present application, and the device may be implemented in a software and/or hardware manner, as shown in fig. 1, and the method specifically includes the following steps:
s110, acquiring the target ECU to be tested and the VCI selected by the user.
The VCI (vehicle communication interface ) is mainly used for communication, and has a specific software interface, so that the VCI can be programmed to realize diagnostic services, namely, a device for enabling a PC to communicate with a vehicle.
The manner of obtaining the VCI selected by the user may be: the VCIs are stored in the VCI device management subsystem in advance, so that the user can select one VCI from the VCIs, which is not limited in the embodiment of the present application.
The number of the target ECU to be tested may be plural or one, which is not limited in the embodiment of the present application.
The method for acquiring the target ECU to be tested may be: detecting the selection operation of a user on a target ECU to be tested in diagnostic test engineering, and acquiring the target ECU to be tested corresponding to the selection operation; the method for acquiring the target ECU to be tested may also be: acquiring a diagnosis ID input by a user; and inquiring a diagnosis test project according to the diagnosis ID to obtain a target ECU to be tested corresponding to the diagnosis ID. The embodiment of the present application is not limited thereto.
And S120, establishing connection with the diagnostic equipment based on the VCI selected by the user so as to enable the diagnostic equipment to test the target ECU to be tested.
The connection between the VCI selected by the user and the diagnostic equipment is established, so that the diagnostic equipment can test the target ECU to be tested, for example, the connection between the VCI selected by the user and the diagnostic equipment is established, and diagnostic information sent by the diagnostic equipment is received; and testing the target ECU to be tested according to the diagnosis information.
Optionally, acquiring the target ECU to be tested includes:
and if the selection operation of the user on the target ECU to be tested in the diagnosis test engineering is detected, acquiring the target ECU to be tested corresponding to the selection operation.
For example, when a selection operation of a user on a target ECU to be tested in a diagnostic test project is detected, the target ECU to be tested corresponding to the selection operation is obtained, for example, the user clicks a test control on a detection interface to enter a diagnostic test interface, where the diagnostic test interface includes: and the at least one diagnosis test project is used for determining the diagnosis test project clicked by the user as the diagnosis test project selected by the user, and the diagnosis test project comprises at least one ECU to be tested.
Optionally, before acquiring the target ECU to be tested and the VCI selected by the user, the method further includes:
acquiring a diagnosis ID, a target communication rate and a diagnosis service input by a user;
constructing an ECU to be tested according to the diagnosis ID, the target communication rate and the diagnosis service;
acquiring a target protocol stored in a database and the refreshing information input by a user;
and configuring the ECU to be tested according to the target protocol and the brushing information, and storing the configured ECU to be tested into a diagnosis test project.
The database is a database for storing standard protocols, for example, standard protocol templates such as ISO15765/ISO14230/ISO15301/ISO14229/J1939 are stored.
The target communication rate is a communication rate selected by a user, for example, the communication rates supporting the CAN common bus baud rate of 125kb/s, 250kb/s, 500kb/s and 1M/s, the DOIP common bus baud rate of 100M/s, the LIN common bus baud rate of 2.4kb/s, 19.2kb/s and 20kb/s and the K common bus baud rate of 1.04kb/s, 57.6kb/s and 115.2kb/s are stored in a target position in advance, and the user selects the content to obtain the target communication rate.
Optionally, acquiring the target ECU to be tested includes:
acquiring a diagnosis ID input by a user;
and inquiring a diagnosis test project according to the diagnosis ID to obtain a target ECU to be tested corresponding to the diagnosis ID.
Optionally, establishing connection with the diagnostic device based on the VCI selected by the user, so that the diagnostic device tests the target ECU to be tested, including:
establishing connection with diagnostic equipment based on the VCI selected by the user, and receiving diagnostic information sent by the diagnostic equipment;
and testing the target ECU to be tested according to the diagnosis information.
Optionally, the diagnostic service includes: diagnosing the service address;
correspondingly, the method further comprises the steps of:
receiving diagnosis service change information sent by the diagnosis equipment;
and modifying the diagnosis service address of the target ECU to be tested according to the diagnosis service change information.
The diagnostic service change information may be diagnostic service smooth change information, diagnostic service information may be newly added, or diagnostic service information may be reduced, which is not limited in the embodiment of the present application.
The embodiment of the application also provides a test system, which comprises: the system comprises an electric control protocol editing subsystem, an electric control refreshing logic configuration subsystem, a vehicle model building subsystem, a standard bus template library subsystem, a logic link subsystem and a VCI device management subsystem;
the electronic control protocol editing subsystem is used for acquiring the diagnosis ID, the target communication rate and the diagnosis service, and modifying the diagnosis service of the ECU according to the change information of the diagnosis service corresponding to the diagnosis device when the diagnosis service corresponding to the diagnosis device changes.
The electronic control flashing logic configuration subsystem is used for configuring the ECU flashing information;
a vehicle model building subsystem for building an ECU to be detected according to the diagnosis ID, the communication rate and the diagnosis service;
and the standard bus template library subsystem is used for storing standard protocols.
And the logic link subsystem is used for storing at least one communication rate supported by the CAN bus so as to enable a user to select a target communication rate from the communication rate.
And the VCI equipment management subsystem is used for storing a plurality of VCIs so that a user can select one VCI from the plurality of VCIs, and a data connection of the newly built ECU and the diagnostic equipment is constructed based on the selected VCI.
In a specific example, the embodiment of the application provides a test system which can simulate and generate data generated by a vehicle electric control system and can also detect the vehicle electric control system. The test system provided by the embodiment of the application comprises: the system comprises an electric control protocol editing subsystem, an electric control refreshing logic configuration subsystem, a vehicle model building subsystem, a standard bus template library subsystem, a logic link subsystem and a VCI device management subsystem.
The electronic control protocol editing subsystem is used for acquiring the diagnosis ID, the target communication rate and the diagnosis service, and modifying the diagnosis service of the ECU according to the change information of the diagnosis service corresponding to the diagnosis device when the diagnosis service corresponding to the diagnosis device changes.
The electronic control flashing logic configuration subsystem is used for configuring the flashing information of the ECU, including setting session, security access, routine control, request downloading, data transmission, verification and the like. Support profile importation, algorithm importation, production file importation, and the like.
A vehicle model building subsystem for building an ECU to be detected according to the diagnosis ID, the communication rate and the diagnosis service; for example, it is possible to implement a simulation of each node of the vehicle bus network, such as: ABS\EMS\BCM\DCU\MCU, etc., each node model can be multiplexed to rapidly configure a new vehicle type detection sequence.
The standard bus template library subsystem is used for storing standard protocols, for example, a standard protocol template library such as ISO15765/ISO14230/ISO15301/ISO14229/J1939 is realized, and a simulation flow can be quickly constructed based on the module library.
The logic link subsystem is used for storing at least one communication rate supported by the CAN bus so as to enable a user to select a target communication rate from the communication rates, for example, the logic link subsystem CAN support the CAN common bus baud rate of 125kb/s, 250kb/s, 500kb/s and 1M/s, the DOIP common bus baud rate of 100M/s, the LIN common bus baud rate of 2.4kb/s, 19.2kb/s and 20kb/s, and the K common bus baud rate of 1.04kb/s, 57.6kb/s and 115.2kb/s. Parameters can be configured for bus addresses, communication rates, masks, etc. according to user requirements.
The VCI equipment management subsystem is used for storing a plurality of VCIs so that a user can select one VCI from the plurality of VCIs, and the data connection of the newly built ECU and the diagnostic equipment can be constructed based on the selected VCI, for example, the cooperative scheduling of the plurality of VCI equipment can be realized, and the efficient concurrent coordination work of a plurality of links is ensured.
The embodiment of the application has the beneficial effects that: the embodiment of the application can effectively optimize the automobile detection flow, greatly improve the detection efficiency and provide timely and effective data for automobile research and development personnel.
According to the embodiment of the application, the diagnosis and writing service of all controllers of the whole vehicle is simulated according to the diagnosis protocol, and a virtual test environment and a reliable test platform are provided for the ECU to be tested through simulating the diagnosis message.
The virtual whole vehicle equipment main body adopts movable, and comprises a cabinet body, an industrial personal computer, a display, a split screen display, a communication box, an OBD connecting wire and the like.
The device CAN be divided into two parts, namely a physical hardware layer and a virtual hardware layer, as shown in fig. 1a, wherein the physical hardware layer is actually existing VCI hardware, namely basic hardware supporting CAN bus communication, and CAN1 interfaces of the VCI hardware are connected in parallel to each other to adjust the bus resistance value, so that the device CAN have the communication function of a CAN bus. The VCI hardware may be added or deleted according to service requirements, and management interfaces for the VCI hardware are provided in software, such as creating delete devices, setting baud rates, setting bus types, and the like.
After the physical connection of the hardware equipment is completed, an Electronic Control Unit (ECU) in a virtual hardware layer can be bound to actual physical hardware in a logical relationship, and an upper computer carries out data receiving and transmitting control on each path of actual hardware through threads to establish an actual physical link. And then the virtual electric control units bound on the physical hardware are used as logic entities, logic links are respectively established, and the logic links are distinguished in threads through CANID, so that the simulation work of the electric control units is completed.
The virtual whole vehicle test software aims at configuring the services of all simulation ECUs according to a diagnosis protocol; a virtual test environment is provided for the ECU equipment to be tested, and a reliable test platform is provided for a user to develop a new electric control system or diagnostic software.
As shown in fig. 1b, the user selects the diagnostic engineering first, then starts the diagnostic test, the whole system starts to operate, each diagnostic function of the ECU device to be tested can be tested according to the user's needs, and data communication messages between all diagnostic devices and the ECU are displayed and recorded, and the diagnostic test is turned off after the test is completed. In the test process, the virtual whole vehicle test software can record and display message information in the diagnosis test process; the user can edit the diagnosis service response message of the related ECU at any time before or during the diagnosis test according to the diagnosis requirement.
According to the technical scheme, the target ECU to be tested and the VCI selected by the user are obtained; and establishing connection with the diagnostic equipment based on the VCI selected by the user so as to enable the diagnostic equipment to test the target ECU to be tested, thereby solving the problems that a small-sized equipment is connected with a running vehicle, and a technician operates the equipment and records data in a form. The method is not only labor-wasting, but also has hidden danger of driving safety, and is difficult to simulate the problem of extreme data required by experiments in the normal driving process, so that the method can establish the ECU to be tested, test the ECU to be tested by simulating the bus electric control data generated by the ECU in the using process, greatly improve the vehicle research and development efficiency, shorten the research and development period and provide powerful support for the whole vehicle research and development.
Fig. 2 is a schematic structural diagram of a testing device according to an embodiment of the present application. The embodiment may be suitable for testing an ECU to be tested, and the device may be implemented in software and/or hardware, and may be integrated in any device that provides a test function, as shown in fig. 2, where the test device specifically includes: an acquisition module 210 and a test module 220.
The acquisition module is used for acquiring the target ECU to be tested and the VCI selected by the user;
and the testing module is used for establishing connection with the diagnosis equipment based on the VCI selected by the user so as to enable the diagnosis equipment to test the target ECU to be tested.
Optionally, the acquiring module is specifically configured to:
and if the selection operation of the user on the target ECU to be tested in the diagnosis test engineering is detected, acquiring the target ECU to be tested corresponding to the selection operation.
The product can execute the method provided by any embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method.
According to the technical scheme, the target ECU to be tested and the VCI selected by the user are obtained; and establishing connection with the diagnostic equipment based on the VCI selected by the user so as to enable the diagnostic equipment to test the target ECU to be tested, thereby solving the problems that a small-sized equipment is connected with a running vehicle, and a technician operates the equipment and records data in a form. The method is not only labor-wasting, but also has hidden danger of driving safety, and is difficult to simulate the problem of extreme data required by experiments in the normal driving process, so that the method can establish the ECU to be tested, test the ECU to be tested by simulating the bus electric control data generated by the ECU in the using process, greatly improve the vehicle research and development efficiency, shorten the research and development period and provide powerful support for the whole vehicle research and development.
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application. Fig. 3 illustrates a block diagram of an exemplary electronic device 12 suitable for use in implementing embodiments of the present application. The electronic device 12 shown in fig. 3 is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present application.
As shown in fig. 3, the electronic device 12 is in the form of a general purpose computing device. Components of the electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, a bus 18 that connects the various system components, including the system memory 28 and the processing units 16.
Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include industry standard architecture (Industry Standard Architecture, ISA) bus, micro channel architecture (Micro Channel Architecture, MCA) bus, enhanced ISA bus, video electronics standards association (Video Electronics Standards Association, VESA) local bus, and peripheral component interconnect (Peripheral Component Interconnect, PCI) bus.
Electronic device 12 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by electronic device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (Random Access Memory, RAM) 30 and/or cache memory 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 3, commonly referred to as a "hard disk drive"). Although not shown in fig. 3, a disk drive for reading from and writing to a removable nonvolatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable nonvolatile optical disk (Compact Disc-Read Only Memory, CD-ROM), digital versatile disk (Digital Video Disc-Read Only Memory, DVD-ROM), or other optical media, may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. The system memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of the embodiments of the application.
A program/utility 40 having a set (at least one) of program modules 42 may be stored in, for example, system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods of the embodiments described herein.
The electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with the electronic device 12, and/or any devices (e.g., network card, modem, etc.) that enable the electronic device 12 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 22. In the electronic device 12 of the present embodiment, the display 24 is not provided as a separate body but is embedded in the mirror surface, and the display surface of the display 24 and the mirror surface are visually integrated when the display surface of the display 24 is not displayed. Also, the electronic device 12 may communicate with one or more networks (e.g., local area network (Local Area Network, LAN), wide area network Wide Area Network, WAN) and/or a public network, such as the internet) via the network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 over the bus 18. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 12, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, disk array (Redundant Arrays of Independent Disks, RAID) systems, tape drives, data backup storage systems, and the like.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, implementing the test methods provided by the embodiments of the present application:
acquiring a target ECU to be tested and a VCI selected by a user;
and establishing connection with diagnostic equipment based on the VCI selected by the user so as to enable the diagnostic equipment to test the target ECU to be tested.
Fig. 4 is a schematic structural diagram of a computer-readable storage medium containing a computer program according to an embodiment of the present application. The present application provides a computer readable storage medium 61 having stored thereon a computer program 610 which, when executed by one or more processors, implements a test method as provided by all inventive embodiments of the present application:
acquiring a target ECU to be tested and a VCI selected by a user;
and establishing connection with diagnostic equipment based on the VCI selected by the user so as to enable the diagnostic equipment to test the target ECU to be tested.
Any combination of one or more computer readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
In some implementations, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (Hyper Text Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
Computer program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. Wherein the names of the units do not constitute a limitation of the units themselves in some cases.
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
Note that the above is only a preferred embodiment of the present application and the technical principle applied. 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, while the application has been described in connection with the above embodiments, the application is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the application, which is set forth in the following claims.

Claims (9)

1. A method of testing, the method comprising:
acquiring a diagnosis ID, a target communication rate and a diagnosis service input by a user;
constructing an ECU to be tested according to the diagnosis ID, the target communication rate and the diagnosis service;
acquiring a target protocol stored in a database and the refreshing information input by a user;
configuring the ECU to be tested according to the target protocol and the brushing information, and storing the configured ECU to be tested into a diagnosis test project;
acquiring a diagnosis test project selected by a user from a diagnosis test interface; wherein the diagnosis test engineering comprises at least one ECU to be tested;
acquiring a target ECU to be tested and a VCI selected by a user;
and establishing connection with diagnostic equipment based on the VCI selected by the user so as to enable the diagnostic equipment to test the target ECU to be tested.
2. The method of claim 1, wherein obtaining a target ECU to be tested comprises:
and if the selection operation of the user on the target ECU to be tested in the diagnosis test engineering is detected, acquiring the target ECU to be tested corresponding to the selection operation.
3. The method of claim 1, wherein obtaining a target ECU to be tested comprises:
acquiring a diagnosis ID input by a user;
and inquiring a diagnosis test project according to the diagnosis ID to obtain a target ECU to be tested corresponding to the diagnosis ID.
4. The method of claim 1, wherein establishing a connection with a diagnostic device based on the user-selected VCI to cause the diagnostic device to test the target ECU under test comprises:
establishing connection with diagnostic equipment based on the VCI selected by the user, and receiving diagnostic information sent by the diagnostic equipment;
and testing the target ECU to be tested according to the diagnosis information.
5. The method of claim 1, wherein the diagnostic service comprises: diagnosing the service address;
correspondingly, the method further comprises the steps of:
receiving diagnosis service change information sent by the diagnosis equipment;
and modifying the diagnosis service address of the target ECU to be tested according to the diagnosis service change information.
6. A test device, the test device comprising: the acquisition module is used for acquiring the target ECU to be tested and the VCI selected by the user;
the testing module is used for establishing connection with the diagnosis equipment based on the VCI selected by the user so as to enable the diagnosis equipment to test the target ECU to be tested;
the acquisition module is also used for acquiring the diagnosis ID, the target communication rate and the diagnosis service input by the user;
constructing an ECU to be tested according to the diagnosis ID, the target communication rate and the diagnosis service; acquiring a target protocol stored in a database and the refreshing information input by a user; configuring the ECU to be tested according to the target protocol and the brushing information, and storing the configured ECU to be tested into a diagnosis test project; acquiring a diagnosis test project selected by a user from a diagnosis test interface; wherein the diagnosis test engineering comprises at least one ECU to be tested.
7. The apparatus of claim 6, wherein the acquisition module is specifically configured to:
and if the selection operation of the user on the target ECU to be tested in the diagnosis test engineering is detected, acquiring the target ECU to be tested corresponding to the selection operation.
8. An electronic device, comprising:
one or more processors;
a memory for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the processor to implement the method of any of claims 1-5.
9. A computer readable storage medium containing a computer program, on which the computer program is stored, characterized in that the program, when executed by one or more processors, implements the method according to any of claims 1-5.
CN202111067037.2A 2021-09-13 2021-09-13 Test method, device, equipment and storage medium Active CN113791605B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111067037.2A CN113791605B (en) 2021-09-13 2021-09-13 Test method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111067037.2A CN113791605B (en) 2021-09-13 2021-09-13 Test method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113791605A CN113791605A (en) 2021-12-14
CN113791605B true CN113791605B (en) 2023-10-27

Family

ID=78879949

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111067037.2A Active CN113791605B (en) 2021-09-13 2021-09-13 Test method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113791605B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115314428A (en) * 2022-06-24 2022-11-08 合众新能源汽车有限公司 Vehicle CAN network testing method and system, electronic device and storage medium
CN115576807B (en) * 2022-09-28 2023-09-08 国科础石(重庆)软件有限公司 Virtual ECU implementation method and device, electronic equipment and storage medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102566561A (en) * 2010-12-24 2012-07-11 上海工程技术大学 Method and device for diagnosing automotive electronic control unit faults based on semi-physical simulation
CN105824307A (en) * 2016-05-13 2016-08-03 上汽通用五菱汽车股份有限公司 System and method for distributed offline detection of comprehensive performance of automobile electric-control module
CN107370637A (en) * 2017-07-20 2017-11-21 浙江力邦合信智能制动系统股份有限公司 Vehicle-mounted ECU communication function automatization test system and method
CN107491061A (en) * 2017-08-31 2017-12-19 中国第汽车股份有限公司 The network automatically test system and its method of a kind of commercial car OBD diagnostic devices
CN108205308A (en) * 2017-12-19 2018-06-26 中国第汽车股份有限公司 A kind of automated diagnostic tester system based on vehicle body domain controller
CN108536121A (en) * 2018-03-16 2018-09-14 深圳市道通科技股份有限公司 Method for building up, device and the vehicle communication interface VCI of logical channel
CN109102591A (en) * 2018-09-06 2018-12-28 武汉锐科控制系统有限公司 A kind of expansible automobile diagnostic software development system of multi-client and method
CN109934957A (en) * 2019-03-20 2019-06-25 深圳市道通科技股份有限公司 Show the method, device and mobile terminal of the distribution of vehicle ECU system and state
CN110912764A (en) * 2019-08-01 2020-03-24 中国第一汽车股份有限公司 Test method, system, equipment and storage medium
CN112051832A (en) * 2020-08-31 2020-12-08 安徽江淮汽车集团股份有限公司 Fault testing method, device and system based on simulation node and storage medium
CN112860563A (en) * 2021-02-25 2021-05-28 东风柳州汽车有限公司 Automobile diagnostic instrument testing method, device, equipment and storage medium
CN112859818A (en) * 2021-01-22 2021-05-28 深圳市轩宇车鼎科技有限公司 Automobile diagnosis method and device
CN112927392A (en) * 2021-01-19 2021-06-08 深圳市元征科技股份有限公司 Communication method, vehicle communication interface device and readable storage medium
CN113110381A (en) * 2021-04-01 2021-07-13 东风柳州汽车有限公司 Vehicle after-sale diagnostic system and method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180032421A1 (en) * 2016-07-29 2018-02-01 Wipro Limited Method and system for debugging automotive applications in an electronic control unit of an automobile
CN108107875B (en) * 2018-01-25 2020-02-07 深圳市道通科技股份有限公司 Automobile diagnosis method and device and vehicle communication interface
US20210185095A1 (en) * 2018-08-30 2021-06-17 Karamba Security Ltd. Virtualized controllers for in-vehicle and iot networks

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102566561A (en) * 2010-12-24 2012-07-11 上海工程技术大学 Method and device for diagnosing automotive electronic control unit faults based on semi-physical simulation
CN105824307A (en) * 2016-05-13 2016-08-03 上汽通用五菱汽车股份有限公司 System and method for distributed offline detection of comprehensive performance of automobile electric-control module
CN107370637A (en) * 2017-07-20 2017-11-21 浙江力邦合信智能制动系统股份有限公司 Vehicle-mounted ECU communication function automatization test system and method
CN107491061A (en) * 2017-08-31 2017-12-19 中国第汽车股份有限公司 The network automatically test system and its method of a kind of commercial car OBD diagnostic devices
CN108205308A (en) * 2017-12-19 2018-06-26 中国第汽车股份有限公司 A kind of automated diagnostic tester system based on vehicle body domain controller
CN108536121A (en) * 2018-03-16 2018-09-14 深圳市道通科技股份有限公司 Method for building up, device and the vehicle communication interface VCI of logical channel
CN109102591A (en) * 2018-09-06 2018-12-28 武汉锐科控制系统有限公司 A kind of expansible automobile diagnostic software development system of multi-client and method
CN109934957A (en) * 2019-03-20 2019-06-25 深圳市道通科技股份有限公司 Show the method, device and mobile terminal of the distribution of vehicle ECU system and state
CN110912764A (en) * 2019-08-01 2020-03-24 中国第一汽车股份有限公司 Test method, system, equipment and storage medium
CN112051832A (en) * 2020-08-31 2020-12-08 安徽江淮汽车集团股份有限公司 Fault testing method, device and system based on simulation node and storage medium
CN112927392A (en) * 2021-01-19 2021-06-08 深圳市元征科技股份有限公司 Communication method, vehicle communication interface device and readable storage medium
CN112859818A (en) * 2021-01-22 2021-05-28 深圳市轩宇车鼎科技有限公司 Automobile diagnosis method and device
CN112860563A (en) * 2021-02-25 2021-05-28 东风柳州汽车有限公司 Automobile diagnostic instrument testing method, device, equipment and storage medium
CN113110381A (en) * 2021-04-01 2021-07-13 东风柳州汽车有限公司 Vehicle after-sale diagnostic system and method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于CAN-ECU的汽车自动化故障诊断测试系统研究;何医天;;时代汽车(第19期);全文 *
高压共轨柴油机ECU硬件在环仿真系统软件设计;杨闻睿;敖国强;刘志;杨林;;内燃机工程(第05期);全文 *

Also Published As

Publication number Publication date
CN113791605A (en) 2021-12-14

Similar Documents

Publication Publication Date Title
CN109302522B (en) Test method, test device, computer system, and computer medium
CN113791605B (en) Test method, device, equipment and storage medium
CN108959068B (en) Software interface testing method, device and storage medium
US8204711B2 (en) System and apparatus for managing test procedures within a hardware-in-the-loop simulation system
CN107193747B (en) Code testing method and device and computer equipment
CN108874441B (en) Board card configuration method, device, server and storage medium
CN107066377A (en) Page elements acquisition methods and terminal device based on android system
CN115576217A (en) Vehicle testing method, device, equipment and medium
CN113572658A (en) Vehicle control signal testing method and device, electronic equipment and storage medium
WO2024078601A1 (en) Icon detection script generation method, and device and storage medium
CN113836014A (en) Interface testing method and device, electronic equipment and storage medium
CN112882953A (en) Automatic demonstration method and system for application program based on android debugging bridge
CN107133072A (en) One kind operation performs method and apparatus
CN113641575B (en) Test method, device, equipment and storage medium
CN115422052A (en) Vehicle navigation app test system and method
CN114706371A (en) Complete vehicle network non-dormancy diagnosis method and device, electronic equipment and storage medium
CN114625664A (en) Automatic testing method, device, equipment and storage medium
CN114721674A (en) Model deployment method, device, equipment and storage medium
CN109948251B (en) CAD-based data processing method, device, equipment and storage medium
CN112561331A (en) Visual experimental analysis evaluation index construction method
CN112596972B (en) Test method, device and system of vehicle-mounted equipment and computer equipment
CN112485554B (en) Electrical performance test platform for complex product
CN114692382B (en) Management method and device for nuclear power simulation model development data and computer equipment
CN117608894A (en) Log storage method and device, computer equipment and storage medium
CN113283017A (en) Part separation method, device, equipment and 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
GR01 Patent grant
GR01 Patent grant