CN112968938A - Diagnosis interaction system and interaction method thereof - Google Patents

Diagnosis interaction system and interaction method thereof Download PDF

Info

Publication number
CN112968938A
CN112968938A CN202110129195.XA CN202110129195A CN112968938A CN 112968938 A CN112968938 A CN 112968938A CN 202110129195 A CN202110129195 A CN 202110129195A CN 112968938 A CN112968938 A CN 112968938A
Authority
CN
China
Prior art keywords
dlt
module
information
application program
protocol
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
CN202110129195.XA
Other languages
Chinese (zh)
Other versions
CN112968938B (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.)
China Automotive Innovation Co Ltd
Original Assignee
China Automotive Innovation 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 China Automotive Innovation Co Ltd filed Critical China Automotive Innovation Co Ltd
Priority to CN202110129195.XA priority Critical patent/CN112968938B/en
Publication of CN112968938A publication Critical patent/CN112968938A/en
Application granted granted Critical
Publication of CN112968938B publication Critical patent/CN112968938B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/02Capturing of monitoring data
    • H04L43/028Capturing of monitoring data by filtering
    • 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/40Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Security & Cryptography (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a diagnosis interaction system and an interaction method thereof, wherein the system comprises an application program module for collecting debugging information; thereby forming the information reception of multiple application programs; the software module is used for collecting debugging information, so that the obtained information is fed back to the DLT module to achieve the aim of multi-data transmission; a DLT module for collecting logging information through the application module and the software module; setting a filter in the DLT module, and further filtering irrelevant debugging information according to the set severity level; the invention collects debugging information from an application program or a software module through the DLT module, completes multi-channel data receiving and data transmission, adds a diagnosis protocol and expands a DLT protocol.

Description

Diagnosis interaction system and interaction method thereof
Technical Field
The invention relates to a vehicle networking technology, in particular to a diagnosis interaction system and an interaction method thereof.
Background
With the increasing demand of mobile end users, the mobile internet technology subverts the traditional industry and is imperative, the internet of things continues, the so-called car networking pushes the transformation of the car industry to the wind gap wave tip of the internet, meanwhile, because the problems of confusion of the traditional car service market, monopoly of information and price and non-uniform industry service standards exist, the whole car aftermarket is hopefully improved through the internet, and under the background of searching how to better provide timely and effective systematic service for users, the diagnosis system capable of collecting information of each part of a car is an important mode for opening the entrance of the car networking and optimizing and improving the car service industry.
The existing DLT scheme cannot support diagnosis interaction, if diagnosis related auxiliary debugging is needed in a development stage, diagnosis equipment and a Diag module in the AP AutoSAR need to be matched, and the situation is complicated and depends on development progress of Diag.
Disclosure of Invention
The purpose of the invention is as follows: a diagnostic interactive system is provided to solve the above problems.
The technical scheme is as follows: a diagnostic interaction system comprising the following:
the application program module is used for collecting debugging information;
the software module is used for collecting debugging information;
the DLT module is used for collecting log record information through the application program module and the software module;
and the communication bus is used for receiving the added metadata information in the DLT module.
And the DLT module is a Diagnostic Log and Trace module.
According to one aspect of the invention, the application program module comprises a first application program, a second application program and a third application program, and the first application program, the second application program and the third application program are independent from each other and further form information receiving of multiple application programs.
According to one aspect of the invention, the software module receives and acquires external data information through multiple ports, so that the acquired information is fed back to the DLT module, and the DLT module collects debugging information from the software module to achieve the aim of multi-data transmission.
According to one aspect of the invention, the DLT module collects debug information from the application program module or the software module and sends it to the communication bus after adding metadata; a filter is arranged in the DLT module, the filter filters irrelevant debugging information according to a set severity level, and the filter generates DLT protocol information; the protocol comprises a transport layer data frame format and a data function; the protocol information comprises two types of data information and control information, and the two types realize bidirectional data stream interaction.
According to one aspect of the invention, the communication bus comprises a first communication bus and a second communication bus, the first communication bus and the second communication bus complete the output of data information through the data information sent by the DLT module, and the first communication bus and the second communication bus are independently output, so that a branch path for the DLT module to output the data information is formed.
According to one aspect of the invention, the DLT module is further provided with an adaptive UDS protocol (Unified Diagnostic Services protocol), which selects a Diagnostic service implementing partial or custom privatization according to real-time Diagnostic data, and the transport layer extends the DLT protocol according to the contents of the Diagnostic protocol by means of a recording and tracking mechanism and a communication protocol.
According to one aspect of the invention, a diagnostic interaction method comprises the following:
uploading data transmission information;
and feeding back debugging control processing information.
According to one aspect of the invention, the client side transmits the log and the record data to the DTL client side through DLT in the uploading data transmission information; the method comprises the following specific steps:
the first application program, the second application program and the third application program respectively send log information to the DLT module;
when the first application program, the second application program and the third application program respectively send log information to the DLT module, detecting the environment state during running and judging the change of the environment during running;
the DLT module generates DLT protocol information through an internal filter;
the DLT module transmits the generated DLT protocol information to the DTL client,
the DTL client sets a display filtering attribute, and displays debugging information of severity level and a sending path and a storage position of log data set by the DTL client; further storing the received DLT protocol information;
and completing the data transmission of the first application program, the second application program and the third application program to the DTL client.
According to one aspect of the invention, the feedback debugging control processing information is processed by the DLT client by sending a control message to the DLT module, changing the filter configuration in real time and informing the client to modify the filter settings; the method comprises the following specific steps:
setting a log level through a DLT client;
sending the set log level to a DLT module;
the DLT module processes the filter setting configuration;
notifying the application of the new filter settings;
diagnosing the runtime environment state of the DLT module to the application.
Has the advantages that: the invention designs a diagnosis interactive system and an interactive method thereof, which collect debugging information from an application program or a software module through a DLT module to complete multi-channel data receiving and data transmission, a diagnosis protocol is nested into the DLT module in software middleware, a transmission layer expands the DLT protocol and adapts a UDS function by means of a recording and tracking mechanism and a communication protocol according to the content of the diagnosis protocol, the UDS protocol is positioned in an application layer in an OSI model and provides a basic framework of diagnosis service, and a host factory and a part supplier select and realize part of the diagnosis service or self-define some proprietary diagnosis services according to actual conditions.
Drawings
Fig. 1 is a schematic diagram of the improved DLT protocol architecture of the present invention.
FIG. 2 is a schematic diagram of log upload of the present invention.
Fig. 3 is a schematic diagram of real-time configuration of a DLT client according to the present invention.
Fig. 4 is a diagram of the DLT protocol location architecture of the present invention.
Detailed Description
In this embodiment, a diagnostic interaction system is provided, comprising the following modules:
the application program module is used for collecting debugging information;
the software module is used for collecting debugging information;
the DLT module is used for collecting log record information through the application program module and the software module;
and the communication bus is used for receiving the added metadata information in the DLT module.
In a further embodiment, the application module includes a first application, a second application, and a third application, and the first application, the second application, and the third application are independent of each other, and further form information reception of multiple applications.
In a further embodiment, the software module receives and acquires external data information through multiple ports, so that the acquired information is fed back to the DLT module, and the DLT module collects debugging information from the software module to achieve the purpose of multi-data transmission.
In a further embodiment, the DLT module collects debug information from the application module or software module and sends it to the communication bus after adding metadata; a filter is arranged in the DLT module, the filter filters irrelevant debugging information according to a set severity level, and the filter generates DLT protocol information; the protocol comprises a transport layer data frame format and a data function; the protocol information comprises two types of data information and control information, and the two types realize bidirectional data stream interaction; DLT (diagnostic Log and Trace) module.
In a further embodiment, the communication bus includes a first communication bus and a second communication bus, the first communication bus and the second communication bus complete output of data information through data information sent by the DLT module, and the first communication bus and the second communication bus are independently output, so that a branch path for the DLT module to output the data information is formed.
In a further embodiment, the DLT module is further provided with an adaptive UDS protocol, the UDS protocol selects a diagnostic service realizing partial or customized privatization according to the real-time diagnostic data, and the transport layer extends the DLT protocol according to the content of the diagnostic protocol by means of a recording and tracking mechanism and a communication protocol.
In a further embodiment, a diagnostic interaction method includes the following
Uploading data transmission information; the client side in the uploaded data transmission information transmits the log and the recorded data to the DTL client side through the DLT; the method comprises the following specific steps:
the first application program, the second application program and the third application program respectively send log information to the DLT module;
when the first application program, the second application program and the third application program respectively send log information to the DLT module, detecting the environment state during running and judging the change of the environment during running;
the DLT module generates DLT protocol information through an internal filter;
the DLT module transmits the generated DLT protocol information to the DTL client,
the DTL client sets a display filtering attribute, and displays debugging information of severity level and a sending path and a storage position of log data set by the DTL client; further storing the received DLT protocol information;
and completing the data transmission of the first application program, the second application program and the third application program to the DTL client.
Feeding back debugging control processing information, wherein the feedback debugging control processing information is processed by sending a control message to a DLT module through a DLT client, and changes filter configuration in real time and informs the client to modify filter setting; the method comprises the following specific steps:
setting a log level through a DLT client;
sending the set log level to a DLT module;
the DLT module processes the filter setting configuration;
notifying the application of the new filter settings;
diagnosing the runtime environment state of the DLT module to the application.
In summary, the present invention has the following advantages: the invention provides a forwardable interface for a self-adaptive application program, records information into a communication bus, a console or a file system, expands specific function controls required by diagnosis on the basis of the original functions of a DLT client upper computer, operates the DLT client when the diagnosis is required in the debugging process of a development stage, and finishes diagnosis interactive service with a traveling computer.
It should be noted that the various features described in the above embodiments may be combined in any suitable manner without departing from the scope of the invention. The invention is not described in detail in order to avoid unnecessary repetition.

Claims (9)

1. A diagnostic interaction system, comprising:
the application program module is used for collecting debugging information;
the software module is used for collecting debugging information;
the DLT module is used for collecting log record information through the application program module and the software module;
and the communication bus is used for receiving the added metadata information in the DLT module.
2. The diagnostic interaction system of claim 1, wherein the application module comprises a first application, a second application and a third application, and the first application, the second application and the third application are independent from each other, and further form a multi-application message receiving system.
3. The diagnostic interaction system of claim 1, wherein the software module receives and obtains external data information via multiple ports, thereby feeding back the obtained information to the DLT module, and the DLT module collects debug information from the software module to achieve the purpose of multiple data transmission.
4. The diagnostic interaction system of claim 1, wherein the DLT module collects debugging information from the application program module or the software module and sends it to the communication bus after adding metadata; a filter is arranged in the DLT module, the filter filters irrelevant debugging information according to a set severity level, and the filter generates DLT protocol information; the protocol comprises a transport layer data frame format and a data function; the protocol information comprises two types of data information and control information, and the two types realize bidirectional data stream interaction.
5. The diagnostic interaction system of claim 1, wherein the DLT module further comprises a UDS protocol, wherein the UDS protocol selects a diagnostic service implementing partial or custom privatization based on real-time diagnostic data, and wherein the transport layer extends the DLT protocol based on the content of the diagnostic protocol via a recording and tracking mechanism and a communication protocol.
6. The diagnostic interaction system of claim 1, wherein the communication bus comprises a first communication bus and a second communication bus, the first communication bus and the second communication bus complete the output of data information through data information sent by the DLT module, and the first communication bus and the second communication bus are independent outputs, so that a branch path for the DLT module to output data information is formed.
7. A diagnostic interaction method, comprising:
uploading data transmission information;
and feeding back debugging control processing information.
8. The diagnostic interaction method of claim 7, wherein the client transmits log and record data to the DTL client through DLT in the upload data transmission message; the method comprises the following specific steps:
the first application program, the second application program and the third application program respectively send log information to the DLT module;
when the first application program, the second application program and the third application program respectively send log information to the DLT module, detecting the environment state during running and judging the change of the environment during running;
the DLT module generates DLT protocol information through an internal filter;
the DLT module transmits the generated DLT protocol information to the DTL client,
the DTL client sets a display filtering attribute, and displays debugging information of severity level and a sending path and a storage position of log data set by the DTL client; further storing the received DLT protocol information;
and completing the data transmission of the first application program, the second application program and the third application program to the DTL client.
9. The diagnostic interaction method of claim 7, wherein the feedback debugging control processing information is processed by the DLT client by sending a control message to the DLT module, changing the filter configuration in real time and informing the client to modify the filter settings; the method comprises the following specific steps:
setting a log level through a DLT client;
sending the set log level to a DLT module;
the DLT module processes the filter setting configuration;
notifying the application of the new filter settings;
diagnosing the runtime environment state of the DLT module to the application.
CN202110129195.XA 2021-01-29 2021-01-29 Diagnostic interaction system and interaction method thereof Active CN112968938B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110129195.XA CN112968938B (en) 2021-01-29 2021-01-29 Diagnostic interaction system and interaction method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110129195.XA CN112968938B (en) 2021-01-29 2021-01-29 Diagnostic interaction system and interaction method thereof

Publications (2)

Publication Number Publication Date
CN112968938A true CN112968938A (en) 2021-06-15
CN112968938B CN112968938B (en) 2023-12-26

Family

ID=76272588

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110129195.XA Active CN112968938B (en) 2021-01-29 2021-01-29 Diagnostic interaction system and interaction method thereof

Country Status (1)

Country Link
CN (1) CN112968938B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050138471A1 (en) * 2003-11-17 2005-06-23 International Business Machines Corporation Apparatus, method, and system for logging diagnostic information
CN102521087A (en) * 2011-11-02 2012-06-27 烽火通信科技股份有限公司 System and method for remotely obtaining real-time graded debugging information of kernel module
CN103685178A (en) * 2012-09-12 2014-03-26 中国科学院沈阳自动化研究所 Industrial wireless network oriented online debugging method and system
KR101923511B1 (en) * 2018-03-27 2018-11-29 콘티넨탈 오토모티브 게엠베하 Apparatus for communicating diagnostic vehicle and method thereof
CN110377595A (en) * 2019-07-24 2019-10-25 浙江吉利汽车研究院有限公司 A kind of vehicle data management system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050138471A1 (en) * 2003-11-17 2005-06-23 International Business Machines Corporation Apparatus, method, and system for logging diagnostic information
CN102521087A (en) * 2011-11-02 2012-06-27 烽火通信科技股份有限公司 System and method for remotely obtaining real-time graded debugging information of kernel module
CN103685178A (en) * 2012-09-12 2014-03-26 中国科学院沈阳自动化研究所 Industrial wireless network oriented online debugging method and system
KR101923511B1 (en) * 2018-03-27 2018-11-29 콘티넨탈 오토모티브 게엠베하 Apparatus for communicating diagnostic vehicle and method thereof
CN110377595A (en) * 2019-07-24 2019-10-25 浙江吉利汽车研究院有限公司 A kind of vehicle data management system

Also Published As

Publication number Publication date
CN112968938B (en) 2023-12-26

Similar Documents

Publication Publication Date Title
CN111083225B (en) Data processing method and device in Internet of things platform and Internet of things platform
CN109164783B (en) Vehicle diagnosis method, apparatus, device, and medium
CN202735835U (en) Remote vehicle diagnosis system and remote diagnosis system
EP3907631A1 (en) Applet processing method and apparatus, device and storage medium
CN106338978A (en) CAN bus communication function test system and test method thereof
WO2019196636A1 (en) Remote automobile consultation method, apparatus and system
CN113485881B (en) Test method and device of temporary speed limiting server, electronic equipment and medium
CN105579976A (en) Webpage automatic test method and apparatus
CN114490220A (en) Remote debugging method and debugging system for vehicle-mounted entertainment system based on MQTT
CN115373981A (en) OTA (over the air) automatic testing system and method for finished automobile in production line environment
CN202939486U (en) Automobile fault remote diagnosis system
CN117278653A (en) Data record transmission system and method for distributed site satellite
CN112968938A (en) Diagnosis interaction system and interaction method thereof
CN116647490A (en) Aviation AFDX network data detection system
CN213244054U (en) Remote monitoring module for issuing vehicle test standard and vehicle
CN112884942B (en) Data recording and playback system and playback method thereof
CN104933851A (en) Electric meter data collector with infrared upgrade function and upgrade method thereof
CN104787634A (en) Monitoring method of elevator all-in-one machine, elevator all-in-one machine and monitoring system thereof
CN112051834B (en) Universal vehicle data acquisition/simulation method and system
CN102984680B (en) A kind of method that realizes number tracking in the external interface of telecom operation system
CN114442590A (en) Vehicle diagnosis method, apparatus, diagnosis communication device, server, and storage medium
CN112887149A (en) Service visual management system and management method thereof
CN212588368U (en) High-load portable data transmission all-in-one machine based on mobile Internet
US20240134733A1 (en) Responsive Error Handling Based on Other Error Reports
JP2010033509A (en) Failure analysis support 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