CN113791605A - Test method, device, equipment and storage medium - Google Patents
Test method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN113791605A CN113791605A CN202111067037.2A CN202111067037A CN113791605A CN 113791605 A CN113791605 A CN 113791605A CN 202111067037 A CN202111067037 A CN 202111067037A CN 113791605 A CN113791605 A CN 113791605A
- Authority
- CN
- China
- Prior art keywords
- tested
- diagnosis
- user
- ecu
- target ecu
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000010998 test method Methods 0.000 title claims abstract description 6
- 238000012360 testing method Methods 0.000 claims abstract description 70
- 238000000034 method Methods 0.000 claims abstract description 45
- 238000003745 diagnosis Methods 0.000 claims description 70
- 238000004891 communication Methods 0.000 claims description 31
- 238000004590 computer program Methods 0.000 claims description 11
- 230000008859 change Effects 0.000 claims description 8
- 230000008569 process Effects 0.000 abstract description 17
- 238000012827 research and development Methods 0.000 abstract description 15
- 238000004904 shortening Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 12
- 238000002405 diagnostic procedure Methods 0.000 description 11
- 230000003287 optical effect Effects 0.000 description 8
- 238000001514 detection method Methods 0.000 description 7
- 208000037820 vascular cognitive impairment Diseases 0.000 description 6
- 238000012545 processing Methods 0.000 description 5
- 238000002474 experimental method Methods 0.000 description 4
- 238000004088 simulation Methods 0.000 description 4
- 230000008676 import Effects 0.000 description 3
- 239000013307 optical fiber Substances 0.000 description 3
- 238000003491 array Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- WXZOXVVKILCOPG-UHFFFAOYSA-N bis(2-ethylhexyl) benzene-1,3-dicarboxylate Chemical compound CCCCC(CC)COC(=O)C1=CC=CC(C(=O)OCC(CC)CCCC)=C1 WXZOXVVKILCOPG-UHFFFAOYSA-N 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 101150008604 CAN1 gene Proteins 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B23/00—Testing or monitoring of control systems or parts thereof
- G05B23/02—Electric testing or monitoring
- G05B23/0205—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
- G05B23/0208—Electric 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/0213—Modular 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
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/24—Pc safety
- G05B2219/24065—Real time diagnostics
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The invention discloses a test method, a test device, test 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 invention can establish the ECU to be tested, the ECU to be tested simulates bus electric control data generated by the ECU in the using process, and tests the ECU to be tested, thereby greatly improving the research and development efficiency of vehicles, shortening the research and development period and providing powerful support for the research and development of the whole vehicle.
Description
Technical Field
The embodiment of the invention 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 the ECUs of the vehicle are respectively connected to different buses of the vehicle, and a data communication network in the vehicle generally comprises a plurality of CAN buses. The detection of the electric control is always a difficult problem of vehicle detection, some controllers need to generate data under the driving state of the vehicle, and some data need to be generated under special conditions. The detection of vehicle electronic control systems has been an industry challenge, typically small devices are used in connection with the vehicle in motion, and technicians operate the devices and record data in the form. The mode wastes manpower, has hidden danger of driving safety, and is difficult to simulate the extreme data required by the experiment in the normal driving process.
Disclosure of Invention
The embodiment of the invention provides a testing method, a testing device, testing equipment and a storage medium, so as to establish an ECU to be tested, simulate bus electric control data generated by the ECU in the using process, test the ECU to be tested, greatly improve the vehicle research and development efficiency, shorten the research and development period and provide powerful support for the research and development of a whole vehicle.
In a first aspect, an embodiment of the present invention 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 that the diagnostic equipment tests the target ECU to be tested.
In a second aspect, an embodiment of the present invention further provides a testing apparatus, where the testing apparatus includes:
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 diagnostic equipment based on the VCI selected by the user so that the diagnostic equipment can test the target ECU to be tested.
Further, the obtaining module is specifically configured to:
and when the selection operation of a user on the target ECU to be tested in the diagnosis test engineering is detected, the target ECU to be tested corresponding to the selection operation is obtained.
In a third aspect, an embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the test method according to any one of the embodiments of the present invention.
In a fourth aspect, the embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the testing method according to any one of the embodiments of the present invention.
According to the embodiment of the invention, the target ECU to be tested and the VCI selected by the user are obtained; the VCI selected by the user is connected with the diagnosis equipment, so that the diagnosis equipment tests the target ECU to be tested, and the problems that small equipment is connected with a running vehicle, technicians operate the equipment and record data in a form are solved. The method wastes manpower, has hidden danger of driving safety, and is difficult to simulate the problem of terminal data required by an experiment in the normal driving process so as to establish the ECU to be tested, simulate bus electric control data generated by the ECU in the using process, test the ECU to be tested, greatly improve the vehicle research and development efficiency, shorten the research and development period and provide powerful support for the research and development of the whole vehicle.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
FIG. 1 is a flow chart of a testing method in an embodiment of the invention;
FIG. 1a is a schematic diagram of a system in an embodiment of the invention;
FIG. 1b is a flow chart of operation in an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a testing apparatus according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device in an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer-readable storage medium containing a computer program in an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures. In addition, the embodiments and features of the embodiments in the present invention may be combined with each other without conflict.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like. In addition, the embodiments and features of the embodiments in the present invention may be combined with each other without conflict.
The term "include" and variations thereof as used herein are 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 numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Fig. 1 is a flowchart of a testing method provided in an embodiment of the present invention, where the present embodiment is applicable to a situation where an ECU to be tested is tested, and the method may be executed by a testing apparatus in an embodiment of the present invention, where the apparatus may be implemented in a software and/or hardware manner, as shown in fig. 1, the method specifically includes the following steps:
and 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, and the VCI is programmed to implement a diagnostic service, which is actually a device for communicating a PC with a vehicle.
The method for acquiring the VCI selected by the user may be as follows: the multiple VCIs are stored in the VCI device management subsystem in advance, so that the user can select one VCI from the multiple VCIs.
The number of the target ECUs to be tested may be multiple, or may be one, and the embodiment of the present invention is not limited thereto.
The method for acquiring the target ECU to be tested can be as follows: detecting selection operation of a user on a target ECU to be tested in a diagnosis test project, and acquiring the target ECU to be tested corresponding to the selection operation; the method for acquiring the target ECU to be tested can also be as follows: 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 embodiments of the present invention are not limited in this regard.
And S120, establishing connection with diagnostic equipment based on the VCI selected by the user so that the diagnostic equipment tests the target ECU to be tested.
For example, the VCI selected by the user is connected to a diagnostic device to enable the diagnostic device to test the target ECU to be tested, and for example, the VCI selected by the user is connected to the diagnostic device and receives diagnostic information sent by the diagnostic device; and testing the target ECU to be tested according to the diagnosis information.
Optionally, obtaining the target ECU to be tested includes:
and when the selection operation of a user on the target ECU to be tested in the diagnosis test engineering is detected, the target ECU to be tested corresponding to the selection operation is obtained.
For example, when a selection operation of a user on a target ECU to be tested in a diagnostic test project is detected, a 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 at least one diagnostic test project, wherein the diagnostic test project clicked by the user is determined as the diagnostic test project selected by the user, and the diagnostic 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 diagnosis service input by a user;
building 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 flash information input by a user;
and configuring the ECU to be tested according to the target protocol and the flash information, and storing the configured ECU to be tested into a diagnosis test project.
The database is a database for storing standard protocols, and may be, for example, a standard protocol template such as ISO15765/ISO14230/ISO15301/ISO 14229/J1939.
The target communication rate is a communication rate selected by a user, for example, the target communication rate may be a communication rate which supports CAN common bus baud rates of 125kb/s, 250kb/s, 500kb/s and 1M/s, supports DOIP common bus baud rate of 100M/s, supports LIN common bus baud rates of 2.4kb/s, 19.2kb/s and 20kb/s, supports K common bus baud rates of 1.04kb/s, 57.6kb/s and 115.2kb/s, and is stored in a target position, and the user selects the above contents to obtain the target communication rate.
Optionally, obtaining 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 a connection with a diagnostic device based on the VCI selected by the user, so that the diagnostic device tests the target ECU to be tested, includes:
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: a diagnostic service address;
correspondingly, the method also comprises the following steps:
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 smooth diagnostic service change information, newly added diagnostic service information, or reduced diagnostic service information, which is not limited in this embodiment of the present invention.
An embodiment of the present invention further provides a test system, where the test system includes: the system comprises an electric control protocol editing subsystem, an electric control writing logic configuration subsystem, a vehicle model building subsystem, a standard bus template library subsystem, a logic link subsystem and a VCI equipment 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 ECU flashing information;
the vehicle model building subsystem is used for building the 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 a standard protocol.
And the logic link subsystem is used for storing at least one communication speed supported by the CAN bus so as to select a target communication speed from the communication speed.
And the VCI equipment management subsystem is used for storing a plurality of VCIs so that a user can select one VCI from the VCIs and establish data connection between the newly-built ECU and the diagnostic equipment based on the selected VCI.
In a specific example, the embodiment of the invention 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 invention comprises: the system comprises an electric control protocol editing subsystem, an electric control writing logic configuration subsystem, a vehicle model building subsystem, a standard bus template library subsystem, a logic link subsystem and a VCI equipment 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.
And the electronic control flashing logic configuration subsystem is used for configuring ECU flashing information, and comprises session setting, safe access, routine control, request downloading, data transmission, verification and the like. Configuration file import, algorithm import, production file import and the like are supported.
The vehicle model building subsystem is used for building the ECU to be detected according to the diagnosis ID, the communication rate and the diagnosis service; for example, the simulation of each node of the vehicle bus network can be realized, such as: ABS \ EMS \ BCM \ DCU \ MCU, etc., and each node model can be reused to rapidly configure the new vehicle type detection sequence.
The standard bus template library subsystem is used for storing standard protocols, for example, standard protocol template libraries such as ISO15765/ISO14230/ISO15301/ISO14229/J1939 can be realized, and a simulation flow can be quickly constructed based on a module library.
The logic link subsystem is used for storing at least one communication speed supported by the CAN bus so as to enable a user to select a target communication speed from the communication speeds, and for example, the logic link subsystem CAN support CAN common bus baud rates of 125kb/s, 250kb/s, 500kb/s and 1M/s, support DOIP common bus baud rate of 100M/s, support LIN common bus baud rates of 2.4kb/s, 19.2kb/s and 20kb/s, and support K common bus baud rates of 1.04kb/s, 57.6kb/s and 115.2 kb/s. According to the requirements of users, parameters can be configured according to bus addresses, communication rates, shielding words and the like.
The VCI device management subsystem is configured to store a plurality of VCIs, so that a user selects one VCI from the plurality of VCIs, and construct a data connection between the newly-built ECU and the diagnostic device based on the selected VCI, for example, implement cooperative scheduling of multiple VCI devices, and ensure efficient concurrent coordination of multiple links.
The embodiment of the invention has the beneficial effects that: the embodiment of the invention can effectively optimize the automobile detection process, greatly improve the detection efficiency and provide timely and effective data for automobile research personnel.
The embodiment of the invention simulates the diagnosis and the flash service of all controllers of the whole vehicle according to the diagnosis protocol, and provides a virtual test environment and a reliable test platform for the ECU to be tested by simulating the diagnosis message.
The virtual whole vehicle equipment main body is movable and comprises a cabinet body, an industrial personal computer, a display, a screen display, a communication box, an OBD connecting line and the like.
The device CAN be divided into a physical hardware layer and a virtual hardware layer, as shown in fig. 1a, as the name suggests, the physical hardware layer is actually existing VCI hardware, that is, basic hardware supporting CAN bus communication, CAN1 interfaces of the VCI hardware are connected in parallel, and the bus resistance value is adjusted, so that the device CAN have the communication function of the CAN bus. VCI hardware can be added or deleted according to service requirements, and management interfaces for the VCI hardware are provided in software, such as creating a deleting device, setting baud rate, setting bus type 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 relation, and an upper computer performs data receiving and sending control on each path of actual hardware through threads to establish an actual physical link. And then, taking the virtual electric control unit bound on the physical hardware as a logic entity, respectively establishing logic links, and distinguishing in a thread through a CANID (controller area network identification) to finish the simulation work of the electric control unit.
The virtual whole vehicle test software aims at configuring the service of all simulation ECU according to a diagnosis protocol; the method provides a virtual test environment for the ECU equipment to be tested, and provides a reliable test platform for a user to develop a new electric control system or diagnosis software.
As shown in fig. 1b, a user first selects a diagnostic process, then starts a 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, data communication messages between all the diagnostic devices and the ECU are displayed and recorded, and the diagnostic test is closed after the test is finished. In the test process, the virtual whole vehicle test software can record and display message information in the diagnostic test process; according to the diagnosis requirement, a user can edit the diagnosis service response message of the relevant ECU at any time before or in the process of the diagnosis test.
According to the technical scheme of the embodiment, the target ECU to be tested and the VCI selected by the user are obtained; the VCI selected by the user is connected with the diagnosis equipment, so that the diagnosis equipment tests the target ECU to be tested, and the problems that small equipment is connected with a running vehicle, technicians operate the equipment and record data in a form are solved. The method wastes manpower, has hidden danger of driving safety, and is difficult to simulate the problem of terminal data required by an experiment in the normal driving process so as to establish the ECU to be tested, simulate bus electric control data generated by the ECU in the using process, test the ECU to be tested, greatly improve the vehicle research and development efficiency, shorten the research and development period and provide powerful support for the research and development of the whole vehicle.
Fig. 2 is a schematic structural diagram of a testing apparatus according to an embodiment of the present invention. The present embodiment may be applicable to a case of testing an ECU to be tested, the apparatus may be implemented in a software and/or hardware manner, and the apparatus may be integrated in any device providing a testing function, as shown in fig. 2, where the testing apparatus 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 diagnostic equipment based on the VCI selected by the user so that the diagnostic equipment can test the target ECU to be tested.
Optionally, the obtaining module is specifically configured to:
and when the selection operation of a user on the target ECU to be tested in the diagnosis test engineering is detected, the target ECU to be tested corresponding to the selection operation is obtained.
The product can execute the method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
According to the technical scheme of the embodiment, the target ECU to be tested and the VCI selected by the user are obtained; the VCI selected by the user is connected with the diagnosis equipment, so that the diagnosis equipment tests the target ECU to be tested, and the problems that small equipment is connected with a running vehicle, technicians operate the equipment and record data in a form are solved. The method wastes manpower, has hidden danger of driving safety, and is difficult to simulate the problem of terminal data required by an experiment in the normal driving process so as to establish the ECU to be tested, simulate bus electric control data generated by the ECU in the using process, test the ECU to be tested, greatly improve the vehicle research and development efficiency, shorten the research and development period and provide powerful support for the research and development of the whole vehicle.
Fig. 3 is a schematic structural diagram of an electronic device in an embodiment of the present invention. FIG. 3 illustrates a block diagram of an exemplary electronic device 12 suitable for use in implementing embodiments of the present invention. The electronic device 12 shown in fig. 3 is only an example and should not bring any limitations to the function and scope of use of the embodiments of the present invention.
As shown in FIG. 3, electronic device 12 is embodied in the form of a general purpose computing device. The components of electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
The system Memory 28 may include computer system readable media in the form of volatile Memory, such as 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 and write to non-removable, nonvolatile magnetic media (not shown in FIG. 3, and commonly referred to as a "hard drive"). Although not shown in FIG. 3, a magnetic 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 (a Compact disk-Read Only Memory (CD-ROM)), Digital Video disk (DVD-ROM), or other optical media may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in 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 of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, to implement the test method provided by the embodiment of the present invention:
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 that the diagnostic equipment tests 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 invention. Embodiments of the present invention provide a computer-readable storage medium 61, on which a computer program 610 is stored, which when executed by one or more processors implements the testing method as provided by all embodiments of the invention 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 that the diagnostic equipment tests 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. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination 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 the context of 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.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. 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 embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (Hyper Text Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications 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 network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, or the like, as well as 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 type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart 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 described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above 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: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), 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. A 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.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention 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 invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (10)
1. A method of testing, the method comprising:
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 that the diagnostic equipment tests the target ECU to be tested.
2. The method of claim 1, wherein obtaining a target ECU to be tested comprises:
and when the selection operation of a user on the target ECU to be tested in the diagnosis test engineering is detected, the target ECU to be tested corresponding to the selection operation is obtained.
3. The method of claim 1, further comprising, prior to obtaining the target ECU to be tested and the user-selected VCI:
acquiring a diagnosis ID, a target communication rate and diagnosis service input by a user;
building 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 flash information input by a user;
and configuring the ECU to be tested according to the target protocol and the flash information, and storing the configured ECU to be tested into a diagnosis test project.
4. 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.
5. 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 to be tested 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.
6. The method of claim 1, wherein the diagnostic service comprises: a diagnostic service address;
correspondingly, the method also comprises the following steps:
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.
7. A test apparatus, characterized in that the test apparatus comprises:
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 diagnostic equipment based on the VCI selected by the user so that the diagnostic equipment can test the target ECU to be tested.
8. The apparatus of claim 7, wherein the obtaining module is specifically configured to:
and when the selection operation of a user on the target ECU to be tested in the diagnosis test engineering is detected, the target ECU to be tested corresponding to the selection operation is obtained.
9. 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 processors to implement the method of any of claims 1-6.
10. 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 one of claims 1-6.
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 true CN113791605A (en) | 2021-12-14 |
CN113791605B 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) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114995356A (en) * | 2022-06-28 | 2022-09-02 | 深圳市道通科技股份有限公司 | Vehicle off-line detection method and system |
CN115314428A (en) * | 2022-06-24 | 2022-11-08 | 合众新能源汽车有限公司 | Vehicle CAN network testing method and system, electronic device and storage medium |
CN115576807A (en) * | 2022-09-28 | 2023-01-06 | 国科础石(重庆)软件有限公司 | Virtual ECU (electronic control Unit) implementation method and device, electronic equipment and storage medium |
CN116048049A (en) * | 2023-01-18 | 2023-05-02 | 重庆长安汽车股份有限公司 | Diagnostic optimization method, device, equipment and medium for automobile ECU software system |
Citations (17)
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 |
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 |
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 |
US20210012587A1 (en) * | 2018-01-25 | 2021-01-14 | Autel Intelligent Technology Corp., Ltd. | Automobile diagnostic method, apparatus and vehicle communication interface |
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 |
CN112927392A (en) * | 2021-01-19 | 2021-06-08 | 深圳市元征科技股份有限公司 | Communication method, vehicle communication interface device and readable storage medium |
US20210185095A1 (en) * | 2018-08-30 | 2021-06-17 | Karamba Security Ltd. | Virtualized controllers for in-vehicle and iot networks |
CN113110381A (en) * | 2021-04-01 | 2021-07-13 | 东风柳州汽车有限公司 | Vehicle after-sale diagnostic system and method |
-
2021
- 2021-09-13 CN CN202111067037.2A patent/CN113791605B/en active Active
Patent Citations (17)
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 |
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 |
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 |
US20210012587A1 (en) * | 2018-01-25 | 2021-01-14 | Autel Intelligent Technology Corp., Ltd. | Automobile diagnostic method, apparatus and vehicle communication interface |
CN108536121A (en) * | 2018-03-16 | 2018-09-14 | 深圳市道通科技股份有限公司 | Method for building up, device and the vehicle communication interface VCI of logical channel |
US20210185095A1 (en) * | 2018-08-30 | 2021-06-17 | Karamba Security Ltd. | Virtualized controllers for in-vehicle and iot networks |
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)
Title |
---|
何医天;: "基于CAN-ECU的汽车自动化故障诊断测试系统研究", 时代汽车, no. 19 * |
杨闻睿;敖国强;刘志;杨林;: "高压共轨柴油机ECU硬件在环仿真系统软件设计", 内燃机工程, no. 05 * |
Cited By (6)
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 |
CN114995356A (en) * | 2022-06-28 | 2022-09-02 | 深圳市道通科技股份有限公司 | Vehicle off-line detection method and system |
CN115576807A (en) * | 2022-09-28 | 2023-01-06 | 国科础石(重庆)软件有限公司 | Virtual ECU (electronic control Unit) implementation method and device, electronic equipment and storage medium |
CN115576807B (en) * | 2022-09-28 | 2023-09-08 | 国科础石(重庆)软件有限公司 | Virtual ECU implementation method and device, electronic equipment and storage medium |
CN116048049A (en) * | 2023-01-18 | 2023-05-02 | 重庆长安汽车股份有限公司 | Diagnostic optimization method, device, equipment and medium for automobile ECU software system |
CN116048049B (en) * | 2023-01-18 | 2024-05-14 | 重庆长安汽车股份有限公司 | Diagnostic optimization method, device, equipment and medium for automobile ECU software system |
Also Published As
Publication number | Publication date |
---|---|
CN113791605B (en) | 2023-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113791605A (en) | Test method, device, equipment and storage medium | |
CN112596972B (en) | Test method, device and system of vehicle-mounted equipment and computer equipment | |
CN106980560B (en) | ICD database based multi-bus protocol testing and simulating method and platform | |
US20100250220A1 (en) | System and apparatus for managing test procedures within a hardware-in-the-loop simulation system | |
CN110262370B (en) | Batch reading and writing method, device and system of PLC | |
CN104160259B (en) | Communication simulation system, communication simulation method and vehicle communication device | |
CN111581082B (en) | Vehicle-mounted controller test script generation device and method | |
CN113468070A (en) | Consistency test method for vehicle-mounted Ethernet | |
CN107193747B (en) | Code testing method and device and computer equipment | |
CN113485927B (en) | Test data generation method, device, equipment and storage medium | |
CN113821440B (en) | VxWorks application software testing method, system and simulator | |
CN106487630B (en) | A kind of method and apparatus based on test case detection vehicle safety | |
CN114780326A (en) | Cross-platform calibration test method, device and equipment | |
CN118485269A (en) | Vehicle configuration matching method, device, terminal equipment and storage medium | |
CN114896168B (en) | Quick debugging system, method and memory for automatic driving algorithm development | |
CN115733871A (en) | Communication interaction method, device, equipment and storage medium | |
CN114356763A (en) | H5 page local debugging method suitable for hybrid App | |
Lee et al. | Collecting big data from automotive ECUs beyond the CAN bandwidth for fault visualization | |
CN109948251B (en) | CAD-based data processing method, device, equipment and storage medium | |
CN113342426A (en) | Application layer software component integration method and system | |
CN117608894B (en) | Log storage method and device, computer equipment and storage medium | |
CN110348127B (en) | Method, device, equipment and storage medium for generating test cases | |
CN115729218B (en) | Model test method, device, equipment and medium for various gear shifting modes | |
CN118672908A (en) | Vehicle flashing test method, system and equipment | |
Yang et al. | Testing system for CAN bus-oriented embedded software |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |