CN112199389A - Automobile system scanning method and device, automobile diagnosis equipment and storage medium - Google Patents

Automobile system scanning method and device, automobile diagnosis equipment and storage medium Download PDF

Info

Publication number
CN112199389A
CN112199389A CN202011073754.1A CN202011073754A CN112199389A CN 112199389 A CN112199389 A CN 112199389A CN 202011073754 A CN202011073754 A CN 202011073754A CN 112199389 A CN112199389 A CN 112199389A
Authority
CN
China
Prior art keywords
part number
target
automobile
response information
vehicle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011073754.1A
Other languages
Chinese (zh)
Inventor
杨曦宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yunjia Intelligent Technology Co Ltd
Original Assignee
Shenzhen Yunjia Intelligent 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 Yunjia Intelligent Technology Co Ltd filed Critical Shenzhen Yunjia Intelligent Technology Co Ltd
Priority to CN202011073754.1A priority Critical patent/CN112199389A/en
Publication of CN112199389A publication Critical patent/CN112199389A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Quality & Reliability (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Vehicle Cleaning, Maintenance, Repair, Refitting, And Outriggers (AREA)

Abstract

The invention discloses an automobile system scanning method, an automobile system scanning device, automobile diagnosis equipment and a storage medium. The automobile system scanning method comprises the following steps executed by the automobile diagnosis equipment: sending a system query request to a vehicle-mounted ECU, wherein the system query request comprises a part number query command corresponding to a preset system model; acquiring system response information which is sent by a vehicle-mounted ECU and corresponds to the part number query command; analyzing the system response information to obtain a system part number; and determining a target system matched with the system part number, and adding the target system into a preset system scanning result list. According to the technical scheme, the target system matched with the system part number can be quickly and accurately obtained, and the efficiency and accuracy of positioning the automobile system are improved.

Description

Automobile system scanning method and device, automobile diagnosis equipment and storage medium
Technical Field
The invention relates to the field of automobile diagnosis, in particular to an automobile system scanning method and device, automobile diagnosis equipment and a storage medium.
Background
Before the vehicle diagnosis, the vehicle systems on the vehicle are first located, i.e., which vehicle systems, e.g., an engine system and a brake system, are configured in the vehicle are obtained. However, in the existing method for positioning the car system, a car maintenance person generally needs to check a nameplate on the car to obtain the car type, and then obtains the configuration of the car system according to experience or inquiry data of the car maintenance person. Therefore, the current method for positioning the automobile system has low efficiency and low accuracy.
Disclosure of Invention
The embodiment of the invention provides an automobile system scanning method, an automobile system scanning device, automobile diagnosis equipment and a storage medium, and aims to solve the problems that all automobile systems cannot be accurately positioned and the positioning efficiency and the positioning accuracy are low.
An automobile system scanning method comprises the following steps executed by an automobile diagnosis device:
sending a system query request to a vehicle-mounted ECU, wherein the system query request comprises a part number query command corresponding to a preset system model;
acquiring system response information which is sent by the vehicle-mounted ECU and corresponds to the part number query command;
analyzing the system response information to obtain a system part number;
and determining a target system matched with the system part number, and adding the target system into a preset system scanning result list.
Further, the system query request comprises at least one of the part number query commands; after the sending of the system query request to the in-vehicle ECU, the automotive system scanning method further includes:
judging whether system response information corresponding to the part number query command sent by the vehicle-mounted ECU can be acquired within preset response time or not;
if the system response information corresponding to the part number query command sent by the vehicle-mounted ECU can be acquired, analyzing the system response information to acquire a system part number;
and if the system response information corresponding to the part number query command and sent by the vehicle-mounted ECU cannot be acquired, judging that a target system matched with at least one part number query command does not exist.
Further, sending a part number query command to the vehicle-mounted ECU in the part number query command; the method for scanning the automobile system comprises the following steps of sending a system query request to a vehicle-mounted ECU, wherein before the system query request comprises a part number query command corresponding to a preset system model, the method further comprises the following steps:
and on the basis of an OBD (on-board diagnostics) interface, the automobile diagnosis equipment is in communication connection with the vehicle-mounted ECU.
Further, the analyzing the system response information to obtain the system part number includes:
acquiring a target initial position and a target character string length;
splitting a character string of the system response information based on the target initial position and the target character string length to obtain a part number character string;
and carrying out format conversion processing on the part number character string to obtain a system part number.
Further, determining a target system matching the system part number based on the system part number includes:
reading at least one configuration matching data in a part number matching table, wherein the configuration matching data comprises a configuration part number and a corresponding automobile system;
and matching the system part number with at least one configuration part number, and determining the automobile system corresponding to the configuration part number matched with the system part number as a target system matched with the system part number.
Further, after determining a target system matching the system part number based on the system part number and adding the target system to a preset system scanning result list, the method for scanning the automobile system further includes:
obtaining a system diagnosis request, wherein the system diagnosis request comprises the target system;
and diagnosing the target system by adopting system diagnosis logic corresponding to the target system to obtain a system diagnosis result.
An automotive system scanning device, comprising:
the request sending module is used for sending a system query request to the vehicle-mounted ECU, wherein the system query request comprises a part number query command corresponding to a preset system model;
the response information acquisition module is used for acquiring system response information which is sent by the vehicle-mounted ECU and corresponds to the part number query command;
the response information analysis module is used for analyzing the system response information to acquire a system part number;
and the target system determining module is used for determining a target system matched with the system part number based on the system part number and adding the target system into a preset system scanning result list.
Further, the system inquiry request includes at least one of the part number inquiry commands, and the automotive system scanning device further includes:
the time judgment module is used for judging whether system response information which is sent by the vehicle-mounted ECU and corresponds to the part number inquiry command can be acquired within preset response time;
the response information analysis module is further used for analyzing the system response information to acquire a system part number if the system response information corresponding to the part number query command and sent by the vehicle-mounted ECU can be acquired;
and the information judgment module is used for judging that a target system matched with at least one part number query command does not exist if the system response information corresponding to the part number query command and sent by the vehicle-mounted ECU can not be acquired.
Further, the car system scanning device further comprises:
and the communication interface module is used for establishing communication connection between the automobile diagnosis equipment and the vehicle-mounted ECU based on an OBD interface.
Further, the response information parsing module includes:
the target acquisition unit is used for acquiring a target starting position and a target character string length;
the character string splitting unit is used for splitting the character string of the system response information based on the target initial position and the target character string length to obtain a part number character string;
and the format conversion unit is used for carrying out format conversion processing on the part number character string to obtain the system part number.
Further, the target system determination module includes:
the data reading unit is used for reading at least one configuration matching data in the part number matching table, and the configuration matching data comprises a configuration part number and a corresponding automobile system;
and the system determining unit is used for matching the system part number with at least one configuration part number, and determining the automobile system corresponding to the configuration part number matched with the system part number as a target system matched with the system part number.
Further, the car system scanning device further comprises:
a diagnosis request module, configured to obtain a system diagnosis request, where the system diagnosis request includes the target system;
and the system diagnosis module is used for diagnosing the target system by adopting system diagnosis logic corresponding to the target system to obtain a system diagnosis result.
An automotive diagnostic device comprises a memory, a processor and a computer program stored in the memory and operable on the processor, wherein the processor implements the automotive system scanning method when executing the computer program.
A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, implements the automotive system scanning method described above.
According to the automobile system scanning method and device, the automobile diagnosis equipment and the storage medium, the automobile diagnosis equipment sends a system query request to the vehicle-mounted ECU, and the system query request comprises a part number query command corresponding to a preset system model; acquiring system response information which is sent by a vehicle-mounted ECU and corresponds to the part number query command; analyzing the system response information to obtain a system part number; and determining a target system matched with the system part number, adding the target system into a preset system scanning result list, accurately determining the system part number corresponding to the automobile system actually existing in the automobile through system response information, quickly and accurately acquiring the target system matched with the system part number, and improving the efficiency and accuracy of positioning the automobile system.
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 description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a flow chart of a method for scanning an automotive system according to an embodiment of the present invention;
FIG. 2 is another flow chart of a method for scanning a vehicle system according to an embodiment of the invention;
FIG. 3 is another flow chart of a method for scanning a vehicle system according to an embodiment of the invention;
FIG. 4 is another flow chart of a method for scanning a vehicle system according to an embodiment of the invention;
FIG. 5 is another flow chart of a method for scanning a vehicle system according to an embodiment of the invention;
FIG. 6 is a schematic view of an exemplary scanning device for an automotive system;
FIG. 7 is a schematic view of an automotive diagnostic apparatus in accordance with an embodiment of the present invention;
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
The automobile system scanning method provided by the embodiment of the invention can be applied to automobile diagnosis equipment and an automobile-mounted ECU (electronic control unit) of an automobile, and is used for realizing automobile system scanning. Among them, the automobile diagnosis apparatus is an apparatus for diagnosing or scanning an automobile system. The onboard ECU is a microcontroller on the vehicle.
In an embodiment, as shown in fig. 1, a method for scanning a vehicle system is provided, which is described by taking the vehicle diagnostic apparatus in fig. 7 as an example, and includes the following steps performed by the vehicle diagnostic apparatus:
s10: and sending a system query request to the vehicle-mounted ECU, wherein the system query request comprises a part number query command corresponding to a preset system model.
Among them, an on-board ECU (Electronic Control Unit, ECU for short) is a microcontroller on the vehicle and is used to Control the vehicle system. Automotive systems include, but are not limited to, engine systems and transmission systems, among others. The system query request is a request for querying an automotive system. The preset system model is a model which is preset by a user and corresponds to an automobile system. The part number query command is a query command corresponding to a preset system model and is used for querying the part number of the automobile system corresponding to the preset system model. It should be noted that the part number query command is set by the user in a customized manner and is stored in the memory of the automobile diagnostic apparatus. It is understood that the number of the part number query commands in the system query request is at least one.
Taking an engine system as an example, for a certain vehicle type of automobile, the engine system can select and configure any engine system model supported by the vehicle type on the market, and therefore, a user can firstly determine which engine system models can be configured for the current vehicle type by collecting data, for example, the vehicle type a can select 5 engine system models corresponding to the installed engine system, and the system query request includes 5 engine system-based part number query commands corresponding to the 5 engine system models. The setting mode of the part number query command of other systems is similar to that of the sender system, and is not described herein.
The automobile diagnosis device sends a system query request to the vehicle-mounted ECU to query an automobile system in the automobile, and the system query request comprises a part number query command corresponding to a preset system model, and the part number query command corresponds to the preset system model in all automobile models, so that the automobile diagnosis device can query the automobile system corresponding to all automobile models in the market in a way of acquiring the system part number of the automobile system through the part number query command, and the applicability of the automobile diagnosis device in the automobile system query can be improved.
S20: and acquiring system response information which is sent by the vehicle-mounted ECU and corresponds to the part number inquiry command.
The system response information is formed by the vehicle-mounted ECU responding to the part number inquiry command. Specifically, the system response information acquired by the automobile diagnostic equipment is the vehicle-mounted ECU response and the part number query command. As an example, the automobile diagnostic device obtains system response information corresponding to the part number query command sent by the vehicle-mounted ECU, which indicates that a system part number corresponding to the automobile system actually detected by the vehicle-mounted ECU exists in the part number to be queried, and the automobile diagnostic device subsequently processes the system response information to obtain the system part number actually existing in the automobile system, so as to further scan or diagnose the automobile system through the system part number.
The automobile diagnosis device can accurately determine the automobile system corresponding to the system part number actually existing in the automobile by acquiring the system response information corresponding to the part number query command sent by the vehicle-mounted ECU, so that the accuracy of determining the automobile system is improved.
S30: and analyzing the system response information to acquire the system part number.
The system part number is a hardware number corresponding to an automobile system actually existing or applied in the automobile and is used for uniquely identifying one automobile system.
It should be noted that the system response message is actually a string of characters. And the automobile diagnosis equipment analyzes the part number character string in the system response information through the character string analysis rule to obtain the system part number. The part number character string is a character string corresponding to the system part number. The character string analysis rule is preset by a user, and system response information is analyzed into a rule of a part number character string corresponding to a system part number. The character string parsing rule may be a rule for parsing the system response information into a part number character string corresponding to the system part number according to the target start position and the target character string length. The target starting position is the starting position of the part number string. The target string length is the length of the part number string.
For example, the string corresponding to the system response information is res 8F F0135A 0338393636332D 453145353120208D, the target start position 38 starts to obtain a target string length 38393636332D 4531453531 as the part number string, and the auto diagnostic device further processes the part number string 38393636332D 4531453531 to obtain the system part number. Understandably, the system part number is acquired by analyzing the system response information through the character string analysis rule, so that the accuracy rate in the process of acquiring the system part number is improved.
S40: and determining a target system matched with the system part number, and adding the target system into a preset system scanning result list.
The target system is an automobile system corresponding to the system part number. The preset system scanning result list is a list of user pre-equipment, and comprises a list of corresponding relations between all automobile systems and system part numbers.
Specifically, the automobile diagnostic device acquires a target system matched with the system part number based on the system part number. The matching method of the system part number and the target system may be that the system part number and the target system are matched through a matching rule preset by a user, and specifically, the system part number and the target system may be matched by using a part number matching table stored in a memory of the automobile diagnosis device in advance by the user. The part number matching table comprises configuration matching data, and the configuration matching data comprises a one-to-one correspondence relationship between configuration part numbers and automobile systems, or a plurality of system part numbers correspond to the matching relationship between single automobile systems. The configuration part number is a preset system part number. For example, the engine system may correspond to multiple engine models or the engine system may correspond to a single engine model, where each engine model corresponds to a system part number.
As an example, the configuration match data may be a table of data that correlates all system part numbers to all automobile systems. The automobile diagnosis device can match the system part number with the target system through the configuration matching data pre-stored in the automobile diagnosis device memory, can quickly and accurately determine the target system matched with the system part number, and improves the efficiency and accuracy of positioning the automobile system.
Further, the automobile diagnosis device matches the system part number with the target system by configuring matching data, and after the target system is determined, the target system and the system part number corresponding to the target system are added into a preset system scanning result list. It can be understood that, since the preset system scanning result list includes the corresponding relationship between the automobile system and the system part number, the target system and the system part number corresponding to the target system are added to the preset system scanning result list, and the corresponding relationship between the system part numbers corresponding to all the automobile systems can be obtained through the preset system scanning result list, so as to position all the automobile systems in the automobile.
In the embodiment, the automobile diagnosis equipment sends a system query request to the vehicle-mounted ECU, and the system query request comprises a part number query command formed based on a part number to be queried, so that automobile systems corresponding to all automobile models can be queried through the system query request, and the applicability of the automobile diagnosis equipment in the query of the automobile systems can be improved; by acquiring system response information which is sent by the vehicle-mounted ECU and corresponds to the part number query command, the system part number corresponding to the automobile system actually existing in the automobile can be accurately determined through the system response information, and the accuracy in determining the automobile system is improved; analyzing the system response information to obtain a system part number; and based on the system part number, the target system matched with the system part number is determined, so that the target system matched with the determined part number can be quickly and accurately obtained, and the efficiency and the accuracy of positioning the automobile system are improved.
In one embodiment, as shown in FIG. 2, the system query request includes at least one part number query command; after step S10, after sending the system inquiry request to the in-vehicle ECU, the automobile system scanning method further includes:
s101: and judging whether system response information corresponding to the part number inquiry command sent by the vehicle-mounted ECU can be acquired within the preset response time.
The preset response time is the time for waiting for the vehicle-mounted ECU to send the system response information corresponding to the part number query command, and is set by a user in a self-defined mode.
As an example, the automobile diagnostic apparatus determines whether to acquire system response information corresponding to a part number inquiry command transmitted by the vehicle-mounted ECU within a preset response time T after transmitting the system inquiry request to the vehicle-mounted ECU.
S102: and if the system response information corresponding to the part number query command sent by the vehicle-mounted ECU can be acquired, analyzing the system response information to acquire the system part number.
Specifically, when system response information corresponding to at least one part number query command sent by the vehicle-mounted ECU is acquired, it is indicated that system response information corresponding to the at least one part number query command exists, that is, a target system corresponding to the part number query command exists, and the system part number is acquired by analyzing the system response information, so that the vehicle diagnostic equipment determines the target system through the system part number.
S103: and if the system response information corresponding to the part number query command sent by the vehicle-mounted ECU cannot be acquired, judging that a target system matched with at least one part number query command does not exist.
Specifically, when the system response information corresponding to the at least one part number inquiry command sent by the in-vehicle ECU cannot be acquired, it is determined that there is no system response information corresponding to the at least one part number inquiry command, that is, there is no target system corresponding to the part number inquiry command.
In this embodiment, the vehicle diagnostic apparatus determines whether system response information corresponding to the part number query command sent by the vehicle-mounted ECU can be acquired within a preset response time, and when the system response information corresponding to at least one part number query command sent by the vehicle-mounted ECU is acquired, performs analysis on the system response information to acquire the system part number, so that the vehicle diagnostic apparatus determines the target system through the system part number, thereby improving the efficiency of querying the target system by the vehicle diagnostic apparatus.
In one embodiment, before step S10, before sending a system query request to the in-vehicle ECU, the system query request including a part number query command formed based on the part number to be queried, the automobile system scanning method further includes: and based on the OBD interface, the communication connection is established between the automobile diagnosis equipment and the vehicle-mounted ECU.
Wherein, an OBD (On-Board Diagnostics, that is, a vehicle-mounted diagnostic system) interface is an interface On the vehicle-mounted diagnostic system in the vehicle-mounted ECU.
Specifically, based on the OBD interface, the communication connection is established between the automobile diagnosis equipment and the vehicle-mounted ECU. The communication connection can be established by a wired communication connection or a wireless communication connection. As an example, the wired communication connection: the automobile diagnosis equipment is connected with an OBD interface on an on-board diagnosis system in the on-board ECU through a special data line, so that the automobile diagnosis equipment is communicated with the on-board ECU through the OBD interface. Wireless communication connection: the automobile diagnosis equipment is inserted into an OBD interface on an automobile diagnosis system in the automobile ECU through a wireless OBD interface adapter and is communicated with the automobile ECU through wireless transmission modes such as Bluetooth and wifi.
In the embodiment, the automobile diagnosis equipment establishes wired communication connection and wireless communication connection with the vehicle-mounted ECU based on the OBD interface, when one communication mode is in fault, the other communication mode can continue to work, and the reliability of the vehicle-mounted ECU in establishing communication connection is improved; and the user can select the communication mode between the automobile diagnosis equipment and the vehicle-mounted ECU according to actual requirements, so that the user experience is improved.
In an embodiment, as shown in fig. 3, in step S30, parsing the system response information to obtain a system part number includes:
s31: and acquiring a target starting position and a target character string length.
And the target initial position is the initial position of the part number character string in the character string corresponding to the system response information. The target character string length is the character string length of the part number character string in the character string corresponding to the system response information. The part number character string is a character string corresponding to the system part number. It should be noted that the target start position and the target string length are set by the user.
S32: and splitting the character string of the system response information based on the target initial position and the target character string length to obtain the part number character string.
As an example, the system response information corresponds to a character string res of 8F F0135A 0338393636332D 453145353120208D, the target start position is a position corresponding to 38, and a target character string length 38393636332D 4531453531 is obtained as a part number character string. The system part number is obtained by analyzing the system response information through the target starting position and the target character string length, so that the interference of character strings except the part number character string on the process of obtaining the system part number can be avoided, and the reliability of the process of obtaining the system part number is improved.
S33: and carrying out format conversion processing on the part number character string to obtain the system part number.
Specifically, the format conversion processing on the part number character string may specifically be to perform character string format conversion on the part number character string according to user requirements, so as to obtain the system part number.
As an example, the automobile diagnostic device further character-string formats the part number character string 38393636332D 4531453531 into ASCII code, obtaining the system part number 89663-E1E 51.
In this embodiment, the automobile diagnostic device splits the character string of the system response information based on the target start position and the target character string length to obtain the part number character string, further processes the part number character string to obtain the system part number, that is, obtains the system part number by analyzing the system response information through the target start position and the target character string length, and can improve the accuracy of the obtained system part number.
In one embodiment, as shown in fig. 4, the determining the target system matching the system part number based on the system part number in step S40 includes:
s41: and reading at least one configuration matching data in the part number matching table, wherein the configuration matching data comprises configuration part numbers and corresponding automobile systems.
The part number matching table is a configuration matching data table in which all system part numbers and all automobile systems correspond to each other, and is pre-stored in a memory of the automobile diagnosis device by a user. It should be noted that the correspondence between all system part numbers and all automobile systems may be one-to-one correspondence between system part numbers and automobile systems, or correspondence between multiple system part numbers and a single automobile system. For example, the engine system may correspond to multiple engine models or the engine system may correspond to a single engine model, where each engine model corresponds to a system part number.
Specifically, the automobile diagnostic device reads at least one configuration matching data in the part number matching table from the memory, for example, the configuration matching data includes configuration part numbers 89663-E1E51, and engine systems corresponding to configuration part numbers 89663-E1E 51.
S42: and matching the system part number with at least one configuration part number, and determining the automobile system corresponding to the configuration part number matched with the system part number as a target system matched with the system part number.
Specifically, the automobile diagnosis device matches the system part number with the read at least one configuration part number, searches the configuration part number consistent with the system part number from the at least one configuration part number, and determines the automobile system corresponding to the configuration part number consistent with the system part number as a target system matched with the system part number.
In this embodiment, the vehicle diagnostic device reads at least one configuration matching data in the part number matching table, where the configuration matching data includes the configuration part number and the corresponding vehicle system, and determines the vehicle system corresponding to the configuration part number matching the system part number as the target system matching the system part number, so that the target system matching the system part number can be quickly and accurately obtained, and the efficiency and accuracy of positioning the vehicle system are improved.
In one embodiment, as shown in fig. 5, after the step S40, after acquiring the target system matching the system part number based on the system part number, the method for scanning the automobile system further includes:
s401: a system diagnostic request is obtained, the system diagnostic request including a target system.
The system diagnosis request is a request of a user for diagnosing the automobile system and comprises a target system to be diagnosed, which is selected by the user. The automobile diagnosis equipment generates a system diagnosis request through a target system selected by a user.
S402: and diagnosing the target system by adopting system diagnosis logic corresponding to the target system to obtain a system diagnosis result.
Wherein the system diagnostic logic is logic capable of obtaining vehicle system diagnostic data. The diagnostic data may specifically be a fault code or a data stream, for example. The system diagnosis result is obtained after the target system carries out system diagnosis. The system diagnosis result comprises system abnormity and system no abnormity.
As an example, the automobile diagnosis device diagnoses the target system based on a system diagnosis logic corresponding to the target system, and when the fault code is acquired or the acquired data stream is abnormal, the system diagnosis result is a system abnormality; and when the fault code is not acquired or the acquired data stream is not abnormal, the system diagnosis result indicates that the system is abnormal.
In this embodiment, the vehicle diagnostic device obtains a system diagnostic request, where the system diagnostic request includes a target system, diagnoses the target system based on a preset system diagnostic logic, obtains a system diagnostic result, can quickly and accurately determine the target system matched with the system part number, and improves the efficiency and accuracy of positioning the vehicle system.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
In an embodiment, an automobile system scanning device is provided, and the automobile system scanning device corresponds to the automobile system scanning method in the above embodiments one to one. As shown in fig. 6, the car system scanning apparatus includes: the system comprises a request sending module 10, a response information obtaining module 20, a response information analyzing module 30 and a target system determining module 40. The functional modules are explained in detail as follows:
the request sending module 10 is configured to send a system query request to the vehicle-mounted ECU, where the system query request includes a part number query command corresponding to a preset system model;
a response information obtaining module 20, configured to obtain system response information corresponding to the part number query command sent by the vehicle-mounted ECU;
the response information analysis module 30 is used for analyzing the system response information to obtain a system part number;
and the target system determining module 40 is used for determining a target system matched with the system part number and adding the target system into a preset system scanning result list.
Further, the system inquiry request includes at least one part number inquiry command, and the automobile system scanning device further includes:
the time judgment module is used for judging whether system response information corresponding to the part number query command sent by the vehicle-mounted ECU can be acquired within preset response time or not;
the response information analysis module is also used for analyzing the system response information to acquire the system part number if the system response information corresponding to the part number query command and sent by the vehicle-mounted ECU can be acquired;
and the information judgment module is used for judging that a target system matched with at least one part number query command does not exist if the system response information corresponding to the part number query command and sent by the vehicle-mounted ECU can not be acquired.
Further, the car system scanning device further comprises:
and the communication interface module is used for establishing communication connection between the automobile diagnosis equipment and the vehicle-mounted ECU based on the OBD interface.
Further, the response information parsing module 30 includes:
the target acquisition unit is used for acquiring a target starting position and a target character string length;
the character string splitting unit is used for splitting the character string of the system response information based on the target initial position and the target character string length to obtain a part number character string;
and the format conversion unit is used for carrying out format conversion processing on the part number character string to obtain the system part number.
Further, the target system determination module 40 includes:
the data reading unit is used for reading at least one configuration matching data in the part number matching table, and the configuration matching data comprises a configuration part number and a corresponding automobile system;
and the system determining unit is used for matching the system part number with at least one configuration part number, and determining the automobile system corresponding to the configuration part number matched with the system part number as a target system matched with the system part number.
Further, the car system scanning device further comprises:
the system comprises a diagnosis request module, a diagnosis request module and a diagnosis processing module, wherein the diagnosis request module is used for acquiring a system diagnosis request which comprises a target system;
and the system diagnosis module is used for diagnosing the target system by adopting system diagnosis logic corresponding to the target system to obtain a system diagnosis result.
For specific limitations of the scanning device of the car system, reference may be made to the above limitations of the scanning method of the car system, which are not described herein again. The modules in the automotive system scanning device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, an automobile diagnostic device is provided, which may be a server, and the internal structure thereof may be as shown in fig. 7. The automobile diagnosis device comprises a processor, a memory, a network interface and a database which are connected through a system bus. Wherein the processor of the automotive diagnostic device is configured to provide computational and control capabilities. The memory of the automobile diagnosis device comprises a storage medium and an internal memory. The storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operating system and computer programs in the storage medium to run. The database of the automobile diagnosis device is used for automobile system scanning. The network interface of the automobile diagnosis device is used for communicating with an external terminal through network connection. The computer program is executed by a processor to implement an automotive system scanning method.
In one embodiment, an automotive diagnostic apparatus is provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the automotive system scanning method in the foregoing embodiments is implemented, for example, steps S10 to S40, which are not repeated herein to avoid repetition.
In an embodiment, a computer-readable storage medium is provided, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method for scanning an automobile system in the foregoing embodiments is implemented, for example, steps S1 to S3, which are not described herein again to avoid repetition.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the computer program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will 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; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. An automobile system scanning method is characterized by comprising the following steps executed by an automobile diagnosis device:
sending a system query request to a vehicle-mounted ECU, wherein the system query request comprises a part number query command corresponding to a preset system model;
acquiring system response information which is sent by the vehicle-mounted ECU and corresponds to the part number query command;
analyzing the system response information to obtain a system part number;
and determining a target system matched with the system part number, and adding the target system into a preset system scanning result list.
2. The automotive system scanning method of claim 1, wherein the system query request includes at least one of the part number query command; after the sending of the system query request to the in-vehicle ECU, the automotive system scanning method further includes:
judging whether system response information corresponding to the part number query command sent by the vehicle-mounted ECU can be acquired within preset response time or not;
if the system response information corresponding to the part number query command sent by the vehicle-mounted ECU can be acquired, analyzing the system response information to acquire a system part number;
and if the system response information corresponding to the part number query command and sent by the vehicle-mounted ECU cannot be acquired, judging that a target system matched with at least one part number query command does not exist.
3. The automotive system scanning method of claim 1, before transmitting a system query request including a part number query command corresponding to a preset system model to the in-vehicle ECU, the automotive system scanning method further comprising:
and on the basis of an OBD (on-board diagnostics) interface, the automobile diagnosis equipment is in communication connection with the vehicle-mounted ECU.
4. The method for scanning a vehicle system according to claim 1, wherein the analyzing the system response information to obtain a system part number comprises:
acquiring a target initial position and a target character string length;
splitting a character string of the system response information based on the target initial position and the target character string length to obtain a part number character string;
and carrying out format conversion processing on the part number character string to obtain a system part number.
5. The automotive system scanning method of claim 1, wherein determining a target system that matches the system part number based on the system part number comprises:
reading at least one configuration matching data in a part number matching table, wherein the configuration matching data comprises a configuration part number and a corresponding automobile system;
and matching the system part number with at least one configuration part number, and determining the automobile system corresponding to the configuration part number matched with the system part number as a target system matched with the system part number.
6. The automotive system scanning method of any one of claims 1 to 5, wherein, after determining the target system matching the system part number and adding the target system to a preset system scanning result list, the automotive system scanning method further comprises:
obtaining a system diagnosis request, wherein the system diagnosis request comprises the target system;
and diagnosing the target system by adopting system diagnosis logic corresponding to the target system to obtain a system diagnosis result.
7. An automotive system scanning device, comprising:
the request sending module is used for sending a system query request to the vehicle-mounted ECU, wherein the system query request comprises a part number query command corresponding to a preset system model;
the response information acquisition module is used for acquiring system response information which is sent by the vehicle-mounted ECU and corresponds to the part number query command;
the response information analysis module is used for analyzing the system response information to acquire a system part number;
and the target system determining module is used for determining a target system matched with the system part number based on the system part number and adding the target system into a preset system scanning result list.
8. The automotive system scanning device of claim 7, wherein the system query request includes at least one of the part number query commands, the automotive system scanning device further comprising:
the time judgment module is used for judging whether system response information which is sent by the vehicle-mounted ECU and corresponds to the part number inquiry command can be acquired within preset response time;
the response information analysis module is further used for analyzing the system response information to acquire a system part number if the system response information corresponding to the part number query command and sent by the vehicle-mounted ECU can be acquired;
and the information judgment module is used for judging that a target system matched with at least one part number query command does not exist if the system response information corresponding to the part number query command and sent by the vehicle-mounted ECU can not be acquired.
9. An automotive diagnostic apparatus comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the automotive system scanning method according to any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out the automotive system scanning method according to any one of claims 1 to 6.
CN202011073754.1A 2020-09-30 2020-09-30 Automobile system scanning method and device, automobile diagnosis equipment and storage medium Pending CN112199389A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011073754.1A CN112199389A (en) 2020-09-30 2020-09-30 Automobile system scanning method and device, automobile diagnosis equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011073754.1A CN112199389A (en) 2020-09-30 2020-09-30 Automobile system scanning method and device, automobile diagnosis equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112199389A true CN112199389A (en) 2021-01-08

Family

ID=74012692

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011073754.1A Pending CN112199389A (en) 2020-09-30 2020-09-30 Automobile system scanning method and device, automobile diagnosis equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112199389A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115556684A (en) * 2022-09-22 2023-01-03 深圳市轩宇车鼎科技有限公司 Automobile air bag ECU (electronic control Unit) repairing method, equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104423378A (en) * 2013-08-29 2015-03-18 通用汽车环球科技运作有限责任公司 Vehicle electronic control unit calibration
CN107168285A (en) * 2017-05-26 2017-09-15 大连理工大学 A kind of automobile intelligent fault diagnosis of combination subjective and objective information and cloud model and maintenance householder method and system
CN108107875A (en) * 2018-01-25 2018-06-01 深圳市道通科技股份有限公司 A kind of vehicle diagnosis method, device and vehicle communication interface
CN109164783A (en) * 2018-07-26 2019-01-08 深圳市元征科技股份有限公司 Vehicular diagnostic method, device, equipment and medium
CN110032173A (en) * 2019-04-25 2019-07-19 深圳市元征科技股份有限公司 A kind of automotive diagnostic system automatic matching method and relevant device
CN111103868A (en) * 2019-12-27 2020-05-05 深圳市元征科技股份有限公司 Vehicle fault diagnosis method and device and related equipment
CN111316083A (en) * 2018-08-03 2020-06-19 深圳市元征科技股份有限公司 Vehicle diagnosis method, intelligent diagnosis device and vehicle data server
US20210390796A1 (en) * 2019-03-20 2021-12-16 Autel Intelligent Technology Corp., Ltd. Method, apparatus and mobile terminal for displaying distribution and statuses of ecu systems of vehicle

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104423378A (en) * 2013-08-29 2015-03-18 通用汽车环球科技运作有限责任公司 Vehicle electronic control unit calibration
CN107168285A (en) * 2017-05-26 2017-09-15 大连理工大学 A kind of automobile intelligent fault diagnosis of combination subjective and objective information and cloud model and maintenance householder method and system
CN108107875A (en) * 2018-01-25 2018-06-01 深圳市道通科技股份有限公司 A kind of vehicle diagnosis method, device and vehicle communication interface
CN109164783A (en) * 2018-07-26 2019-01-08 深圳市元征科技股份有限公司 Vehicular diagnostic method, device, equipment and medium
CN111316083A (en) * 2018-08-03 2020-06-19 深圳市元征科技股份有限公司 Vehicle diagnosis method, intelligent diagnosis device and vehicle data server
US20210390796A1 (en) * 2019-03-20 2021-12-16 Autel Intelligent Technology Corp., Ltd. Method, apparatus and mobile terminal for displaying distribution and statuses of ecu systems of vehicle
CN110032173A (en) * 2019-04-25 2019-07-19 深圳市元征科技股份有限公司 A kind of automotive diagnostic system automatic matching method and relevant device
CN111103868A (en) * 2019-12-27 2020-05-05 深圳市元征科技股份有限公司 Vehicle fault diagnosis method and device and related equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115556684A (en) * 2022-09-22 2023-01-03 深圳市轩宇车鼎科技有限公司 Automobile air bag ECU (electronic control Unit) repairing method, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105589719B (en) system for remotely upgrading whole vehicle-mounted controller software and upgrading method
US7493198B2 (en) Method and device for a vehicle-related telematics service
US20170316351A1 (en) Methods and systems for monitoring the condition of vehicle components from a nomadic wireless device or computer
US20110071725A1 (en) Remotely interacting with a vehicle to perform servicing and engineering functions from a nomadic device or computer
US6684152B2 (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
CN110456764B (en) Configuration management method and device of controller in vehicle and vehicle diagnostic instrument
US20160253849A1 (en) Unknown on-board diagnostics (obd) protocol interpreter and conversion system
CN108566407B (en) Method for establishing communication connection with tire pressure monitoring system, device and electronic equipment thereof
CN112286171A (en) Remote diagnosis method, device, vehicle and storage medium
CN110244691B (en) Automobile diagnosis method, device and system
CN110602702A (en) Function detection method and system for T-BOX in whole vehicle
CN111506047B (en) Vehicle diagnosis method, device and storage medium
CN110119104B (en) Vehicle-mounted communication system
CN114326672A (en) ECU simulation detection method, electronic device and storage medium
CN111176695A (en) Vehicle ECU configuration method, server and terminal
CN111527389A (en) Vehicle diagnosis method, vehicle diagnosis device and storage medium
CN111474923B (en) Vehicle diagnosis method, device and equipment
CN112199389A (en) Automobile system scanning method and device, automobile diagnosis equipment and storage medium
CN113625690A (en) Intelligent diagnosis method and system for automobile and mobile terminal
CN113406944A (en) Vehicle diagnosis method, apparatus, device and computer readable storage medium
CN117640720A (en) Remote diagnosis channel creation method, vehicle connector and remote diagnosis system
CN111351669B (en) Fault diagnosis method and device, storage medium and vehicle
CN113934198A (en) Vehicle diagnosis method, vehicle diagnosis device, electronic device, and storage medium
JP7081462B2 (en) Vehicle electronic control device and diagnostic system
CN113076126A (en) Remote automobile power calibration method, device, equipment and storage medium

Legal Events

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