CN112489245B - Vehicle diagnosis data storage method and system and readable storage medium - Google Patents

Vehicle diagnosis data storage method and system and readable storage medium Download PDF

Info

Publication number
CN112489245B
CN112489245B CN202011358968.3A CN202011358968A CN112489245B CN 112489245 B CN112489245 B CN 112489245B CN 202011358968 A CN202011358968 A CN 202011358968A CN 112489245 B CN112489245 B CN 112489245B
Authority
CN
China
Prior art keywords
vehicle
data
information
diagnosis
diagnostic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011358968.3A
Other languages
Chinese (zh)
Other versions
CN112489245A (en
Inventor
许胜华
龚尚坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Suntai Technology Co ltd
Original Assignee
Shenzhen Suntai 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 Suntai Technology Co ltd filed Critical Shenzhen Suntai Technology Co ltd
Priority to CN202011358968.3A priority Critical patent/CN112489245B/en
Publication of CN112489245A publication Critical patent/CN112489245A/en
Application granted granted Critical
Publication of CN112489245B publication Critical patent/CN112489245B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/008Registering or indicating the working of vehicles communicating information to a remotely located station
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0808Diagnosing performance data
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0841Registering performance data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/03Protocol definition or specification 

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Vehicle Cleaning, Maintenance, Repair, Refitting, And Outriggers (AREA)

Abstract

The invention relates to a vehicle diagnosis data storage method, a system and a storage medium, wherein the vehicle diagnosis data storage method comprises the following steps: acquiring a vehicle type data parameter to be diagnosed at present according to a diagnosis vehicle type definition table; indexing and sending vehicle information request data according to the vehicle type data parameter to be diagnosed so as to request vehicle information; the algorithm table is looked up to resolve the vehicle information based on the data of the vehicle response. The vehicle diagnosis data storage method, the vehicle diagnosis data storage system and the vehicle diagnosis data storage medium provided by the invention take the international standard diagnosis protocol data as a base point, the difference attribute of various vehicle type diagnosis data is mainly expanded on the basis of the relationship index international standard diagnosis data, the redundancy of a large amount of diagnosis data is reduced, the maintenance efficiency of the diagnosis data is also improved, the diagnosis data is inquired and modified in a relationship data index mode, and the performance of the diagnosis data inquiry and processing of a diagnosis instrument is greatly improved.

Description

Vehicle diagnosis data storage method and system and readable storage medium
Technical Field
The invention relates to the technical field of vehicle-mounted data processing, in particular to a vehicle diagnosis data storage method, a vehicle diagnosis data storage system and a computer readable storage medium.
Background
With the progress of the times, the quality of life of people is advanced with the times, automobiles become more and more popular vehicles, the market competition is global, various vehicle types are rapidly released by various brands, because part of vehicle enterprises do not completely follow the international standard diagnosis protocol, the diagnosis data of various vehicle types are different, and the diagnosis data of the current diagnostic instrument on the market is divided and stored by specific vehicle types for being compatible with diagnosis of a large number of vehicle types.
The diagnostic data storage rack of the current diagnostic instruments on the market is constructed to have a large amount of redundant diagnostic data, so that the storage space of the diagnostic instruments is wasted; the structure is disordered, the data maintenance is extremely inconvenient, and the data query processing performance of the diagnostic instrument is low.
Disclosure of Invention
In view of the above, it is necessary to provide a vehicle diagnostic data storage method, a system and a computer readable storage medium, so as to solve the technical problems of redundancy of vehicle diagnostic data and inconvenient data maintenance in the prior art.
The invention provides a vehicle diagnosis data storage method, which comprises the following steps:
acquiring a vehicle type data parameter to be diagnosed at present according to a diagnosis vehicle type definition table;
indexing and sending vehicle information request data according to the vehicle type data parameter to be diagnosed so as to request vehicle information;
the algorithm table is looked up to resolve the vehicle information based on the data of the vehicle response.
Preferably, the data parameters of the current vehicle model to be diagnosed include a communication protocol serial number, a diagnosis protocol serial number and a diagnosis interface menu serial number.
Preferably, the indexing and sending vehicle information request data according to the vehicle type data parameter to be diagnosed to request vehicle information specifically includes:
according to the communication protocol serial number, indexing communication link layer mode information required by the vehicle type to be diagnosed, wherein the communication link layer mode information comprises a diagnosis seat type, a physical layer link mode and a baud rate;
and using a diagnosis application program to analyze the communication link layer mode information and then establishing a communication link.
Preferably, the vehicle information is indexed and transmitted according to the vehicle type data parameter to be diagnosed
Request data to request vehicle information, further comprising:
and indexing the diagnostic protocol type information required by the vehicle type to be diagnosed according to the diagnostic protocol serial number, determining corresponding diagnostic data when a diagnostic function is operated, and reading the current diagnostic data.
Preferably, the indexing and sending vehicle information request data according to the vehicle type data parameter to be diagnosed to request vehicle information specifically further includes:
according to the diagnostic interface menu serial number, indexing diagnostic interface display information required by the vehicle type to be diagnosed, and reading corresponding vehicle information according to the diagnostic interface display information;
and transmitting data corresponding to the requested vehicle information to the vehicle by using the diagnosis application program.
Preferably, the storage method further comprises:
and confirming the index of the algorithm definition table according to the vehicle response data to acquire specific data information of the diagnosis information, and selecting a specific analysis processing mode according to the specific data information.
The invention also provides a vehicle diagnosis data storage system, which comprises a processor and a memory, wherein the memory is stored with a computer program, and when the computer program is executed by the processor, the vehicle diagnosis data storage method according to any technical scheme is realized.
The present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the vehicle diagnostic data storage method according to any one of the above aspects.
Compared with the prior art, the invention has the beneficial effects that: the vehicle diagnostic data storage method, the vehicle diagnostic data storage system and the vehicle diagnostic data storage medium provided by the invention take the international standard diagnostic protocol data as a base point, the diagnostic data of various vehicle types mainly expand the difference attribute on the basis of the relationship index international standard diagnostic data, the redundancy of a large amount of diagnostic data is reduced, the maintenance efficiency of the diagnostic data is also improved, the diagnostic data is inquired and modified in a relationship data index mode, and the performance of inquiring and processing the diagnostic data by a diagnostic instrument is greatly improved.
Drawings
Fig. 1 is a schematic flowchart of a vehicle diagnostic data storage method according to embodiment 1 of the present invention;
fig. 2 is an exemplary diagram of the vehicle type data parameters in embodiment 1 of the present invention;
fig. 3 is an exemplary diagram of creating a communication link based on information data in embodiment 1 of the present invention;
fig. 4 is an exemplary diagram of information displayed on the diagnostic interface in embodiment 1 of the present invention;
fig. 5 is an exemplary diagram of the resolution of the algorithm definition table in embodiment 1 of the present invention.
Detailed Description
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate preferred embodiments of the invention and together with the description, serve to explain the principles of the invention and not to limit the scope of the invention.
Example 1
The embodiment of the invention provides a vehicle diagnosis data storage method, which is a flow chart schematic diagram, and as shown in fig. 1, the method comprises the following steps:
s1, acquiring a data parameter of a current vehicle type to be diagnosed according to a diagnostic vehicle type definition table DiagvehtylDef;
specifically, the data parameters of the vehicle model to be diagnosed at present include a communication protocol serial number linkProtoId, a diagnostic protocol serial number diagproneid, and a diagnostic interface menu serial number diagmeneidtb, which can be specifically referred to fig. 2.
S2, indexing and sending vehicle information request data according to the vehicle type data parameter to be diagnosed so as to request vehicle information;
specifically, the indexing and sending vehicle information request data according to the vehicle type data parameter to be diagnosed to request vehicle information specifically includes: according to the communication protocol serial number, communication link layer mode information required by the vehicle type to be diagnosed is indexed, the communication link layer mode information comprises a diagnosis seat type, a physical layer link mode and a baud rate, generally speaking, the physical layer link mode is a CAN line, a K line and the like, and the baud rate, a diagnosis application program creates a communication link according to the information data, and as the information in the figure 3, the information indicates that the CAN link communication mode with the baud rate of 115200 and the OBD pins of 6 and 14 is created;
and using a diagnosis application program to analyze the communication link layer mode information and then establishing a communication link.
Preferably, the indexing and sending vehicle information request data according to the vehicle type data parameter to be diagnosed to request vehicle information specifically further includes:
and indexing the diagnostic protocol type information required by the vehicle type to be diagnosed according to the diagnostic protocol serial number, determining corresponding diagnostic data when a diagnostic function is operated, and reading the current diagnostic data, such as reading vehicle information according to ISO15765, ISO14230 and the like, and reading specific diagnostic data of the current fault code.
And S3, searching an algorithm table according to the data of the vehicle response to analyze the vehicle information.
Specifically, the diagnostic interface display information required by the vehicle type to be diagnosed is indexed according to a diagnostic interface menu serial number, and corresponding vehicle information request data is read according to the diagnostic interface display information;
and sending the vehicle information request data corresponding to the current interface to the vehicle by using a diagnosis application program.
In a specific case, the diagnostic interface display information required by the vehicle type is indexed according to the id of the diagmeneidtb corresponding to the diagmenadef table, for example, the vehicle type will display read vehicle information, read the current fault code, and the like, as shown in fig. 4, then the user clicks the read vehicle information again, and the diagnostic application program will obtain corresponding diagnostic data from the diagpronodef table corresponding to the vehicle type according to the diagpronectb information in the diagmenadef table and send the corresponding diagnostic data to the vehicle.
Further, the storage method further comprises:
and confirming an index of an algorithm definition table according to the vehicle response data to acquire specific processing data information of the vehicle response data, and selecting a specific analysis processing mode according to the specific data information.
Specifically, according to the confirmed Algorithm Def algorithm of the vehicle data received by the diagnostic instrument, the index of the definition table is defined to obtain the specific information of the data; the specific analysis processing method for obtaining the data by confirming the index of the AlgorithmData algorithm data table according to the AlgorithmDef algorithm definition table is as shown in fig. 5, and the following process is as follows:
(1) The vehicle data is received as follows, and the data attribute information of the frame is obtained according to canId which corresponds to the canId index in the Algorithmdef algorithm definition table and is 0x18FEEE00 (hexadecimal number).
(2) Acquiring specific algorithm information of the frame data according to the algoristedrefid index in the algoristhmdata algorithm data table corresponding to the algoristeddef algorithm definition table id acquired by inquiring in the step (1), wherein the specific algorithm information comprises the following steps:
(3) Based on the specific parsing algorithm information of the queried frame data, the diagnostic application calculates the result finally represented by the frame data according to the algorithm, such as (startBit: 0 length 8) representing the first byte 0x43, (motor: 1 offset: -40) representing 0x43 x 1-40, and thus the result finally representing the engine coolant temperature (signName: engcoolnttemp) is 27 units (unit: deg C).
The vehicle diagnosis data storage method provided by the invention replaces the traditional XML file storage mode with the SQLITE storage mode, thereby reducing the storage space of the equipment occupied by the data. By taking the international standard diagnostic protocol data as a base point, the diagnostic data of various vehicle types mainly expands the difference attribute on the basis of the relation index international standard diagnostic data, thereby reducing a large amount of diagnostic data redundancy and improving the efficiency of diagnostic data maintenance. The diagnostic data is inquired and modified in a relational data index mode, and the performance of inquiring and processing the diagnostic data by the diagnostic instrument is greatly improved.
Example 2
An embodiment of the present invention provides a vehicle diagnostic data storage system, which includes a processor and a memory, where the memory stores a computer program, and when the computer program is executed by the processor, the vehicle diagnostic data storage method described in embodiment 1 above is implemented.
Example 3
An embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored, which, when executed by a processor, implements the vehicle diagnostic data storage method as described in embodiment 1 above.
The vehicle diagnosis data storage system and the computer readable storage medium provided by the invention replace the traditional XML file storage mode with the SQLITE storage mode, thereby reducing the storage space of the equipment occupied by data. By taking the international standard diagnostic protocol data as a base point, the diagnostic data of various vehicle types mainly expands the difference attribute on the basis of the relation index international standard diagnostic data, thereby reducing a large amount of diagnostic data redundancy and improving the efficiency of diagnostic data maintenance. The diagnostic data is inquired and modified in a relational data index mode, and the performance of inquiring and processing the diagnostic data by the diagnostic instrument is greatly improved.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention.

Claims (3)

1. A vehicle diagnostic data storage method, characterized by comprising the steps of:
acquiring a vehicle type data parameter to be diagnosed at present according to a diagnosis vehicle type definition table;
indexing and sending vehicle information request data according to the vehicle type data parameters to be diagnosed so as to request vehicle information;
searching an algorithm table according to the data of the vehicle response to analyze the vehicle information;
the current vehicle model data parameters to be diagnosed comprise a communication protocol serial number, a diagnosis protocol serial number and a diagnosis interface menu serial number;
the indexing and sending vehicle information request data according to the vehicle type data parameter to be diagnosed to request vehicle information specifically comprises:
indexing communication link layer mode information required by the vehicle type to be diagnosed according to the communication protocol serial number, wherein the communication link layer mode information comprises a diagnosis seat type, a physical layer link mode and a baud rate;
analyzing the communication link layer mode information by using a diagnosis application program and then establishing a communication link;
the indexing and sending vehicle information request data according to the vehicle type data parameter to be diagnosed to request vehicle information specifically further comprises:
according to the diagnostic protocol serial number, indexing diagnostic protocol type information required by the vehicle type to be diagnosed, determining corresponding diagnostic data when a diagnostic function is operated, and reading the current diagnostic data;
the indexing and sending vehicle information request data according to the vehicle type data parameter to be diagnosed to request vehicle information specifically further comprises:
according to the diagnostic interface menu serial number, indexing diagnostic interface display information required by the vehicle type to be diagnosed, and reading corresponding vehicle information according to the diagnostic interface display information;
transmitting data corresponding to the requested vehicle information to the vehicle using a diagnostic application;
the storage method further comprises the following steps:
according to the vehicle response data, confirming the index of the algorithm definition table to obtain specific data information of the diagnosis information, and selecting a specific analysis processing mode according to the specific data information;
wherein, according to the data lookup algorithm table of vehicle response in order to analyze vehicle information, include:
indexing diagnostic interface display information required by the vehicle type according to the id of the DiagMenuDTb corresponding to the DiagMenuDef table, wherein the diagnostic interface display information comprises vehicle reading information and current fault code reading;
and when the user clicks and reads the vehicle information again, the diagnosis application program acquires corresponding diagnosis data from the DiagProtoDef table corresponding to the vehicle type according to the DiagProcTb information in the DiagMenuDef table and sends the corresponding diagnosis data to the vehicle.
2. A vehicle diagnostic data storage system comprising a processor and a memory, the memory having stored thereon a computer program which, when executed by the processor, implements the vehicle diagnostic data storage method of claim 1.
3. A computer-readable storage medium on which a computer program is stored, the computer program, when executed by a processor, implementing the vehicle diagnostic data storage method according to claim 1.
CN202011358968.3A 2020-11-27 2020-11-27 Vehicle diagnosis data storage method and system and readable storage medium Active CN112489245B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011358968.3A CN112489245B (en) 2020-11-27 2020-11-27 Vehicle diagnosis data storage method and system and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011358968.3A CN112489245B (en) 2020-11-27 2020-11-27 Vehicle diagnosis data storage method and system and readable storage medium

Publications (2)

Publication Number Publication Date
CN112489245A CN112489245A (en) 2021-03-12
CN112489245B true CN112489245B (en) 2022-12-16

Family

ID=74936225

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011358968.3A Active CN112489245B (en) 2020-11-27 2020-11-27 Vehicle diagnosis data storage method and system and readable storage medium

Country Status (1)

Country Link
CN (1) CN112489245B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115049444B (en) * 2022-08-15 2023-06-30 深圳市星卡软件技术开发有限公司 Data processing method, device, equipment and medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108132663A (en) * 2017-12-19 2018-06-08 风度(常州)汽车研发院有限公司 The analytic method of vehicle trouble messages, device and system
CN111208800B (en) * 2018-01-25 2022-03-11 深圳市道通科技股份有限公司 Automobile diagnosis method and device and vehicle communication interface
CN111078948A (en) * 2019-11-22 2020-04-28 深圳市元征科技股份有限公司 Automobile diagnosis data analysis method and system and storage medium
WO2021142613A1 (en) * 2020-01-14 2021-07-22 深圳市元征科技股份有限公司 Simulated diagnostic method, device and readable storage medium
CN111527389A (en) * 2020-01-19 2020-08-11 深圳市元征科技股份有限公司 Vehicle diagnosis method, vehicle diagnosis device and storage medium
CN111694345B (en) * 2020-06-24 2021-11-12 深圳市元征科技股份有限公司 Vehicle diagnosis menu generation method, device, equipment and medium
CN111708353A (en) * 2020-06-30 2020-09-25 深圳市元征科技股份有限公司 Data display method and system for vehicle diagnosis equipment and related equipment
CN111813095A (en) * 2020-07-30 2020-10-23 深圳市元征科技股份有限公司 Vehicle diagnosis method, device and medium

Also Published As

Publication number Publication date
CN112489245A (en) 2021-03-12

Similar Documents

Publication Publication Date Title
CN108132663A (en) The analytic method of vehicle trouble messages, device and system
CN111817938B (en) Method, system and storage medium for compiling automobile CAN communication matrix
CN112489245B (en) Vehicle diagnosis data storage method and system and readable storage medium
CN112069776B (en) File processing method, device and server
CN101261519A (en) Configuration method for accomplishing vehicle body control system function configuration through diagnosis communication
CN112558584B (en) Diagnostic data acquisition method and device and diagnostic equipment
CN111654523A (en) Data processing method and device, storage medium and server
CN106557773B (en) Vehicle fault diagnosis method and system
CN112100510A (en) Mass data query method and device based on Internet of vehicles platform
CN107294826B (en) CAN network-based TBOX parameter calibration method and device
CN112184946A (en) Vehicle data reading method and related equipment
CN114860689A (en) Method and system for migrating data objects between heterogeneous databases
CN115809244A (en) Massive spatial data access, processing and release method
CN116226905A (en) Distributed database current limiting method, current limiting device, system and electronic equipment
CN115373366A (en) Interactive diagnosis system, diagnosis method and storage medium
CN113256473B (en) Three-dimensional model format conversion method and device, electronic equipment and system
CN112463766B (en) Train information recording, reading and playback method based on high-speed read-write database
CN114356634A (en) Log processing method and device
CN114501383A (en) Data access method for Internet of vehicles cloud
CN114547199A (en) Database increment synchronous response method and device and computer readable storage medium
US7155503B2 (en) Data server
Zheng et al. Vehicle remote diagnostic system implementation based on 3g communication and browser/server structure
CN116208661B (en) Function configuration adaptation method, device, vehicle and storage medium
CN114048206B (en) Configuration consistency verification method, system and device for large-scale cluster
CN112347442B (en) User authority verification method and device

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