Vehicle communication parameter configuration method and device, equipment and storage medium

By automating the parsing of DBC files and converting them to MCAL format, the problems of time-consuming, labor-intensive, and error-prone vehicle communication parameter updates have been solved, achieving efficient and accurate parameter updates and ensuring the stability and security of the system.

CN119030960BActive Publication Date: 2025-11-25DONGFENG MOTOR GRP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411071636.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2025-11-25
Estimated Expiration
2044-08-06

AI Technical Summary

Technical Problem

In existing technologies, the process of updating vehicle communication parameters is time-consuming, labor-intensive, and prone to errors. It cannot meet the increasingly complex number of ECUs and communication needs, and lacks automation and flexibility.

Method used

By parsing the DBC file, the identifier and filter frame configuration data of the CAN communication node are obtained, automatically compared and converted into MCAL format, directly overwritten into the vehicle communication system, and compatibility testing is performed to ensure the accuracy and security of the update.

Benefits of technology

It improves the efficiency and accuracy of vehicle communication parameter updates, reduces manual maintenance work, enhances system stability and data security, and lowers maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119030960B_ABST
    Figure CN119030960B_ABST
Patent Text Reader

Abstract

The application discloses a vehicle communication parameter configuration method, device and equipment and a storage medium, and relates to the technical field of vehicle communication. The method comprises the following steps: firstly, analyzing a DBC file to obtain the identification of a CAN communication node and filter frame configuration data; then, comparing the obtained configuration data with backup communication system configuration parameters to identify configuration that needs to be updated; then, converting the configuration into an MCAL format and directly overwriting the configuration into the vehicle communication system; before the update is completed, restarting the system and performing compatibility testing to ensure that the update process is effective, and updating the backup table of the configuration parameters after the testing is passed to ensure the accuracy and safety of the configuration information. The vehicle communication parameter configuration method improves the update efficiency and accuracy through an automatic process, ensures the accuracy of the configuration and the stability of the system, reduces manual maintenance work, reduces maintenance costs, and enhances the safety and traceability of data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle communication technology, and in particular to a method, apparatus, device and storage medium for configuring vehicle communication parameters. Background Technology

[0002] In the modern automotive industry, with the increasing number and complexity of electronic control units (ECUs), vehicle communication systems have become increasingly important. Vehicle communication not only affects vehicle performance and safety but is also fundamental to realizing advanced technologies such as intelligent transportation and autonomous driving. Therefore, the efficiency, stability, and security of vehicle communication systems have become a focus for automakers and R&D personnel.

[0003] Vehicle communication systems are typically based on the CAN (Controller Area Network) protocol, using information exchange between ECUs to achieve various control functions. As vehicle functions are continuously added and updated, the communication parameters of the ECUs also need to be updated periodically to adapt to new functional requirements or improve performance. However, traditional manual update methods are not only time-consuming and labor-intensive but also prone to errors, affecting the stability and security of vehicle communication.

[0004] Faced with the aforementioned problems, achieving rapid, accurate, and automated updates of vehicle communication parameters has become a technical challenge. Existing manual update processes cannot meet the growing number of ECUs and complex communication needs. Therefore, designing an automated parameter update process to improve the efficiency of CAN communication filter frame configuration, reduce human error, and enhance the system's adaptability and flexibility has become an urgent technical problem to be solved. Summary of the Invention

[0005] The main objective of this application is to provide a method, apparatus, device, and storage medium for configuring vehicle communication parameters, aiming to solve the technical problem of how to design an automated parameter update process to improve the efficiency of CAN communication filter frame configuration, reduce human error, and enhance the adaptability and flexibility of the system.

[0006] To achieve the above objectives, this application provides a method for configuring vehicle communication parameters, the method comprising the following steps:

[0007] Obtain the DBC file;

[0008] Based on the DBC file, the communication configuration update information is obtained;

[0009] Based on the communication configuration update information, the communication parameters of the vehicle are configured to complete the automatic update of the vehicle communication system.

[0010] Optionally, before obtaining the communication configuration update information based on the DBC file, the method further includes:

[0011] obtaining authentication information and version information of the DBC file;

[0012] obtaining version information of a local communication configuration backup file when the authentication information is legal;

[0013] if the version information of the backup file and the version information of the DBC file meet a configuration update condition, performing the step of obtaining communication configuration update information according to the DBC file.

[0014] Optionally, the step of obtaining communication configuration update information according to the DBC file comprises:

[0015] obtaining CAN communication node identification and filter frame configuration data corresponding to the CAN communication node according to the DBC file;

[0016] obtaining communication configuration update information according to the filter frame configuration data and a communication system configuration parameter backup table.

[0017] Optionally, the step of obtaining CAN communication node identification and filter frame configuration data corresponding to the CAN communication node according to the DBC file comprises:

[0018] recognizing and recording CAN communication node identification in the DBC file through a DBC parsing script;

[0019] obtaining message frame definition information under the CAN communication node identification;

[0020] obtaining filter frame configuration data corresponding to the CAN communication node according to the message frame definition information.

[0021] Optionally, the step of obtaining communication configuration update information according to the filter frame configuration data and a communication system configuration parameter backup table comprises:

[0022] obtaining a to-be-updated configuration data table arranged according to a preset CAN communication node sequence according to the filter frame configuration data;

[0023] obtaining an original configuration data table arranged according to the preset CAN communication node sequence according to the communication system configuration parameter backup table;

[0024] comparing the to-be-updated configuration data table and the original configuration data table to obtain communication filter frame configuration update content;

[0025] converting the communication filter frame configuration update content into an MCAL format, and taking the converted MCAL file as communication configuration update information.

[0026] Optionally, the configuring the communication parameter of the vehicle according to the communication configuration update information comprises:

[0027] According to the communication configuration update information, a file path of the communication parameter update is determined.

[0028] The communication configuration update information is overwritten to the file path to complete the automatic update of the vehicle communication system.

[0029] Optionally, after the overwriting of the communication configuration update information to the file path, the method further comprises:

[0030] The vehicle communication system is restarted, and a configuration update compatibility test is performed.

[0031] When the compatibility test is passed, the communication system configuration parameter backup table is updated according to the communication configuration update information to complete the update of the configuration information backup.

[0032] In addition, to achieve the above-mentioned purpose, the present application further provides a vehicle communication parameter configuration device, which comprises:

[0033] A data acquisition module is configured to acquire a DBC file.

[0034] A data processing module is configured to obtain communication configuration update information according to the DBC file.

[0035] A configuration update module is configured to configure the communication parameter of the vehicle according to the communication configuration update information to complete the automatic update of the vehicle communication system.

[0036] In addition, to achieve the above-mentioned purpose, the present application further provides a vehicle communication parameter configuration device, which comprises a memory, a processor and a vehicle communication parameter configuration program stored in the memory and executable on the processor, and the vehicle communication parameter configuration program is configured to implement the steps of the vehicle communication parameter configuration method as described above.

[0037] In addition, to achieve the above-mentioned purpose, the present application further provides a storage medium, which stores a vehicle communication parameter configuration program, and the vehicle communication parameter configuration program implements the steps of the vehicle communication parameter configuration method as described above when executed by a processor.

[0038] The present application acquires a DBC file, obtains communication configuration update information according to the DBC file, and configures the communication parameter of the vehicle according to the communication configuration update information to complete the automatic update of the vehicle communication system.

[0039] In summary, the application obtains the identification of the CAN communication node and the filter frame configuration data by analyzing the DBC file, and then compares them with the backup communication system configuration parameters to identify the configuration that needs to be updated. Then the updates are converted into MCAL format and directly overwritten into the vehicle communication system. Before the update is completed, the system will restart and perform compatibility testing to ensure the effectiveness of the update process, and update the backup table of the configuration parameters after passing the test to ensure the accuracy and security of the configuration information. The vehicle communication parameter configuration method improves the update efficiency and accuracy through the automated process, ensures the accuracy of the configuration and the stability of the system, reduces the manual maintenance work, reduces the maintenance cost, and enhances the security and traceability of the data. BRIEF DESCRIPTION OF DRAWINGS

[0040] The accompanying drawings, which are incorporated herein and form part of the specification, illustrate embodiments consistent with the present application and, together with the description, further serve to explain the principles of the application.

[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the accompanying drawings needed to be used in the embodiments or prior art description will be briefly introduced as follows. Obviously, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.

[0042] Figure 1 The flowchart of the first embodiment of the vehicle communication parameter configuration method of the present application;

[0043] Figure 2 The flowchart of the second embodiment of the vehicle communication parameter configuration method of the present application;

[0044] Figure 3 The functional module diagram of the vehicle communication parameter configuration device of the present application;

[0045] Figure 4 The structural diagram of the terminal device of the hardware running environment involved in the embodiment scheme of the present application.

[0046] The implementation of the present application, functional features and advantages will be further described with reference to the accompanying drawings. DETAILED DESCRIPTION

[0047] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and not to limit the present application.

[0048] In order to better understand the technical solutions of the present application, the following will be described in detail in combination with the drawings and specific embodiments of the specification.

[0049] It should be noted that the execution subject of the embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone and the like, or an electronic device, a vehicle communication parameter configuration device and the like capable of realizing the above functions. The vehicle communication parameter configuration device is taken as an example to describe the embodiment and each of the following embodiments.

[0050] The embodiment of the present application provides a vehicle communication parameter configuration method, referring to Figure 1 , Figure 1 The flowchart of the first embodiment of the present application is shown in the figure.

[0051] In the embodiment, the vehicle communication parameter configuration method comprises:

[0052] Step S10: Obtain a DBC file.

[0053] It should be noted that the DBC file, full name Database CAN, is a file used to describe the data format in the CAN (Controller Area Network) network. The main function of the DBC file is to provide a standardized method to describe and analyze CAN messages, so that CAN message definitions can be shared and exchanged in different development environments, and data consistency between different devices and platforms is ensured. The DBC file defines the information of each frame message in CAN communication, such as message name, ID, message type, message period, data field length, signal definition and the like. It allows to identify part or all of the data in the CAN frame, including identification name, scaling, offset and definition information. The DBC file provides a standardized description method for data communication on the automobile CAN bus, so that different electronic control units (ECUs) can exchange data according to uniform rules.

[0054] It can be understood that the parsing process of the DBC file in the embodiment is the starting point of the automatic configuration process. By parsing the DBC file, the necessary message information can be automatically extracted. In the DBC file, the information of the message type that each node can receive or process is mainly distributed in the following parts: network node definition (BU): this part defines the name and attributes of each electronic control unit (ECU) in the CAN network, i.e., the node, although it does not directly list the message types processed by the node, but provides the basic information of the node; message frame definition (BO): BO record definition defines the specific messages transmitted on the CAN network, each message definition includes the CAN ID, size, sending node and other information of the message, and the receiving capability of the node usually corresponds to the message type it can send; filter rule (FILTER): if the DBC file contains a filter rule, the FILTER record will define the rules for the node to receive messages, which are based on the CAN ID or other attributes of the message.

[0055] It should be understood that in actual application, the software or firmware of the node will usually configure the filter rules of its CAN controller according to these definitions in the DBC file, so as to determine which message types the node can receive and process. The configuration of the node can also include the response logic to specific messages or signals, which is implemented based on the information provided in the DBC file.

[0056] Step S20: obtaining communication configuration update information according to the DBC file.

[0057] It should be noted that the existing CAN communication filter frame configuration process is usually performed manually by the developer according to the DBC file to generate relevant code, which not only has high technical requirements, but also is very tedious, and requires deep understanding of the CAN protocol and specific hardware. Manual configuration of filter frames increases the workload of developers in project development and later maintenance, and each time a node is added or modified in the CAN network, the filter rules need to be reconfigured, which undoubtedly increases the workload. In addition, since the configuration process relies on manual operation, there is a possibility of error. In order to overcome the above difficulties, the embodiment replaces manual operation with multiple automatic scripts to reduce the requirement of developers to understand the CAN protocol and hardware, and to improve the speed of the configuration update process.

[0058] In an embodiment, the obtaining of the communication configuration update information according to the DBC file comprises: obtaining CAN communication node identification and filter frame configuration data corresponding to the CAN communication node according to the DBC file; and obtaining the communication configuration update information according to the filter frame configuration data and the communication system configuration parameter backup table.

[0059] It can be understood that the communication configuration update information herein refers to the nodes participating in the configuration update in the current round of update and the corresponding node filter frame setting content. Obtaining the communication configuration update information generally includes two stages. In the first stage, the nodes participating in the configuration update and the corresponding configuration parameters of the nodes in the file are parsed through the corresponding OBC file parsing script, and a configuration update table is formed. In the second stage, the configuration parameter update table is compared with the locally stored configuration parameter backup, and the nodes with changed configuration and the change content can be obtained. According to the comparison result, a configuration update file in the MCAL format is generated, which is used as the communication configuration update information.

[0060] It should be understood that the MCAL provides a standardized hardware abstraction interface, so that the upper layer software can access hardware resources in a unified manner. The file in the MCAL format can be directly recognized and processed by the system, and the hardware configuration and initialization process is automated, which enables the parameter update process to be completed at one step.

[0061] Step S30: configuring the communication parameters of the vehicle according to the communication configuration update information to complete the automatic update of the vehicle communication system.

[0062] It can be understood that since the MCAL format communication configuration update information that can be directly overwritten into the corresponding node file path has been obtained in the foregoing steps, the update of the configuration parameters can be performed after the file path corresponding to each CAN node is determined.

[0063] In an embodiment, the communication configuration update information configures the communication parameters of the vehicle to complete the automatic update of the vehicle communication system, including: determining a file path of the communication parameter update according to the communication configuration update information; overwriting the communication configuration update information to the file path; restarting the vehicle communication system and performing a configuration update compatibility test; when the compatibility test passes, updating the communication system configuration parameter backup table according to the communication configuration update information to complete the update of the configuration information backup.

[0064] It should be noted that after the configuration parameters are overwritten, a compatibility test needs to be performed to ensure that the current configuration can be correctly used. When the test fails, the backup configuration parameters need to be rolled back to avoid the failure of the update process affecting the subsequent use.

[0065] It can be understood that before the vehicle is shipped, the manufacturer will define a series of test cases according to the functional requirements of the vehicle communication system, to ensure that all key functions and communication scenarios are covered. By calling these test cases, the index results and compatibility of the new configuration parameters under different environmental conditions can be simulated. For example, the new configuration parameters are tested, and the performance indicators under different environmental conditions, such as transmission rate, delay, packet loss rate, error rate, etc. are collected. By comparing the performance indicators before the configuration parameter update, it can be determined whether the current version of the configuration parameter is appropriate.

[0066] It should be understood that when the test passes, it can be considered that the current configuration update process is successful, so the locally saved backup configuration parameters can be updated together to ensure that the backup configuration parameters are consistent with the configuration parameters currently used in the vehicle communication system, avoiding problems caused by configuration differences, and saving the time of manually updating the backup information.

[0067] The embodiment provides a vehicle communication parameter configuration method. The embodiment first obtains a DBC file; obtains communication configuration update information according to the DBC file; and configures the communication parameters of the vehicle according to the communication configuration update information, to complete the automatic update of the vehicle communication system.

[0068] As can be seen from the above, the application parses the DBC file to obtain the identification of the CAN communication node and the filter frame configuration data, and then compares the backup communication system configuration parameters to identify the configuration that needs to be updated. Then, the update is converted into an MCAL format and directly overwritten into the vehicle communication system. Before the update is completed, the system will restart and perform a compatibility test to ensure the effectiveness of the update process, and update the backup table of the configuration parameters after passing the test, to ensure the accuracy and security of the configuration information. The vehicle communication parameter configuration method improves the update efficiency and accuracy through an automatic process, ensures the accuracy of the configuration and the stability of the system, reduces the manual maintenance work, reduces the maintenance cost, and enhances the security and traceability of the data.

[0069] Reference Figure 2 , Figure 2 FIG. 2 is a flowchart of a second embodiment of the vehicle communication parameter configuration method of the application. Based on the first embodiment described above, the second embodiment of the vehicle communication parameter configuration method of the application is proposed.

[0070] In the embodiment, the step S20 comprises:

[0071] Step S201: Identify and record the CAN communication node identification in the DBC file through the DBC parsing script.

[0072] It should be noted that the principle of DBC parsing script is based on the DBC (Database for CAN) file format. Since the DBC file is a standardized format, specific keywords and formats are used to organize information. In the specific process, the script first identifies and records the structure and format of the DBC file, including header information, message definition, signal definition, etc., and then according to the specification of the DBC file, the script parses the keywords in the file, such as BO (Bus Object, message definition) and SG (SignalGroup, signal definition), and then extracts the properties of each message and signal, including but not limited to CAN ID, message name, signal name, data length, start bit, data type, unit, etc., and then structures the data, converts the parsed data into a structured format such as dictionary, list or object, for further processing and analysis, and finally the script executes specific logic according to the parsing results, such as generating filtering rules, identifying communication nodes, extracting message frame definition information, etc. Through these principles, the DBC parsing script can automatically extract key information from the DBC file and provide structured data support for configuration updates of vehicle communication systems.

[0073] It can be understood that identifying node identification is not only for positioning data, but also to ensure that the correct configuration can be applied to the specific node in the subsequent steps, which is equivalent to only retaining the nodes participating in the update. In the subsequent steps, according to the CAN communication node sequence determined by the sorting of the nodes participating in the update here, it is convenient for the comparison and update of the subsequent configuration parameters.

[0074] Step S202: Obtain the message frame definition information under the CAN communication node identification.

[0075] It should be noted that each CAN node may need to receive or send different message frames, and the message frame definition information includes but is not limited to the ID, size, transmission frequency and contained signals of the message, etc. In the OBC file, the message frame definition information corresponding to each node participating in the configuration update is determined by the node ID.

[0076] Step S203: Obtain the filter frame configuration data corresponding to the CAN communication node according to the message frame definition information.

[0077] It can be understood that according to the message frame information and the communication needs of the node, it can be determined which message frames need to be received or sent by the node, so as to determine the filter frame configuration rule of the node, and according to the filter rule, a filter list is generated for each node, including the message ID list allowed to receive and the message ID list to be ignored, so as to obtain the filter frame configuration data corresponding to the CAN communication node.

[0078] Step S204: According to the filter frame configuration data, the to-be-updated configuration data table arranged according to the preset CAN communication node sequence is obtained.

[0079] Step S205: According to the communication system configuration parameter backup table, the original configuration data table arranged according to the preset CAN communication node sequence is obtained.

[0080] It should be noted that after the CAN nodes participating in the configuration update are obtained in the foregoing steps, the node update table can be constructed according to certain node ordering rules. Generally, if it is convenient for manual retrieval or checking, the node update table is sorted according to the identifiers or IDs of the nodes, which are usually in alphabetical order or numerical order. If it is for the convenience of rapid processing, the node update table is usually sorted according to the number of configuration change items, and the nodes with small update amounts are arranged in the front to facilitate the rapid use of part of the nodes.

[0081] It can be understood that the filter frame configuration data or the locally backed up configuration parameter table arranged according to the preset CAN communication node sequence can obtain a configuration parameter list arranged according to the logical or physical order of the CAN communication nodes, which is convenient for management and reference.

[0082] Step S206: The to-be-updated configuration data table and the original configuration data table are compared to obtain the communication filter frame configuration update content.

[0083] It should be noted that the configuration difference can be determined by comparing the new and old configuration data tables, for example, the same node may appear message information coverage, message information addition and deletion, and even part of the node is enabled or suspended. The update content can be accurately determined by the configuration difference, and the node and single rule change can be located.

[0084] It can be understood that in the embodiment, the comparison process is completely automated, and there is no human error, and the processing efficiency is high.

[0085] Step S207: The communication filter frame configuration update content is converted into the MCAL format, and the converted MCAL file is taken as the communication configuration update information.

[0086] It can be understood that the configuration update content obtained by comparison is converted into the MCAL (Microcontroller Abstraction Layer) format. The conversion process can accurately map the configuration in the comparison result to the structure of the MCAL file through a pre-established MCAL file template.

[0087] It should be understood that the MCAL format is designed for software components independent of specific microcontrollers, enabling software to run on different hardware platforms without modification. The generated MCAL file directly overwrites the configuration file path of the vehicle communication system as communication configuration update information, simplifying the processing flow and improving configuration update efficiency.

[0088] The embodiment provides a vehicle communication parameter configuration method. The embodiment realizes configuration update of a vehicle communication system through an automated process. First, a DBC parsing script is used to identify and record CAN communication node identifiers and message frame definition information. Then, filter frame configuration data is generated based on this information, and a configuration data table to be updated is constructed. Next, the configuration data table to be updated is compared with a backup original configuration data table to identify configuration differences that need to be updated. Finally, these differences are converted into MCAL format and directly overwritten into the configuration file path of the vehicle communication system to complete automated update. The entire process not only improves configuration update efficiency and accuracy, but also ensures cross-platform compatibility and system stability through standardized MCAL format.

[0089] In summary, the method brings a series of significant benefits by automatically parsing DBC files and updating vehicle communication parameters. First, the scheme greatly improves the speed and accuracy of configuration update, ensuring that the configuration of each node in the CAN network quickly and accurately reflects the latest communication requirements. Second, the automated process reduces human error and reduces the risk of system failure caused by improper manual configuration, thereby enhancing the stability and reliability of the entire vehicle communication system. In addition, by converting configuration update content into standardized MCAL format, cross-platform deployment and maintenance work is simplified. The automated test step further ensures the performance and security of the updated system, reducing on-site debugging and problem solving time. Ultimately, this scheme not only optimizes the maintenance process of the vehicle communication system and reduces long-term operating costs, but also supports continuous innovation and development of automotive technology by providing a more flexible and responsive update mechanism.

[0090] Reference Figure 3 The application also provides a vehicle communication parameter configuration device, which comprises:

[0091] A data acquisition module 10 is configured to obtain a DBC file.

[0092] A data processing module 20 is configured to obtain communication configuration update information based on the DBC file.

[0093] A configuration update module 30 is configured to configure communication parameters of the vehicle based on the communication configuration update information to complete automated update of the vehicle communication system.

[0094] In an embodiment, the data processing module 20 is further configured to obtain authentication information and version information of the DBC file; when the authentication information is legal, obtain version information of a local communication configuration backup file; and when the version information of the backup file and the version information of the DBC file meet a configuration update condition, perform the step of obtaining communication configuration update information according to the DBC file.

[0095] In an embodiment, the data processing module 20 is further configured to obtain CAN communication node identifiers and filter frame configuration data corresponding to the CAN communication nodes according to the DBC file; and obtain communication configuration update information according to the filter frame configuration data and the communication system configuration parameter backup table.

[0096] In an embodiment, the data processing module 20 is further configured to identify and record CAN communication node identifiers in the DBC file through a DBC parsing script; obtain message frame definition information under the CAN communication node identifiers; and obtain filter frame configuration data corresponding to the CAN communication nodes according to the message frame definition information.

[0097] In an embodiment, the data processing module 20 is further configured to obtain a to-be-updated configuration data table arranged in a preset CAN communication node sequence according to the filter frame configuration data; obtain an original configuration data table arranged in the preset CAN communication node sequence according to the communication system configuration parameter backup table; compare the to-be-updated configuration data table and the original configuration data table to obtain communication filter frame configuration update content; and convert the communication filter frame configuration update content into an MCAL format, and use the converted MCAL file as the communication configuration update information.

[0098] In an embodiment, the configuration update module 30 is further configured to determine a file path of communication parameter update according to the communication configuration update information; and overwrite the communication configuration update information to the file path to complete automatic update of the vehicle communication system.

[0099] In an embodiment, the configuration update module 30 is further configured to restart the vehicle communication system and perform a configuration update compatibility test; and when the compatibility test passes, update the communication system configuration parameter backup table according to the communication configuration update information to complete update of the configuration information backup.

[0100] The embodiment of the present application further provides a vehicle communication parameter configuration device, the device comprising: at least one processor; and a memory connected with the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the vehicle communication parameter configuration method in the above embodiment one.

[0101] Reference will now be made to the drawings, in which Figure 4 which shows a structural diagram of a vehicle communication parameter configuration device suitable for implementing the embodiment of the present application. The vehicle communication parameter configuration device in the embodiment of the present application can include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (Personal Digital Assistant), PADs (Portable Application Description), PMPs (Portable Media Player), vehicle-mounted terminals (for example, vehicle-mounted navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. Figure 4 The illustrated vehicle communication parameter configuration device is merely an example and should not impose any limitation on the functions and use range of the embodiment of the present application.

[0102] As Figure 4As shown, the vehicle communication parameter configuration device can include a processing device 1001 (e.g., a central processing unit, a graphics processing unit, etc.) that can perform various appropriate actions and processes according to programs stored in a read only memory (ROM) 1002 or loaded from a storage device 1003 into a random access memory (RAM) 1004. Various programs and data required for operation of the vehicle communication parameter configuration device are also stored in the RAM 1004. The processing device 1001, the ROM 1002, and the RAM 1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; the storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the vehicle communication parameter configuration device to communicate wirelessly or wired with other devices to exchange data. Although the vehicle communication parameter configuration device with various systems is shown in the figure, it should be understood that all the shown systems are not required to be implemented or possessed. More or less systems can be alternatively implemented or possessed.

[0103] In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts can be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a computer readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network through the communication device, or installed from the storage device 1003, or installed from the ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the methods of embodiments of the present disclosure are performed.

[0104] The vehicle communication parameter configuration device provided by the present disclosure adopts the vehicle communication parameter configuration method in the above embodiments, and can solve the technical problem in the art of how to design an automatic parameter updating process to improve the efficiency of CAN communication filter frame configuration, reduce human errors, and enhance the adaptability and flexibility of the system. Compared with the prior art, the vehicle communication parameter configuration device provided by the present disclosure has the same beneficial effects as the vehicle communication parameter configuration method provided by the above embodiments, and other technical features in the vehicle communication parameter configuration device are the same as the features disclosed in the previous embodiment method, which will not be repeated here.

[0105] It should be understood that various parts of the present application can be realized with hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0106] The above description is merely that of specific embodiments of the present application, but the scope of the present application is not limited thereto. Any person skilled in the art can easily conceive various changes or substitutions within the technical scope of the present application, and all such changes and substitutions should be encompassed within the scope of the present application. Therefore, the scope of the present application should be decided based on the scope of the claims.

[0107] The present application also provides a storage medium having a vehicle communication parameter configuration program stored thereon, the vehicle communication parameter configuration program, when executed by a processor, implementing the steps of the vehicle communication parameter configuration method according to any one of the above.

[0108] The storage medium provided by the present application may, for example, be a U disk, but is not limited to an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, system or device, or any combination thereof. More specific examples of the storage medium can include, but are not limited to, an electrical connection having one or more conductive wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present embodiment, the storage medium can be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, system or device. The program code contained in the storage medium can be transmitted in any suitable medium, including but not limited to an electrical wire, an optical cable, an RF (Radio Frequency) and the like, or any suitable combination of the above.

[0109] The above storage medium can be included in the vehicle communication parameter configuration device; or can exist separately and not be assembled into the vehicle communication parameter configuration device.

[0110] The computer readable storage medium described above carries one or more programs, when the one or more programs are executed by the vehicle communication parameter configuration device, the vehicle communication parameter configuration device is caused to: acquire a DBC file; obtain communication configuration update information according to the DBC file; and configure the communication parameter of the vehicle according to the communication configuration update information, so as to complete the automatic update of the vehicle communication system.

[0111] Computer program code for carrying out operations of the present application can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).

[0112] The flow diagrams and the block diagrams in the drawings are illustrations of architectures, functionalities, and operations of possible implementations of systems, methods, and computer program products according to various embodiments of present application. In this regard, each block in the flow diagrams or block diagrams can represent a module, a procedure, or a part of code, which comprises one or more executable instructions for implementing the specified functions. It should also be noted that, in some alternative implementations, the functions noted in the blocks can occur in a different order than that noted in the figures. For example, two blocks noted in succession can in fact be executed substantially concurrently or in the opposite order, depending on the functionality involved. It should also be noted that each block in the block diagrams and / or flow diagrams, and combinations of blocks in the block diagrams and / or flow diagrams, can be implemented by dedicated hardware-based systems that perform the specified functions or operations, or can be implemented by a combination of dedicated hardware-based systems and computer instructions.

[0113] The modules involved in the embodiments of the present application can be implemented in the form of software or in the form of hardware. In some cases, the name of the module does not constitute a limitation on the module itself.

[0114] The storage medium provided by the application is a computer readable storage medium, which stores computer readable program instructions (i.e. computer programs) for executing the vehicle communication parameter configuration method described above, and can solve the technical problem of how to design an automatic parameter updating process to improve the efficiency of CAN communication filtering frame configuration, reduce human errors and enhance the adaptability and flexibility of the system. Compared with the prior art, the computer readable storage medium provided by the application has the same beneficial effects as the vehicle communication parameter configuration method provided by the above-mentioned embodiments, and will not be described here.

[0115] The above is only part of the embodiments of the application, and does not limit the patent scope of the application. Any equivalent structural transformation, direct / indirect application in other related technical fields based on the technical concept of the application, or the contents of the specification and drawings are included in the patent protection scope of the application.

Claims

1. A method of configuring vehicle communication parameters, characterized by, The vehicle communication parameter configuration method comprises the following steps: Obtain a DBC file; Identify and record CAN communication node identifiers in the DBC file through a DBC parsing script; Obtain message frame definition information under the CAN communication node identifiers; Obtain filter frame configuration data corresponding to the CAN communication node according to the message frame definition information; Obtain a to-be-updated configuration data table arranged in a preset CAN communication node sequence according to the filter frame configuration data; Obtain an original configuration data table arranged in the preset CAN communication node sequence according to a communication system configuration parameter backup table; Compare the to-be-updated configuration data table with the original configuration data table to obtain communication filter frame configuration update content; Convert the communication filter frame configuration update content into an MCAL format, and use the converted MCAL file as communication configuration update information; Configure communication parameters of the vehicle according to the communication configuration update information to complete automatic update of the vehicle communication system.

2. The method of claim 1, wherein Before the step of obtaining communication configuration update information according to the DBC file, the method further comprises the following steps: Obtain authentication information and version information of the DBC file; When the authentication information is legal, obtain version information of a local communication configuration backup file; If the version information of the backup file and the version information of the DBC file meet configuration update conditions, execute the step of obtaining communication configuration update information according to the DBC file.

3. The method of claim 1, wherein The step of configuring communication parameters of the vehicle according to the communication configuration update information to complete automatic update of the vehicle communication system comprises the following steps: Determine a file path of communication parameter update according to the communication configuration update information; Overlay the communication configuration update information to the file path to complete automatic update of the vehicle communication system.

4. The method of claim 3, wherein After the step of overlaying the communication configuration update information to the file path, the method further comprises the following steps: Restart the vehicle communication system and perform a configuration update compatibility test; When the compatibility test is passed, update a communication system configuration parameter backup table according to the communication configuration update information to complete update of configuration information backup.

5. A vehicle communication parameter configuration apparatus characterized by comprising: The vehicle communication parameter configuration device comprises the following components: A data acquisition module configured to obtain a DBC file; A data processing module configured to identify and record CAN communication node identifiers in the DBC file through a DBC parsing script, obtain message frame definition information under the CAN communication node identifiers, obtain filter frame configuration data corresponding to the CAN communication node according to the message frame definition information, obtain a to-be-updated configuration data table arranged in a preset CAN communication node sequence according to the filter frame configuration data, obtain an original configuration data table arranged in the preset CAN communication node sequence according to a communication system configuration parameter backup table, compare the to-be-updated configuration data table with the original configuration data table to obtain communication filter frame configuration update content, and convert the communication filter frame configuration update content into an MCAL format, and use the converted MCAL file as communication configuration update information. The configuration updating module is configured to configure the communication parameters of the vehicle according to the communication configuration updating information, so as to complete the automatic updating of the vehicle communication system.

6. A vehicle communication parameter configuration apparatus characterized by comprising: The vehicle communication parameter configuration device comprises a memory, a processor, and a vehicle communication parameter configuration program stored in the memory and executable on the processor, and the vehicle communication parameter configuration program is configured to implement the steps of the vehicle communication parameter configuration method according to any one of claims 1 to 4.

7. A storage medium, characterized by The storage medium stores a vehicle communication parameter configuration program, and the vehicle communication parameter configuration program implements the steps of the vehicle communication parameter configuration method according to any one of claims 1 to 4 when executed by the processor.

Citation Information

Patent Citations

  • Vehicle data analysis method and device, computer equipment, storage medium and vehicle

    CN117812171A