CN112968938B - Diagnostic interaction system and interaction method thereof - Google Patents

Diagnostic interaction system and interaction method thereof Download PDF

Info

Publication number
CN112968938B
CN112968938B CN202110129195.XA CN202110129195A CN112968938B CN 112968938 B CN112968938 B CN 112968938B CN 202110129195 A CN202110129195 A CN 202110129195A CN 112968938 B CN112968938 B CN 112968938B
Authority
CN
China
Prior art keywords
dlt
module
information
application program
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
CN202110129195.XA
Other languages
Chinese (zh)
Other versions
CN112968938A (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 Corp
Original Assignee
China Automotive Innovation Corp
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 Corp filed Critical China Automotive Innovation Corp
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

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; further forming information receiving of multiple application programs; the software module is used for collecting debugging information, so that acquired information is fed back to the DLT module, and the aim of multi-data transmission is fulfilled; a DLT module for collecting logging information by the application module and the software module; a filter is arranged in the DLT module, and irrelevant debugging information is filtered according to the set severity level; the invention collects debugging information from application programs or software modules through the DLT module to complete multichannel data receiving and data transmission, adds diagnostic protocol and expands DLT protocol.

Description

Diagnostic interaction system and interaction method thereof
Technical Field
The invention relates to the technology of Internet of vehicles, in particular to a diagnosis interaction system and an interaction method thereof.
Background
Along with the increasing demands of mobile terminal users, mobile internet technology subverts the traditional industry and continues with the internet of things, so-called internet of vehicles pushes the transformation of the automobile industry to the wind gap crest of the internet, meanwhile, because the problems of confusion of traditional automobile service markets, monopoly of information and price, different industry service standards and the like exist, the whole automobile after-market is hoped to be improved through the internet, and the mobile internet is an important way for opening the internet of vehicles as a diagnosis system capable of collecting information of all parts of the automobile under the background of searching how to provide timely and effective systematic service for the users better, so that the automobile service industry is optimized and improved.
The existing DLT scheme cannot support diagnosis interaction, if diagnosis correlation is needed for auxiliary debugging in a development stage, diagnosis equipment and a Diag module in the AP AutoSAR are matched, and the situation is complicated and depends on development progress of the Diag.
Disclosure of Invention
The invention aims to: a diagnostic interactive system is provided to solve the above-mentioned problems.
The technical scheme is as follows: a diagnostic interactive 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 metadata adding information in the DLT module.
The DLT module is Diagnostic Log and Trace module.
According to one aspect of the present invention, the application program module includes a first application program, a second application program, and a third application program, where the first application program, the second application program, and the third application program are independent of each other, and further form information reception 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 acquired information is fed back to the DLT module, and the DLT module collects debugging information from the software module, so that the aim of multi-data transmission is fulfilled.
According to one aspect of the invention, the DLT module gathers debug information from an application module or software module and sends it to a communication bus after adding metadata; a filter is arranged in the DLT module, and is used for filtering irrelevant debugging information according to a set severity level, and generating 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 flow 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 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 outputting the data information by the DLT module is formed.
According to one aspect of the invention, the DLT module is further provided with an adapted UDS protocol (Unified Diagnostic Services protocol) for selectively implementing a partially or custom privately owned diagnostic service according to real-time diagnostic data, the transport layer extending the DLT protocol according to the content 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 steps:
uploading data transmission information;
and feeding back debugging control processing information.
According to one aspect of the invention, the client in the uploading data transmission information transmits the log and the record data to the DTL client through the DLT; the method comprises the following 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 display filtering attributes, displays debugging information of severity level and sets a sending path and a storage position of log data; further storing the received DLT protocol information;
and finishing data transmission from 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 control messages to the DLT module, changing the filter configuration in real time and notifying 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.
The beneficial effects are that: the invention designs a diagnosis interactive system and an interactive method thereof, debugging information is collected from an application program or a software module through a DLT module, multichannel data receiving and data transmission are completed, a diagnosis protocol is nested into the DLT module in a software middleware, a transmission layer expands the DLT protocol according to the content of the diagnosis protocol by means of a recording and tracking mechanism and a communication protocol, a UDS function is adapted, the UDS protocol is positioned at an application layer in an OSI model, the UDS protocol provides a basic framework of diagnosis service, and a host factory and a part of part suppliers select to realize part of or customize proprietary diagnosis service according to actual conditions.
Drawings
Fig. 1 is a schematic diagram of an improved DLT protocol architecture of the present invention.
Fig. 2 is a log upload schematic diagram of the present invention.
Fig. 3 is a schematic diagram of a DLT client real-time configuration of the present invention.
Fig. 4 is a schematic diagram of a DLT protocol location architecture of the present invention.
Detailed Description
In this embodiment, a diagnostic interactive 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 metadata adding information in the DLT module.
In a further embodiment, the application module includes a first application, a second application, and a third application, where 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 acquired information is fed back to the DLT module, and the DLT module collects debugging information from the software module, so that the aim of multi-data transmission is fulfilled.
In a further embodiment, the DLT module collects debug information from an application module or software module and sends it to the communication bus after adding metadata; a filter is arranged in the DLT module, and is used for filtering irrelevant debugging information according to a set severity level, and generating 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 flow interaction; DLT (Diagnostic Log and Trace) module.
In a further embodiment, the communication buses include 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 independent outputs, so that a branch path of the DLT module outputting the data information is formed.
In a further embodiment, the DLT module is further provided with an adaptive UDS protocol, which selects to implement a part of or custom privately owned diagnostic service according to 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 comprises the following
Uploading data transmission information; the client in the uploading data transmission information transmits the log and the record data to the DTL client through the DLT; the method comprises the following 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 display filtering attributes, displays debugging information of severity level and sets a sending path and a storage position of log data; further storing the received DLT protocol information;
and finishing data transmission from the first application program, the second application program and the third application program to the DTL client.
Feedback debugging control processing information, wherein the feedback debugging control processing information is processed by a DLT client through sending a control message to a DLT module, so as to change filter configuration in real time and inform the client of modifying 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.
In summary, the present invention has the following advantages: the invention provides a forwarding interface for the self-adaptive application program, records information into a communication bus, a control console or a file system, and extends specific functional controls required by diagnosis on the basis of the original functions by a DLT client upper computer, and operates the DLT client to complete diagnosis interaction service with a driving computer when diagnosis is required in the debugging process of a development stage.
In addition, the specific features described in the above embodiments may be combined in any suitable manner without contradiction. The various possible combinations of the invention are not described in detail in order to avoid unnecessary repetition.

Claims (9)

1. A diagnostic interactive system for use in an AP AUTOSAR platform, the 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;
a filter is arranged in the DLT module, and the filter filters irrelevant debugging information according to a set severity level;
a communication bus for receiving the added metadata information in the DLT module;
the DLT client is used for displaying the filtering attribute, displaying the debugging information of the severity level and the sending path and the storage position of the setting log data of the debugging information, and sending control information to the DLT module for processing according to the feedback debugging control processing information so as to change the filter configuration and inform the client of modifying the filter setting in real time.
2. The diagnostic interactive system of claim 1, wherein said application program module comprises a first application program, a second application program and a third application program, said first application program, second application program and third application program being independent of each other, further forming a multi-application information reception.
3. The diagnostic interactive system of claim 1, wherein said software module receives and obtains external data information via multiple ports, thereby feeding back the obtained information to the DLT module, and wherein the DLT module collects debug information from the software module for multiple data transmission purposes.
4. The diagnostic interactive system of claim 1, wherein said DLT module collects debug information from an application module or a software module and sends it to a communication bus after adding metadata; a filter is arranged in the DLT module, and is used for filtering irrelevant debugging information according to a set severity level, and generating 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 flow interaction.
5. The diagnostic interactive system according to claim 1, wherein said DLT module further comprises a UDS protocol for selectively implementing a partially or custom privately owned diagnostic service according to real-time diagnostic data, and wherein 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.
6. The diagnostic interface system of claim 1, wherein the communication bus comprises a first communication bus and a second communication bus, wherein the first communication bus and the second communication bus output data information through data information sent by the DLT module, and wherein the first communication bus and the second communication bus are independent outputs, thereby forming a branch path for the DLT module to output the data information.
7. A diagnostic interaction method based on a diagnostic interaction system according to any of the claims 1-6, comprising:
uploading data transmission information;
and feeding back debugging control processing information.
8. The diagnostic interactive method of claim 7, wherein said client in said uploading data transmission transmits log and record data to DTL client via DLT; the method comprises the following 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 sends the generated DLT protocol information to a DTL client, and the DTL client sets display filtering attributes, displays debugging information of severity level and sets a sending path and a storage position of log data; further storing the received DLT protocol information;
and finishing data transmission from 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 said feedback debug control process information is processed by a DLT client by sending control messages to a DLT module, altering filter configuration and informing the client to modify filter settings in real time; 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 CN112968938A (en) 2021-06-15
CN112968938B true 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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7284153B2 (en) * 2003-11-17 2007-10-16 International Business Machines Corporation Apparatus, method, and system for logging diagnostic information

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN112968938A (en) 2021-06-15

Similar Documents

Publication Publication Date Title
US9286265B2 (en) Device and method for managing an electronic control unit of a vehicle
CN102566561B (en) Method and device for diagnosing automotive electronic control unit faults based on semi-physical simulation
CN114265386B (en) SOA-based application service diagnosis architecture and method
CN112362983A (en) Battery management system diagnosis method, upper computer and system
CN104318638B (en) J1939 bus datas logger, element method for arranging and technological process
US20220030090A1 (en) Selective address space aggregation
CN112968938B (en) Diagnostic interaction system and interaction method thereof
US20200409353A1 (en) Integrated agricultural production system and method
CN112631847A (en) Intelligent vehicle machine automatic test system, method and application thereof
CN116962473A (en) Vehicle-cloud integrated dynamic service engine, control method and construction method thereof
JPH1097437A (en) Parallel distributed processing system
CN1137420C (en) Open type digital control system for hierachical monitoring and remote network diagnosis
CN111083195B (en) Virtual single disk proxy system and method
CN112884942B (en) Data recording and playback system and playback method thereof
CN113960991A (en) Vehicle fault diagnosis system, method and device, system-on-chip and vehicle
CN113918436A (en) Log processing method and device
CN114442590A (en) Vehicle diagnosis method, apparatus, diagnosis communication device, server, and storage medium
CN114399852A (en) Data processing method and intelligent repair system for vehicle-mounted application program
JP2002335340A (en) Vehicle remote diagnostic system and its method
JP4554255B2 (en) COMMUNICATION MONITOR DEVICE, COMMUNICATION MONITOR METHOD, AND PROGRAM
CN213390321U (en) Engineering machinery control system and excavator
CN115865981B (en) Air conditioner control data management method and system
US20230215226A1 (en) Method for vehicle diagnostics, diagnostic connector, and diagnostic device
CN117031359A (en) Active cable testing device and method
CN116056134A (en) Test method and device for vehicle remote upgrade component, processor and vehicle

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