CN103902746A - Fault code, data stream and freeze frame data storage and playback method - Google Patents
Fault code, data stream and freeze frame data storage and playback method Download PDFInfo
- Publication number
- CN103902746A CN103902746A CN201410088733.5A CN201410088733A CN103902746A CN 103902746 A CN103902746 A CN 103902746A CN 201410088733 A CN201410088733 A CN 201410088733A CN 103902746 A CN103902746 A CN 103902746A
- Authority
- CN
- China
- Prior art keywords
- data
- unit
- record
- freeze frame
- trouble code
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
The invention relates to a fault code, data stream and freeze frame data storage and playback method. The method includes the steps that first, fault code, data stream and freeze frame data are recorded in a data area of a memory; second, indexes of the fault code, data stream and freeze frame data are recorded in an index area of the memory; third, when the next record is made, the start address of the index area and the start address of the data area are recorded in a public area of the memory; fourth, when the data are played back, the index area is searched so as to correspondingly read out the data in the data area. According to the fault code, data stream and freeze frame data storage and playback method, through recording of a large amount of data of fault codes, data streams and freeze frames, professionals and car owners can reasonably analyze data of cars so as to judge the using states and the diagnosis problems of the cars, and thus professional analysis is obtained.
Description
Technical field
The present invention relates to vehicle diagnosis technology, relate in particular to a kind of method of diagnostic trouble code, data stream and the preservation of freeze frame data and playback of automotive diagnostic installation.
Background technology
On existing automotive diagnostic installation, diagnostic function is all very perfect, detection that can be real-time and the relevant information of a lot of diagnosis of reading automobile, comprise the particular data of onboard diagnostic system (OBD) data and corresponding various vehicles, for example diagnostic trouble code (DTC), data stream (STR), freeze frame (FRZ), VIN(Vehicle Identification Number, vehicle identification code) data such as code, also have some equipment with specific function, such as Motor Maintenance lamp makes zero, the Motor Maintenance cycle arranges, automobile brake sheet is reset, steering angle sensor calibration etc., these are all that automotive diagnostic installation and automobile communication networked realtime communication and data acquisition obtain, but, do not have data to preserve the application scenario that is just difficult to meet a large amount of data of some needs and ex-post analysis.
Summary of the invention
Therefore, the object of the present invention is to provide a kind of method of diagnostic trouble code, data stream and the preservation of freeze frame data and playback, allow to automotive diagnostic installation diagnosis to detect that diagnostic trouble code, data stream, the freeze frame of automobile are kept on storer the data of diagnostic trouble code that then playback detects, data stream, freeze frame.
For achieving the above object, the invention provides a kind of method of diagnostic trouble code, data stream and the preservation of freeze frame data and playback, comprising:
When step 40, playback, search this index area with corresponding data of reading in this data field.
Wherein, the data layout of the public area of this storer comprises the index address unit of next time record, next time record data address unit and for distinguishing the storage mark unit of index object.
Wherein, this index address unit comprises high address unit and low address unit.
Wherein, this data address unit comprises high address unit and low address unit.
Wherein, the data layout of the index area of this storer comprises the unit of the protocol type that records institute's index data, record institute's index data start address unit and record the unit of the data length of institute's index data.
Wherein, the data layout of the data field of this storer comprises the section that records OBD diagnostic trouble code, this section that records OBD diagnostic trouble code comprises the unit of record protocol type, the unit of logging timestamp, the unit of registration of vehicle identification code, the unit of record trouble code number, the unit of the unit of record trouble code type and record trouble code ID.
Wherein, the data layout of the data field of this storer comprises the section of record vehicle diagnostic trouble code, the section of this record vehicle diagnostic trouble code comprises the unit of record protocol type, the unit of logging timestamp, the unit of registration of vehicle identification code, the unit in record vehicle vehicle path, the unit of record trouble code data packet length, record the unit of package counting facility, record wraps the unit of type and records the unit of concrete data.
Wherein, the data layout of the data field of this storer comprises the section that records OBD data stream, this section that records OBD data stream comprises the unit of record protocol type, the unit of logging timestamp, the unit of registration of vehicle identification code, the unit of record data frame number, the unit of the unit of record data stream ID and record data flow descriptors.
Wherein, the data layout of the data field of this storer comprises the section of record model data stream, the section of this record model data stream comprises the unit of record protocol type, the unit of logging timestamp, the unit of registration of vehicle identification code, the unit in record vehicle vehicle path, the unit of record data frame number, the unit of record data stream data packet length, records the unit of package counting facility, the unit of record bag type and record the unit of concrete data.
Wherein, the data layout of the data field of this storer comprises the section that records OBD freeze frame, this section that records OBD freeze frame comprises the unit of record protocol type, the unit of logging timestamp, the unit of registration of vehicle identification code, record the unit of freeze frame number, record the unit of freeze frame ID, record the unit of freeze frame descriptor.
To sum up, the method of diagnostic trouble code of the present invention, data stream and the preservation of freeze frame data and playback, diagnostic trouble code, data stream, the freeze frame that automotive diagnostic installation diagnosis can be detected to automobile be kept on storer, the data of diagnostic trouble code that then playback detects, data stream, freeze frame; By the record of a large amount of data of diagnostic trouble code, data stream, freeze frame, the data that professional person and car owner can reasonably analyze automobile judge use state and the diagnosis problem of automobile, obtain professional analysis.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, by the specific embodiment of the present invention is described in detail, will make technical scheme of the present invention and other beneficial effects apparent.
In accompanying drawing,
Fig. 1 is the process flow diagram of the method for diagnostic trouble code of the present invention, data stream and the preservation of freeze frame data and playback.
Embodiment
Referring to Fig. 1, it is the process flow diagram of the method for diagnostic trouble code of the present invention, data stream and the preservation of freeze frame data and playback, comprising:
When step 40, playback, search this index area with corresponding data of reading in this data field.
As shown in table 1 below, the data layout of the public area of this storer can comprise the index address unit of next time record, next time record data address unit and for distinguishing the storage mark unit of index object; Index address and data address can add for high address the form of low address, and index address unit and data address unit can comprise high address unit and low address unit.
Table 1: public area data layout example
Wherein, the unit of bracket inner digital is byte, represents corresponding data length, identical therewith in explanation below;
Record once needs 30 bytes altogether.
As following table 2, shown in table 3 and table 4, the data layout of the index area of this storer can comprise the unit of the protocol type that records institute's index data, record institute's index data start address unit and record the unit of the data length of institute's index data.For the single-type data of OBD data and corresponding a certain concrete vehicle, the index area data layout of OBD and single-type all can adopt table 2, the form of table 3 and table 4.
Table 2:DTC index record data layout example
Record is once 10 bytes.
Table 3:STR index record data layout example
Record is once 10 bytes.
Table 4:FRZ index record data layout example
Record is once 10 bytes.
As shown in table 5 below, the data layout of the data field of this storer can comprise the section that records OBD diagnostic trouble code, this section that records OBD diagnostic trouble code can comprise the unit of record protocol type, the unit of logging timestamp, the unit of registration of vehicle identification code, the unit of record trouble code number, the unit of the unit of record trouble code type and record trouble code ID.
Table 5:OBD DTC data field data layout example
As shown in table 6 below, the data layout of the data field of this storer can comprise the section of record vehicle diagnostic trouble code, the section of this record vehicle diagnostic trouble code can comprise the unit of record protocol type, the unit of logging timestamp, the unit of registration of vehicle identification code, the unit in record vehicle vehicle path, the unit of record trouble code data packet length, record the unit of package counting facility, record wraps the unit of type and records the unit of concrete data.The unit in record vehicle vehicle path can be used for distinguishing different concrete vehicles.
Table 6: single-type DTC data layout example
Wherein, recording the unit of the concrete data of DTC can be as shown in following table 7 or table 8:
Table 7: the data layout example of the concrete data of single-type DTC
Table 8: the data layout example of the concrete data of single-type DTC
As shown in table 9 below, the data layout of the data field of this storer can comprise the section that records OBD data stream, this section that records OBD data stream can comprise the unit of record protocol type, the unit of logging timestamp, the unit of registration of vehicle identification code, the unit of record data frame number, the unit of the unit of record data stream ID and record data flow descriptors.
Table 9:OBD STR data field data layout example
As shown in table 10 below, the data layout of the data field of this storer can comprise the section of record model data stream, the section of this record model data stream can comprise the unit of record protocol type, the unit of logging timestamp, the unit of registration of vehicle identification code, the unit in record vehicle vehicle path, the unit of record data frame number, the unit of record data stream data packet length, records the unit of package counting facility, the unit of record bag type and record the unit of concrete data.
Table 10: single-type STR data field data layout example
The unit that records the concrete data of STR can be as shown in following table 11 or table 12.
The data layout example of the concrete data of table 11:STR
The data layout example of the concrete data of table 12:STR
As shown in table 13 below, the data layout of the data field of this storer can comprise the section that records OBD freeze frame, this section that records OBD freeze frame can comprise the unit of record protocol type, the unit of logging timestamp, the unit of registration of vehicle identification code, record the unit of freeze frame number, record the unit of freeze frame ID, record the unit of freeze frame descriptor.
The data layout example of table 13:OBD FRZ
Apply time of the present invention, the preservation that the words of diagnostic device open record pattern just record according to form as above, the data of first step recorded data zone, can find corresponding address to carry out record according to the start address of data field; The data in second step recording indexes district, i.e. the protocol type of recorded data zone, start address and data length, can find corresponding address to carry out record according to the start address of index area; The 3rd step records the data of public area, upgrade the start address of index area and the start address of data field of lower less important record, and judge that whether space is full, be convenient to find fast when storer carries out data recording and index record corresponding address, and convenient judge whether space has expired and overflow preventing, thereby be adapted to the continuous preservation of diagnostic trouble code, data stream and freeze frame data; The 4th step, searches index address and carries out reading of data and show when playback.
To sum up, the method of diagnostic trouble code of the present invention, data stream and the preservation of freeze frame data and playback, diagnostic trouble code, data stream, the freeze frame that automotive diagnostic installation diagnosis can be detected to automobile be kept on storer, the data of diagnostic trouble code that then playback detects, data stream, freeze frame; By the record of a large amount of data of diagnostic trouble code, data stream, freeze frame, the data that professional person and car owner can reasonably analyze automobile judge use state and the diagnosis problem of automobile, obtain professional analysis.
The above; for the person of ordinary skill of the art; can make other various corresponding changes and distortion according to technical scheme of the present invention and technical conceive, and all these changes and distortion all should belong to the protection domain of the accompanying claim of the present invention.
Claims (10)
1. a method for diagnostic trouble code, data stream and the preservation of freeze frame data and playback, is characterized in that, comprising:
Step 10, by diagnostic trouble code, data stream and freeze frame data recording in the data field of storer;
Step 20, by the index record of diagnostic trouble code, data stream and freeze frame data in the index area of this storer;
Step 30, the start address of this index area and the start address of this data field are recorded in the public area of this storer when recorded next time;
When step 40, playback, search this index area with corresponding data of reading in this data field.
2. the method for diagnostic trouble code as claimed in claim 1, data stream and the preservation of freeze frame data and playback, it is characterized in that, the data layout of the public area of this storer comprises the index address unit of next time record, next time record data address unit and for distinguishing the storage mark unit of index object.
3. the method for diagnostic trouble code as claimed in claim 2, data stream and the preservation of freeze frame data and playback, is characterized in that, this index address unit comprises high address unit and low address unit.
4. the method for diagnostic trouble code as claimed in claim 2, data stream and the preservation of freeze frame data and playback, is characterized in that, this data address unit comprises high address unit and low address unit.
5. the method for diagnostic trouble code as claimed in claim 1, data stream and the preservation of freeze frame data and playback, it is characterized in that, the data layout of the index area of this storer comprises the unit of the protocol type that records institute's index data, record institute's index data start address unit and record the unit of the data length of institute's index data.
6. the method for diagnostic trouble code as claimed in claim 1, data stream and the preservation of freeze frame data and playback, it is characterized in that, the data layout of the data field of this storer comprises the section that records OBD diagnostic trouble code, this section that records OBD diagnostic trouble code comprises the unit of record protocol type, the unit of logging timestamp, the unit of registration of vehicle identification code, the unit of record trouble code number, the unit of the unit of record trouble code type and record trouble code ID.
7. the method for diagnostic trouble code as claimed in claim 1, data stream and the preservation of freeze frame data and playback, it is characterized in that, the data layout of the data field of this storer comprises the section of record vehicle diagnostic trouble code, the section of this record vehicle diagnostic trouble code comprises the unit of record protocol type, the unit of logging timestamp, the unit of registration of vehicle identification code, the unit in record vehicle vehicle path, the unit of record trouble code data packet length, record the unit of package counting facility, record wraps the unit of type and records the unit of concrete data.
8. the method for diagnostic trouble code as claimed in claim 1, data stream and the preservation of freeze frame data and playback, it is characterized in that, the data layout of the data field of this storer comprises the section that records OBD data stream, this section that records OBD data stream comprises the unit of record protocol type, the unit of logging timestamp, the unit of registration of vehicle identification code, the unit of record data frame number, the unit of the unit of record data stream ID and record data flow descriptors.
9. the method for diagnostic trouble code as claimed in claim 1, data stream and the preservation of freeze frame data and playback, it is characterized in that, the data layout of the data field of this storer comprises the section of record model data stream, the section of this record model data stream comprises the unit of record protocol type, the unit of logging timestamp, the unit of registration of vehicle identification code, the unit in record vehicle vehicle path, the unit of record data frame number, the unit of record data stream data packet length, record the unit of package counting facility, record wraps the unit of type and records the unit of concrete data.
10. the method for diagnostic trouble code as claimed in claim 1, data stream and the preservation of freeze frame data and playback, it is characterized in that, the data layout of the data field of this storer comprises the section that records OBD freeze frame, this section that records OBD freeze frame comprises the unit of record protocol type, the unit of logging timestamp, the unit of registration of vehicle identification code, records the unit of freeze frame number, record the unit of freeze frame ID, record the unit of freeze frame descriptor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410088733.5A CN103902746B (en) | 2014-03-11 | 2014-03-11 | DTC, data flow and the method for freezing frame data preservation and playback |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410088733.5A CN103902746B (en) | 2014-03-11 | 2014-03-11 | DTC, data flow and the method for freezing frame data preservation and playback |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103902746A true CN103902746A (en) | 2014-07-02 |
CN103902746B CN103902746B (en) | 2017-10-27 |
Family
ID=50994068
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410088733.5A Active CN103902746B (en) | 2014-03-11 | 2014-03-11 | DTC, data flow and the method for freezing frame data preservation and playback |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103902746B (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105404274A (en) * | 2015-11-27 | 2016-03-16 | 广州汽车集团股份有限公司 | Electronic control unit of vehicle and fault code detection and recording method thereof, and vehicle |
CN105981336A (en) * | 2014-12-01 | 2016-09-28 | 松下电器(美国)知识产权公司 | Illegality detection electronic control unit, car onboard network system, and illegality detection method |
CN107492159A (en) * | 2016-12-23 | 2017-12-19 | 宝沃汽车(中国)有限公司 | The data display method and system of freeze frame |
CN107901854A (en) * | 2017-10-18 | 2018-04-13 | 深圳市元征软件开发有限公司 | Maintain lamp resetting method, device and computer-readable recording medium |
CN108490922A (en) * | 2018-04-27 | 2018-09-04 | 北京新能源汽车股份有限公司 | A kind of generation method and device of unified diagnostic service test case |
CN109952764A (en) * | 2016-11-09 | 2019-06-28 | 瑞萨电子株式会社 | Communication network controller module |
CN111190410A (en) * | 2019-12-27 | 2020-05-22 | 潍柴动力股份有限公司 | Frozen frame configuration method and system and motor vehicle |
CN111694341A (en) * | 2020-06-05 | 2020-09-22 | 中国第一汽车股份有限公司 | Fault data storage method and device, vehicle-mounted equipment and storage medium |
CN111949005A (en) * | 2020-07-30 | 2020-11-17 | 深圳市元征科技股份有限公司 | Method, device and equipment for acquiring frozen frame data and storage medium |
TWI715840B (en) * | 2018-03-20 | 2021-01-11 | 日商三菱電機股份有限公司 | Display device, display system and display screen generation method |
CN114384887A (en) * | 2020-10-16 | 2022-04-22 | 长城汽车股份有限公司 | Emission diagnosis method and device and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1963814A (en) * | 2006-11-29 | 2007-05-16 | 珠海市泰德企业有限公司 | Managing method of data of memorizer |
CN101303880A (en) * | 2008-06-30 | 2008-11-12 | 北京中星微电子有限公司 | Method and apparatus for recording and playing audio-video document |
CN101923348A (en) * | 2010-07-16 | 2010-12-22 | 北京工业大学 | Vehicle-mounted fault diagnosis system and method for hybrid electric vehicle based on CANopen |
US20110077817A1 (en) * | 2009-09-29 | 2011-03-31 | Chin-Yang Sun | Vehicle Diagnostic System And Method Thereof |
CN102073319A (en) * | 2011-01-25 | 2011-05-25 | 武汉理工大学 | Multifunctional comprehensive type electric control automobile fault diagnosis system |
-
2014
- 2014-03-11 CN CN201410088733.5A patent/CN103902746B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1963814A (en) * | 2006-11-29 | 2007-05-16 | 珠海市泰德企业有限公司 | Managing method of data of memorizer |
CN101303880A (en) * | 2008-06-30 | 2008-11-12 | 北京中星微电子有限公司 | Method and apparatus for recording and playing audio-video document |
US20110077817A1 (en) * | 2009-09-29 | 2011-03-31 | Chin-Yang Sun | Vehicle Diagnostic System And Method Thereof |
CN101923348A (en) * | 2010-07-16 | 2010-12-22 | 北京工业大学 | Vehicle-mounted fault diagnosis system and method for hybrid electric vehicle based on CANopen |
CN102073319A (en) * | 2011-01-25 | 2011-05-25 | 武汉理工大学 | Multifunctional comprehensive type electric control automobile fault diagnosis system |
Non-Patent Citations (2)
Title |
---|
胡杰等: "基于智能手机的汽车故障诊断系统研究与开发", 《汽车技术》 * |
胡琦: "基于AUTOSAR的汽车故障诊断系统的设计与系统实现", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》 * |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111934966A (en) * | 2014-12-01 | 2020-11-13 | 松下电器(美国)知识产权公司 | Abnormality detection electronic control unit, vehicle-mounted network system, and abnormality detection method |
CN105981336A (en) * | 2014-12-01 | 2016-09-28 | 松下电器(美国)知识产权公司 | Illegality detection electronic control unit, car onboard network system, and illegality detection method |
CN111934966B (en) * | 2014-12-01 | 2022-09-20 | 松下电器(美国)知识产权公司 | Abnormality detection electronic control unit, vehicle-mounted network system, and abnormality detection method |
CN105981336B (en) * | 2014-12-01 | 2020-09-01 | 松下电器(美国)知识产权公司 | Abnormality detection electronic control unit, vehicle-mounted network system, and abnormality detection method |
CN105404274A (en) * | 2015-11-27 | 2016-03-16 | 广州汽车集团股份有限公司 | Electronic control unit of vehicle and fault code detection and recording method thereof, and vehicle |
CN109952764A (en) * | 2016-11-09 | 2019-06-28 | 瑞萨电子株式会社 | Communication network controller module |
CN107492159A (en) * | 2016-12-23 | 2017-12-19 | 宝沃汽车(中国)有限公司 | The data display method and system of freeze frame |
CN107901854A (en) * | 2017-10-18 | 2018-04-13 | 深圳市元征软件开发有限公司 | Maintain lamp resetting method, device and computer-readable recording medium |
CN107901854B (en) * | 2017-10-18 | 2021-08-10 | 深圳市元征软件开发有限公司 | Maintenance lamp zeroing method and device and computer readable storage medium |
TWI715840B (en) * | 2018-03-20 | 2021-01-11 | 日商三菱電機股份有限公司 | Display device, display system and display screen generation method |
CN108490922B (en) * | 2018-04-27 | 2020-03-24 | 北京新能源汽车股份有限公司 | Generation method and device of unified diagnostic service test case |
CN108490922A (en) * | 2018-04-27 | 2018-09-04 | 北京新能源汽车股份有限公司 | A kind of generation method and device of unified diagnostic service test case |
CN111190410A (en) * | 2019-12-27 | 2020-05-22 | 潍柴动力股份有限公司 | Frozen frame configuration method and system and motor vehicle |
CN111694341A (en) * | 2020-06-05 | 2020-09-22 | 中国第一汽车股份有限公司 | Fault data storage method and device, vehicle-mounted equipment and storage medium |
CN111949005A (en) * | 2020-07-30 | 2020-11-17 | 深圳市元征科技股份有限公司 | Method, device and equipment for acquiring frozen frame data and storage medium |
CN111949005B (en) * | 2020-07-30 | 2021-10-22 | 深圳市元征科技股份有限公司 | Method, device and equipment for acquiring frozen frame data and storage medium |
CN114384887A (en) * | 2020-10-16 | 2022-04-22 | 长城汽车股份有限公司 | Emission diagnosis method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN103902746B (en) | 2017-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103902746A (en) | Fault code, data stream and freeze frame data storage and playback method | |
US9275090B2 (en) | System and method for identifying non-event profiles | |
US9576608B2 (en) | Techniques for indexing video files | |
CN103456175B (en) | Accompanying vehicle real-time detection method based on vehicle registration plate recognition and meshing monitoring | |
CN102314916B (en) | Video processing method and system | |
CN104732205A (en) | System for checking expressway toll evasion | |
CN106899827A (en) | Image data acquiring, inquiry, video frequency monitoring method, equipment and system | |
TW201513055A (en) | Traffic accident monitoring and tracking system | |
CN102930614A (en) | Integrated vehicle equipment recorder and its recording method | |
CN107305736A (en) | A kind of intelligent error-checking method of Car license recognition based on car plate rule and space-time accessibility and system | |
CN107393308A (en) | A kind of method, apparatus and managing system of car parking for identifying car plate | |
CN103794051A (en) | Cloned vehicle detecting system and corresponding detecting method based on parking information | |
CN106844099A (en) | A kind of monitor bypass method of data collection station | |
CN104281846A (en) | Instrument data collecting method based on visual identity | |
CN104767994B (en) | A kind of vehicle-mounted DVR video datas store the detection method of integrality | |
CN103514226B (en) | A kind of fast indexing method and device of the storage of digital hard disc video recorder file | |
CN102238312A (en) | Video processing method based on RFID (Radio Frequency Identification Device) video live broadcast frame | |
CN205754357U (en) | Portable transponder response time tester | |
CN204856894U (en) | Bayonet socket vehicle monitoring system | |
CN106875716A (en) | A kind of intelligent traffic monitoring system | |
CN105955235A (en) | Test method, device and system of train network control system | |
US9792319B2 (en) | System and method for identifying non-event profiles | |
CN105894612B (en) | The traveling inking chart parsing rendering method of embedded type automobile Tachographs | |
CN106652065B (en) | A kind of method and system for obtaining vehicle and not being inconsistent OBU | |
CN110889971A (en) | Intelligent vehicle finding method and device for parking lot |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |