[go: up one dir, main page]

CN114779740B - Vehicle fault remote diagnosis system and method - Google Patents

Vehicle fault remote diagnosis system and method Download PDF

Info

Publication number
CN114779740B
CN114779740B CN202210428546.1A CN202210428546A CN114779740B CN 114779740 B CN114779740 B CN 114779740B CN 202210428546 A CN202210428546 A CN 202210428546A CN 114779740 B CN114779740 B CN 114779740B
Authority
CN
China
Prior art keywords
diagnostic
mcu
vehicle
cloud
remote diagnosis
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
CN202210428546.1A
Other languages
Chinese (zh)
Other versions
CN114779740A (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.)
Chongqing Changan Automobile Co Ltd
Original Assignee
Chongqing Changan Automobile 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 Chongqing Changan Automobile Co Ltd filed Critical Chongqing Changan Automobile Co Ltd
Priority to CN202210428546.1A priority Critical patent/CN114779740B/en
Publication of CN114779740A publication Critical patent/CN114779740A/en
Application granted granted Critical
Publication of CN114779740B publication Critical patent/CN114779740B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0259Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the response to fault detection
    • G05B23/0262Confirmation of fault detection, e.g. extra checks to confirm that a failure has indeed occurred
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics

Landscapes

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

Abstract

本发明公开了一种车辆故障远程诊断系统及方法,该系统包括云端、与云端通信连接的车载终端,以及与车载终端通信连接的至少一个ECU;云端,用于发送诊断指令,对车载终端反馈的诊断数据进行处理;车载终端,用于采集车辆的诊断数据,并将采集的诊断数据发送至云端;ECU,用于实时获取车辆的诊断数据,反馈诊断报文至车载终端;车载终端包括MCU,以及与MCU通信连接的4G模块,MCU用于解析诊断指令,转化为CAN报文格式,接收对应ECU的诊断报文,并通过4G模块发送至云端。本发明解决了常规远程诊断功能的局限性,提高了诊断效率,降低了诊断成本。

The present invention discloses a vehicle fault remote diagnosis system and method, the system includes a cloud, a vehicle terminal connected to the cloud, and at least one ECU connected to the vehicle terminal; the cloud is used to send diagnostic instructions and process diagnostic data fed back by the vehicle terminal; the vehicle terminal is used to collect diagnostic data of the vehicle and send the collected diagnostic data to the cloud; the ECU is used to obtain the diagnostic data of the vehicle in real time and feed back diagnostic messages to the vehicle terminal; the vehicle terminal includes an MCU and a 4G module connected to the MCU, the MCU is used to parse the diagnostic instructions, convert them into CAN message format, receive the diagnostic message of the corresponding ECU, and send it to the cloud through the 4G module. The present invention solves the limitations of conventional remote diagnosis functions, improves diagnostic efficiency, and reduces diagnostic costs.

Description

Remote diagnosis system and method for vehicle faults
Technical Field
The invention relates to the technical field of automobile fault diagnosis, in particular to a vehicle fault remote diagnosis system and method.
Background
With the development of economy and society, the automobile has more and more possession, and fault diagnosis of automobiles is becoming mature. The development of the automobile fault diagnosis technology enables the processing speed of automobile faults to be faster, in the existing automobile fault diagnosis technology, single functions can be realized, the state of the automobile cannot be monitored in real time, and fault diagnosis can be carried out only when a vehicle driver actively carries out fault detection.
The invention patent with publication number CN113325830A discloses a remote diagnosis method of an automobile diagnostic apparatus, which comprises the steps of sending corresponding diagnosis instructions on a bus through a TBOX of a vehicle-mounted network connection terminal, obtaining diagnosis responses given by a module and uploading the diagnosis responses to a remote diagnosis system, analyzing server contents by the TBOX, analyzing the diagnosis responses into corresponding CAN diagnosis commands, sending the CAN diagnosis commands to the CAN bus, receiving diagnosis reply contents of the module and uploading the diagnosis reply contents to the remote diagnosis system, and analyzing original messages by the remote diagnosis system according to a UDS protocol. According to the invention, the message analysis part is arranged on the cloud server for processing according to the UDS protocol, the design has limitation, the cloud can not issue complex diagnosis instructions, and the diagnosis failure possibly occurs because the instructions are not issued in time due to the network delay problem.
The utility model patent with the publication number of CN209946704U discloses a cloud diagnosis system for coping with vehicle faults, which comprises a vehicle-mounted terminal, a cloud server and a mobile client, wherein all components are communicated through a 4G network, the vehicle-mounted terminal is used for collecting vehicle information and sending collected data to the cloud server through the 4G network, meanwhile, the collected data are stored in a TF card and are accompanied with time stamps, the cloud server is used for logging in, logging out, receiving data, sending data and storing data and sending the data to the mobile client, and the mobile client is used for receiving the data sent by the cloud server, and a user receives the information and operates the information at the mobile client. The utility model only supports the reading of fault codes, and the single fault code reading cannot meet the increasing demands at present of higher and higher automobile electronization degree.
Today, conventional vehicle diagnostics typically take a vehicle to a 4S store, diagnose the vehicle with a fault diagnostic apparatus, and typically, the vehicle is in a significant fault condition before the driver is actively in the 4S store for maintenance. The vehicle remote on-line diagnosis system can remotely diagnose the vehicle faults on line and inform a driver of the faults of the vehicle and maintain the vehicle in time. Therefore, it is important to design a multifunctional, efficient and highly-expandable remote diagnostic program diagnosis system.
Disclosure of Invention
Aiming at the defects of the prior art, the invention aims to provide a vehicle fault remote diagnosis system and method, which solve the limitations of the conventional remote diagnosis function, improve the diagnosis efficiency and reduce the diagnosis cost.
In order to solve the technical problems, the invention adopts the following technical scheme:
a vehicle fault remote diagnosis system comprises a cloud end, a vehicle-mounted terminal in communication connection with the cloud end, and at least one ECU in communication connection with the vehicle-mounted terminal;
The cloud end is used for sending a diagnosis instruction and processing diagnosis data fed back by the vehicle-mounted terminal;
the vehicle-mounted terminal is used for collecting diagnostic data of the vehicle and sending the collected diagnostic data to the cloud;
the ECU is used for acquiring diagnosis data of the vehicle in real time and feeding back a diagnosis message to the vehicle-mounted terminal;
the vehicle-mounted terminal comprises an MCU and a 4G module in communication connection with the MCU, wherein the MCU is used for analyzing the diagnosis instruction, converting the diagnosis instruction into a CAN message format, receiving the diagnosis message corresponding to the ECU and sending the diagnosis message to the cloud through the 4G module.
Further, the MCU comprises a remote diagnosis APP layer, a remote diagnosis NL layer and a DRIVER layer;
The remote diagnosis APP layer is used for analyzing and processing diagnosis instructions of the cloud;
The remote diagnosis NL layer is used for converting the data packet sent by the remote diagnosis APP layer into a CAN message format, receiving an original message on a CAN network, packaging, unpacking and transmitting the original message back to the remote diagnosis APP layer;
and the DRIVER layer is used for processing and driving the CAN message and packaging the CAN message into a unified interface for the NL layer for remote diagnosis.
Further, the remote diagnosis APP layer is provided with a plurality of UDS service functions for processing corresponding UDS diagnosis services and matched UDS service function background tasks.
Further, the MCU and the 4G module are in communication connection through UART (Universal Asynchronous Receiver/Transmitter, asynchronous transceiver) or SPI (SERIAL PERIPHERAL INTERFACE ).
Further, the vehicle-mounted terminal is in communication connection with the ECU through a GW, and the GW is used for forwarding the CAN message so as to realize data forwarding.
Further, the MCU and the GW, and the GW and the ECU are in communication connection through CAN (Controller Area Network ).
The invention also provides a vehicle fault remote diagnosis method, which uses the vehicle fault remote diagnosis system and is characterized by comprising the following steps:
S1, the vehicle-mounted terminal receives a diagnosis instruction of the cloud through a 4G module and forwards the diagnosis instruction to the MCU;
S2, the MCU issues a diagnosis instruction to the CAN network and forwards the diagnosis instruction to the corresponding ECU through the GW;
S3, the ECU receives the diagnosis instruction and sends out a diagnosis message;
s4, the MCU receives the diagnosis message on the CAN network and sends the diagnosis message to the 4G module;
s5, the 4G module receives diagnosis data sent by the MCU and forwards the diagnosis data to the cloud;
And S6, the cloud processes the fed-back diagnosis data.
Further, in step S2, the MCU issues a diagnostic command to the CAN network, including the following steps:
S21, the MCU circularly detects a diagnosis instruction queue, and when a diagnosis instruction sent by the 4G module is received, enqueuing operation is carried out, and step S22 is executed;
S22, the MCU performs dequeuing operation, saves a current diagnosis instruction to be processed, judges whether the vehicle meets diagnosis conditions by reading CAN network signals, if so, executes S23, otherwise, feeds back information that the diagnosis conditions do not meet to the 4G module;
s23, calling a corresponding UDS service function, converting the UDS service function into a CAN message format, and transmitting the CAN message format to a CAN network.
Further, in step S4, the MCU receives the diagnostic message on the CAN network, and sends the diagnostic message to the 4G module, which includes the following steps:
s41, executing S42 when the cloud diagnosis instruction is functional addressing, otherwise executing S43;
S42, waiting for 5 seconds, if a diagnosis message fed back by the corresponding ECU is received, then waiting for 10 seconds, and then transmitting the received original diagnosis message group package to the 4G module, otherwise, feeding back corresponding ECU timeout information to the 4G module;
s43, waiting for 5 seconds, executing S44 if a diagnosis message fed back by the corresponding ECU is received, otherwise feeding back corresponding ECU timeout information to the 4G module;
S44, judging whether the cloud diagnosis instruction belongs to a specific UDS service function, if so, ending the processing flow, and otherwise, transmitting a corresponding ECU feedback message to the 4G module.
Compared with the prior art, the invention has the beneficial effects that:
1. The diagnosis instructions (single diagnosis instructions or a plurality of diagnosis instructions) are issued to the 4G module through the cloud, the 4G module forwards the diagnosis instructions to the MCU, the MCU caches the diagnosis instructions by using the data structure of the queue, the diagnosis instructions are sequentially resolved by adopting a software layered structure, the corresponding UDS service functions in the remote diagnosis APP layer are called, the resolved data are issued to the UDS network layer, the diagnosis instructions are sent to the CAN network after being processed, and CAN messages fed back by the corresponding ECU (controller) are returned to the cloud end layer by layer. Through the process, the cloud can read the fault code and the state code of each ECU (controller) of the vehicle and modify the data stored locally by each ECU, so that the limitation of the conventional remote diagnosis function is solved, the diagnosis efficiency is improved, and the diagnosis cost is reduced.
Drawings
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings, in which:
FIG. 1 is a schematic diagram of the overall structure of a vehicle fault remote diagnosis system according to the present invention;
FIG. 2 is a flow chart of a vehicle fault remote diagnostic system of the present invention;
FIG. 3 is a flow chart of a vehicle fault remote diagnosis method of the present invention;
fig. 4 is a flowchart of an MCU according to the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings.
As shown in fig. 1, the present embodiment provides a vehicle fault remote diagnosis system, which includes a cloud end, a vehicle-mounted terminal communicatively connected to the cloud end, and at least one ECU (Electronic Control Unit, vehicle controller) communicatively connected to the vehicle-mounted terminal;
The cloud end is used for sending a diagnosis instruction and processing diagnosis data fed back by the vehicle-mounted terminal;
the vehicle-mounted terminal is used for collecting diagnostic data of the vehicle and sending the collected diagnostic data to the cloud;
the ECU is used for acquiring diagnosis data of the vehicle in real time and feeding back a diagnosis message to the vehicle-mounted terminal;
the vehicle-mounted terminal comprises an MCU (Micro Controller Unit, a micro control unit) and a 4G module in communication connection with the MCU, wherein the MCU is used for analyzing the diagnosis instruction, converting the diagnosis instruction into a CAN message format, receiving the diagnosis message corresponding to the ECU and sending the diagnosis message to the cloud through the 4G module.
Referring to fig. 2, in the system, a diagnosis instruction (a single diagnosis instruction or a plurality of diagnosis instructions) is issued to a 4G module through a cloud, the 4G module forwards the diagnosis instruction to an MCU, the MCU caches the diagnosis instruction by using a data structure of a queue, a software layered structure is adopted, the diagnosis instruction is sequentially parsed to call a corresponding UDS service function in a remote diagnosis APP layer, the parsed data is issued to a UDS network layer, the diagnosis instruction is sent to a CAN network after being processed, and then CAN messages fed back to the cloud layer by layer corresponding to an ECU (controller) are returned to the cloud.
In specific implementation, the MCU comprises a remote diagnosis APP layer, a remote diagnosis NL layer and a DRIVER layer;
The remote diagnosis APP layer is used for analyzing and processing the diagnosis instructions of the cloud, a state machine for managing and processing the diagnosis instructions is arranged in the remote diagnosis APP layer, the state machine is in an idle state at ordinary times, and the state machine enters the next state after receiving the diagnosis instructions of the cloud forwarded by the 4G module.
The remote diagnosis NL layer is integrated with codes of a network layer in the UDS protocol stack and is used for converting data sent by the remote diagnosis APP layer into a CAN message format, receiving an original message on the CAN network, packaging, unpacking and transmitting the original message back to the remote diagnosis APP layer, unpacking, removing a frame control head of the original CAN message, only preserving effective data, facilitating to simplify code logic of the remote diagnosis APP layer through the remote diagnosis NL layer, facilitating to maintain codes and improving portability.
The DRIVER layer is used for processing the driving, receiving the CAN message and packaging the CAN message into a unified interface for the NL layer for remote diagnosis.
In particular, the remote diagnostic APP layer has a plurality of UDS service functions for processing corresponding UDS diagnostic services, and the supporting UDS service functions process background tasks (periodic polling execution). While UDS service functions such as 10 service, 27 service, 3E service, 19 service, 22 service, 11 service, 14 service, 2E service, etc., each service corresponds to a diagnostic instruction of the vehicle, specific processing can be performed on specific services through the function pointer list, improving scalability.
In specific implementation, the MCU and the 4G module are in communication connection through UART (Universal Asynchronous Receiver/Transmitter, asynchronous transceiver) or SPI (SERIAL PERIPHERAL INTERFACE ).
In specific implementation, the vehicle-mounted terminal is in communication connection with the ECU through a Gateway (Gateway), and the GW is used for forwarding CAN messages to realize data forwarding.
In specific implementation, the MCU, the GW and other ECUs on the vehicle are in communication connection through CAN (Controller Area Network ).
Referring to fig. 3, the invention further provides a vehicle fault remote diagnosis method, which uses the vehicle fault remote diagnosis system, and comprises the following steps:
S1, the vehicle-mounted terminal receives a diagnosis instruction of the cloud through a 4G module and forwards the diagnosis instruction to the MCU;
S2, the MCU issues a diagnosis instruction to the CAN network, and the diagnosis instruction is received by the GW and forwarded to the corresponding ECU;
S3, the ECU receives the diagnosis instruction and sends out a diagnosis message;
s4, the MCU receives the diagnosis message on the CAN network and sends the diagnosis message to the 4G module;
s5, the 4G module forwards the diagnosis data sent by the MCU and forwards the diagnosis data to the cloud;
And S6, the cloud processes the fed-back diagnosis data.
Referring to fig. 4, in the implementation, in step S2, the MCU issues a diagnostic command to the CAN network, including the following steps:
S21, the MCU circularly detects a diagnosis instruction queue, and when a diagnosis instruction sent by the 4G module is received, enqueuing operation is carried out, and step S22 is executed;
s22, the MCU performs dequeuing operation, saves a current diagnosis instruction to be processed, judges whether the vehicle meets diagnosis conditions or not by reading CAN network signals, and judges signals such as vehicle speed, engine running state and the like, if the signals meet the diagnosis conditions, S23 is executed, otherwise, feedback diagnosis conditions do not meet the information and the information is sent to the 4G module;
S23, calling a corresponding UDS service function according to the diagnosis instruction, converting the UDS service function into a CAN message format through a remote diagnosis NL layer, and transmitting the CAN message format to a CAN network.
In the specific implementation, in step S4, the MCU receives the diagnostic message on the CAN network, and sends the diagnostic message to the 4G module, which includes the following steps:
s41, executing S42 when the cloud diagnosis instruction is functional addressing, otherwise executing S43;
S42, waiting for 5 seconds, if a diagnosis message fed back by the corresponding ECU is received, then waiting for 10 seconds, and then transmitting the received original diagnosis message group package to the 4G module, otherwise, feeding back corresponding ECU timeout information to the 4G module;
s43, waiting for 5 seconds, executing S44 if a diagnosis message fed back by the corresponding ECU is received, otherwise feeding back corresponding ECU timeout information to the 4G module;
S44, judging whether the cloud diagnosis instruction belongs to a specific UDS service function, if so, ending the processing flow, and otherwise, transmitting a corresponding ECU feedback message to the 4G module.
According to the invention, a cloud terminal issues a single diagnosis instruction or a plurality of diagnosis instructions to an MCU, a vehicle-mounted terminal receives the diagnosis instructions of the cloud terminal through a 4G module and forwards the diagnosis instructions to the MCU, and for specific diagnosis instructions, a UDS service function is arranged in a remote diagnosis APP layer and a background function corresponding to the UDS service function is specially processed.
For example, the cloud transmits a diagnosis instruction of function addressing, and because of limited memory resources of the MCU, the remote diagnosis NL layer can only process a diagnosis message of one ECU (controller) within a period of time, and transmits the function addressing, a plurality of ECUs feed back the diagnosis message, so that special treatment is required at this time. And after the functional addressing message is issued, if no feedback message is received within 5 seconds, replying to cloud service diagnosis overtime, if the feedback message is received, directly transmitting a fixed flow control frame when the MCU receives a first frame of the CAN message, not performing packet processing, re-timing for 10 seconds, and then transmitting the original message received within the period of time back to the cloud for processing.
For example, when the diagnosis instruction issued by the cloud is 2E service and the security level of the ECU is required, the cloud firstly caches a plurality of diagnosis instructions into a queue of the MCU in a mode of issuing the diagnosis instructions simultaneously, the diagnosis instructions are executed in one piece, the security constants of the ECUs are issued by the cloud, and the MCU receives the security constants and invokes a security encryption algorithm to generate a KEY, so that the security level of the opposite-end controller is unlocked, the corresponding UDS service is realized, and the limitation of the conventional remote diagnosis function is solved.
Finally, it is noted that the above embodiments are only intended to illustrate the technical solution of the present invention and not to limit the same, and that although the present invention has been described with reference to the preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein. Obvious changes that are extended by the technical proposal of the invention are still within the scope of the invention.

Claims (7)

1.一种车辆故障远程诊断方法,本方法使用一种车辆故障远程诊断系统,车辆故障远程诊断系统包括云端、与云端通信连接的车载终端,以及与车载终端通信连接的至少一个ECU;1. A vehicle fault remote diagnosis method, the method using a vehicle fault remote diagnosis system, the vehicle fault remote diagnosis system comprising a cloud, a vehicle terminal connected to the cloud, and at least one ECU connected to the vehicle terminal; 云端,用于发送诊断指令,对车载终端反馈的诊断数据进行处理;The cloud is used to send diagnostic instructions and process the diagnostic data fed back by the vehicle terminal; 车载终端,用于采集车辆的诊断数据,并将采集的诊断数据发送至云端;The vehicle terminal is used to collect the vehicle's diagnostic data and send the collected diagnostic data to the cloud; ECU,用于实时获取车辆的诊断数据,反馈诊断报文至车载终端;ECU, used to obtain vehicle diagnostic data in real time and feed back diagnostic messages to the vehicle terminal; 车载终端包括MCU,以及与MCU通信连接的4G模块,MCU用于解析诊断指令,转化为CAN报文格式,接收对应ECU的诊断报文,并通过4G模块发送至云端;The vehicle terminal includes an MCU and a 4G module connected to the MCU. The MCU is used to parse the diagnostic instructions, convert them into CAN message format, receive the diagnostic messages of the corresponding ECU, and send them to the cloud through the 4G module. 其特征在于,包括以下步骤:It is characterized by comprising the following steps: S1、车载终端通过4G模块接收云端的诊断指令后转发给MCU;S1. The vehicle terminal receives the diagnostic instructions from the cloud through the 4G module and forwards them to the MCU; S2、MCU下发诊断指令到CAN网络上,并通过GW转发给对应的ECU;S2, MCU sends diagnostic instructions to the CAN network and forwards them to the corresponding ECU through the GW; S3、ECU收到诊断指令发出诊断报文;S3, ECU receives the diagnostic instruction and sends a diagnostic message; S4、MCU接收CAN网络上的诊断报文,发送给4G模块;S4, MCU receives the diagnostic message on the CAN network and sends it to the 4G module; S5、4G模块接收MCU发送来的诊断数据,并转发给云端;The S5 and 4G modules receive diagnostic data sent by the MCU and forward it to the cloud; S6、云端对反馈的诊断数据进行处理;S6. The cloud processes the feedback diagnostic data; 在步骤S4中,MCU接收CAN网络上的诊断报文,发送给4G模块包括以下步骤:In step S4, the MCU receives the diagnostic message on the CAN network and sends it to the 4G module, including the following steps: S41、当云端诊断指令为功能寻址时,则执行S42,否则执行S43;S41, when the cloud diagnosis instruction is function addressing, execute S42, otherwise execute S43; S42、等待5秒,如果收到对应ECU反馈的诊断报文,再等待10秒后将收到的原始诊断报文组包传送给4G模块,否则反馈对应ECU超时信息给4G模块;S42, wait for 5 seconds, if the diagnostic message fed back by the corresponding ECU is received, wait for another 10 seconds and then transmit the received original diagnostic message package to the 4G module, otherwise, feedback the corresponding ECU timeout information to the 4G module; S43、等待5秒,如果收到对应ECU反馈的诊断报文,则执行S44,否则反馈对应ECU超时信息给4G模块;S43, wait for 5 seconds, if the diagnostic message fed back by the corresponding ECU is received, execute S44, otherwise the corresponding ECU timeout information is fed back to the 4G module; S44、判断云端诊断指令是否属于特定UDS服务函数,如果是则处理流程结束,否则将对应ECU反馈报文传送给4G模块。S44. Determine whether the cloud diagnostic instruction belongs to a specific UDS service function. If so, the processing flow ends; otherwise, the corresponding ECU feedback message is transmitted to the 4G module. 2.根据权利要求1所述的一种车辆故障远程诊断方法,其特征在于,MCU包括远程诊断APP层、远程诊断NL层和DRIVER层;2. A vehicle fault remote diagnosis method according to claim 1, characterized in that the MCU comprises a remote diagnosis APP layer, a remote diagnosis NL layer and a DRIVER layer; 远程诊断APP层,用于解析和处理云端的诊断指令;Remote diagnosis APP layer, used to parse and process diagnostic instructions in the cloud; 远程诊断NL层,用于将远程诊断APP层发送的数据包转化为CAN报文格式,以及接收CAN网络上原始报文进行组包、拆包传递回远程诊断APP层;The remote diagnosis NL layer is used to convert the data packets sent by the remote diagnosis APP layer into CAN message format, and receive the original messages on the CAN network for packet assembly and unpacking and pass them back to the remote diagnosis APP layer; DRIVER层,用于处理驱动接收CAN报文,并封装成统一接口供远程诊断NL层使用。The DRIVER layer is used to process the driver receiving CAN messages and encapsulate them into a unified interface for use by the remote diagnosis NL layer. 3.根据权利要求2所述的一种车辆故障远程诊断方法,其特征在于,远程诊断APP层具有多个UDS服务函数,用于处理对应的UDS诊断服务。3. A vehicle fault remote diagnosis method according to claim 2, characterized in that the remote diagnosis APP layer has multiple UDS service functions for processing corresponding UDS diagnostic services. 4.根据权利要求1所述的一种车辆故障远程诊断方法,其特征在于,MCU和4G模块之间通过UART或SPI通信连接。4. A vehicle fault remote diagnosis method according to claim 1, characterized in that the MCU and the 4G module are connected via UART or SPI communication. 5.根据权利要求1所述的一种车辆故障远程诊断方法,其特征在于,所述车载终端与ECU通过GW通信连接,GW用于转发CAN报文。5. A vehicle fault remote diagnosis method according to claim 1, characterized in that the vehicle terminal is connected to the ECU through a GW communication, and the GW is used to forward CAN messages. 6.根据权利要求5所述的一种车辆故障远程诊断方法,其特征在于,MCU与GW之间、GW与ECU之间通过CAN通信连接。6 . The vehicle fault remote diagnosis method according to claim 5 , characterized in that the MCU and the GW, and the GW and the ECU are connected via CAN communication. 7.根据权利要求1所述的一种车辆故障远程诊断方法,其特征在于,在步骤S2中,MCU下发诊断指令到CAN网络上包括以下步骤:7. A vehicle fault remote diagnosis method according to claim 1, characterized in that in step S2, the MCU sends a diagnosis instruction to the CAN network including the following steps: S21、MCU循环检测诊断指令队列,当收到4G模块发出的诊断指令时,进行入队操作,执行步骤S22;S21, the MCU cyclically detects the diagnostic instruction queue, and when receiving the diagnostic instruction sent by the 4G module, performs a queue entry operation and executes step S22; S22、MCU进行出队操作,保存当前待处理诊断指令,通过读取CAN网络信号判断车辆是否满足诊断条件,如果满足诊断条件,则执行S23,否则反馈诊断条件不满足信息发送给4G模块;S22, MCU performs a dequeue operation, saves the current diagnostic instruction to be processed, and determines whether the vehicle meets the diagnostic conditions by reading the CAN network signal. If the diagnostic conditions are met, S23 is executed, otherwise the feedback information that the diagnostic conditions are not met is sent to the 4G module; S23、调用对应UDS服务函数、转化为CAN报文格式,并下发到CAN网络上。S23, calling the corresponding UDS service function, converting into CAN message format, and sending it to the CAN network.
CN202210428546.1A 2022-04-22 2022-04-22 Vehicle fault remote diagnosis system and method Active CN114779740B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210428546.1A CN114779740B (en) 2022-04-22 2022-04-22 Vehicle fault remote diagnosis system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210428546.1A CN114779740B (en) 2022-04-22 2022-04-22 Vehicle fault remote diagnosis system and method

Publications (2)

Publication Number Publication Date
CN114779740A CN114779740A (en) 2022-07-22
CN114779740B true CN114779740B (en) 2025-01-10

Family

ID=82431492

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210428546.1A Active CN114779740B (en) 2022-04-22 2022-04-22 Vehicle fault remote diagnosis system and method

Country Status (1)

Country Link
CN (1) CN114779740B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114995862B (en) * 2022-08-03 2022-11-01 深圳市星卡软件技术开发有限公司 Method, device and system for calling diagnosis module
CN115903744A (en) * 2022-11-25 2023-04-04 北京一雄信息科技有限公司 A remote vehicle detection method, device, electronic equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107272649A (en) * 2017-07-05 2017-10-20 东南(福建)汽车工业有限公司 Malfunction remote diagnosis system and method

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10942853B2 (en) * 2018-12-20 2021-03-09 International Business Machines Corporation System and method including broadcasting an address translation invalidation instruction with a return marker to indentify the location of data in a computing system having mutiple processors
US11233713B2 (en) * 2019-07-19 2022-01-25 Deere & Company Controller area network and connectivity health troubleshooting system
CN112241156A (en) * 2019-12-17 2021-01-19 北京新能源汽车技术创新中心有限公司 Diagnostic method, apparatus, computer device and storage medium
JP7336770B2 (en) * 2020-01-17 2023-09-01 パナソニックIpマネジメント株式会社 Information processing device, information processing system and program
CN111443688B (en) * 2020-04-04 2021-03-09 东风汽车集团有限公司 Network layer testing system and method of vehicle diagnostic service based on CAN bus
CN111901076B (en) * 2020-09-03 2022-04-26 北京经纬恒润科技股份有限公司 Vehicle diagnosis data forwarding method and device and gateway
CN112543129B (en) * 2020-11-27 2022-06-21 北京经纬恒润科技股份有限公司 Queue depth confirmation method and system and message simulator
CN113985840A (en) * 2021-10-22 2022-01-28 深圳市元征科技股份有限公司 Vehicle offline detection method, system, equipment and computer storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107272649A (en) * 2017-07-05 2017-10-20 东南(福建)汽车工业有限公司 Malfunction remote diagnosis system and method

Also Published As

Publication number Publication date
CN114779740A (en) 2022-07-22

Similar Documents

Publication Publication Date Title
CN114779740B (en) Vehicle fault remote diagnosis system and method
KR102320043B1 (en) Failure diagnosis apparatus and method for in-vehicle control unit
CN100504932C (en) Method and apparatus for vehicle telemetry service
CN112947372A (en) Remote diagnosis method based on active reporting of fault codes
CN103731343B (en) MVB WTB gateway based on LPC2468 and method of work thereof
CN114839959B (en) Vehicle remote diagnosis method and system based on SOA service
CN107272649A (en) Malfunction remote diagnosis system and method
CN101734265B (en) Method and device for state monitoring of embedded vehicle signal equipment
CN101000711A (en) Remote gathering system and method for vehicle CAN bus data
CN101408758B (en) Automobile tail gas monitoring system
CN103604612A (en) Vehicle remote diagnostic system and diagnostic method
CN112068536A (en) Universal self-adaptive vehicle remote diagnosis method, device and system
CN101799686B (en) Vehicle-mounted diagnosis system
CN102567125A (en) Method for realizing communication between browser pages
CN114253251A (en) Vehicle remote diagnosis method and device, equipment connector and storage medium
CN111866020B (en) Communication card and communication method
CN106950941A (en) A kind of engine diagnostic Information Remote Transmission System and method based on intelligent transportation system
CN111781915A (en) A vehicle-mounted multifunctional electronic control platform device
CN113341933B (en) Diagnostic system and method for vehicle central controller
CN116165999A (en) Vehicle remote diagnosis method
CN101441476B (en) Software implementing method of data link layer based on KWP2000
CN115291594B (en) Remote diagnosis system and method for vehicle-mounted domain controller
WO2025039734A1 (en) Can communication architecture for on-board sensor
CN113311808A (en) DTU-based vehicle-mounted networking terminal
CN114598944A (en) Periodic signal processing system, method, computer device and storage medium

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