Vehicle-mounted remote communication terminal CAN parameter configuration method

The cloud platform issues specific packet definitions, which solves the problem that on-board terminals cannot obtain data in specific scenarios, and achieves smooth reporting of data and expands the scope of code adaptation.

CN119945898APending Publication Date: 2025-05-06GUANGXI XINGWANG ZHIYUN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411976780.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

In specific working scenarios, vehicle-mounted remote communication terminals cannot obtain data such as fuel tank level, driving history and vehicle speed, etc., resulting in the inability to adapt to the definitions of different OEMs and the inability to effectively report data.

Method used

Definitions of specific messages are sent to the terminal through the cloud platform, so that the terminal can re-arrange messages based on these definitions to adapt to different definitions of fuel tank level, driving history and vehicle speed by different OEMs.

Benefits of technology

It enables the terminal to obtain and report data such as fuel tank level, driving history and vehicle speed in different working scenarios, expanding the application scope of code adaptation and application, and reducing the development volume.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119945898A_ABST
    Figure CN119945898A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle-mounted remote communication terminal CAN parameter configuration method, belongs to the technical field of vehicle-mounted electronic equipment, and solves the technical problem that a terminal cannot adaptively report all state parameters. According to the method, a specific message definition is issued to a terminal through a cloud platform, so that the terminal rearranges messages according to the specific message definition to adapt to the condition that different main engine plants have different definitions on the liquid level, the driving process and the vehicle speed of an oil tank. According to the invention, the configuration parameters (including CANID, start bit, bit length, precision and offset) are issued through the cloud platform, after the vehicle-mounted terminal receives the configuration parameters, local old parameter setting is covered, and specific data acquisition is carried out according to new parameters, so that the problem that the vehicle-mounted terminal cannot normally acquire data in a specific working scene can be solved, and the service life of the vehicle-mounted terminal is prolonged. The code application range is expanded, and the development amount is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle-mounted electronic equipment, and more specifically, to a method for configuring CAN parameters of a vehicle-mounted remote communication terminal. Background Art

[0002] The vehicle-mounted remote communication terminal TBOX is a product that integrates vehicle body network and wireless communication functions, can provide networking services, and is generally installed under the dashboard. The vehicle-mounted remote communication terminal is a box with communication functions based on the FreeRTOS or Linux operating system. The vehicle-mounted remote communication terminal communicates with the electronic control system of the engine or new energy through the CAN network, reads the relevant data of the electronic control system, such as engine speed and various fault information, etc., and reports the data such as the location information obtained by itself to the enterprise standard or national standard platform. At the same time, it can remotely control the vehicle and remotely update and upgrade the terminal program and the electronic control system program.

[0003] However, there are many J1939 message definitions for the fuel tank level, driving history, and vehicle speed of the vehicle. The terminal cannot adapt to all states, so in many cases it can only report invalid values, making it impossible for technicians to obtain the required data. Summary of the invention

[0004] The technical problem to be solved by the present invention is to address the above-mentioned shortcomings of the prior art. The purpose of the present invention is to provide a CAN parameter configuration method for a vehicle-mounted remote communication terminal, which can solve the problem that the vehicle-mounted terminal cannot normally obtain data in a specific working scenario, expand the application scope of the code, and reduce the development workload.

[0005] The technical solution of the present invention is: a method for configuring CAN parameters of a vehicle-mounted remote communication terminal, which sends a specific message definition to the terminal through a cloud platform, so that the terminal re-arranges the message according to the specific message definition to adapt to different definitions of fuel tank level, driving history and vehicle speed by different OEMs.

[0006] As a further improvement, the following steps are included:

[0007] Step 1. When the MCU of the terminal fails to adapt to any one of the three signals of the communication CAN fuel tank level, driving history, and vehicle speed, the MCU transmits an invalid value to the MPU of the terminal as a replacement. After receiving the invalid value, the MPU sends data to the cloud platform according to the established protocol. After receiving the invalid value, the cloud platform triggers an adaptive alarm;

[0008] Step 2. After the adaptive alarm is triggered, the cloud platform sends a message collection instruction to the MPU, and the MPU transmits the message collection instruction to the MCU. After receiving the message collection instruction, the MCU starts to collect messages and transmits them to the MPU. The MPU integrates the messages into a collection file and uploads it to the cloud platform;

[0009] Step 3. After analyzing the actual message definitions of the vehicle's fuel tank level, driving history and vehicle speed according to the acquisition file, formulate a specific message definition, and send the formulated specific message definition to the MPU through the cloud platform. After receiving the specific message definition, the MPU passes the parameters of the specific message definition to the MCU, and the MCU replaces the initial values ​​written in the original code in the message with the parameters of the specific message definition, thereby realizing the smooth reporting of the fuel tank level, driving history and vehicle speed information.

[0010] Further, after the adaptive alarm is triggered, the cloud platform displays invalidity on the front end or sends a message to the technician.

[0011] Furthermore, a message definition mapping table is prepared in advance, wherein the message definition mapping table contains specific parameters defined by different OEMs for fuel tank level, driving history, and vehicle speed;

[0012] In step 3, the cloud platform automatically analyzes the actual message definition of the vehicle's fuel tank level, driving history and vehicle speed based on the collected file, and queries the message definition mapping table according to the actual message definition to obtain the corresponding specific parameters of the fuel tank level, driving history and vehicle speed. Now, a specific message definition is formulated based on the queried specific parameters of the fuel tank level, driving history and vehicle speed.

[0013] Furthermore, after the cloud platform issues the automatically formulated specific message definition, it sends the automatically formulated specific message definition to the technical personnel, so that the technical personnel can check whether there is any error in time.

[0014] Furthermore, in step 3, after the technicians analyze the actual message definitions of the fuel tank level, driving history and vehicle speed of the entire vehicle based on the collected files, they manually formulate specific message definitions.

[0015] Furthermore, the parameters defined in the specific message include CAN_ID, start bit, bit length, precision, and offset.

[0016] Furthermore, the parameters defined in the specific message meet the scope of the J1939 protocol.

[0017] Furthermore, the cloud platform sends the specific message definition to the terminal via the TCP protocol.

[0018] Furthermore, after the terminal successfully adapts according to the specific message definition, the specific message definition is saved, so that the specific message definition will not be changed even if the terminal is restored to factory settings; unless a new specific message definition is received and successfully adapted, the new specific message definition will replace the old specific message definition.

[0019] Beneficial Effects

[0020] Compared with the prior art, the present invention has the following advantages:

[0021] The present invention sends configuration parameters through a cloud platform, and the parameters include CAN_ID, start bit, bit length, precision, and offset. After receiving the configuration parameters, the vehicle-mounted terminal overwrites the old local parameter settings and collects specific data according to the new parameters. This can solve the problem that the vehicle-mounted terminal cannot normally obtain data in specific working scenarios, expand the scope of code adaptation and application, and reduce the amount of development. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 is a flow chart of the present invention;

[0023] Figure 2 is a schematic diagram of step 1;

[0024] Figure 3 is a schematic diagram of step 2;

[0025] Figure 4 This is a schematic diagram of step 3. DETAILED DESCRIPTION

[0026] The present invention will be further described below with reference to the specific embodiments in the accompanying drawings.

[0027] See also Figure 1 to Figure 4 A method for configuring CAN parameters of an on-board telematics terminal is proposed. The cloud platform sends specific message definitions to the terminal, so that the terminal can re-arrange the message according to the specific message definition to adapt to different definitions of fuel tank level, driving history and vehicle speed by different OEMs. The adaptability range of the terminal code can be reduced, and the number of iterations can be reduced.

[0028] The following steps are included: 1 to 3:

[0029] Step 1. When the terminal's MCU cannot adapt to any of the three signals of the communication CAN fuel tank level, driving history, and vehicle speed, the MCU transmits an invalid value to the terminal's MPU as a replacement. After receiving the invalid value, the MPU sends data to the cloud platform according to the established protocol. After receiving the invalid value, the cloud platform triggers an adaptive alarm.

[0030] Step 2. After the adaptive alarm is triggered, the cloud platform sends a message collection instruction to the MPU, and the MPU then passes the message collection instruction to the MCU. After receiving the message collection instruction, the MCU starts to collect messages and transmits them to the MPU. The MPU integrates the messages into a collection file and uploads it to the cloud platform.

[0031] Step 3. After analyzing the actual message definitions of the vehicle's fuel tank level, driving history and vehicle speed according to the collected files, formulate a specific message definition, and send the formulated specific message definition to the MPU through the cloud platform. After receiving the specific message definition, the MPU passes the parameters of the specific message definition to the MCU. The MCU replaces the initial values ​​written in the original code in the message with the parameters of the specific message definition, thereby realizing the smooth reporting of the fuel tank level, driving history and vehicle speed information.

[0032] When an adaptive alarm is triggered, the cloud platform displays the invalidity on the front end or sends a message to the technician to notify the technician in time.

[0033] A message definition mapping table can be prepared in advance, and the message definition mapping table contains specific parameters defined by different OEMs for the fuel tank level, driving history, and vehicle speed. Then in step 3, the cloud platform automatically analyzes the actual message definition of the fuel tank level, driving history, and vehicle speed of the vehicle based on the collected file, and queries the message definition mapping table based on the actual message definition to obtain the corresponding specific parameters of the fuel tank level, driving history, and vehicle speed. Now, a specific message definition is formulated based on the specific parameters of the queried fuel tank level, driving history, and vehicle speed.

[0034] After the cloud platform issues the automatically formulated specific message definition, it sends the automatically formulated specific message definition to the technical personnel so that the technical personnel can check whether there is any error in time.

[0035] Of course, in step 3, the technical personnel can also manually formulate specific message definitions after analyzing the actual message definitions of the fuel tank level, driving history and vehicle speed of the entire vehicle based on the collected files.

[0036] That is, when the specific message definition automatically formulated by the cloud platform cannot meet the requirements, the specific message definition is then provided by the technicians.

[0037] In this embodiment, the parameters of the specific message definition include CAN_ID, start bit, bit length, precision, and offset. The parameters of the specific message definition meet the scope of the J1939 protocol. The cloud platform sends the specific message definition to the terminal through the TCP protocol.

[0038] After the terminal successfully adapts to the specific message definition, the specific message definition is saved so that the specific message definition will not be changed even if the terminal is restored to factory settings. Unless a new specific message definition is received and successfully adapted, the old specific message definition will be replaced with the new specific message definition. This ensures the smooth reporting of information such as fuel tank level, driving history, and vehicle speed.

[0039] The above are only preferred embodiments of the present invention. It should be pointed out that for those skilled in the art, several modifications and improvements can be made without departing from the structure of the present invention, which will not affect the effect of the implementation of the present invention and the practicality of the patent.

Claims

1. A method for configuring CAN parameters of a vehicle-mounted remote communication terminal, characterized in that: The cloud platform sends specific message definitions to the terminal, so that the terminal can re-arrange the message according to the specific message definition to adapt to different definitions of fuel tank level, driving history and vehicle speed by different OEMs.

2. A method for configuring CAN parameters of a vehicle-mounted remote communication terminal according to claim 1, characterized in that: The following steps are involved: Step 1. When the MCU of the terminal fails to adapt to any one of the three signals of the communication CAN fuel tank level, driving history, and vehicle speed, the MCU transmits an invalid value to the MPU of the terminal as a replacement. After receiving the invalid value, the MPU sends data to the cloud platform according to the established protocol. After receiving the invalid value, the cloud platform triggers an adaptive alarm; Step 2. After the adaptive alarm is triggered, the cloud platform sends a message collection instruction to the MPU, and the MPU transmits the message collection instruction to the MCU. After receiving the message collection instruction, the MCU starts to collect messages and transmits them to the MPU. The MPU integrates the messages into a collection file and uploads it to the cloud platform; Step 3. After analyzing the actual message definitions of the vehicle's fuel tank level, driving history and vehicle speed according to the acquisition file, formulate a specific message definition, and send the formulated specific message definition to the MPU through the cloud platform. After receiving the specific message definition, the MPU passes the parameters of the specific message definition to the MCU, and the MCU replaces the initial values ​​written in the original code in the message with the parameters of the specific message definition, thereby realizing the smooth reporting of the fuel tank level, driving history and vehicle speed information.

3. A method for configuring CAN parameters of a vehicle-mounted remote communication terminal according to claim 1, characterized in that: After the adaptive alarm is triggered, the cloud platform displays the invalidity on the front end or sends a message to the technician.

4. A method for configuring CAN parameters of a vehicle-mounted remote communication terminal according to claim 1, characterized in that: A message definition mapping table is prepared in advance, wherein the message definition mapping table contains specific parameters defined by different OEMs for fuel tank level, driving history, and vehicle speed; In step 3, the cloud platform automatically analyzes the actual message definition of the vehicle's fuel tank level, driving history and vehicle speed based on the collected file, and queries the message definition mapping table according to the actual message definition to obtain the corresponding specific parameters of the fuel tank level, driving history and vehicle speed. Now, a specific message definition is formulated based on the queried specific parameters of the fuel tank level, driving history and vehicle speed.

5. A method for configuring CAN parameters of a vehicle-mounted remote communication terminal according to claim 4, characterized in that: After the cloud platform issues the automatically formulated specific message definition, it sends the automatically formulated specific message definition to the technical personnel so that the technical personnel can check whether there is any error in time.

6. A method for configuring CAN parameters of a vehicle-mounted remote communication terminal according to claim 1, characterized in that: In step 3, after the technicians analyze the actual message definitions of the fuel tank level, driving history and vehicle speed of the entire vehicle based on the collected files, they manually formulate specific message definitions.

7. A method for configuring CAN parameters of a vehicle-mounted remote communication terminal according to claim 1, characterized in that: The parameters defined in the specific message include CAN_ID, start bit, bit length, precision, and offset.

8. A method for configuring CAN parameters of a vehicle-mounted remote communication terminal according to claim 1, characterized in that: The parameters defined in the specific message meet the scope of the J1939 protocol.

9. A method for configuring CAN parameters of a vehicle-mounted remote communication terminal according to claim 1, characterized in that: The cloud platform sends the specific message definition to the terminal via the TCP protocol.

10. A method for configuring CAN parameters of a vehicle-mounted remote communication terminal according to claim 1, characterized in that: After the terminal successfully adapts according to the specific message definition, the specific message definition is saved, so that the specific message definition will not be changed even if the terminal is restored to factory settings; unless a new specific message definition is received and the adaptation is successful, the new specific message definition will replace the old specific message definition.