CN112068531A - Vehicle data stream reading method and system and diagnostic equipment - Google Patents

Vehicle data stream reading method and system and diagnostic equipment Download PDF

Info

Publication number
CN112068531A
CN112068531A CN202010933162.6A CN202010933162A CN112068531A CN 112068531 A CN112068531 A CN 112068531A CN 202010933162 A CN202010933162 A CN 202010933162A CN 112068531 A CN112068531 A CN 112068531A
Authority
CN
China
Prior art keywords
data stream
ecu
command
reading
identifier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010933162.6A
Other languages
Chinese (zh)
Other versions
CN112068531B (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.)
Shanghai Xingrong Automotive Technology Co ltd
Original Assignee
Shanghai Xingrong Automotive 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 Shanghai Xingrong Automotive Technology Co ltd filed Critical Shanghai Xingrong Automotive Technology Co ltd
Priority to CN202010933162.6A priority Critical patent/CN112068531B/en
Publication of CN112068531A publication Critical patent/CN112068531A/en
Application granted granted Critical
Publication of CN112068531B publication Critical patent/CN112068531B/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
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Vehicle Cleaning, Maintenance, Repair, Refitting, And Outriggers (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

A vehicle data stream reading method, comprising: responding to a data stream reading command input by a user, and screening a general data stream command and an address data stream command matched with ECU (electronic control unit) version information corresponding to the current diagnosis system from a data stream configuration table corresponding to the current diagnosis system; data stream pre-reading: respectively sending the screened data stream instructions to an ECU (electronic control unit), and hiding the data stream instructions which are not replied or negatively responded by the ECU; responding to the data stream type input by a user, and sending the data stream command which corresponds to the data stream type and is not hidden in the screened data stream command to an ECU; and matching the data stream returned by the ECU with the corresponding reasonable numerical range, and screening out the data stream meeting the corresponding reasonable numerical range for display. The invention ensures that the data stream finally displayed to the user is always the data stream with reasonable numerical value and response of the ECU, and avoids interference on maintenance judgment of the user.

Description

Vehicle data stream reading method and system and diagnostic equipment
Technical Field
The invention belongs to the technical field of vehicle diagnosis, and particularly relates to a vehicle data stream reading method, a vehicle data stream reading system and vehicle data stream reading diagnosis equipment.
Background
The vehicle data flow refers to data read by a special vehicle diagnostic device through a diagnostic interface by data parameters communicated with sensors and actuators by an Electronic Control Unit (ECU), and the data change along with time and working conditions, and the data are transmitted to the diagnostic device through data lines as if the data were queued by team. The data flow memorized in an automobile Electronic Control Unit (ECU) truly reflects the working voltage and the state of each sensor and each actuator, and provides a basis for automobile fault diagnosis. The vehicle diagnosis device is a specialized tool specially aiming at vehicle detection and maintenance, and the read data stream function is a very important function in the vehicle diagnosis device. The maintenance personnel can judge the running state and the fault of the vehicle through the data stream change read by the vehicle in different states.
With the increasing strictness of emission regulations, electronic control units of automobiles are continuously updated, and the models and versions of vehicles are becoming more diversified. The existing diagnostic equipment is used for configuring a data stream command of a database aiming at a specific model of a certain automobile electric control unit, and when the data stream is read, the corresponding data stream command is obtained from the database and sent to an ECU.
Such an approach mainly suffers from the following disadvantages:
1. the data stream command of the diagnostic equipment may have many omissions and unconfigurations, and often the absence of some data streams may just make the judgment and maintenance work of part of the maintenance personnel difficult to be carried out, which causes inconvenience to the work of the maintenance personnel.
2. The configured data stream command does not necessarily support reading completely, negative response or non-reply may exist in the ECU, and the empty or unsupported data stream display causes trouble to the work of maintenance personnel and cannot judge whether the equipment is in problem or the vehicle is in problem.
3. The configured data stream command may not be consistent with the description, and a data stream with a large deviation (a large deviation from a reasonable value) may cause a wrong judgment to be made by a maintenance worker, thereby spending a large amount of time on meaningless inspection work and interfering normal operation of maintenance work.
Disclosure of Invention
In view of the above, a vehicle data stream reading method, a vehicle data stream reading system and a diagnostic device are provided.
In order to solve the technical problems, the invention adopts the following technical scheme:
a vehicle data stream reading method, comprising:
responding to a data stream reading command input by a user, and screening a general data stream command and an address data stream command matched with ECU (electronic control unit) version information corresponding to the current diagnosis system from a data stream configuration table corresponding to the current diagnosis system; all general data stream instructions corresponding to the type of the ECU, all address data stream instructions corresponding to each version information of the ECU of the type and a reasonable value range of each instruction return value are pre-configured in a data stream configuration table;
data stream pre-reading: respectively sending the screened data stream instructions to an ECU (electronic control unit), and hiding the data stream instructions which are not replied or negatively responded by the ECU;
responding to the data stream type input by a user, and sending the data stream command which corresponds to the data stream type and is not hidden in the screened data stream commands to the ECU;
and matching the data stream returned by the ECU with the corresponding reasonable numerical range, and screening out the data stream meeting the corresponding reasonable numerical range for display.
In one embodiment, a first identifier for distinguishing a general data stream instruction from an address data stream instruction is set in the data stream configuration table;
and screening out a general data stream command and an address data stream command matched with the ECU version information corresponding to the current diagnosis system from a data stream configuration table corresponding to the current diagnosis system through the first identifier.
In an embodiment, the first identifier is set in a system identifier column of the data flow configuration table, and when the first identifier is empty, the first identifier represents that the corresponding data flow instruction is a general data flow instruction, and when the first identifier is not empty, the first identifier represents that the corresponding data flow instruction is an address data flow instruction.
In an embodiment, the data stream pre-reading further comprises:
grouping each data stream instruction in the data stream configuration table in advance, and setting a second identifier for distinguishing whether data stream pre-reading is needed for each group;
and judging whether the screened data streams need data stream pre-reading or not through the second identifier, respectively sending the data stream instructions needing data stream pre-reading to the ECU, and hiding the data stream instructions which are not replied or negatively responded by the ECU.
In one embodiment, the reasonable value range includes a reasonable value range under non-failure and a reasonable value range under failure;
screening out the data stream that satisfies corresponding reasonable numerical range and show further includes:
and displaying the data stream which meets the reasonable value range under the non-fault condition or the reasonable value range under the fault condition through the display interface.
In one embodiment, the diagnostic system pre-associates a corresponding data flow configuration table.
The present disclosure also relates to a vehicle data stream reading system, which includes a storage module including instructions loaded and executed by a processor, where the instructions, when executed, cause the processor to execute the vehicle data stream reading method.
The present solution also relates to a diagnostic device having the above-described vehicle data stream reading system.
The invention configures a complete data stream instruction configuration table for the diagnosis system, avoids omission, screens and hides the data stream instructions, ensures that the data stream finally displayed to the user is always the data stream with ECU response and reasonable value, and avoids interference to the maintenance judgment of the user.
Drawings
The invention is described in detail below with reference to the following figures and detailed description:
FIG. 1 is a flow chart of the present invention;
FIG. 2 is a schematic diagram of a data flow classification interface according to the present invention.
Detailed Description
As shown in fig. 1, an embodiment of the present specification provides a vehicle data stream reading method, including:
s101, responding to a data stream reading command input by a user, and screening out the following data stream configuration table corresponding to the current diagnosis system: the diagnostic system comprises a general data stream command and an address data stream command matched with ECU version information corresponding to the current diagnostic system.
The ECUs of different models correspond to different diagnostic systems, and the diagnostic systems are associated with corresponding data flow configuration tables in advance.
All general-purpose data flow instructions corresponding to the types of the ECUs, all address data flow instructions corresponding to version information (version numbers) of the ECUs of the types and reasonable numerical value ranges of return values of the instructions are configured in advance in the data flow configuration table.
The same model of ECU often has multiple versions, for example, the P949 ECU has the following versions:
P949V732, P949V791, P949V792 and P949V770, V732 represent version numbers, and we can configure the ECU model P949 with the corresponding data flow configuration table and associate with the diagnostic system of the ECU.
The general type data stream instruction is suitable for each version of ECU under the same model, and the address type data stream instruction is refined to each version, and the data stream is read through the address of the ECU. The address type data flow instructions of ECUs of the same model and different versions cannot be used universally. Taking the data flow arrangement table of the P949 model ECU as an example, all the general-purpose data flow commands of P949V732, P949V791, P949V792 and P949V770 and the address-type data flow commands of P949V732, P949V791, P949V792 and P949V770 are arranged in the table, so that omission of data flow commands is avoided.
In an embodiment, a first identifier for distinguishing the general-purpose data flow command from the address-type data flow command is set in the data flow configuration table, and step S101 screens out the general-purpose data flow command and the address-type data flow command matching with the ECU version information corresponding to the current diagnostic system from the data flow configuration table corresponding to the current diagnostic system through the first identifier.
Specifically, the first identifier is set in a system identifier column of the data flow configuration table, and when the first identifier is empty, the corresponding data flow instruction is a general-purpose data flow instruction, and when the first identifier is not empty, the corresponding data flow instruction is an address-type data flow instruction, for example, the first identifier is 949732, and the address-type data flow instruction represents that the instruction is an address-type data flow instruction of 949V732 ECU.
In a specific application scenario, a maintenance worker clicks a path node on the diagnostic device, establishes communication with the ECU through a communication parameter configured in the background, enters a corresponding diagnostic system according to data replied by the vehicle electronic control unit, and starts to execute step 101 after the maintenance worker clicks a read data stream function key in the diagnostic system.
S102, data stream pre-reading: and respectively sending the screened data stream commands to the ECU, and hiding the data stream commands which are not replied or negatively responded by the ECU.
In one embodiment, step S102 further includes:
and grouping each data stream instruction in the data stream configuration table in advance, and setting a second identifier for distinguishing whether data stream pre-reading is needed for each group. E.g., 0 for read ahead and 1 for read ahead.
And judging whether the screened data streams need data stream pre-reading or not through the second identifier, respectively sending the data stream instructions needing data stream pre-reading to the ECU, and hiding the data stream instructions which are not replied or negatively responded by the ECU.
If the number of data stream instructions of a packet exceeds 100, the packet may be selected not to be pre-read in order to guarantee the user experience.
The user may group the data stream commands as desired, such as by general type and address type, or may group the commands by other grouping criteria.
And S103, after the pre-reading is finished, entering a data flow classification interface, wherein the data flow classification interface refers to FIG. 2, clicking a specific data flow type by a user, responding to the data flow type input by the user, and sending the data flow instruction which corresponds to the data flow type and is not hidden in the screened data flow instruction to the ECU.
And S104, matching the data stream returned by the ECU with the corresponding reasonable numerical range, screening out the data stream meeting the corresponding reasonable numerical range for display, ensuring that the data stream displayed to the user is always the data stream which is responded by the ECU and has reasonable numerical value, and avoiding interference on maintenance judgment of the user.
In one embodiment, the reasonable value range includes a reasonable value range without failure and a reasonable value range with failure. Accordingly, step S104 further includes:
and displaying the data stream which meets the reasonable value range under the non-fault condition or the reasonable value range under the fault condition through the display interface.
Based on the same inventive concept, the present specification also provides a vehicle data stream reading system, which includes a storage module including instructions (program code) loaded and executed by a processor, wherein the instructions, when executed, cause the processor to execute the steps according to the various exemplary embodiments of the present invention described in the above vehicle data stream reading method section of the present specification.
The memory module may include a readable medium in the form of a volatile memory unit, such as a random access memory unit (RAM) and/or a cache memory unit, and may further include a read only memory unit (ROM).
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
Based on the same inventive concept, the embodiments of this specification further provide a diagnostic device, which has the above vehicle data stream reading system, and details are not repeated here.
However, those skilled in the art should realize that the above embodiments are illustrative only and not limiting to the present invention, and that changes and modifications to the above described embodiments are intended to fall within the scope of the appended claims, provided they fall within the true spirit of the present invention.

Claims (8)

1. A vehicle data stream reading method, comprising:
responding to a data stream reading command input by a user, and screening a general data stream command and an address data stream command matched with ECU (electronic control unit) version information corresponding to the current diagnosis system from a data stream configuration table corresponding to the current diagnosis system; all general data stream instructions corresponding to the type of the ECU, all address data stream instructions corresponding to each version information of the ECU of the type and a reasonable value range of each instruction return value are pre-configured in a data stream configuration table;
data stream pre-reading: respectively sending the screened data stream instructions to an ECU (electronic control unit), and hiding the data stream instructions which are not replied or negatively responded by the ECU;
responding to the data stream type input by a user, and sending the data stream command which corresponds to the data stream type and is not hidden in the screened data stream commands to the ECU;
and matching the data stream returned by the ECU with the corresponding reasonable numerical range, and screening out the data stream meeting the corresponding reasonable numerical range for display.
2. The vehicle data flow reading method according to claim 1, wherein a first identifier for distinguishing a general data flow command from an address data flow command is set in the data flow configuration table;
and screening out a general data stream command and an address data stream command matched with the ECU version information corresponding to the current diagnosis system from a data stream configuration table corresponding to the current diagnosis system through the first identifier.
3. The method according to claim 2, wherein the first identifier is set in a system identifier column of the data flow configuration table, and when the first identifier is empty, the first identifier represents that the corresponding data flow command is a general-purpose data flow command, and when the first identifier is not empty, the first identifier represents that the corresponding data flow command is an address-based data flow command.
4. A vehicle data stream reading method according to claim 3, wherein the data stream pre-reading further comprises:
grouping each data stream instruction in the data stream configuration table in advance, and setting a second identifier for distinguishing whether data stream pre-reading is needed for each group;
and judging whether the screened data streams need data stream pre-reading or not through the second identifier, respectively sending the data stream instructions needing data stream pre-reading to the ECU, and hiding the data stream instructions which are not replied or negatively responded by the ECU.
5. The vehicle data stream reading method according to claim 4, wherein the reasonable value range comprises a reasonable value range under non-failure and a reasonable value range under failure;
screening out the data stream that satisfies corresponding reasonable numerical range and show further includes:
and displaying the data stream which meets the reasonable value range under the non-fault condition or the reasonable value range under the fault condition through the display interface.
6. The vehicle data stream reading method according to claim 5, wherein the diagnostic system associates the corresponding data stream configuration table in advance.
7. A vehicle data stream reading system, comprising a memory module including instructions loaded and executed by a processor, the instructions when executed causing the processor to perform a vehicle data stream reading method according to any one of claims 1-6.
8. A diagnostic device characterized by a vehicle data stream reading system according to claim 7.
CN202010933162.6A 2020-09-08 2020-09-08 Vehicle data stream reading method and system and diagnostic equipment Active CN112068531B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010933162.6A CN112068531B (en) 2020-09-08 2020-09-08 Vehicle data stream reading method and system and diagnostic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010933162.6A CN112068531B (en) 2020-09-08 2020-09-08 Vehicle data stream reading method and system and diagnostic equipment

Publications (2)

Publication Number Publication Date
CN112068531A true CN112068531A (en) 2020-12-11
CN112068531B CN112068531B (en) 2021-05-07

Family

ID=73664214

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010933162.6A Active CN112068531B (en) 2020-09-08 2020-09-08 Vehicle data stream reading method and system and diagnostic equipment

Country Status (1)

Country Link
CN (1) CN112068531B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105604664A (en) * 2015-12-23 2016-05-25 北京工业大学 Vehicle emission remote monitoring system based on OBD (on-board diagnostics) detection data
CN106993056A (en) * 2017-05-12 2017-07-28 深圳市元征科技股份有限公司 Car data stream acquisition methods, system and computer-readable recording medium
CN109895712A (en) * 2019-03-01 2019-06-18 车智互联(北京)科技有限公司 The method for reading the automobile information of OBD equipment by serial ports and being shown
CN110083628A (en) * 2019-05-08 2019-08-02 深圳市元征科技股份有限公司 A kind of addressing method and device of Vehicle Electronic Control Unit ECU
US20190387001A1 (en) * 2018-06-13 2019-12-19 Dell Products, Lp Methods and Apparatus to Enable Services to Run in Multiple Security Contexts
EP3588451A1 (en) * 2018-06-26 2020-01-01 Ningbo Geely Automobile Research & Development Co. Ltd. Repair instruction device and method
CN111309586A (en) * 2018-12-12 2020-06-19 迈普通信技术股份有限公司 Command testing method, device and storage medium thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105604664A (en) * 2015-12-23 2016-05-25 北京工业大学 Vehicle emission remote monitoring system based on OBD (on-board diagnostics) detection data
CN106993056A (en) * 2017-05-12 2017-07-28 深圳市元征科技股份有限公司 Car data stream acquisition methods, system and computer-readable recording medium
US20190387001A1 (en) * 2018-06-13 2019-12-19 Dell Products, Lp Methods and Apparatus to Enable Services to Run in Multiple Security Contexts
EP3588451A1 (en) * 2018-06-26 2020-01-01 Ningbo Geely Automobile Research & Development Co. Ltd. Repair instruction device and method
CN111309586A (en) * 2018-12-12 2020-06-19 迈普通信技术股份有限公司 Command testing method, device and storage medium thereof
CN109895712A (en) * 2019-03-01 2019-06-18 车智互联(北京)科技有限公司 The method for reading the automobile information of OBD equipment by serial ports and being shown
CN110083628A (en) * 2019-05-08 2019-08-02 深圳市元征科技股份有限公司 A kind of addressing method and device of Vehicle Electronic Control Unit ECU

Also Published As

Publication number Publication date
CN112068531B (en) 2021-05-07

Similar Documents

Publication Publication Date Title
EP2789145B1 (en) Device for operating at least one automation technology field device
US10095208B2 (en) Method for implementing at least one additional function of a field device in automation technology
DE102007038340B4 (en) Procedures for maintaining process control systems and machine-readable medium
DE112004000362T5 (en) Output of notifications of a process plant
DE102009045386A1 (en) Method for operating a fieldbus interface
DE102011079890A1 (en) System and method for operating field devices in an automation system
DE102009028051A1 (en) Device for operating a field device via a remote terminal
US9692828B2 (en) Monitoring system for an avionics platform with three-tier architecture
DE102010029952A1 (en) Method for integrating at least one field device in a network of automation technology
DE102011080569A1 (en) System and method for operating field devices in an automation system
DE102012112842A1 (en) System and method for use in automation technology
DE102008027935A1 (en) Device for integrating device objects into a higher-level control unit
DE102011005062A1 (en) Method for providing data from field device in automation system, arranged on network, involves instantiating an additional application-specific data, in automation/integration platform and making the data available to remote client
CN105425783A (en) Real vehicle data processing method and system, controller and upper computer
WO2009024483A2 (en) Method for procuring maintenance-related information for an installation
US20190354428A1 (en) Computing device notification management software
DE102010063164A1 (en) Method for integrating at least one field device in a network of automation technology
DE10323390A1 (en) Telediagnosis Viewer
WO2017093000A1 (en) Method and system for optimizing the commissioning of at least one of a plurality of automation technology field devices
CN112068531B (en) Vehicle data stream reading method and system and diagnostic equipment
DE102010044186A1 (en) Method for providing a field device type-comprehensive diagnostic message
DE102010062835A1 (en) Procedure for creating a custom setup for a library of device drivers
WO2019068435A1 (en) Smartwatch and method for the maintenance of an automation technology system
CN110741353A (en) Graphical user interface tool for configuring an intrusion detection system for a vehicle
DE102010040055A1 (en) System for communication of several clients with several field devices in automation technology

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