Chassis communication protocol configuration method and device, vehicle navigation terminal and storage medium

By working together with the vehicle navigation terminal and the host computer, the aftermarket navigation system was matched with various vehicle chassis communication protocols, solving the problem of redundant development and improving the system's versatility and configuration efficiency.

CN116828084BActive Publication Date: 2026-06-23GUANGZHOU ASENSING TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GUANGZHOU ASENSING TECH CO LTD
Filing Date
2023-07-24
Publication Date
2026-06-23

AI Technical Summary

Technical Problem

Existing aftermarket navigation systems cannot obtain real-time information about the vehicle's current operating status, which requires repeated development for different manufacturers' ECU communication protocols, resulting in high costs and significant time consumption.

Method used

The system obtains the chassis communication protocol configuration status of the aftermarket navigation system through the vehicle navigation terminal, acquires chassis data packets and matches the target communication protocol identifier, uses the host computer to acquire the target chassis communication protocol information and perform storage and integrity verification, thereby achieving matching with the chassis communication protocols of various vehicles.

Benefits of technology

It improves the versatility of aftermarket navigation systems, saves development resources, increases configuration efficiency, and reduces the cost and time of repetitive development.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116828084B_ABST
    Figure CN116828084B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of vehicle navigation, and provides a chassis communication protocol configuration method and device, a vehicle navigation terminal and a storage medium. The vehicle navigation terminal acquires the configuration state of the chassis communication protocol of a rear-mounted navigation system, and acquires chassis data messages and target communication protocol identification when the configuration state is not configured. Then, the target communication protocol identification is matched with a plurality of chassis communication protocol information. When there is no target chassis communication protocol information matched with the target communication protocol identification, the chassis data messages are sent to an upper computer, so that the upper computer obtains target chassis communication protocol information according to the chassis data messages and sends the target chassis communication protocol information to the vehicle navigation terminal. The vehicle navigation terminal stores the target chassis communication protocol information and performs integrity check. When the target chassis communication protocol information passes the integrity check, the configuration state is modified to configured. Therefore, the rear-mounted navigation system does not need to be developed for each chassis communication protocol, and the universality of the rear-mounted navigation system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicle navigation technology, and more specifically, to a chassis communication protocol configuration method, apparatus, vehicle navigation terminal, and storage medium. Background Technology

[0002] In-vehicle navigation systems communicate with the vehicle's ECU (Electronic Control Unit) via a CAN (Controller Area Network) bus, providing the vehicle with information such as position, speed, attitude, and time to ensure real-time location information. Besides navigation systems designed with tight integration with OEMs before development, there are also highly adaptable aftermarket navigation systems suitable for scenarios requiring short-term navigation functionality. After installing such aftermarket systems, the vehicle only needs to filter and use the fixed location messages output by the system to obtain accurate location information during use. Because aftermarket navigation systems do not have close integration with the vehicle during development, they cannot obtain real-time information about the vehicle's current operating status. To provide accurate location information to various vehicles, aftermarket navigation systems must acquire the vehicle's chassis information and incorporate it into the location result calculation process.

[0003] Because different manufacturers' ECUs use different communication protocols (i.e., different chassis communication protocols), and the types and content of the acquired positioning information also differ, most aftermarket navigation system products are currently software or upgrade packages specifically developed for a particular chassis communication protocol. While this approach can meet the requirements for matching the chassis communication protocol, it requires repeated development and a significant investment of R&D resources in areas such as development, testing, installation, debugging, and upgrades, resulting in high costs and a substantial time consumption. Summary of the Invention

[0004] In view of this, the purpose of the present invention is to provide a chassis communication protocol configuration method, apparatus, vehicle navigation terminal and storage medium.

[0005] To achieve the above objectives, the technical solution adopted by the present invention is as follows:

[0006] In a first aspect, the present invention provides a chassis communication protocol configuration method, applied to an in-vehicle navigation terminal, wherein the in-vehicle navigation terminal is equipped with an aftermarket navigation system and is communicatively connected to a host computer, the method comprising:

[0007] Obtain the configuration status of the chassis communication protocol of the aftermarket navigation system;

[0008] When the configuration status is not configured, obtain the chassis data message and obtain the target communication protocol identifier from the chassis data message;

[0009] The target communication protocol identifier is matched with multiple chassis communication protocol information in a preset chassis communication protocol library;

[0010] When no target chassis communication protocol information matching the target communication protocol identifier is found, the chassis data packet is sent to the host computer, so that the host computer obtains the target chassis communication protocol information based on the chassis data packet and sends the target chassis communication protocol information to the vehicle navigation terminal.

[0011] Receive the target chassis communication protocol information sent by the host computer, and store and verify the integrity of the target chassis communication protocol information;

[0012] If the target chassis communication protocol information passes the integrity verification, the configuration status will be changed to "configured".

[0013] In an optional implementation, the vehicle navigation terminal includes non-volatile memory;

[0014] The step of obtaining the configuration status of the chassis communication protocol of the aftermarket navigation system includes:

[0015] Read the data stored at the specified address in the non-volatile memory to obtain the target data;

[0016] If the target data is the first preset data, then the configuration status is determined to be unconfigured;

[0017] If the target data is the second preset data, then the configuration status is determined to be configured.

[0018] In an optional implementation, the chassis communication protocol information includes a chassis communication protocol identifier;

[0019] The step of matching the target communication protocol identifier with multiple chassis communication protocol information in a preset chassis communication protocol library includes:

[0020] The target communication protocol identifier is compared with each of the chassis communication protocol identifiers in the chassis communication protocol library;

[0021] If there is no target chassis communication protocol identifier that is the same as the target communication protocol identifier, then it is determined that the target chassis communication protocol information does not exist;

[0022] If a target chassis communication protocol identifier exists that is identical to the target communication protocol identifier, then the chassis communication protocol information to which the target chassis communication protocol identifier belongs shall be used as the target chassis communication protocol information.

[0023] In an optional implementation, the method further includes:

[0024] When target chassis communication protocol information matching the target communication protocol identifier exists, chassis operating parameters are obtained from the chassis data packets, and the chassis operating parameters are detected.

[0025] When the chassis operating parameters are abnormal, the chassis data message is sent to the host computer, so that the host computer can obtain the target chassis communication protocol information based on the chassis data message and send the target chassis communication protocol information to the vehicle navigation terminal.

[0026] Receive the target chassis communication protocol information sent by the host computer, and store and verify the integrity of the target chassis communication protocol information;

[0027] If the target chassis communication protocol information passes the integrity verification, the configuration status will be changed to "configured".

[0028] In an optional implementation, the method further includes:

[0029] When the chassis operating parameters are normal, the target chassis communication protocol information is stored and its integrity is verified.

[0030] If the target chassis communication protocol information passes the integrity verification, the configuration status will be changed to "configured".

[0031] In an optional implementation, the chassis operating parameters include wheel speed and gear position;

[0032] The step of detecting the chassis operating parameters includes:

[0033] If the wheel speed is equal to or greater than a preset wheel speed threshold, the chassis operating parameters are determined to be abnormal.

[0034] If the gear position is not a stop gear, then the chassis operating parameters are determined to be abnormal;

[0035] If the wheel speed is less than a preset wheel speed threshold and the gear is a stop gear, then the chassis operating parameters are determined to be normal.

[0036] In an optional implementation, the host computer obtains the target chassis communication protocol information based on the chassis data message in the following manner:

[0037] The host computer obtains the target communication matrix based on the chassis data message, and converts the target communication matrix into a preset format to obtain the target chassis communication protocol information.

[0038] In an optional implementation, the vehicle navigation terminal and the host computer are connected via a CAN bus, and the host computer is equipped with a parsing tool.

[0039] The host computer sends the target chassis communication protocol information to the vehicle navigation terminal in the following manner:

[0040] The host computer uses the UDS function in the parsing tool to generate a target message based on a preset identifier and the target chassis communication protocol information, and sends the target message to the vehicle navigation terminal through the CAN bus.

[0041] In an optional implementation, the vehicle navigation terminal includes a non-volatile memory with a dedicated area;

[0042] The steps of storing and verifying the integrity of the target chassis communication protocol information include:

[0043] The target chassis communication protocol information is stored in a dedicated area of ​​the non-volatile memory;

[0044] The stored target chassis communication protocol information is obtained from the dedicated area, and the verification value of the stored target chassis communication protocol information is calculated to obtain the first verification value.

[0045] Calculate the check value of the target chassis communication protocol information to obtain a second check value;

[0046] If the first verification value is the same as the second verification value, then the target chassis communication protocol information is determined to have passed the integrity verification.

[0047] If the first verification value is different from the second verification value, it is determined that the target chassis communication protocol information has failed the integrity verification.

[0048] In an optional implementation, the method further includes:

[0049] When the configuration status is configured, the chassis data packets are parsed in real time through the chassis communication protocol information configured by the aftermarket navigation system to obtain chassis operation information, and the aftermarket navigation system performs real-time positioning based on the chassis operation information.

[0050] Secondly, the present invention provides a chassis communication protocol configuration device for use in a vehicle navigation terminal, wherein the vehicle navigation terminal is equipped with an aftermarket navigation system and is communicatively connected to a host computer; the device includes:

[0051] The acquisition module is used to acquire the configuration status of the chassis communication protocol of the aftermarket navigation system;

[0052] The configuration module is used to obtain chassis data packets and obtain the target communication protocol identifier from the chassis data packets when the configuration status is not configured.

[0053] The target communication protocol identifier is matched with multiple chassis communication protocol information in a preset chassis communication protocol library;

[0054] When no target chassis communication protocol information matching the target communication protocol identifier is found, the chassis data packet is sent to the host computer, so that the host computer obtains the target chassis communication protocol information based on the chassis data packet and sends the target chassis communication protocol information to the vehicle navigation terminal.

[0055] Receive the target chassis communication protocol information sent by the host computer, and store and verify the integrity of the target chassis communication protocol information;

[0056] If the target chassis communication protocol information passes the integrity verification, the configuration status will be changed to "configured".

[0057] Thirdly, the present invention provides an in-vehicle navigation terminal, including a processor and a memory, wherein the memory stores a computer program, and when the processor executes the computer program, it implements the method described in any of the foregoing embodiments.

[0058] Fourthly, the present invention provides a storage medium storing a computer program, which, when executed by a processor, implements the method described in any one of the foregoing embodiments.

[0059] The present invention provides a chassis communication protocol configuration method, apparatus, vehicle navigation terminal, and storage medium. The vehicle navigation terminal acquires the configuration status of the chassis communication protocol of the aftermarket navigation system. If the configuration status is "not configured," it acquires chassis data packets and a target communication protocol identifier. Then, it matches the target communication protocol identifier with multiple chassis communication protocol information in a preset chassis communication protocol library. If no target chassis communication protocol information matching the target communication protocol identifier is found, the vehicle navigation terminal sends the chassis data packets to a host computer, enabling the host computer to obtain the target chassis communication protocol information based on the chassis data packets and send the target chassis communication protocol information to the vehicle navigation terminal. Next, the vehicle navigation terminal receives the target chassis communication protocol information sent by the host computer and stores and verifies its integrity. If the target chassis communication protocol information passes the integrity verification, the configuration status is changed to "configured." The chassis communication protocol library enables the aftermarket navigation system to be compatible with the chassis communication protocols of various vehicles. Furthermore, if the required chassis communication protocol is not found in the chassis communication protocol library, the chassis communication protocol information can be obtained and configured through the host computer. This eliminates the need to develop a separate aftermarket navigation system for each chassis communication protocol, thereby improving the versatility of the aftermarket navigation system, saving development resources, and increasing configuration efficiency.

[0060] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description

[0061] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0062] Figure 1 This illustration shows a scenario provided by an embodiment of the present invention;

[0063] Figure 2 A schematic diagram of an in-vehicle navigation terminal provided in an embodiment of the present invention is shown;

[0064] Figure 3 This invention illustrates a flowchart of a chassis communication protocol configuration method provided in an embodiment of the present invention.

[0065] Figure 4 This illustration shows another flowchart of the chassis communication protocol configuration method provided in an embodiment of the present invention;

[0066] Figure 5This illustration shows another flowchart of the chassis communication protocol configuration method provided in an embodiment of the present invention;

[0067] Figure 6 A functional block diagram of a chassis communication protocol configuration device provided in an embodiment of the present invention is shown.

[0068] Icons: 110 - Processor; 120 - Memory; 150 - Non-volatile memory; 170 - Communication module; 300 - Chassis communication protocol configuration device; 310 - Acquisition module; 330 - Configuration module; 350 - Positioning module. Detailed Implementation

[0069] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.

[0070] Therefore, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the invention without inventive effort are within the scope of protection of the invention.

[0071] It should be noted that relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0072] In-vehicle navigation systems communicate with the vehicle's ECU (Electronic Control Unit) via a CAN (Controller Area Network) bus, providing the vehicle with information such as position, speed, attitude, and time to ensure real-time location information. Besides navigation systems designed with tight integration with OEMs before development, there are also highly adaptable aftermarket navigation systems suitable for scenarios requiring short-term navigation functionality. After installing such aftermarket systems, the vehicle only needs to filter and use the fixed location messages output by the system to obtain accurate location information during use. Because aftermarket navigation systems do not have close integration with the vehicle during development, they cannot obtain real-time information about the vehicle's current operating status. To provide accurate location information to various vehicles, aftermarket navigation systems must acquire the vehicle's chassis information and incorporate it into the location result calculation process.

[0073] Because different manufacturers' ECUs use different communication protocols (i.e., different chassis communication protocols), and the type and content of the acquired positioning information also differ, current common aftermarket navigation system products are usually software or upgrade packages specifically developed for a certain chassis communication protocol. While this approach can meet the requirements for matching the chassis communication protocol, it requires repeated development and significant investment of R&D resources such as development, testing, installation, debugging, and upgrades, resulting in high costs and considerable time consumption. Therefore, this invention provides a chassis communication protocol configuration method to solve the above problems.

[0074] Please refer to Figure 1 This is a schematic diagram of a scenario provided by an embodiment of the present invention, including an in-vehicle navigation terminal and a host computer that are connected in communication. Optionally, the in-vehicle navigation terminal and the host computer can be connected in communication via a CAN (Controller Area Network) bus. The host computer can be a personal computer, tablet computer, Ultra-Mobile Personal Computer (UMPC), netbook, etc. The embodiments of the present invention are not limited thereto.

[0075] Please see Figure 2 This is a schematic diagram of an in-vehicle navigation terminal provided in an embodiment of the present invention. The in-vehicle navigation terminal includes a processor 110, a memory 120, a non-volatile memory 150, and a communication module 170. The components are electrically connected directly or indirectly to each other to achieve data transmission or interaction. For example, these components can be electrically connected to each other through one or more communication buses or signal lines.

[0076] The processor 110 is used to read / write data or programs stored in the memory 120 and perform corresponding functions. It can be a general-purpose processor, including CPU (Central Processing Unit), NP (Network Processor), etc.; it can also be a DSP digital signal processor, ASIC application-specific integrated circuit, FPGA off-the-shelf programmable gate array or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0077] The memory 120 is used to store programs or data. The memory 120 can be RAM (Random Access Memory), ROM (Read Only Memory), PROM (Programmable Read-Only Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electric Erasable Programmable Read-Only Memory), etc.

[0078] Non-volatile memory 150 is a type of memory in which data stored is not lost after power is turned off. Optionally, non-volatile memory 150 may be EEPROM.

[0079] The communication module 170 can be used to communicate with other devices for signaling or data.

[0080] Understandable Figure 2 The structure shown is only a schematic diagram of the vehicle navigation terminal; the vehicle navigation terminal may also include components that are larger than those shown. Figure 2 The more or fewer components shown, or having the same Figure 2 The different configurations shown. Figure 2 The components shown can be implemented using hardware, software, or a combination thereof.

[0081] The following will use the aforementioned vehicle navigation terminal as the execution subject to execute the various steps in the methods provided in the embodiments of the present invention and achieve the corresponding technical effects.

[0082] Please see Figure 3 , Figure 3 This is a flowchart illustrating a chassis communication protocol configuration method provided in an embodiment of the present invention.

[0083] Step S202: Obtain the configuration status of the chassis communication protocol of the aftermarket navigation system;

[0084] In this embodiment, the aftermarket navigation system is installed on the vehicle navigation terminal. After the vehicle navigation terminal is powered on, it will obtain the configuration status of the chassis communication protocol of the aftermarket navigation system, that is, check whether the aftermarket navigation system is bound to the chassis communication protocol.

[0085] Step S204: If the configuration status is not configured, obtain the chassis data message and obtain the target communication protocol identifier from the chassis data message;

[0086] In this embodiment, if the vehicle navigation terminal checks and determines that the configuration status of the aftermarket navigation system is not configured, i.e., it is not bound to the chassis communication protocol, then it will automatically start the chassis communication protocol configuration process, that is, obtain the chassis data message and obtain the chassis communication protocol ID number of the current vehicle from it, i.e., obtain the target communication protocol identifier.

[0087] Optionally, when the in-vehicle navigation terminal determines that the configuration status of the aftermarket navigation system is not configured, it can also control the wheel speed indicator lights to flash slowly to remind the user that the aftermarket navigation system is not currently bound to the chassis communication protocol and therefore cannot use the positioning function.

[0088] Step S206: Match the target communication protocol identifier with multiple chassis communication protocol information in the preset chassis communication protocol library;

[0089] In this embodiment, the aftermarket navigation system is pre-configured with a chassis communication protocol library, which includes multiple chassis communication protocol information. The chassis communication protocol library can be understood as a collection of pre-saved chassis communication protocol information for cooperating vehicle models. The in-vehicle navigation terminal performs a matching operation based on the target communication protocol identifier and the multiple chassis communication protocol information in the chassis communication protocol library.

[0090] Step S208: When there is no target chassis communication protocol information that matches the target communication protocol identifier, the chassis data packet is sent to the host computer so that the host computer can obtain the target chassis communication protocol information based on the chassis data packet and send the target chassis communication protocol information to the vehicle navigation terminal.

[0091] In this embodiment, if the matching operation determines that no target chassis communication protocol information matches the target communication protocol identifier, it means that the chassis communication protocol information for the current vehicle does not exist in the chassis communication protocol library. In this case, the in-vehicle navigation terminal will send the chassis data packets to the host computer and can also control the wheel speed indicator lights to inform the user that the host computer is needed to configure the chassis communication protocol. The user can obtain the current vehicle's chassis communication protocol information, i.e., the target chassis communication protocol information, from the received chassis data packets through the host computer and send it to the in-vehicle navigation terminal.

[0092] Step S210: Receive the target chassis communication protocol information sent by the host computer, and store and verify the integrity of the target chassis communication protocol information;

[0093] Step S212: If the target chassis communication protocol information passes the integrity verification, change the configuration status to "configured".

[0094] In this embodiment, the vehicle navigation terminal receives target chassis communication protocol information sent by the host computer and stores and verifies the integrity of the target chassis communication protocol information. If the target chassis communication protocol information fails the integrity verification, it is re-stored to ensure the integrity of the stored target chassis communication protocol information. If the target chassis communication protocol information passes the integrity verification, the configuration status is changed to "configured," and the wheel speed indicator lights can be controlled to inform the user that the configuration operation is complete and a restart is required.

[0095] As can be seen from the above steps, the vehicle navigation terminal obtains the configuration status of the chassis communication protocol of the aftermarket navigation system, and obtains the chassis data message and the target communication protocol identifier when the configuration status is not configured; then, it matches the target communication protocol identifier with multiple chassis communication protocol information in the preset chassis communication protocol library; when no target chassis communication protocol information matching the target communication protocol identifier is found, the chassis data message is sent to the host computer, so that the host computer obtains the target chassis communication protocol information based on the chassis data message and sends the target chassis communication protocol information to the vehicle navigation terminal; then, it receives the target chassis communication protocol information sent by the host computer, and stores and verifies the integrity of the target chassis communication protocol information; if the target chassis communication protocol information passes the integrity verification, the configuration status is changed to configured. The chassis communication protocol library enables the aftermarket navigation system to be compatible with the chassis communication protocols of various vehicles. Furthermore, if the required chassis communication protocol is not found in the chassis communication protocol library, the chassis communication protocol information can be obtained and configured through the host computer. This eliminates the need to develop a separate aftermarket navigation system for each chassis communication protocol, thereby improving the versatility of the aftermarket navigation system, saving development resources, and increasing configuration efficiency.

[0096] Optionally, for step S202 above, the present invention provides a possible implementation method.

[0097] Step S202-1: Read the data stored at the specified address in the non-volatile memory to obtain the target data;

[0098] Step S202-3: If the target data is the first preset data, then determine that the configuration status is not configured;

[0099] Step S202-5: If the target data is the second preset data, then the configuration status is determined to be configured.

[0100] It is understood that the first preset data and the second preset data are pre-set data used to determine the configuration status of the chassis communication protocol of the aftermarket navigation system. For example, the first preset data can be 0x00 and the second preset data can be 0x11. It should be understood that the first preset data and the second preset data can also be set according to actual conditions, and this embodiment of the invention does not limit them.

[0101] In this embodiment, the in-vehicle navigation terminal can determine the configuration status of the aftermarket navigation system by reading data from the non-volatile memory. For example, the in-vehicle navigation terminal can read the data stored at a specified address in the non-volatile memory to obtain the target data.

[0102] Then, the vehicle navigation terminal determines the configuration status of the installed navigation system based on the target data. If the target data is the first preset data such as 0x00, then the configuration status of the installed navigation system is determined to be unconfigured, that is, it is not bound to the chassis communication protocol. If the target data is the second preset data such as 0x11, then the configuration status of the installed navigation system is determined to be configured, that is, it is bound to the chassis communication protocol.

[0103] Optionally, for step S206 above, the present invention provides a possible implementation method.

[0104] Step S206-1: Compare the target communication protocol identifier with each chassis communication protocol identifier in the chassis communication protocol library;

[0105] Step S206-3: If there is no target chassis communication protocol identifier that is the same as the target communication protocol identifier, it is determined that there is no target chassis communication protocol information.

[0106] Step S206-5: If there is a target chassis communication protocol identifier that is the same as the target communication protocol identifier, then the chassis communication protocol information to which the target chassis communication protocol identifier belongs shall be used as the target chassis communication protocol information.

[0107] In this embodiment, each chassis communication protocol in the chassis communication protocol library includes a chassis communication protocol ID, i.e., a chassis communication protocol identifier. The vehicle navigation terminal can compare the target communication protocol identifier with each chassis communication protocol identifier in the chassis communication protocol library.

[0108] If there is no chassis communication protocol identifier that is the same as the target communication protocol identifier, that is, if there is no target chassis communication protocol identifier, it means that the chassis communication protocol information of the current vehicle does not exist in the chassis communication protocol library, and then it is determined that there is no target chassis communication protocol information.

[0109] If a chassis communication protocol identifier that is identical to the target communication protocol identifier exists, meaning that the target chassis communication protocol identifier exists, it indicates that the chassis communication protocol information of the current vehicle exists in the chassis communication protocol library. In this case, the chassis communication protocol information to which the target chassis communication protocol identifier belongs will be used as the target chassis communication protocol information.

[0110] Optionally, after step S206 above, this embodiment of the invention also provides a possible implementation, please refer to [link to relevant documentation]. Figure 4 .

[0111] Step S214: When there is target chassis communication protocol information that matches the target communication protocol identifier, obtain chassis operating parameters from the chassis data packet and detect the chassis operating parameters.

[0112] In this embodiment, if the matching operation determines that there is target chassis communication protocol information that matches the target communication protocol identifier, it means that the chassis communication protocol information of the current vehicle exists in the chassis communication protocol library. Then, the vehicle navigation terminal will obtain the chassis operating parameters from the chassis data message and detect them.

[0113] This can be understood as follows: when it is determined that the target chassis communication protocol information exists in the chassis communication protocol library, the configuration environment can also be detected by detecting the chassis operating parameters to ensure that the vehicle navigation terminal performs automatic configuration of the chassis communication protocol in a stable configuration environment.

[0114] Step S216A: When the chassis operating parameters are abnormal, the chassis data message is sent to the host computer so that the host computer can obtain the target chassis communication protocol information based on the chassis data message and send the target chassis communication protocol information to the vehicle navigation terminal.

[0115] In this embodiment, if the chassis operating parameters are determined to be abnormal, it indicates that the configuration environment for the current in-vehicle navigation terminal's automatic configuration of the chassis communication protocol is unstable. In this case, the in-vehicle navigation terminal will send chassis data packets to the host computer and can also control the wheel speed indicator lights to inform the user that the host computer is needed to configure the chassis communication protocol. The user can obtain the current vehicle's chassis communication protocol information (i.e., the target chassis communication protocol information) from the received chassis data packets through the host computer and send it to the in-vehicle navigation terminal.

[0116] Step S210: Receive the target chassis communication protocol information sent by the host computer, and store and verify the integrity of the target chassis communication protocol information;

[0117] Step S212: If the target chassis communication protocol information passes the integrity verification, change the configuration status to "configured".

[0118] In this embodiment, the vehicle navigation terminal receives target chassis communication protocol information sent by the host computer and stores and verifies the integrity of the target chassis communication protocol information. If the target chassis communication protocol information fails the integrity verification, it is re-stored to ensure the integrity of the stored target chassis communication protocol information. If the target chassis communication protocol information passes the integrity verification, the configuration status is changed to "configured," and the wheel speed indicator lights can be controlled to inform the user that the configuration operation is complete and a restart is required.

[0119] Optionally, after step S214 above, this embodiment of the invention also provides a possible implementation, please refer to [link to relevant documentation]. Figure 5 .

[0120] Step S216B: Under the condition that the chassis operating parameters are normal, store the target chassis communication protocol information and perform integrity verification.

[0121] Step S212: If the target chassis communication protocol information passes the integrity verification, change the configuration status to "configured".

[0122] In this embodiment, if the chassis operating parameters are determined to be normal after detection, it indicates that the configuration environment for the automatic configuration of the chassis communication protocol by the current vehicle navigation terminal is stable. Then, the vehicle navigation terminal will store and verify the integrity of the target chassis communication protocol information in the chassis communication protocol library.

[0123] If the target chassis communication protocol information fails the integrity check, the target chassis communication protocol information is re-stored to ensure the integrity of the stored target chassis communication protocol information. If the target chassis communication protocol information passes the integrity check, the configuration status is changed to configured, and the wheel speed indicator lights can be controlled to inform the user that the configuration operation is complete and a restart is required.

[0124] Optionally, for the process of detecting chassis operating parameters in step S214 above, this embodiment of the invention provides a possible implementation method.

[0125] Step S214-1: If the wheel speed is equal to or greater than the preset wheel speed threshold, the chassis operating parameters are determined to be abnormal.

[0126] Step S214-3: If the gear is not the stop gear, the chassis operating parameters are determined to be abnormal.

[0127] In step S214-5, if the wheel speed is less than the preset wheel speed threshold and the gear is in the stop gear, then the chassis operating parameters are determined to be normal.

[0128] It is understood that chassis operating parameters may include wheel speed and gear position, as well as wheel rotation angle and wheel speed time, etc. That is, chassis operating parameters can be set according to actual conditions, and this embodiment of the invention does not limit them.

[0129] In this embodiment, the vehicle navigation terminal can obtain wheel speed and gear position from chassis data packets. If the wheel speed is equal to or greater than a preset wheel speed threshold, such as 1 km / h, it indicates that the vehicle is not stationary. Therefore, the chassis operating parameters are determined to be abnormal, meaning that the configuration environment for the vehicle navigation terminal's automatic configuration of the chassis communication protocol is unstable.

[0130] If the gear is not in the park (P) position, it means that the vehicle is not stationary. Therefore, the chassis operating parameters are considered abnormal, indicating that the configuration environment for the in-vehicle navigation terminal to automatically configure the chassis communication protocol is unstable.

[0131] If the wheel speed is less than a preset wheel speed threshold, such as 1 km / h, and the gear is in park (P), it indicates that the vehicle is currently stationary. Therefore, the chassis operating parameters are considered normal, meaning the configuration environment for the in-vehicle navigation terminal's automatic chassis communication protocol configuration is stable. It should be understood that the preset wheel speed threshold can be set according to actual conditions, and this embodiment of the invention does not impose any limitations.

[0132] Optionally, for the process of the host computer obtaining the target chassis communication protocol information based on the chassis data message, the present invention provides a possible implementation method, namely: the host computer obtains the target communication matrix based on the chassis data message, and converts the target communication matrix into a preset format to obtain the target chassis communication protocol information.

[0133] In this embodiment, the user can obtain message content from the received chassis data messages through the host computer. The message content includes, but is not limited to, gear signal ID, gear signal start position, gear signal length, gear signal output mode, gear signal data type, gear signal coefficient, gear signal offset, P gear value, R gear value, N gear value, D gear value; wheel speed signal ID including front left, front right, rear left, and rear right, wheel speed signal start position including front left, front right, rear left, and rear right, wheel speed signal length, wheel speed signal output mode, wheel speed signal data type, wheel speed signal coefficient, and wheel speed signal offset.

[0134] The communication matrix, or target communication matrix, can be extracted from the message content in the chassis data message. It's understood that since the message content is in decimal, the target communication matrix is ​​also in decimal. To facilitate the transmission of the target communication matrix to the vehicle navigation terminal, it needs to be converted to a preset format, hexadecimal. Users can convert the target communication matrix to hexadecimal via a host computer, thus obtaining the target chassis communication protocol information.

[0135] Optionally, for the process of the host computer sending the target chassis communication protocol information to the vehicle navigation terminal, the present invention provides a possible implementation method, namely: the host computer generates a target message based on a preset identifier and the target chassis communication protocol information through the UDS function in the parsing tool, and sends the target message to the vehicle navigation terminal through the CAN bus.

[0136] Understandably, the host computer is equipped with a parsing tool that features UDS (Unified Diagnostic Services), a universal protocol in the automotive industry. This protocol conforms to an internationally recognized diagnostic communication protocol in the vehicle ECU communication environment, providing a basic framework for diagnostic services. The UDS function can provide 2E services, meaning data can be written to the vehicle ECU using a 2-byte identifier.

[0137] In this embodiment, the host computer uses the 2E service provided by the UDS function in the parsing tool to generate the target message, i.e., the CAN message, based on the preset 2-byte identifier and the target chassis communication protocol information, and sends the target message to the vehicle navigation terminal through the CAN bus.

[0138] The vehicle navigation terminal receives and identifies the target message, that is, it determines whether the information carried by the target message is chassis communication protocol information by using the preset identifier in the target message, and when it is determined that the information carried is chassis communication protocol information, it obtains the target chassis communication protocol information from the target message.

[0139] Optionally, for the process of storing and verifying the integrity of the target chassis communication protocol information in step S210 above, this embodiment of the invention provides a possible implementation method.

[0140] Step S210-1: Store the target chassis communication protocol information in a dedicated area of ​​non-volatile memory;

[0141] Understandably, non-volatile memory has a dedicated area specifically for storing chassis communication protocols that are bound to the aftermarket navigation system. In this embodiment, after the vehicle navigation terminal obtains the target chassis communication protocol information, it stores it in the dedicated area of ​​the non-volatile memory to ensure that the information is not erased after power failure.

[0142] Step S210-3: Obtain the stored target chassis communication protocol information from the dedicated area, calculate the verification value of the stored target chassis communication protocol information, and obtain the first verification value;

[0143] Step S210-5: Calculate the verification value of the target chassis communication protocol information to obtain the second verification value;

[0144] Understandably, in order to ensure the integrity of the stored target chassis communication protocol information, an integrity verification operation can also be performed after the storage operation.

[0145] In this embodiment, the stored target chassis communication protocol information can be obtained from a dedicated area, and a CRC (Cyclic Redundancy Check) is performed on the stored target chassis communication protocol information to obtain a check value, i.e., a first check value. Furthermore, a CRC check is performed on the target chassis communication protocol information to obtain a check value, i.e., a second check value.

[0146] Step S210-7: If the first check value and the second check value are the same, then it is determined that the target chassis communication protocol information has passed the integrity check.

[0147] Step S210-9: If the first check value is different from the second check value, it is determined that the target chassis communication protocol information has failed the integrity check.

[0148] In this embodiment, the first checksum and the second checksum are compared. If the first checksum and the second checksum are the same, it indicates that the stored target chassis communication protocol information is complete, and the target chassis communication protocol information is determined to have passed the integrity check. If the first checksum and the second checksum are different, it indicates that the stored target chassis communication protocol information is incomplete, and the target chassis communication protocol information is determined to have failed the integrity check. In this case, an attempt can be made to rewrite the target chassis communication protocol information into the dedicated area to ensure the integrity of the stored target chassis communication protocol information.

[0149] Optionally, after step S202 above, this embodiment of the invention also provides a possible implementation method, namely: when the configuration state is configured, the chassis data message is parsed in real time through the chassis communication protocol information configured by the aftermarket navigation system to obtain the chassis operation information, and the aftermarket navigation system performs real-time positioning based on the chassis operation information.

[0150] In this embodiment, if the vehicle navigation terminal determines that the configuration status of the aftermarket navigation system is configured, i.e., it has been bound to the chassis communication protocol, then the chassis data packets can be parsed in real time through the chassis communication protocol information configured in the aftermarket navigation system to obtain chassis operation information, and the aftermarket navigation system can perform real-time positioning based on the chassis operation information.

[0151] It should be understood that when an aftermarket navigation system is bound to a chassis communication protocol, the in-vehicle navigation terminal can also send a request to the server to unbind it for reinstallation and reuse.

[0152] To perform the corresponding steps in the above embodiments and various possible methods, an implementation of a chassis communication protocol configuration device is given below. Please refer to... Figure 6 , Figure 6 This is a functional block diagram of a chassis communication protocol configuration device 300 provided in an embodiment of the present invention. It should be noted that the chassis communication protocol configuration device 300 provided in this embodiment has the same basic principle and technical effects as those in the above embodiments. For the sake of brevity, any parts not mentioned in this embodiment can be referred to the corresponding content in the above embodiments. The chassis communication protocol configuration device 300 includes:

[0153] The acquisition module 310 is used to acquire the configuration status of the chassis communication protocol of the aftermarket navigation system;

[0154] The configuration module 330 is used to obtain chassis data packets and obtain the target communication protocol identifier from the chassis data packets when the configuration status is not configured.

[0155] Match the target communication protocol identifier with multiple chassis communication protocol information in the preset chassis communication protocol library;

[0156] When no target chassis communication protocol information matching the target communication protocol identifier is found, the chassis data packet is sent to the host computer so that the host computer can obtain the target chassis communication protocol information based on the chassis data packet and send the target chassis communication protocol information to the vehicle navigation terminal.

[0157] Receive target chassis communication protocol information sent by the host computer, and store and verify the integrity of the target chassis communication protocol information;

[0158] If the target chassis communication protocol information passes the integrity verification, the configuration status will be changed to "configured".

[0159] Optionally, the acquisition module 310 is further configured to: read data stored at a specified address in the non-volatile memory to obtain target data; if the target data is a first preset data, determine that the configuration state is not configured; if the target data is a second preset data, determine that the configuration state is configured.

[0160] Optionally, the configuration module 330 is further configured to: compare the target communication protocol identifier with each chassis communication protocol identifier in the chassis communication protocol library; if there is no target chassis communication protocol identifier that is the same as the target communication protocol identifier, then determine that there is no target chassis communication protocol information; if there is a target chassis communication protocol identifier that is the same as the target communication protocol identifier, then use the chassis communication protocol information to which the target chassis communication protocol identifier belongs as the target chassis communication protocol information.

[0161] Optionally, the configuration module 330 is further configured to: when target chassis communication protocol information matching the target communication protocol identifier exists, obtain chassis operating parameters from the chassis data message and detect the chassis operating parameters; if the chassis operating parameters are abnormal, send the chassis data message to the host computer so that the host computer obtains the target chassis communication protocol information based on the chassis data message and sends the target chassis communication protocol information to the vehicle navigation terminal; receive the target chassis communication protocol information sent by the host computer, store the target chassis communication protocol information and perform integrity verification; if the target chassis communication protocol information passes the integrity verification, modify the configuration status to configured.

[0162] Optionally, the configuration module 330 is also used to: store and perform integrity verification on the target chassis communication protocol information when the chassis operating parameters are normal; and modify the configuration status to "configured" when the target chassis communication protocol information passes the integrity verification.

[0163] Optionally, the configuration module 330 is also used to: determine that the chassis operating parameters are abnormal if the wheel speed is equal to or greater than a preset wheel speed threshold; determine that the chassis operating parameters are abnormal if the gear is not a stop gear; and determine that the chassis operating parameters are normal if the wheel speed is less than the preset wheel speed threshold and the gear is a stop gear.

[0164] Optionally, the host computer obtains the target chassis communication protocol information based on the chassis data message in the following way: the host computer obtains the target communication matrix based on the chassis data message, and converts the target communication matrix into a preset format to obtain the target chassis communication protocol information.

[0165] Optionally, the host computer sends the target chassis communication protocol information to the vehicle navigation terminal in the following way: the host computer generates a target message based on a preset identifier and the target chassis communication protocol information through the UDS function in the parsing tool, and sends the target message to the vehicle navigation terminal through the CAN bus.

[0166] Optionally, the configuration module 330 is further configured to: store the target chassis communication protocol information in a dedicated area of ​​a non-volatile memory; retrieve the stored target chassis communication protocol information from the dedicated area, and calculate the check value of the stored target chassis communication protocol information to obtain a first check value; calculate the check value of the target chassis communication protocol information to obtain a second check value; if the first check value and the second check value are the same, it is determined that the target chassis communication protocol information has passed the integrity check; if the first check value and the second check value are different, it is determined that the target chassis communication protocol information has failed the integrity check.

[0167] Optionally, the chassis communication protocol configuration device 300 further includes a positioning module 350, which is used to: obtain chassis operation information in real time by parsing chassis data messages through the chassis communication protocol information configured by the aftermarket navigation system when the configuration status is configured, and perform real-time positioning through the aftermarket navigation system based on the chassis operation information.

[0168] This invention also provides a vehicle navigation terminal, including a processor 110 and a memory 120. The memory 120 stores a computer program. When the processor 110 executes the computer program, it implements the chassis communication protocol configuration method disclosed in this invention.

[0169] This invention also provides a storage medium storing a computer program, which, when executed by a processor, implements the chassis communication protocol configuration method disclosed in this invention.

[0170] In the several embodiments provided by this invention, it should be understood that the disclosed apparatus and methods can also be implemented in other ways. The apparatus embodiments described above are merely illustrative; for example, the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of the invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0171] In addition, the functional modules in the various embodiments of the present invention can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.

[0172] If the aforementioned functions are implemented as software functional modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0173] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A chassis communication protocol configuration method, characterized in that, The method, applicable to in-vehicle navigation terminals equipped with aftermarket navigation systems and connected to a host computer, includes: Obtain the configuration status of the chassis communication protocol of the aftermarket navigation system; When the configuration status is not configured, obtain the chassis data message and obtain the target communication protocol identifier from the chassis data message; The target communication protocol identifier is matched with multiple chassis communication protocol information in a preset chassis communication protocol library; When no target chassis communication protocol information matching the target communication protocol identifier is found, the chassis data packet is sent to the host computer, so that the host computer obtains the target chassis communication protocol information based on the chassis data packet and sends the target chassis communication protocol information to the vehicle navigation terminal. When target chassis communication protocol information matching the target communication protocol identifier exists, chassis operating parameters are obtained from the chassis data packets, and the chassis operating parameters are detected. In the abnormal situation where the chassis operating parameters are in a non-stationary state, the chassis data message is sent to the host computer, so that the host computer can obtain the target chassis communication protocol information according to the chassis data message and send the target chassis communication protocol information to the vehicle navigation terminal; receive the target chassis communication protocol information sent by the host computer, and store and verify the integrity of the target chassis communication protocol information; If the target chassis communication protocol information passes the integrity verification, the configuration status will be changed to "configured".

2. The chassis communication protocol configuration method according to claim 1, characterized in that, The vehicle navigation terminal includes a non-volatile memory; The step of obtaining the configuration status of the chassis communication protocol of the aftermarket navigation system includes: Read the data stored at the specified address in the non-volatile memory to obtain the target data; If the target data is the first preset data, then the configuration status is determined to be unconfigured; If the target data is the second preset data, then the configuration status is determined to be configured.

3. The chassis communication protocol configuration method according to claim 1, characterized in that, The chassis communication protocol information includes a chassis communication protocol identifier; The step of matching the target communication protocol identifier with multiple chassis communication protocol information in a preset chassis communication protocol library includes: The target communication protocol identifier is compared with each of the chassis communication protocol identifiers in the chassis communication protocol library; If there is no target chassis communication protocol identifier that is the same as the target communication protocol identifier, then it is determined that the target chassis communication protocol information does not exist; If a target chassis communication protocol identifier exists that is identical to the target communication protocol identifier, then the chassis communication protocol information to which the target chassis communication protocol identifier belongs shall be used as the target chassis communication protocol information.

4. The chassis communication protocol configuration method according to claim 1, characterized in that, The method further includes: When the chassis operating parameters are normal, the target chassis communication protocol information is stored and its integrity is verified. If the target chassis communication protocol information passes the integrity verification, the configuration status will be changed to "configured".

5. The chassis communication protocol configuration according to claim 1, characterized in that, The chassis operating parameters include wheel speed and gear; The step of detecting the chassis operating parameters includes: If the wheel speed is equal to or greater than a preset wheel speed threshold, the chassis operating parameters are determined to be abnormal. If the gear position is not a stop gear, then the chassis operating parameters are determined to be abnormal; If the wheel speed is less than a preset wheel speed threshold and the gear is a stop gear, then the chassis operating parameters are determined to be normal.

6. The chassis communication protocol configuration method according to claim 1, characterized in that, The host computer obtains the target chassis communication protocol information based on the chassis data packets in the following manner: The host computer obtains the target communication matrix based on the chassis data message, and converts the target communication matrix into a preset format to obtain the target chassis communication protocol information.

7. The chassis communication protocol configuration method according to claim 1, characterized in that, The vehicle navigation terminal is connected to the host computer via a CAN bus, and the host computer is equipped with a parsing tool. The host computer sends the target chassis communication protocol information to the vehicle navigation terminal in the following manner: The host computer uses the UDS function in the parsing tool to generate a target message based on a preset identifier and the target chassis communication protocol information, and sends the target message to the vehicle navigation terminal through the CAN bus.

8. The chassis communication protocol configuration method according to claim 1, characterized in that, The vehicle navigation terminal includes a non-volatile memory, which has a dedicated area; The steps of storing and verifying the integrity of the target chassis communication protocol information include: The target chassis communication protocol information is stored in a dedicated area of ​​the non-volatile memory; The stored target chassis communication protocol information is obtained from the dedicated area, and the verification value of the stored target chassis communication protocol information is calculated to obtain the first verification value. Calculate the check value of the target chassis communication protocol information to obtain a second check value; If the first verification value is the same as the second verification value, then the target chassis communication protocol information is determined to have passed the integrity verification. If the first verification value is different from the second verification value, it is determined that the target chassis communication protocol information has failed the integrity verification.

9. The chassis communication protocol configuration method according to claim 1, characterized in that, The method further includes: When the configuration status is configured, the chassis data packets are parsed in real time through the chassis communication protocol information configured by the aftermarket navigation system to obtain chassis operation information, and the aftermarket navigation system performs real-time positioning based on the chassis operation information.

10. A chassis communication protocol configuration device, characterized in that, An apparatus for use in vehicle navigation terminals, wherein the vehicle navigation terminal is equipped with an aftermarket navigation system and is communicatively connected to a host computer, the apparatus comprising: The acquisition module is used to acquire the configuration status of the chassis communication protocol of the aftermarket navigation system; The configuration module is used to obtain chassis data packets and obtain the target communication protocol identifier from the chassis data packets when the configuration status is not configured. The target communication protocol identifier is matched with multiple chassis communication protocol information in a preset chassis communication protocol library; When no target chassis communication protocol information matching the target communication protocol identifier is found, the chassis data packet is sent to the host computer, so that the host computer obtains the target chassis communication protocol information based on the chassis data packet and sends the target chassis communication protocol information to the vehicle navigation terminal. When a target chassis communication protocol information matching the target communication protocol identifier exists, chassis operating parameters are obtained from the chassis data packet, and the chassis operating parameters are detected; in the case of an abnormal chassis operating parameter indicating that the vehicle is not stationary, the chassis data packet is sent to the host computer, so that the host computer obtains the target chassis communication protocol information based on the chassis data packet and sends the target chassis communication protocol information to the vehicle navigation terminal; Receive the target chassis communication protocol information sent by the host computer, and store and verify the integrity of the target chassis communication protocol information; If the target chassis communication protocol information passes the integrity verification, the configuration status will be changed to "configured".

11. A vehicle navigation terminal, characterized in that, It includes a processor and a memory, the memory storing a computer program, and the processor, when executing the computer program, implements the method of any one of claims 1 to 9.

12. A storage medium, characterized in that, The storage medium stores a computer program that, when executed by a processor, implements the method of any one of claims 1 to 9.