CN110032173B - Automatic matching method for automobile diagnosis system and related equipment - Google Patents

Automatic matching method for automobile diagnosis system and related equipment Download PDF

Info

Publication number
CN110032173B
CN110032173B CN201910339878.0A CN201910339878A CN110032173B CN 110032173 B CN110032173 B CN 110032173B CN 201910339878 A CN201910339878 A CN 201910339878A CN 110032173 B CN110032173 B CN 110032173B
Authority
CN
China
Prior art keywords
tested
control system
data stream
electric control
preset
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
CN201910339878.0A
Other languages
Chinese (zh)
Other versions
CN110032173A (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.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN201910339878.0A priority Critical patent/CN110032173B/en
Publication of CN110032173A publication Critical patent/CN110032173A/en
Application granted granted Critical
Publication of CN110032173B publication Critical patent/CN110032173B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The embodiment of the application provides an automatic matching method of an automobile diagnosis system and related equipment, which are used for improving the automobile diagnosis efficiency. The method in the embodiment of the application comprises the following steps: sending a diagnosis request command to an electric control system to be tested by adopting one of preset communication protocols, and if a first response message sent by the electric control system to be tested is received, determining that the current communication protocol is a target communication protocol adopted by the electric control system to be tested; sending a group of preset data stream commands to the electric control system to be tested by adopting the target communication protocol, and receiving a second response message sent by the electric control system to be tested; and judging whether the second response message meets a preset condition, and if so, determining that a target diagnosis system corresponding to a group of preset data stream commands used currently is matched with the electric control system to be tested.

Description

Automatic matching method for automobile diagnosis system and related equipment
Technical Field
The application relates to the field of automobile diagnosis, in particular to an automatic matching method of an automobile diagnosis system and related equipment.
Background
With the popularization of automobile electric control systems, automobiles produced at present need to be provided with the automobile electric control systems no matter tens of thousands of automobiles or hundreds of millions of automobiles, few automobiles can be provided with one electric control system or two electric control systems, and most automobiles can be provided with dozens of electric control systems.
In the prior art, in the process of diagnosing the existing automobile electronic control system, the type of the electronic control system in the automobile needs to be identified according to manual experience, and the diagnosis system corresponding to the identified electronic control system is manually selected, so that if the automobile is not familiar or professional enough, automobile diagnosis cannot be performed, the electronic control system to be diagnosed cannot be easily and correctly selected even if the automobile is diagnosed blindly, and if the diagnosis system is selected incorrectly, the diagnosis system is selected again, so that the final diagnosis efficiency is low, time and labor are wasted, and the user experience is poor.
Disclosure of Invention
The embodiment of the application provides an automatic matching method of an automobile diagnosis system and related equipment, which are used for improving the automobile diagnosis efficiency.
The first aspect of the embodiments of the present application provides an automatic matching method for an automobile diagnostic system, which is applied to an automobile diagnostic device, and the method is characterized by including:
sending a diagnosis request command to an electric control system to be tested by adopting one of preset communication protocols, and if a first response message sent by the electric control system to be tested is received, determining that the current communication protocol is a target communication protocol adopted by the electric control system to be tested;
sending a group of preset data stream commands to the electric control system to be tested by adopting the target communication protocol, and receiving a second response message sent by the electric control system to be tested;
and judging whether the second response message meets a preset condition, and if so, determining that a target diagnosis system corresponding to a group of preset data stream commands used currently is matched with the electric control system to be tested.
Optionally, as a possible implementation manner, the determining whether the second response message meets the preset condition includes:
and if all the preset data stream commands in the group of currently used preset data stream commands are responded and the response values are within a preset range, determining that the second response message meets the preset condition.
Optionally, as a possible implementation manner, in this embodiment of the application, the sending a set of preset data stream commands to the to-be-tested electronic control system by using the target communication protocol includes:
acquiring a vehicle identification code of the target vehicle;
determining a target set formed by all diagnosis systems corresponding to the vehicle identification codes according to a preset mapping relation;
and sending the preset data stream command corresponding to one diagnostic system in the target set to the electric control system to be tested as a group of preset data stream commands, wherein each diagnostic system corresponds to a group of different preset data stream commands.
Optionally, the electronic control system to be tested in the embodiment of the present application includes an engine system, a transmission system, and an anti-lock braking system.
A second aspect of the embodiments of the present application provides a vehicle diagnostic apparatus characterized by comprising:
the sending module is used for sending a diagnosis request command to the electric control system to be tested by adopting one of preset communication protocols;
the first processing module is used for determining that the current communication protocol is a target communication protocol adopted by the electric control system to be tested if a first response message sent by the electric control system to be tested is received;
the second processing module is used for sending a group of preset data stream commands to the electric control system to be tested by adopting the target communication protocol and receiving a second response message sent by the electric control system to be tested;
and the judging module is used for judging whether the second response message meets a preset condition or not, and if so, determining that a target diagnosis system corresponding to a group of preset data stream commands currently used is matched with the electric control system to be tested.
Optionally, as a possible implementation manner, in an embodiment of the present application, a set of preset data stream commands at least includes two different data stream commands, and the determining module includes:
and the judging unit is used for determining that the second response message meets the preset condition if all preset data stream commands in the currently used group of preset data stream commands are responded and the response values are within a preset range.
Optionally, as a possible implementation manner, in an embodiment of the present application, the sending module includes:
an acquisition unit configured to acquire a vehicle identification code of the target vehicle;
the determining unit is used for determining a target set formed by all diagnosis systems corresponding to the vehicle identification codes according to a preset mapping relation;
and the sending unit is used for sending a preset data stream command corresponding to one diagnostic system in the target set to the electric control system to be tested as a group of preset data stream commands, and each diagnostic system corresponds to a group of different preset data stream commands.
A third aspect of the embodiments of the present application provides a vehicle diagnosis device, which is characterized by comprising a processor, wherein the processor is configured to implement the steps in the first aspect and any one of the possible implementation manners of the first aspect when executing a computer program stored in a memory.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium having a computer program stored thereon, wherein: the computer program realizes the steps of the first aspect and any of the possible implementations of the first aspect when executed by a processor.
According to the technical scheme, the embodiment of the application has the following advantages:
the vehicle diagnosis device in the embodiment of the application can automatically adopt one of preset communication protocols to send a diagnosis request command to the electric control system to be tested, if a first response message sent by the electric control system to be tested is received, the current communication protocol is determined to be a target communication protocol adopted by the electric control system to be tested, a group of preset data flow commands are sent to the electric control system to be tested by adopting the target communication protocol, a second response message sent by the electric control system to be tested is received, whether the second response message meets a preset condition or not is judged, and if the second response message meets the preset condition, the target diagnosis system corresponding to the group of preset data flow commands used currently is determined to be matched with the electric control system to be tested. The vehicle diagnosis equipment in the embodiment of the application can automatically match the corresponding diagnosis system for the electric control system to be tested, does not need to rely on manual experience, improves diagnosis efficiency and improves user experience.
Drawings
FIG. 1 is a schematic diagram of an embodiment of an automatic matching method for an automobile diagnostic system according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an embodiment of an automatic matching method for an automotive diagnostic system according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of an embodiment of a vehicle diagnostic apparatus according to an embodiment of the present application;
FIG. 4 is a schematic diagram of another embodiment of a vehicle diagnostic apparatus according to an embodiment of the present application;
fig. 5 is a schematic diagram of another embodiment of a vehicle diagnostic apparatus in an embodiment of the present application.
Detailed Description
The embodiment of the application provides an automatic matching method of an automobile diagnosis system and related equipment, which are used for improving the automobile diagnosis efficiency.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
With the popularization of automobile electric control systems, more or less automobiles produced at present are provided with the automobile electric control systems. However, the types of the electric control systems used are more and more along with the increase of the types of the vehicles in the vehicle factories. For example, there are 20 models under a certain vehicle manufacturer flag, and there are 10 or more engine ECUs mounted. It is difficult, if not expert, to determine which engine ECU is fitted to a particular vehicle.
Therefore, the scheme provides a solution for automatically identifying the electric control system of the current automobile assembly, and helps a user to accurately select the most suitable diagnosis system to perform diagnosis function operation on the automobile.
For convenience of understanding, a specific flow in the embodiment of the present application is described below, and referring to fig. 1, an embodiment of an automatic matching method for an automobile diagnostic system in the embodiment of the present application may include:
101. sending a diagnosis request command to the electronic control system to be tested by adopting one of preset communication protocols, and if receiving a first response message sent by the electronic control system to be tested, determining that the current communication protocol is a target communication protocol adopted by the electronic control system to be tested;
in actual application, communication protocols adopted by different vehicles may be different, common automobile communication protocols include a CAN BUS protocol, a KWP protocol and the like, and specific communication protocols are not limited herein. When the electronic control system is diagnosed, a communication protocol adopted by the electronic control system to be tested needs to be determined.
Specifically, at least two preset communication protocols are preset in the vehicle diagnosis device to adapt to more electric control systems. The vehicle diagnosis equipment can send a diagnosis request command to the electronic control system to be tested by adopting one of preset communication protocols, if a first response message sent by the electronic control system to be tested is received, the current communication protocol is determined to be a target communication protocol adopted by the electronic control system to be tested, if the first response message sent by the electronic control system to be tested is not received, the communication protocol adopted by the electronic control system to be tested is not the communication protocol used in the current testing process, and other communication protocols in the preset communication protocols are adopted to send the diagnosis request command to the electronic control system to be tested until the target communication protocol adopted by the electronic control system to be tested is detected.
For example, there are 5 types of engine EMS systems, 2 types of engine EMS systems are based on the KWP protocol, and 3 types of engine EMS systems are based on the CAN BUS protocol, and if there is no reply command, the vehicle EMS system will communicate with the diagnostic system based on the CAN BUS protocol, and the communication protocol used by the engine EMS system will be the CAN BUS protocol.
Optionally, the electronic control system to be tested in the embodiment of the present application may be an engine system, a transmission system, or an anti-lock braking system.
102. Sending a group of preset data stream commands to the electric control system to be tested by adopting a target communication protocol, and receiving a second response message sent by the electric control system to be tested;
after the target communication protocol adopted by the electric control system to be tested is determined, the electric control system to be tested can be communicated with. In the embodiment of the application, a target communication protocol can be adopted to send a group of preset data stream commands to the electric control system to be tested, receive a second response message sent by the electric control system to be tested, and determine the diagnosis system matched with the electric control system to be tested according to the second response message.
In practical applications, each type of diagnostic system has different points from other diagnostic systems, which are specifically embodied in that the data stream commands are different. Specifically, at least two groups of preset data stream commands can be preset in the vehicle diagnosis device in advance so as to adapt to more electronic control systems to be tested.
103. And judging whether the second response message meets a preset condition, and if so, determining that a target diagnosis system corresponding to a group of preset data stream commands currently used is matched with the electric control system to be tested.
And if all the preset data stream commands in the currently used group of preset data stream commands are responded and the response values are within the preset range, determining that the second response message meets the preset condition, and determining that the electronic control system to be tested is matched with the diagnostic system corresponding to the currently adopted group of data stream commands.
Optionally, the group of preset data stream commands includes at least two preset data stream commands, and the number of the specific preset data stream commands may be reasonably set and modified according to actual requirements, which is not limited herein.
For example, if there are 5 types of engine systems, 2 types of engine systems are based on the KWP protocol, and 3 types of engine systems are based on the CAN BUS protocol, the diagnostic system based on the KWP protocol is called to communicate with the EMS system of the vehicle, and if there is no reply command, the diagnostic system based on the CAN BUS protocol communicates with the vehicle. If a reply command exists, the EMS system assembled on the vehicle is the CAN BUS protocol, then the diagnostic systems of the three CAN BUS protocols are called in sequence, 20 data stream contents are sent to the EMS system of the current vehicle, and if the 20 data stream commands of the diagnostic system of which CAN BUS protocol all receive positive response replies and the replied data stream values are all in the correct range, the EMS system assembled on the vehicle type is the diagnostic system of the CAN BUS protocol. By analogy, all systems such as a TCU system, an ABS system and the like can be identified. By using the scheme, the electric control system of the current automobile assembly can be effectively identified, and a user is helped to accurately select the most suitable diagnosis system to carry out diagnosis function operation on the automobile.
The vehicle diagnosis device in the embodiment of the application can automatically adopt one of preset communication protocols to send a diagnosis request command to the electric control system to be tested, if a first response message sent by the electric control system to be tested is received, the current communication protocol is determined to be a target communication protocol adopted by the electric control system to be tested, a group of preset data flow commands are sent to the electric control system to be tested by adopting the target communication protocol, a second response message sent by the electric control system to be tested is received, whether the second response message meets a preset condition or not is judged, and if the second response message meets the preset condition, the target diagnosis system corresponding to the group of preset data flow commands used currently is determined to be matched with the electric control system to be tested. The vehicle diagnosis equipment in the embodiment of the application can automatically match the corresponding diagnosis system for the electric control system to be tested, so that the diagnosis efficiency is improved, and the user experience is improved.
On the basis of the embodiment shown in fig. 1, in order to improve the efficiency of automatic matching of the automobile diagnosis system, the embodiment of the application adopts the vehicle identification code of the vehicle to screen the communication protocol or the preset data stream command set. Referring to fig. 2, an embodiment of an automatic matching method for an automobile diagnostic system in an embodiment of the present application may include:
201. sending a diagnosis request command to the electronic control system to be tested by adopting one of preset communication protocols, and if receiving a first response message sent by the electronic control system to be tested, determining that the current communication protocol is a target communication protocol adopted by the electronic control system to be tested;
202. acquiring a vehicle identification code of a target vehicle, and determining a target set formed by all diagnosis systems corresponding to the vehicle identification code according to a preset mapping relation;
in practical application, the same type of electric control system of each manufacturer may be multiple, and multiple electric control systems correspond to multiple diagnosis systems. The mapping relation between a manufacturer and various diagnosis systems of the same type of electric control system of the manufacturer can be pre-established, after the vehicle identification code (VIN code) of the target vehicle is obtained, the manufacturer to which the target vehicle belongs can be identified according to the vehicle identification code, and then the target set formed by all diagnosis systems corresponding to the vehicle identification code is determined according to the preset mapping relation, and the diagnosis systems corresponding to other manufacturers are not needed to be adopted for matching in the matching process, so that the number of the diagnosis systems needing to be matched and verified is greatly reduced, and the matching and verifying efficiency is improved.
For example, there are 10 car factories, each manufacturer has 10 EMS systems, and in the embodiment of the present application, the vehicle diagnostic device may directly match and test 100 models of diagnostic systems, and preferably, after identifying the manufacturer based on the VIN code, only 10 models of diagnostic systems may be tested, so that the matching verification efficiency is improved.
203. Adopting a preset data stream command corresponding to one diagnostic system in the target set as a group of preset data stream commands to send to the tested electronic control system;
after the target communication protocol adopted by the electric control system to be tested is determined, the electric control system to be tested can be communicated with. In the embodiment of the application, a preset data stream command corresponding to one diagnostic system in a target set can be used as a group of preset data stream commands to be sent to the electric control system to be tested, a second response message sent by the electric control system to be tested is received, and the diagnostic system matched with the electric control system to be tested is determined according to the second response message.
204. Sending a group of preset data stream commands to the electric control system to be tested by adopting a target communication protocol, and receiving a second response message sent by the electric control system to be tested;
205. and judging whether the second response message meets a preset condition, and if so, determining that a target diagnosis system corresponding to a group of preset data stream commands currently used is matched with the electric control system to be tested.
The contents described in steps 201, 204, and 205 in this embodiment of the application are similar to the contents described in the above-mentioned steps 101 to 103, and are not described herein again specifically.
It should be understood that, in the various embodiments of the present application, the sequence numbers of the above steps do not mean the execution sequence, and the execution sequence of the steps should be determined by their functions and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
For the convenience of understanding, the automatic matching method of the automobile diagnosis system in the embodiment of the present application will be described below with reference to a specific application example.
1. The process begins by calling all the assembled engine systems (e.g., table one) of the vehicle manufacturer in turn to send a diagnosis request command, such as a 1001 enter command, to the current vehicle. If the request command sent by a called system is the response reply command, it indicates that the current automobile is equipped with the engine system of the protocol (for example, the current automobile type is judged to be equipped with the CAN protocol engine system).
Engine system
De Er Fu Engine System (KWP)
Electric engine system (KWP)
Boshi engine system (CAN)
Ma Rayleigh single point engine system (CAN)
Electric engine system (CAN)
Gearbox system
Boshi gear box system (CAN)
Li Er gear-box system (KWP)
Anti-lock braking system
DENSO anti-lock braking system (CAN)
UAEA anti-lock system (KWP)
Watch 1
2. The engine diagnosis system of the CAN protocol is called in sequence, a specified number of data stream contents are sent to the current automobile (the sent data stream contents are specific to the called diagnosis system, and are absent or distinguished by other diagnosis systems), whether all sent data stream commands receive positive responses or not and whether the data of the received reply commands are within the range of the data stream values or not are judged. If the vehicle is correctly equipped with the engine system and the matched diagnosis system, the vehicle can be judged to be equipped with the engine system and the matched diagnosis system.
3. The method is used for sequentially judging systems such as a gearbox system, an anti-lock system and the like. Finally, according to the scheme, judgment of the current automobile assembly system, namely matching of the diagnosis system is completed, and the system (table two) of the current automobile assembly and the matched diagnosis system are identified from a plurality of system options (table one).
Engine system
Boshi engine system (CAN)
Gearbox system
Li Er gear-box system (KWP)
Anti-lock braking system
UAEA anti-lock system (KWP)
Watch two
4. And the interface lists the identified electric control systems, namely the corresponding matched diagnosis systems, for the user to use.
Referring to fig. 3, an embodiment of the present application further provides a vehicle diagnostic apparatus, which may include:
the sending module 301 sends a diagnosis request command to the electronic control system to be tested by using one of preset communication protocols;
the first processing module 302, if receiving a first response message sent by the electronic control system to be tested, determines that the current communication protocol is a target communication protocol adopted by the electronic control system to be tested;
the second processing module 303 sends a group of preset data stream commands to the electronic control system to be tested by using a target communication protocol, and receives a second response message sent by the electronic control system to be tested;
the determining module 304 is configured to determine whether the second response message meets a preset condition, and if so, determine that a target diagnostic system corresponding to a currently used group of preset data stream commands matches the electronic control system to be tested.
Optionally, as a possible implementation manner, the determining whether the second response message meets the preset condition includes that a group of preset data stream commands in the embodiment of the present application at least includes two different data stream commands, and includes:
and if all the preset data stream commands in the group of currently used preset data stream commands are responded and the response values are within the preset range, determining that the second response message meets the preset condition.
Optionally, referring to fig. 4, as a possible implementation manner, in an embodiment of the present application, the sending module 301 includes:
an acquisition unit 3011 for acquiring a vehicle identification code of a target vehicle;
the determining unit 3012 is configured to determine, according to a preset mapping relationship, a target set formed by all diagnostic systems corresponding to the vehicle identification code;
the sending unit 3013 sends a preset data stream command corresponding to one diagnostic system in the target set to the electrical control system to be tested as a set of preset data stream commands, where each diagnostic system corresponds to a different set of preset data stream commands.
The vehicle diagnostic apparatus in the embodiment of the present application is described above from the viewpoint of functionalization, and is described below from the viewpoint of hardware processing.
The embodiment of the present application further provides a vehicle diagnostic apparatus, as shown in fig. 5, for convenience of description, only the relevant parts of the embodiment of the present application are shown, and details of the specific technology are not disclosed, please refer to the method part of the embodiment of the present application. Referring to fig. 5, the vehicle diagnostic apparatus 5 includes: memory 510, processor 520, wired or wireless network module 530, and computer programs stored in the memory and executable on the processor. The processor, when executing the computer program, implements the steps of the above-described embodiments of the automatic matching method for the vehicle diagnostic system, such as steps 101 to 103 shown in fig. 1. Alternatively, the processor, when executing the computer program, implements the functions of each module or unit in the above-described device embodiments.
In some of the embodiments of the application, the processor, when executing the computer program stored in the memory, implements the steps of:
sending a diagnosis request command to the electronic control system to be tested by adopting one of preset communication protocols, and if receiving a first response message sent by the electronic control system to be tested, determining that the current communication protocol is a target communication protocol adopted by the electronic control system to be tested;
sending a group of preset data stream commands to the electric control system to be tested by adopting a target communication protocol, and receiving a second response message sent by the electric control system to be tested;
and judging whether the second response message meets a preset condition, and if so, determining that a target diagnosis system corresponding to a group of preset data stream commands currently used is matched with the electric control system to be tested.
Optionally, in some embodiments of the present application, the processor may be further configured to implement the following steps:
and if all the preset data stream commands in the group of currently used preset data stream commands are responded and the response values are within the preset range, determining that the second response message meets the preset condition.
Optionally, in some embodiments of the present application, the processor may be further configured to implement the following steps:
acquiring a vehicle identification code of a target vehicle;
determining a target set formed by all diagnosis systems corresponding to the vehicle identification codes according to a preset mapping relation;
and sending the preset data stream command corresponding to one diagnostic system in the target set as a group of preset data stream commands to the electric control system to be tested, wherein each diagnostic system corresponds to a group of different preset data stream commands.
Optionally, the electronic control system to be tested comprises an engine system, a gearbox system and an anti-lock system.
Illustratively, a computer program may be partitioned into one or more modules/units, which are stored in a memory and executed by a processor. One or more modules/units may be a series of computer program instruction segments capable of performing certain functions, the instruction segments being used to describe the execution of a computer program in a computer device.
Those skilled in the art will appreciate that the configuration shown in fig. 5 does not constitute a limitation of the vehicle diagnostic apparatus, and that the vehicle diagnostic apparatus 5 may include more or less components than those shown, or combine some of the components, or a different arrangement of components, e.g., the computer device may also include input-output devices, buses, etc.
The Processor may be a general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, or the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor being the control center of the computer device and the various interfaces and lines connecting the various parts of the overall computer device.
The memory may be used to store computer programs and/or modules, and the processor may implement various functions of the computer device by executing or executing the computer programs and/or modules stored in the memory, as well as by invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
The present application further provides a computer-readable storage medium having a computer program stored thereon, which when executed by a processor, can implement the steps of:
sending a diagnosis request command to the electronic control system to be tested by adopting one of preset communication protocols, and if receiving a first response message sent by the electronic control system to be tested, determining that the current communication protocol is a target communication protocol adopted by the electronic control system to be tested;
sending a group of preset data stream commands to the electric control system to be tested by adopting a target communication protocol, and receiving a second response message sent by the electric control system to be tested;
and judging whether the second response message meets a preset condition, and if so, determining that a target diagnosis system corresponding to a group of preset data stream commands currently used is matched with the electric control system to be tested.
Optionally, in some embodiments of the present application, the processor may be further configured to implement the following steps:
and if all the preset data stream commands in the group of currently used preset data stream commands are responded and the response values are within the preset range, determining that the second response message meets the preset condition.
Optionally, in some embodiments of the present application, the processor may be further configured to implement the following steps:
acquiring a vehicle identification code of a target vehicle;
determining a target set formed by all diagnosis systems corresponding to the vehicle identification codes according to a preset mapping relation;
and sending the preset data stream command corresponding to one diagnostic system in the target set as a group of preset data stream commands to the electric control system to be tested, wherein each diagnostic system corresponds to a group of different preset data stream commands.
Optionally, the electronic control system to be tested comprises an engine system, a gearbox system and an anti-lock system.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (7)

1. An automatic matching method for an automobile diagnosis system is characterized by being applied to vehicle diagnosis equipment, wherein at least two different preset data stream commands are preset in the vehicle diagnosis equipment, and the method comprises the following steps:
sending a diagnosis request command to an electric control system to be tested by adopting one of preset communication protocols, and if a first response message sent by the electric control system to be tested is received, determining that the current communication protocol is a target communication protocol adopted by the electric control system to be tested;
sending a group of preset data stream commands to the electric control system to be tested by adopting the target communication protocol, and receiving a second response message sent by the electric control system to be tested;
judging whether the second response message meets a preset condition, if so, determining that a target diagnosis system corresponding to a group of preset data stream commands used currently is matched with the electric control system to be tested;
wherein, a group of preset data stream commands at least includes two different data stream commands, and the determining whether the second response message meets a preset condition includes:
and if all the preset data stream commands in the group of currently used preset data stream commands are responded and the response values are within a preset range, determining that the second response message meets the preset condition.
2. The method of claim 1, wherein said sending a set of predetermined dataflow commands to the electronic control system under test using the target communication protocol includes:
acquiring a vehicle identification code of a target vehicle;
determining a target set formed by all diagnosis systems corresponding to the vehicle identification codes according to a preset mapping relation;
and sending the preset data stream command corresponding to one diagnostic system in the target set to the electric control system to be tested as a group of preset data stream commands, wherein each diagnostic system corresponds to a group of different preset data stream commands.
3. The method of claim 2, wherein the electronic control systems to be tested comprise an engine system, a transmission system, and an anti-lock braking system.
4. A vehicle diagnostic apparatus in which two different preset data stream commands are preset, comprising:
the sending module is used for sending a diagnosis request command to the electric control system to be tested by adopting one of preset communication protocols;
the first processing module is used for determining that the current communication protocol is a target communication protocol adopted by the electric control system to be tested if a first response message sent by the electric control system to be tested is received;
the second processing module is used for sending a group of preset data stream commands to the electric control system to be tested by adopting the target communication protocol and receiving a second response message sent by the electric control system to be tested;
the judging module is used for judging whether the second response message meets a preset condition or not, and if so, determining that a target diagnosis system corresponding to a group of preset data stream commands used currently is matched with the electric control system to be tested;
wherein, a group of preset data stream commands at least includes two different data stream commands, the judging module includes:
and the judging unit is used for determining that the second response message meets the preset condition if all preset data stream commands in the currently used group of preset data stream commands are responded and the response values are within a preset range.
5. The vehicle diagnostic apparatus according to claim 4, characterized in that the transmission module includes:
an acquisition unit configured to acquire a vehicle identification code of a target vehicle;
the determining unit is used for determining a target set formed by all diagnosis systems corresponding to the vehicle identification codes according to a preset mapping relation;
and the sending unit is used for sending a preset data stream command corresponding to one diagnostic system in the target set to the electric control system to be tested as a group of preset data stream commands, and each diagnostic system corresponds to a group of different preset data stream commands.
6. A vehicle diagnostic apparatus comprising a processor for implementing the steps of the method of any one of claims 1 to 3 when executing a computer program stored in a memory.
7. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program realizing the steps of the method according to any one of claims 1 to 3 when executed by a processor.
CN201910339878.0A 2019-04-25 2019-04-25 Automatic matching method for automobile diagnosis system and related equipment Active CN110032173B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910339878.0A CN110032173B (en) 2019-04-25 2019-04-25 Automatic matching method for automobile diagnosis system and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910339878.0A CN110032173B (en) 2019-04-25 2019-04-25 Automatic matching method for automobile diagnosis system and related equipment

Publications (2)

Publication Number Publication Date
CN110032173A CN110032173A (en) 2019-07-19
CN110032173B true CN110032173B (en) 2022-04-15

Family

ID=67240270

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910339878.0A Active CN110032173B (en) 2019-04-25 2019-04-25 Automatic matching method for automobile diagnosis system and related equipment

Country Status (1)

Country Link
CN (1) CN110032173B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110596627B (en) * 2019-08-22 2021-09-03 深圳市鹏巨术信息技术有限公司 Detection method and device for vehicle diagnosis box
CN110750088B (en) * 2019-09-27 2023-05-02 深圳市鹏巨术信息技术有限公司 Data detection method and related product
CN111447231B (en) * 2020-03-28 2022-05-10 深圳市元征科技股份有限公司 Vehicle protocol identification method and device
CN113466688A (en) * 2020-03-31 2021-10-01 北京配天技术有限公司 Motor parameter identification method, device, motor, system and storage medium
CN111897312B (en) * 2020-08-10 2021-12-31 上海星融汽车科技有限公司 Vehicle anti-lock system identification method and system
CN111855222A (en) * 2020-08-13 2020-10-30 长沙市健科电子有限公司 Test control method and device for vehicle water pump
CN112319495B (en) * 2020-09-29 2022-09-16 深圳市云伽智能技术有限公司 Method, device and equipment for determining automobile system model and storage medium
CN112199389B (en) * 2020-09-30 2024-08-09 深圳市云伽智能技术有限公司 Automobile system scanning method and device, automobile diagnosis equipment and storage medium
CN112147987B (en) * 2020-09-30 2022-07-19 深圳市元征科技股份有限公司 Vehicle diagnosis method, vehicle diagnosis device and terminal equipment
CN114035546A (en) * 2021-11-10 2022-02-11 深圳市元征科技股份有限公司 Vehicle diagnosis method, system and terminal
CN115442261A (en) * 2022-05-27 2022-12-06 北京罗克维尔斯科技有限公司 Method and system for testing lower computer
CN116095190A (en) * 2023-01-30 2023-05-09 深圳市星卡科技股份有限公司 Method and device for rapidly collecting vehicle data and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8315760B2 (en) * 2008-12-03 2012-11-20 Mitchell Repair Information Company LLC Method and system for retrieving diagnostic information
CN102937808B (en) * 2012-10-31 2015-06-10 深圳市元征科技股份有限公司 Enhancement type vehicle failure code reading card
CN107145138A (en) * 2017-04-07 2017-09-08 宁波吉利汽车研究开发有限公司 A kind of diagnostic system suitable for different vehicle
CN109213124B (en) * 2018-08-29 2020-03-31 深圳市元征科技股份有限公司 Data scanning method, data scanning device and vehicle diagnosis equipment
CN109560994A (en) * 2018-12-21 2019-04-02 北京雄信息科技有限公司 Automobile fault diagnostic apparatus detection system and detection method

Also Published As

Publication number Publication date
CN110032173A (en) 2019-07-19

Similar Documents

Publication Publication Date Title
CN110032173B (en) Automatic matching method for automobile diagnosis system and related equipment
CN108107875B (en) Automobile diagnosis method and device and vehicle communication interface
CN108803580B (en) Method for matching vehicle CAN protocol and related equipment
CN107918382B (en) Automobile fault diagnosis method, automobile fault diagnosis device and electronic equipment
JP6325046B2 (en) Remote vehicle programming system and method
CN110083628B (en) Addressing method and device for Electronic Control Unit (ECU) of vehicle
CN112286170B (en) Vehicle ECU (electronic control Unit) flashing method, device and equipment and storage medium
CN111708555B (en) Data processing equipment, method and system
US20020035428A1 (en) Method of initializing a system for open/closed-loop control of the operational sequences of a motor vehicle and a system for carrying out the method
CN113406944B (en) Vehicle diagnosis method, device, equipment and computer readable storage medium
US9779563B2 (en) Transfer dongle for stored vehicle information
CN107608814A (en) A kind of method of data sharing, the device and mobile terminal of data sharing
US10574553B2 (en) Fault isolation for a controller area network
EP3806400A1 (en) Remote diagnosis method and system for vehicles
CN113608518A (en) Data generation method, device, terminal equipment and medium
CN112817888B (en) OBD device state setting method and device, OBD device and storage medium
CN112003774A (en) Method, system and storage medium for checking error frame of automobile CAN bus
CN105374083B (en) vehicle identification method and device
CN111064630A (en) Pre-update and post-update vehicle bus traffic fingerprinting
CN116701177A (en) Method and device for testing interface pins of vehicle-mounted diagnostic system and electronic equipment
CN114490713A (en) Fault code management method, device, equipment and readable storage medium
CN111143225A (en) Vulnerability processing method of automobile diagnosis software and related product
CN108803582B (en) Automatic bus switching system and method suitable for remote fault diagnosis
CN112199389A (en) Automobile system scanning method and device, automobile diagnosis equipment and storage medium
CN111740888B (en) Ignition signal synchronization method and related equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant