Message processing method and device based on J1939 diagnostic message protocol

By initializing and parsing the J1939 diagnostic message protocol data when the ECU is powered on, the chip load and cost issues caused by integrating the commercial vehicle J1939 protocol into the civilian vehicle UDS protocol ECU are resolved, enabling efficient and portable fault data transmission and a simplified maintenance and upgrade process.

CN118968652AInactive Publication Date: 2024-11-15NOBO AUTOMOTIVE TECH CO LTD

Patent Information

Application Number
CN202411400032.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-09
Publication Date
2024-11-15
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When combining the intelligent cockpit of civilian vehicles with the driving platform of commercial vehicles, the existing technology integrates the J1939 protocol of commercial vehicles into the UDS protocol ECU of civilian vehicles, which leads to increased chip load and higher costs. At the same time, it is not conducive to subsequent maintenance and upgrades, and the development and upgrade cycle is extended.

Method used

A message processing method based on the J1939 diagnostic message protocol is provided. The method is initialized when the first ECU is powered on, receives and parses the J1939 diagnostic protocol message data, stores it in a unified data buffer area, and transmits the parsed fault data to the application layer for display. It adopts a unified data interface and is compatible with the existing CAN protocol stack, supporting single-frame and multi-frame message processing.

Benefits of technology

It enables efficient transmission of fault data to the application layer without increasing chip load and cost, and has high portability and replicability, facilitating maintenance, upgrades and functional expansion, and is independent of third-party technical limitations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118968652A_ABST
    Figure CN118968652A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a message processing method and device based on a J1939 diagnostic message protocol and a storage medium. The method is applied to a first ECU carrying a J1939 diagnostic message protocol, and comprises the following steps: when the first ECU is powered on, starting an initialization operation; receiving and reading J1939 diagnosis protocol message data transmitted by the second ECU; j1939 diagnosis protocol message data are read according to a preset sequence and stored in a unified data cache region, and effective data comprise the fault lamp state and the fault code of the vehicle; analyzing the data and reporting the data to an application layer through a uniform data interface; under the condition that fault data exist in the data, the fault data are analyzed into a preset format, and the fault data of the preset format comprises fault codes corresponding to the fault data; and transmitting the fault code to an application layer so as to transmit the fault code to the intelligent instrument through the application layer and display the fault code on the intelligent instrument.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a message processing method, device and storage medium based on the J1939 diagnostic message protocol. Background Art

[0002] When combining the smart cockpit of a civilian vehicle with the driving platform of a commercial vehicle, there are still certain technical steps to overcome. For example, the diagnostic function of the control system of the original commercial vehicle (engineering trucks, buses, tool vehicles, etc.) uses the SAE J1939 protocol to transmit data, but civilian vehicles all use a unified enhanced diagnostic protocol, namely UDS. Integrating a complete set of J1939 protocols on the original ECU of the civilian vehicle equipped with the UDS protocol will not only increase the chip load, but also increase other costs. In addition, the technical solution of building a complete protocol framework in the existing technology is not conducive to subsequent maintenance and upgrades, requires a lot of time for testing and verification, and will extend the product development and upgrade cycle. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a message processing method, device and storage medium based on the J1939 diagnostic message protocol.

[0004] In order to achieve the above-mentioned object, the first aspect of the present application provides a message processing method based on the J1939 diagnostic message protocol, the method is applied to a first ECU equipped with the J1939 diagnostic message protocol, and the method includes: When the first ECU is powered on, the initialization operation is started; Receive and read J1939 diagnostic protocol message data transmitted by the second ECU, the J1939 diagnostic protocol message data including single-frame message data and multi-frame message data; Read the J1939 diagnostic protocol message data in a preset order, and store the read valid data in a unified data cache area, where the valid data includes the vehicle's fault light status and fault code; Parse the read J1939 diagnostic protocol message data and report the parsed data to the application layer through a unified data interface; In the case where there is fault data in the J1939 diagnostic protocol message data, the fault data is parsed into a preset format, where the fault data in the preset format includes a fault code corresponding to the fault data; The fault code is transmitted to the application layer, so as to transmit the fault code to the smart meter through the application layer and display the fault code on the smart meter.

[0005] A second aspect of the present application provides a message processing device based on the J1939 diagnostic message protocol, comprising: a memory configured to store instructions; The processor is configured to call the instructions from the memory and implement a message processing method based on the J1939 diagnostic message protocol when executing the instructions.

[0006] A third aspect of the present application provides a machine-readable storage medium having instructions stored thereon, which, when executed by a processor, configures the processor to execute the above-mentioned message processing method based on the J1939 diagnostic message protocol.

[0007] This solution is developed based on the existing CAN protocol stack, and transmits data to the application layer through a unified data reporting interface. This interface can be implemented regardless of whether the system uses the standard AUTOSAR CAN standard protocol stack. It has efficient portability and replicability and can be easily installed on the basis of the basic CAN or CANFD protocol. In addition, the code framework of this solution is created based on a simple and common conversation scenario. Other conversation scenarios can add or delete functions based on this scenario, making subsequent maintenance upgrades or functional expansion very convenient, free from technical restrictions from third parties, and having a high degree of technical independence. Other features and advantages of the embodiments of the present application will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present application, but do not constitute a limitation on the embodiments of the present application. In the accompanying drawings: Figure 1A A schematic diagram of an application environment of a message processing method based on the J1939 diagnostic message protocol according to an embodiment of the present application is schematically shown; Figure 1B A timing diagram of single-frame message transmission according to an embodiment of the present application is schematically shown; Figure 1C The timing diagram of multi-frame message transmission according to an embodiment of the present application is schematically shown; Figure 2 The flowchart schematically shows the order of reading messages of the main function according to the embodiment of the present application; Figure 3 The flowchart of reading DM1 message according to the embodiment of the present application is schematically shown; Figure 4 The following is a schematic diagram showing a process of parsing a DM1 message according to an embodiment of the present application; Figure 5 The following is a schematic diagram showing a process of parsing a broadcast message according to an embodiment of the present application; Figure 6 The following is a schematic diagram of a process flow of timeout monitoring according to an embodiment of the present application; Figure 7 A schematic diagram of a data receiving process according to an embodiment of the present application is shown; Figure 8 The internal structure diagram of a computer device according to an embodiment of the present application is schematically shown. DETAILED DESCRIPTION

[0009] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the specific implementation methods described herein are only used to illustrate and explain the embodiments of the present application, and are not used to limit the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0010] Figure 1A The flowchart of the message processing method based on the J1939 diagnostic message protocol according to the embodiment of the present application is schematically shown. Figure 1A As shown, in one embodiment of the present application, a message processing method based on the J1939 diagnostic message protocol is provided, and the method includes the following steps: Step 102: When the first ECU is powered on, an initialization operation is started.

[0011] Step 104 , receiving and reading J1939 diagnostic protocol message data transmitted by the second ECU, wherein the J1939 diagnostic protocol message data includes single-frame message data and multi-frame message data.

[0012] Step 106, read the J1939 diagnostic protocol message data in a preset order, and store the read valid data in a unified data cache area, wherein the valid data includes the vehicle's fault light status and fault code.

[0013] Step 108, parse the read J1939 diagnostic protocol message data, and report the parsed data to the application layer through a unified data interface.

[0014] Step 110, when there is fault data in the J1939 diagnostic protocol message data, the fault data is parsed into a preset format, and the fault data in the preset format includes a fault code corresponding to the fault data.

[0015] Step 112 : transmitting the fault code to the application layer, so as to transmit the fault code to the smart meter through the application layer and display the fault code on the smart meter. The method is applied to the first ECU equipped with the J1939 diagnostic message protocol. Among them, the SAE J1939 diagnostic message protocol is a protocol based on CAN2.0B and performs data communication through the CAN bus. The data link layer of the protocol defines the data structure and encoding rules of the information frame, including communication priority, transmission mode, communication requirements, bus arbitration, error detection and processing. The protocol is responsible for regrouping and defining the 29-bit identifier of the CAN extended frame so that the identifier of the message can describe all the characteristics of the message, including the target address, source address and other contents. The J1939 protocol belongs to the application layer of the CAN protocol, and can use the specified message format to realize large data transmission that requires multiple frames of messages. For example, detailed information of diagnostic fault codes. Among them, CAN is the abbreviation of Controller Area Network (hereinafter referred to as CAN), which is an ISO international standardized serial communication protocol. The CAN protocol is mostly used to realize the construction of the vehicle domain control network. Multiple ECU devices can be mounted on a bus, and a central gateway can also integrate the data of multiple isolated functional domains and then route and exchange them. With the continuous upgrading and enhancement of vehicle functions and their intelligence, the vehicle control and monitoring subsystems are increasing, mainly in the power domain, energy domain, body control domain, cockpit multimedia domain and intelligent driving domain, etc. ECU refers to the vehicle electronic control unit. A vehicle may include multiple ECUs. In this solution, the first ECU refers to the ECU equipped with the J1939 diagnostic message protocol, and the second ECU does not make any special treatment for it.

[0016] In one embodiment, the J1939 protocol message format is shown in Table 1. The source address refers to the number of the ECU group that sends the current frame message. P refers to the arbitration domain. The smaller its value, the longer the explicit bit and the higher the priority. PGN (parameter group number) is used to indicate which function group the data in the current data frame belongs to.

[0017] Table 1

[0018] When the first ECU is equipped with the J1939 diagnostic message protocol, the solution is to set up multiple session scenarios. The session scenarios specifically include: 1. The first ECU actively sends all current fault codes to a separate instrument or multimedia system (hereinafter collectively referred to as smart instrument); 2. The smart meter requests the first ECU to clear all current fault codes, and the first ECU responds, including a support response and a negative response; 3. The smart meter requests the first ECU to send a historical fault code, and the first ECU gives a support response (single frame or multiple frames) or a negative response (NOT ACK); 4. The smart meter requests the first ECU to clear the historical fault code, and the first ECU responds, including a support response and a negative response; 5. The smart meter requests the first ECU to send a freeze frame parameter, and the first ECU gives a support response (multi-frame) or a negative response. Among them, the freeze frame parameter (DM4) means that the first ECU will send all the specific parameters of the fault only when an external request is made. And in this session scenario, multi-frame transmission is used.

[0019] In this solution, the session scenario 1 is mainly used as an example, because the session scenario 1 is a simple basic scenario. Other session scenarios can be expanded on the basis of the software framework of the session scenario 1 (ie, DM1) to realize the functions of other session scenarios, as well as the tailoring after expansion. Therefore, the embodiments involved in this solution are all illustrated by the session scenario 1, and other session scenarios are not repeated. Among them, the session scenario 1 is divided into two types: single frame and multi-frame (broadcast type). Specifically, when there is only one fault information or no fault, a single frame can be used to achieve complete data transmission, and the transmission frequency of a single frame is 1 second / frame. The J1939 protocol can actively send all current faults to a separate instrument or multimedia system (the instrument belongs to a submodule). When there are multiple fault information to be transmitted, a multi-frame transmission protocol can be used. When multiple frames are sent, a broadcast message will be sent before the valid data frame to prompt the other party that the current multi-frame protocol is a multi-frame protocol. Among them, the frame interval of multi-frame transmission can be 200ms. In actual scenarios, multiple frames and single frames may appear interlaced. For example, at a certain moment, some faults occur simultaneously due to strong electromagnetic interference, which will cause the second ECU to report more than one SPN (i.e. fault code). After the interference disappears, the fault also disappears, and the current number of faults is 0. When the fault is 0, it also needs to be sent to the smart meter periodically for display. Furthermore, multi-frame transmission has two modes: point-to-point and broadcast. Broadcast means sending a broadcast message before the multi-frame data frame to notify the other party of the total number of multi-frame data to be sent and the length of the data. In this way, after all data frames are sent, the other party can know that the data has been received, and can perform data parsing or stop waiting, or there is a basis for verification if the packet is lost during the transmission process. For example, taking the example of carrying 4 SPN data, each SPN occupies 4 bytes. After sending three SPNs, if the third frame data frame message is lost, the enabling instrument can know that data loss has occurred. Point-to-point requires the participation of multiple connection messages. Such as Figure 1B As shown, it shows the timing diagram when the first ECU, that is, the functional ECU in the figure, transmits a single frame message of DM1 to the smart meter. Figure 1CAs shown, it shows the timing diagram when the first ECU, that is, the functional ECU in the figure, transmits the multi-frame message of DM1 to the smart meter. That is, after sending the broadcast message, the first frame of the data message, the second frame, and so on, are sent until the last frame is sent, which is a complete cycle.

[0020] In one embodiment, the single-frame message format of DM1 may be as shown in Table 2.

[0021] Table 2

[0022] After the vehicle is powered on and the first ECU is powered on, the initialization operation may be started first. Specifically, in one embodiment, starting the initialization operation includes: initializing the message status and valid data stored in the data cache area; initializing the multi-packet transmission service parameters; initializing the diagnostic valid data; and setting the message update flag indicating successful initialization to an initial default value, indicating that no message has been received.

[0023] During the power-on initialization process, the environment variables and valid data cache need to be initialized. The power-on initialization process is to set the default value for the data. First, when no message is received after power-on, the flag variables of various messages received can be assigned to 0. Second, all counters must be cleared so that the counters can start counting from 0. Third, since no fault code data is received at this time, the number of fault codes and the fault code cache storage area must also be cleared, that is, the number of fault codes received is assigned to 0, that is, cleared, indicating that no valid data has been received at present.

[0024] Initialize the multi-packet transmission service parameters, that is, initialize the valid data cache to prepare for receiving new data when a new data packet transmission starts. In other words, before the first ECU receives the next data, the data in the cache is invalid and needs to be deleted. For example, if 3 SPNs were transmitted last time, only 1 needs to be transmitted now, and the positions occupied by the two SPNs cannot be overwritten, otherwise the application layer may misread them during the new transmission. Therefore, initialization is required first. It can also be seen that the sign of the start of a new data packet transmission is that the first ECU receives a single frame or broadcast message.

[0025] After performing the initialization operation, the first ECU can receive and read the J1939 diagnostic protocol message data transmitted by the second ECU. Among them, the J1939 diagnostic protocol message data includes single-frame message data and multi-frame message data. Then, the first ECU can read the received J1939 diagnostic protocol message data in a preset order, and store the read valid data in a unified data cache area. Whether it is a single frame or multiple frames, the main content of the first ECU data reception is consistent, and a unified cache area needs to be created. In other words, for the first ECU equipped with the J1939 diagnostic message protocol, a unified cache area is created, that is, an array is created that can be used to store single-frame data and multi-frame data. The stored valid data includes the vehicle's fault light status and fault code (SPN).

[0026] In one embodiment, the J1939 diagnostic protocol message data includes DM1 message status and data, broadcast message status and data, and data frame message. Receiving and reading the J1939 diagnostic protocol message data transmitted by the second ECU includes: calling the main function, periodically reading the J1939 diagnostic protocol message data transmitted by the second ECU in the following order: reading all DM1 message status and data; reading all group broadcast message status and data; reading all group data frame messages. Among them, the operation cycle of the main function is determined according to the minimum cycle of the multi-frame message.

[0027] like Figure 2 As shown, the first ECU has a specific order when reading the message. Specifically, the first ECU will first read all DM1 message status and data, then read all group broadcast message status and data, and finally read all group data frame messages. And after reading the message, it starts to parse the received message. At the same time, when the main function is called, its operating cycle depends on the minimum cycle of the multi-frame message. Specifically, the operating cycle of the main function is <= (minimum cycle of the multi-frame message / 2). The principle of this setting is that the sampling period must be less than the original data period.

[0028] After the first ECU reads the J1939 diagnostic protocol message data in a preset order, the valid data read can be stored in a unified data cache area. Among them, the valid data includes the fault light status and fault code of the vehicle. Then, the first ECU can parse the read J1939 diagnostic protocol message data and report the parsed data to the application layer through a unified data interface. In order to simplify the code and reduce coupling, a unified interface can be used to report data to the application layer software regardless of single frame or multi-frame. Specifically, when the first ECU reports data, two aspects of information need to be reported: the timeout status of the J1939 message and the J1939 diagnostic protocol data. Among them, the timeout status of the J1939 message is used to confirm whether the connection status is normal, and the J1939 diagnostic protocol data includes the fault light status, the fault light flashing frequency, the SPN and its number. When the first ECU sends multiple fault codes, that is, when the data reported by the first ECU to the application layer includes multiple fault codes, a multi-frame protocol is used for transmission. During the transmission of multi-frame messages, frame loss may occur due to interference or program problems of the other party. For example, if the two frames of messages are the same, one or more invalid frames are sent, and the order of the messages is disordered. In this case, if they are directly connected in chronological order, the combined data is wrong. Such erroneous data cannot be sent to the application layer. If it is passed to the application layer, an erroneous fault code will be displayed. Therefore, in this embodiment, when the above abnormal situation occurs, the data cannot be misinterpreted, thereby misreporting the fault code on the instrument. That is, when the first ECU detects that the received data has at least one of the abnormalities of frame loss, repetition, multiple frames or disorder, the first ECU will not report the received data to the application layer through a unified data interface.

[0029] When multiple messages are sent out, they cannot be sent out at the same time, but must be sent out in sequence according to the data order. The time interval between each frame of the message is fixed and must be set according to actual needs. The factors affecting the actual needs may be the data processing capability of the data receiver or the speed at which the data is completely sent. For example, the fault corresponding to a serious fault code must be displayed as soon as possible when it occurs. In a specific embodiment, taking the minimum period of 50ms to 200ms for a multi-frame message as an example, in order to solve the problem of the processing order between single-frame and multi-frame messages, the period for processing the message can only be at most half of the sending period, so as to ensure that the message data is not missed. The reason for this setting is that in actual use, the periods of the two chips used by the sender and the receiver may not be completely consistent, and the period of the chip itself is also unstable. Assume that the period of the sender is 200.1ms and the period of the receiver is 200.3ms. If the sender sends the first frame of data 0.1ms after the receiver starts running, then the sender will send the second frame of data at 200.2ms. At this time, the receiver's second cycle has not started and the first frame of data sent by the sender has not been read and is overwritten by the second frame of data, which will cause frame loss. Therefore, the receiver's message processing cycle can be set to half of the sender's message sending cycle.

[0030] It should be noted that there are special cases in the actual data transmission process. Smart meters can only receive the latest data and cannot predict whether a single frame or multiple frames will be transmitted in the next step. If the sender sends a single-frame message and then immediately sends a broadcast message, when a task cycle arrives, if the broadcast message is parsed first, the subsequent number of packets and valid data length contained in the broadcast message are cached, and then the single-frame message is read, the cached number of packets and valid data length will be overwritten. When data frames are received later, these data frames will not have the data sent by the broadcast message for verification, causing the data to be considered abnormal and then lost. Therefore, when a task cycle arrives, it is necessary to read the single-frame message first and then read the broadcast message. If no single-frame message has been received before receiving the broadcast message or only a multi-frame message has been received, there will be no impact. Because the correct multi-frame message cycle is sent in the normal order, there will be no situation where multiple multi-frame messages are received in the same processing cycle. At this time, it can be processed according to the normal process. Under normal circumstances, after the multi-frame message receiving process starts, the data is cleared only once when a broadcast message is received, and all the data can be stored in the cache space subsequently until the next broadcast message is received.

[0031] Specifically, in one embodiment, based on the J1939 diagnostic message protocol framework, a data structure is defined. As shown in Table 3, valid data and environmental service data defined in one embodiment are given. Table 3

[0032] Among them, there are 4 PGN message states (provided by the underlying interface): The message was never received; A new message has been received; The message timed out and was not received; After the message is read, it has not timed out.

[0033] Message data refers to the 8-byte data of each CAN message. Timeout count refers to the count of a certain PGN plus one for each task cycle. When a certain PGN data receives any one of a single frame, broadcast message or data frame, its value is set to 0, indicating that the J1939 message has just received a message. For example, if no message is received for more than 50 task cycles (100ms*50=5s), the count will be greater than 50, and it is considered that the J1939 protocol has timed out, and the connection between the smart meter and the first ECU is disconnected, indicating that the communication is abnormal. The timeout flag means that the timeout count is greater than a certain count value, such as a count of 50, which can be notified to the application layer, so that the application layer gives a corresponding abnormal prompt. The total number of packets refers to the total number of frames of the data packet that the broadcast message will send out when multiple frames are transmitted, which is used to notify the smart meter. The last message sequence number refers to the sequence number of the data frame received last time, which is used to compare with the new data frame number when a new data frame is received to confirm that there is no abnormality such as frame loss, duplication, or disorder. The broadcast message flag refers to the judgment of whether a broadcast message has been received before after receiving a data frame. The completion of receiving a data frame requires comparison with the data length in the broadcast message. Otherwise, it is unknown when the data has been received and when the interface needs to be called to send the data to the application layer. The current frame loss flag refers to the judgment of whether there is a frame loss before or currently after receiving a data frame. If there is a frame loss, the multi-frame transmission is considered invalid and the interface will not be called to pass data to the application layer. The error flag refers to the number of SPNs. If it is a single-frame DM1 message, the number of SPNs is 0 or 1. If it is a multi-frame, it is calculated from the length of the data carried in the broadcast message. The SPN data cursor means that the data in each data frame message has only 7 bytes of valid data, and each SPN is 4 bytes. Therefore, the SPN cannot be aligned in the data frame message. After receiving the data, it needs to be put into the cache byte by byte in order. At this time, a cursor is needed to record which byte the address points to after the previous frame message is transferred to the cache, and continue to fill it back after the new message is received.

[0034] In one embodiment, as shown in Table 4, a table corresponding to PGN initialization is given.

[0035] Table 4

[0036] The message index is designed according to different underlying codes. For example, a cache with a corresponding number can be set for each message, and the data and status of the message can be read using the cache number.

[0037] When the first ECU detects that there is fault data in the J1939 diagnostic protocol message data, the first ECU may parse the fault data into a preset format. The fault data in the preset format includes a fault code corresponding to the fault data. Then, the first ECU may transmit the fault code to the application layer, and the application layer may transmit the fault code to the smart meter and display the fault code on the smart meter.

[0038] In one embodiment, receiving and reading J1939 diagnostic protocol message data transmitted by the second ECU also includes: calling the main function to determine the target number of cycles according to the number of PGN data transmitted by the second ECU; setting the values ​​of the message update flag and the message timeout count to the second value; calling the message data and status reading interface to receive the PGN data transmitted by the second ECU through the CAN driver software; when a new message is received, reading the new message, setting the message update flag to the first value, and increasing the current number of cycles by 1; when the current number of cycles is less than the target number of cycles, returning to the step of calling the message data and status reading interface to receive the PGN data transmitted by the second ECU through the CAN driver software; until the current number of cycles is equal to the target number of cycles, determining that the message data in this cycle has been received.

[0039] like Figure 3 As shown, the number of cycles n depends on how many groups of PGN data there are in the current system. Therefore, first, the first ECU can call the main function, and then determine the target number of cycles n according to the number of PGN data transmitted by the second ECU. Set the values ​​of the message update flag and the message timeout count to the second value, such as 0. Among them, the message update flag is 0, which means that the message has not been received yet, and the message timeout count is 0, which indicates that the J1939 message has just received the message and no timeout has occurred. Then, when the first ECU receives a new message, the first ECU can read the new message and set the message update flag to the first value, such as 1, indicating that the new message has been received, and increase the value of the current number of cycles n by 1. When the current number of cycles is less than the target number of cycles n, return to the step of calling the message data and status reading interface to receive the PGN data transmitted by the second ECU through the CAN driver software. Until the current number of cycles is equal to the target number of cycles n, the first ECU can determine that the message data in this cycle has been received.

[0040] In one embodiment, the PGN data includes a DM1 message. The method further includes: after receiving the PGN data transmitted by the second ECU through the CAN driver software, calling the DM1 message parsing function to parse the currently received DM1 message, and setting the message state of the currently received DM1 message to a second value; setting the data state of the single-frame message; determining whether the currently received DM1 message carries a fault code; in the case of carrying a fault code, initializing the valid data cached in the data cache area; reading the vehicle's fault light state and flashing frequency, and increasing the count of the number of faults by a corresponding value based on the read fault code; calling the data reporting interface to report the fault light state and flashing frequency, as well as the fault code. Among them, the DM1 message refers to session scenario 1, that is, the second ECU promptly transmits the current fault data to the CAN driver software through the CAN bus, and then the CAN driver software transmits the received data to the first ECU through the network interface, that is, the J1939 protocol framework. Then the first ECU can actively send all current fault codes to a separate instrument or multimedia system.

[0041] like Figure 4 As shown, similarly, the number of loops n depends on how many groups of PGN data there are in the current system. After the first ECU receives the PGN data transmitted by the second ECU through the CAN driver software, it can call the DM1 message parsing function to parse the currently received DM1 message, and set the message status of the currently received DM1 message to a second value, such as 0. Then, the first ECU can set the data status of the single-frame message. Furthermore, the first ECU can determine whether the currently received DM1 message carries a fault code. If it is determined that a fault code is carried, the first ECU can initialize the valid data cached in the data cache area. Then read the vehicle's fault light status and flashing frequency, and increase the fault count by a corresponding value based on the read fault code, such as by 1. Afterwards, the first ECU can call the data reporting interface to report the fault light status and flashing frequency, as well as the fault code. If it is determined that there is no fault code, the first ECU can initialize and clear the valid data stored in the data cache area, and then read the vehicle's fault light status and the flashing frequency of the fault light. Subsequently, the data reporting interface can also be called to report the fault light status and flashing frequency, as well as the fault code, but at this time the fault light status and flashing frequency, as well as the fault code are all 0.

[0042] In one embodiment, setting the data status of a single-frame message includes: setting the data frame packet sequence number of the single-frame message to a second value; setting the broadcast message reception flag to a second value; setting the frame loss flag to a second value; and setting the total number of data frame packets to a second value.

[0043] Among them, the second value is set relative to the first value, as long as the second value is different from the first value, mainly to distinguish different states. It can be seen that the specific setting of the first value and the second value to which value can be customized by the technician, as long as it can be indicated in different states. Usually, the second value can be set to 0 and the first value can be set to 1. The total number of data frame packets refers to the total number of frames of the data packet sent by the broadcast message during multi-frame transmission, which is used to notify the smart meter. The data frame sequence number of the single-frame message refers to the sequence number of the single-frame data frame received last time, which is used to compare with the new single-frame data frame number when a new data frame is received to confirm that there is no abnormality such as frame loss, duplication, or disorder. The broadcast message reception flag refers to the judgment of whether the broadcast message has been received before after the data frame is received. The completion of the reception of the data frame requires the comparison of the data length in the broadcast message, otherwise it is unknown when the data has been received and when the interface needs to be called to send the data to the application layer. The frame loss flag refers to the judgment of whether there is a frame loss before or currently after the data frame is received. If there is a frame loss, the multi-frame transmission this time is considered invalid and the interface will not be called to pass data to the application layer.

[0044] In one embodiment, the PGN data includes a broadcast message, and the method also includes: after receiving the PGN data transmitted by the second ECU through the CAN driver software, calling the broadcast message parsing function to parse the currently received broadcast message, and setting the message status of the currently received broadcast message to a second value; when the flag value of the broadcast message flag is a first value, it indicates that multi-frame transmission has started, setting the data frame packet sequence number of the currently received broadcast message to a second value, and setting the frame loss flag to the second value; obtaining the total number of data frame packets and the first number of fault codes.

[0045] like Figure 5 As shown, after the first ECU receives the PGN data transmitted by the second ECU through the CAN driver software, the first ECU can call the broadcast message parsing function to parse the currently received broadcast message, and set the message status of the currently received broadcast message to the second value, such as 0. When the flag value of the broadcast message flag is the first value, for example, the flag value of the broadcast message flag is 1, it means that the multi-frame transmission starts, and the first ECU can set the data frame packet sequence number of the currently received broadcast message to the second value, and set the frame loss flag to the second value, such as 0. Then the first ECU can obtain the total number of data frame packets and the first number of fault codes. Subsequently, when a data frame message is received, it can be judged whether the message has been received based on the total number of data frame packets obtained.

[0046] In one embodiment, the PGN data includes a data frame message, and the method also includes: after receiving the PGN data transmitted by the second ECU through the CAN driver software, calling the data frame parsing message to parse the currently received data frame message according to the protocol format; detecting the second number of fault codes contained in the parsed data; when the second number is equal to the first number, determining that the message data in the current cycle has been received.

[0047] When transmitting multiple frames of messages, a broadcast message is usually sent first, and the broadcast message carries the total number of data frame packets and the number of fault codes to inform the length of the message data to be transmitted this time and the number of fault codes to be sent this time. Then the data frame message will be sent later. After the first ECU receives the PGN data transmitted by the second ECU through the CAN driver software, the first ECU can call the data frame parsing message to parse the currently received data frame message according to the protocol format. Then the first ECU can detect the second number of fault codes contained in the parsed data. If the second number is equal to the first number, that is, the number of fault codes contained in the currently received data frame message is consistent with the number of fault codes in the previously obtained broadcast message, it can be determined that the message data in the current cycle has been received.

[0048] like Figure 6 As shown, in one embodiment, the method further includes: after receiving and reading the J1939 diagnostic protocol message data transmitted by the second ECU, calling the timeout monitoring function to monitor whether each group of currently received data has timed out; judging whether the timeout count value corresponding to the timeout counter at the currently received data is greater than the preset count upper limit value; in the case where the timeout count value is greater than the preset count upper limit value, setting the timeout flag to a first value, such as 1, calling the interface to notify the application layer, and increasing the timeout count value corresponding to the timeout counter at the currently received data by 1; in the case where the timeout count value is less than or equal to the preset count upper limit value, setting the timeout flag to a second value, such as 0, calling the interface to notify the application layer, and increasing the timeout count value corresponding to the timeout counter at the currently received data by 1. Then, looping n times until all PGN messages are received.

[0049] In one embodiment, Figure 7As shown, the number of loops n depends on how many groups of PGN data there are in the current system. When a new message is received, the data message status can be modified to [New message received]. Then, the packet sequence number of the last received data frame message can be read from the data cache area, and the packet sequence number of the current data frame can be read from the newly received message. By comparing the two, it can be confirmed whether there are abnormalities such as frame loss, duplication, or disorder. If there is no abnormality, the SPN data cursor can be read from the data cache area. Among them, the SPN data cursor means that the data in each frame of the data frame message has only 7 bytes of valid data, and each SPN is 4 bytes, so the SPN cannot be aligned in the data frame message. After receiving the data, it needs to be put into the cache byte by byte in order. At this time, a cursor is needed to record which byte the address points to after the previous frame message is transferred to the cache, and continue to fill it back after the new message is received. Next, you can enter the judgment step of the broadcast message status. It can be judged whether the broadcast message is lost. In a specific embodiment, if it is confirmed that the broadcast message is lost, the frame loss flag of the broadcast message can be set to 0x11. On the contrary, if it is confirmed that the broadcast message is not lost, no processing is required (not shown in the figure). Further, it can also be determined whether the packet sequence number of the broadcast message is 1. If so, the fault light status and frequency of the vehicle can be read, and the SPN data in the first frame message in the received data frame can be read. Since there are 5 bytes of SPN data in the first frame, the SPN data cursor can be set to 5. At this point, it means that a set of PGN data has been received, that is, a cycle is completed. In another judgment branch, that is, if the packet sequence number of the broadcast message is not 1, it can continue to determine whether the packet sequence number of the broadcast message is larger than the packet sequence number of the previous frame, and is larger by 1 value, and at the same time determine whether there was a frame loss exception before. If the packet sequence number of the broadcast message is 1 larger than the packet sequence number of the previous frame, and there was no frame loss exception before, the cycle continues, and the cycle is repeated 7 times. At this time, it is determined whether the SPN data cursor is less than the total number of SPN data. If yes, that is, the SPN data cursor is less than the total number of SPN data, then the SPN data cursor can be increased by 1 each time a data is read, which means that a set of PGN data has been received, that is, a PGN data receiving cycle is completed. If the SPN data cursor is greater than or equal to the total number of SPN data, the broadcast message flag can be set to 0, indicating that the data reception is complete, and then the data reading cycle can be jumped out. After the data reading is completed, the data interface can be called to transmit the received data to the application layer.

[0050] In one embodiment, the method further includes: calling a data transmission interface to transmit a timeout status, and / or valid data. Specifically, when transmitting a timeout status, GroupID and GroupStatus can be transmitted. GroupID indicates the message status of the currently transmitted PGN group, and GroupStatus indicates the timeout status value. Furthermore, a log can be added to this interface, and when the reported status changes, it can be printed to facilitate subsequent problem analysis. Valid data includes the vehicle's fault light status and fault code.

[0051] It is very necessary to verify the development code on the host computer in order to simulate the actual vehicle environment, verify the reliability of the underlying code, and prevent some special cases from not being covered by logic, resulting in software jamming or abnormal data transmission. Testing the host computer is actually to simulate the function ECU receiving a request, sending multiple frames of data or a response. In one embodiment, the method also includes a test step for the J1939 diagnostic message protocol. The test step includes testing under at least one of the following working conditions: 1. Actively send DM1 single-frame or multi-frame messages; 2. Receive various requests and give corresponding responses (positive response or negative response) or no response (response timeout); 3. Frame loss, duplication, disorder, and normality during multi-frame transmission; 4. The transmission of multiple groups of PGN messages should be independent of each other and should not affect each other.

[0052] In this embodiment, the J1939 protocol is developed based on CAN2.0B. Therefore, during the test process, a CAN analysis device that is convenient for secondary development can be selected to test it. Then an appropriate host computer development platform can be selected. In this embodiment, open source Python is used as an example. During the test, the CAN analysis device driver software can be loaded, the host computer software framework can be built, and multiple task threads can be opened, such as message reception, message transmission, human-computer interaction (command input), message generation, message parsing, test case logic, operating environment simulation, etc. Specifically, during the test process, a multi-frame abnormality test can be performed on DM1. For example, frame loss, repetition, and disorder tests are performed. The key is to generate multi-frame messages for corresponding situations and mix messages for various situations. After several erroneous multi-frame cycles, one or more normal messages are sent to test whether the J1939 service of the smart meter can normally and accurately receive the correct multi-packet messages. The DM1 data frame loss test includes broadcast message loss, first frame loss, middle loss, tail frame loss, one frame loss, multiple frames, continuous loss, interval loss, etc. When a frame loss exception occurs, the message in this cycle is considered invalid and cannot be passed to the upper layer. The DM1 data frame repetition test includes broadcast message repetition and data frame repetition, including test scenarios of repetition once and multiple times. The DM1 data frame disorder test includes the reversed sequence number of the data frame packet, and the test scenario is disorder and repeated frame loss.

[0053] In one embodiment, the method also includes maintenance operations for different systems. Since the number of PGNs supported by each system is different, it is necessary to set the structure array according to the specific situation. If a system supports the same PGN from different functional ECUs, for example, there are currently three functional ECUs that will upload DM1 PGN (the message ID is different), then it is necessary to define a structure array of type J1939MessageInfo with three elements and a structure array of type J1939MessageID with three elements. In addition, the types of PGNs supported by each system are different, which involves the tailoring of the code framework. Each system has different capabilities for processing multi-frame transmission of data (configurable cache size). When the set cache size is limited, it is not possible to receive all multi-packet data in one go and then pass it to the application layer. It is necessary to use flow control to pass it. The addition of flow control function requires both parties of communication to support it before it can be added. If there are different configuration models on the same platform, you can consider using configuration words to distinguish whether a certain PGN is supported. In this case, you can consider writing scripts to automatically generate J1939 code and use a unified configuration table to maintain the platform-based J1939 protocol.

[0054] In one embodiment, for DM2, that is, in the display scenario of historical fault codes, the user can actively trigger a request to obtain historical fault codes through the human-computer interaction interface, and then the application layer can obtain the acquisition request and forward it to the first ECU, and the first ECU can request the second ECU to obtain historical fault data, which includes historical fault codes. Then, the first ECU can upload the historical fault codes transmitted by the second ECU to the application layer, and the application layer forwards them to the human-computer interaction interface to display them on the human-computer interaction interface. Among them, the human-computer interaction interface can be a central control interface. That is, if it is a manually triggered data acquisition request, rather than an active transmission between ECUs, the fault code can be displayed on the central control interface instead of on the smart meter.

[0055] This solution is developed based on the existing CAN protocol stack, and transmits data to the application layer through a unified data reporting interface. This interface can be implemented regardless of whether the system uses the standard AUTOSAR CAN standard protocol stack. It has efficient portability and replicability and can be easily installed on the basis of the basic CAN or CANFD protocol. In addition, the code framework of this solution is created based on a simple and common conversation scenario. Other conversation scenarios can add or delete functions based on this scenario, making subsequent maintenance upgrades or functional expansion very convenient, free from technical restrictions from third parties, and having a high degree of technical independence.

[0056] Figure 1A FIG. 1 is a flow chart of a message processing method based on the J1939 diagnostic message protocol in one embodiment. It should be understood that although Figure 1A The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1A At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0057] In one embodiment, a message processing device based on the J1939 diagnostic message protocol is provided, comprising: a memory configured to store instructions; The processor is configured to call the instruction from the memory and implement the message processing method based on the J1939 diagnostic message protocol according to any one of the above embodiments when executing the instruction.

[0058] The processor includes a kernel, and the kernel calls the corresponding program unit from the memory. One or more kernels can be set, and a message processing method based on the J1939 diagnostic message protocol is implemented by adjusting kernel parameters.

[0059] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0060] An embodiment of the present application provides a storage medium on which a program is stored. When the program is executed by a processor, the above-mentioned message processing method based on the J1939 diagnostic message protocol is implemented.

[0061] An embodiment of the present application provides a processor, which is used to run a program, wherein the program executes the above-mentioned message processing method based on the J1939 diagnostic message protocol when running.

[0062] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 8 As shown. The computer device includes a processor A01, a network interface A02, a memory (not shown in the figure) and a database (not shown in the figure) connected through a system bus. Among them, the processor A01 of the computer device is used to provide computing and control capabilities. The memory of the computer device includes an internal memory A03 and a non-volatile storage medium A04. The non-volatile storage medium A04 stores an operating system B01, a computer program B02 and a database (not shown in the figure). The internal memory A03 provides an environment for the operation of the operating system B01 and the computer program B02 in the non-volatile storage medium A04. The network interface A02 of the computer device is used to communicate with an external terminal through a network connection. When the computer program B02 is executed by the processor A01, a message processing method based on the J1939 diagnostic message protocol has been implemented.

[0063] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0064] An embodiment of the present application provides a computer (electronic) device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the steps of any one of the above message processing methods based on the J1939 diagnostic message protocol are implemented.

[0065] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that initializes the steps of a message processing method based on the J1939 diagnostic message protocol.

[0066] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0067] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate a device for implementing the functions specified in one process or multiple processes in the flowchart and / or one box or multiple boxes in the block diagram.

[0068] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0069] These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0070] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0071] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0072] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0073] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0074] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A message processing method based on the J1939 diagnostic message protocol, characterized in that: The method is applied to a first ECU equipped with a J1939 diagnostic message protocol, and the method comprises: When the first ECU is powered on, starting an initialization operation; Receiving and reading J1939 diagnostic protocol message data transmitted by the second ECU, wherein the J1939 diagnostic protocol message data includes single-frame message data and multi-frame message data; Read the J1939 diagnostic protocol message data in a preset order, and store the read valid data in a unified data cache area, wherein the valid data includes the vehicle's fault light status and fault code; Parse the read J1939 diagnostic protocol message data and report the parsed data to the application layer through a unified data interface; In the case where there is fault data in the J1939 diagnostic protocol message data, the fault data is parsed into a preset format, wherein the fault data in the preset format includes a fault code corresponding to the fault data; The fault code is transmitted to the application layer, so that the fault code is transmitted to a smart meter through the application layer and the fault code is displayed on the smart meter.

2. The method according to claim 1, characterized in that The startup initialization operation includes: Initialize the message status and valid data stored in the data cache area; Initialize the multi-packet transmission service parameters; Initialize the diagnostic valid data; The message update flag indicating successful initialization is set to an initial default value, indicating that no message has been received.

3. The method according to claim 1, characterized in that The J1939 diagnostic protocol message data includes DM1 message status and data, broadcast message status and data, and data frame message. Receiving and reading the J1939 diagnostic protocol message data transmitted by the second ECU includes: The main function is called to periodically read the J1939 diagnostic protocol message data transmitted by the second ECU in the following order: Read all DM1 message status and data; Read all group broadcast message status and data; Read the data frame messages of all groups; The operation cycle of the main function is determined according to the minimum cycle of the multi-frame message.

4. The method according to claim 1, characterized in that: The receiving and reading of the J1939 diagnostic protocol message data transmitted by the second ECU also includes: Calling the main function to determine the target number of cycles according to the amount of PGN data transmitted by the second ECU; Setting the values ​​of the message update flag and the message timeout count to the second value; Calling the message data and status reading interface to receive the PGN data transmitted by the second ECU through the CAN driver software; When a new message is received, the new message is read, the message update flag is set to a first value, and the current number of cycles is increased by 1; When the current number of cycles is less than the target number of cycles, returning to the calling message data and status reading interface, and receiving the PGN data transmitted by the second ECU through the CAN driver software; When the current number of cycles is equal to the target number of cycles, it is determined that the message data in the current cycle has been received.

5. The method according to claim 4, characterized in that The PGN data includes a DM1 message, and the method further includes: After receiving the PGN data transmitted by the second ECU through the CAN driver software, calling the DM1 message parsing function to parse the currently received DM1 message, and setting the message state of the currently received DM1 message to the second value; Set the data status of a single-frame message; Determine whether the currently received DM1 message carries a fault code; In the case of carrying a fault code, initializing valid data cached in the data cache area; Read the vehicle's fault light status and flashing frequency, and increase the fault count by a corresponding value based on the read fault code; The data reporting interface is called to report the fault light status and flashing frequency, as well as the fault code.

6. The method according to claim 5, characterized in that The setting of the data state of the single-frame message includes: Setting the data frame packet sequence number of the single-frame message to the second value; Setting the broadcast message reception flag to the second value; Setting the frame loss flag to the second value; The total number of data frame packets is set to the second value.

7. The method according to claim 4, characterized in that The PGN data includes a broadcast message, and the method further includes: After receiving the PGN data transmitted by the second ECU through the CAN driver software, calling the broadcast message parsing function to parse the currently received broadcast message, and setting the message state of the currently received broadcast message to the second value; When the flag value of the broadcast message flag is the first value, it indicates that the multi-frame transmission starts, the data frame packet sequence number of the currently received broadcast message is set to the second value, and the frame loss flag is set to the second value; Get the total number of data frame packets and the first number of fault codes.

8. The method according to claim 7, characterized in that The PGN data includes a data frame message, and the method further includes: After receiving the PGN data transmitted by the second ECU through the CAN driver software, calling the data frame parsing message to parse the currently received data frame message according to the protocol format; detecting a second number of fault codes included in the parsed data; When the second number is equal to the first number, it is determined that the message data in the current cycle has been received.

9. The method according to any one of claims 1 to 8, characterized in that The method further comprises: Based on the DM1 conversation scenario, other conversation scenarios are added according to product requirements, wherein the other conversation scenarios include at least one of the following: The smart meter requests the first ECU to clear all current fault codes, and the ECU gives a response; The smart meter requests the first ECU to issue a historical fault code, and the ECU responds; The smart meter requests the first ECU to clear the historical fault code, and the ECU gives a response; The smart meter requests the first ECU to send a freeze frame parameter, and the first ECU gives a response.

10. A message processing device based on the J1939 diagnostic message protocol, characterized in that: include: a memory configured to store instructions; A processor is configured to call the instruction from the memory and to implement the message processing method based on the J1939 diagnostic message protocol according to any one of claims 1 to 9 when executing the instruction.

11. A machine-readable storage medium having instructions stored thereon, characterized in that: When the instruction is executed by a processor, the processor is configured to execute the message processing method based on the J1939 diagnostic message protocol according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • CAN-fieldbus-based (controller area network-fieldbus-based) purely-electric automobile instrument display terminal

    CN103692916A

  • Engine operating parameter measurement method based on SAEJ1939CAN bus

    CN107579893A

  • Data transmission method and apparatus, storage medium and terminal device

    CN110324115A

  • Communication system and method for electric engineering machinery, upper computer and vehicle control unit

    CN115102826A

  • Vehicle fault code conversion method, storage medium, vehicle control unit and vehicle

    CN116156001A

Cited By

  • J1939 protocol DM1 function integration implementation system and method and vehicle

    CN120621253A

  • Data error control method and system for high-speed data transmission of camera

    CN121077532A