A new energy vehicle configuration system and method, electronic device, and medium

CN116545855BActive Publication Date: 2026-08-18DEEPAL AUTOMOBILE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310621156.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-30
Publication Date
2026-08-18
Estimated Expiration
2043-05-30

AI Technical Summary

Technical Problem

[0004]例如,公开号为CN115991160A的中国专利文件,公开了一种区域控制器配置方法及相关设备,通过确定车辆外围设备信息;将所述设备重要等级高于预设等级的车辆外围设备关联至设置于车辆碰撞等级低于预设碰撞等级的车辆位置范围的区域控制器的硬件接口,目的是解决随着整车线束增多,区域控制器与车辆外围设备之间的线束布置复杂且安全性较低的问题

Benefits of technology

[0024]根据本申请实施例的一个方面,提供了一种计算机可读存储介质,其上存储有计算机可读指令,当所述计算机可读指令被计算机的处理器执行时,使计算机执行如上所述的新能源车配置方法。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116545855B_ABST
    Figure CN116545855B_ABST
Patent Text Reader

Abstract

The present application relates to a new energy vehicle configuration system, method, electronic device and medium, the new energy vehicle configuration system sends the configuration request to the external device or the second domain controller according to the configuration type through monitoring the configuration request, so that the external device or the second domain controller feeds back configuration information according to the configuration category and receives the configuration information; the present application sends the configuration request to the external device or the second domain controller through the first domain controller, and after the external device or the second domain controller feeds back the configuration information, the configuration information update of the first domain controller and the configuration information synchronization between the first domain controller and the second domain controller are realized, the domain controller is taken as a unified outlet or inlet, a large number of electronic control units are directly connected with the external device, the protocol conversion amount and the software load rate are greatly reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and more specifically to configuration systems, methods, electronic devices, and media for new energy vehicles. Background Technology

[0002] New energy vehicles refer to automobiles that use unconventional vehicle fuels (or use conventional vehicle fuels but employ new onboard power systems) as their power source, integrating advanced technologies in vehicle power control and drive, resulting in vehicles with advanced technical principles and new technologies and structures. New energy vehicles include: hybrid electric vehicles, pure electric vehicles, fuel cell electric vehicles, hydrogen engine vehicles, as well as natural gas vehicles, alcohol-ether vehicles, etc.

[0003] After a new energy vehicle starts, the configuration information of its electronic control unit (ECU) needs to be updated first. Based on the latest configuration information, the system diagnoses whether the vehicle itself has any faults or potential dangers. Since new energy vehicles include a large number of ECUs, if all of these ECUs are connected to a gateway, a significant amount of protocol conversion is required, undoubtedly increasing the software load.

[0004] For example, Chinese patent document CN115991160A discloses a region controller configuration method and related equipment. This method involves determining vehicle peripheral device information and associating vehicle peripheral devices with an importance level higher than a preset level with the hardware interface of the region controller located within a vehicle location range where the vehicle's collision level is lower than a preset collision level. The aim is to address the problem of complex and insecure wiring harness arrangement between the region controller and vehicle peripheral devices as the number of vehicle wiring harnesses increases. However, this patent does not solve the technical problem of how to update the configuration information. Summary of the Invention

[0005] In view of the shortcomings of the prior art described above, this application provides a new energy vehicle configuration system, method, electronic device and medium to reduce protocol conversion volume and software load rate.

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

[0007] According to one aspect of the embodiments of this application, a new energy vehicle configuration system is provided, comprising internal devices and external devices, wherein the internal devices include at least a first domain controller and a second domain controller, the first domain controller comprising:

[0008] A monitoring module is used to monitor configuration requests; the configuration request includes a configuration type and a configuration category corresponding to the configuration type; a sending module is used to send the configuration request to the external device or the second domain controller according to the configuration type, so that the external device or the second domain controller can provide configuration information according to the configuration category; a receiving module is used to receive the configuration information.

[0009] In one embodiment of this application, the monitoring module includes: a configuration request storage module for storing the configuration requests; a configuration request quantity statistics module for counting the number of configuration requests; a configuration request quantity judgment module for judging whether the number of configuration requests is greater than 0; and a configuration request reading module for reading the configuration requests according to a predetermined reading method if the number of configuration requests is greater than 0.

[0010] In one embodiment of this application, the configuration request storage module includes: a configuration request temporary storage module for temporarily storing the configuration request; and a configuration request classification module for classifying the configuration request according to the configuration category to obtain a classification queue.

[0011] In one embodiment of this application, the configuration request reading module includes: a configuration request priority judgment module, configured to determine the priority level of the configuration request if the number of configuration requests is greater than 0, wherein the priority level corresponds to the configuration category and the priority level includes high and low; a configuration request real-time reading module, configured to read the configuration request in real-time mode if the priority level is high; and a configuration request timed reading module, configured to read the configuration request in timed mode if the priority level is low.

[0012] In one embodiment of this application, the configuration request timed reading module includes: a configuration request sorting module, used to sort the classification queue according to time sequence to obtain a sorted queue; a configuration request partitioning module, used to partition the sorted queue into blocks to obtain a partitioned queue; the configuration request timed reading module reads one of the configuration requests in the partitioned queue in the timed reading method.

[0013] In one embodiment of this application, the configuration type includes external configuration and internal configuration, and the sending module includes: a first sending module, configured to send the configuration request to the external device via wireless communication when the configuration type is external configuration, so that the external device can provide feedback configuration information according to the configuration type; and a second sending module, configured to send the configuration request to the second domain controller via UART communication when the configuration type is internal configuration, so that the second domain controller can provide feedback configuration information according to the configuration type.

[0014] In one embodiment of this application, the process by which the external device feeds back configuration information according to the configuration category includes: receiving the configuration request, the configuration request including a source address; searching for the configuration information according to the configuration category using a predetermined search method; encrypting the configuration information according to a predetermined encryption algorithm; and feeding back the encrypted configuration information according to the source address.

[0015] In one embodiment of this application, the second sending module includes: a timestamp sending module, configured to send a timestamp request to the second domain controller via UART communication when the configuration type is internal configuration, the timestamp request including the configuration category and a corresponding first timestamp, so that the second domain controller can feed back the latest timestamp according to the configuration category, the latest timestamp being used as the second timestamp; a timestamp receiving module, configured to receive the second timestamp; a timestamp comparison module, configured to compare the first timestamp and the second timestamp to obtain a comparison result; an internal configuration judgment module, configured to determine whether internal configuration is required based on the comparison result; and an internal configuration request sending module, configured to send a configuration category request to the second domain controller via UART communication if internal configuration is required, the configuration category request including the configuration category, so that the second domain controller can feed back the configuration information according to the configuration category.

[0016] In one embodiment of this application, the process of determining whether internal configuration is required based on the comparison result includes: if the comparison result shows that the time point of the first timestamp is earlier than the time point of the second timestamp, it indicates that the configuration information in the second domain controller is the latest configuration information, and it is determined that internal configuration is required; otherwise, it is determined that internal configuration is not required.

[0017] In one embodiment of this application, the process by which the second domain controller feeds back the latest timestamp according to the configuration category includes: receiving the timestamp request, the timestamp request including a source address; searching for the second timestamp according to the configuration category using a predetermined lookup method; and feeding back the second timestamp according to the source address.

[0018] In one embodiment of this application, the process by which the second domain controller feeds back the configuration information according to the configuration category includes: receiving the configuration category request, the configuration category request including the source address and the second timestamp; outputting the configuration information corresponding to the second timestamp according to the configuration category; and feeding back the configuration information according to the source address.

[0019] In one embodiment of this application, the receiving module includes: an external configuration information receiving module for receiving configuration information of the external configuration; an internal configuration information receiving module for receiving configuration information of the internal configuration; a decryption module for decrypting the configuration information of the external configuration according to a predetermined decryption method; and a synchronization module for synchronizing the decrypted configuration information of the external configuration to a second domain controller.

[0020] In one embodiment of this application, the first domain controller includes: an external configuration information storage module for storing decrypted configuration information of the external configuration; an internal configuration information storage module for storing configuration information of the internal configuration; and a power supply module for supplying power to the first domain controller and the second domain controller.

[0021] In one embodiment of this application, prior to monitoring the configuration request, the process includes: triggering the configuration request based on the vehicle's condition.

[0022] According to one aspect of the embodiments of this application, a new energy vehicle configuration method is provided, comprising: monitoring a configuration request; the configuration request including a configuration type and a configuration category corresponding to the configuration type; sending the configuration request to an external device or a second domain controller according to the configuration type, so that the external device or the second domain controller provides configuration information according to the configuration category; and receiving the configuration information.

[0023] According to one aspect of the embodiments of this application, an electronic device is provided, including: one or more processors; and a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the electronic device enables the new energy vehicle configuration method as described above.

[0024] According to one aspect of the embodiments of this application, a computer-readable storage medium is provided, on which computer-readable instructions are stored, which, when executed by a computer's processor, cause the computer to perform the new energy vehicle configuration method as described above.

[0025] The beneficial effects of this invention are as follows: by sending a configuration request to an external device or a second domain controller through the first domain controller, and after the external device or the second domain controller provides feedback on the configuration information, the configuration information of the first domain controller is updated and the configuration information between the first domain controller and the second domain controller is synchronized. In this process, the domain controller acts as a unified exit or entry point, avoiding the direct connection of a large number of electronic control units to external devices, which greatly reduces the amount of protocol conversion and software load.

[0026] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0027] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings:

[0028] Figure 1 This is a schematic diagram illustrating an exemplary system architecture as shown in an exemplary embodiment of this application;

[0029] Figure 2 This is a block diagram illustrating a new energy vehicle configuration system as shown in an exemplary embodiment of this application;

[0030] Figure 3 This is a schematic diagram of a new energy vehicle configuration system shown in another exemplary embodiment of this application;

[0031] Figure 4 This is a flowchart illustrating a first domain controller updating configuration information via a TSP platform, as shown in an exemplary embodiment of this application.

[0032] Figure 5 This is a flowchart illustrating an exemplary embodiment of the present application showing a first domain controller updating configuration information via a PC or a mobile device.

[0033] Figure 6 This is a flowchart illustrating a specific embodiment of the present application showing the second domain controller synchronizing configuration information through the first domain controller;

[0034] Figure 7 A flowchart is shown that is suitable for implementing the new energy vehicle configuration method of the embodiments of this application;

[0035] Figure 8 A schematic diagram of the structure of a computer system suitable for implementing the electronic device of the present application is shown. Detailed Implementation

[0036] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0037] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.

[0038] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.

[0039] In this application, "multiple" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.

[0040] First, it's important to clarify that the Electronic Control Unit (ECU) is also known as the "vehicle computer" or "on-board computer." In terms of its purpose, the ECU is a dedicated microcomputer controller for automobiles, also called a dedicated automotive microcontroller. Like a regular microcontroller, it consists of a microprocessor (CPU), memory (ROM and RAM), input / output interfaces (I / O), analog-to-digital converters (A / D), and large-scale integrated circuits for shaping and driving. A domain controller, in a "domain" mode, refers to a server responsible for providing configuration information updates and synchronization services for each ECU. It acts like a gatekeeper for a unit and is called a "Domain Control Unit (DCU)." A domain control unit can contain multiple microcontrollers (MCUs) and microprocessors (MPUs).

[0041] The technical solutions of this application involve domain controllers and related technologies such as configuration information updates, which are specifically illustrated through the following embodiments:

[0042] Figure 1 This is a schematic diagram illustrating an exemplary system architecture as shown in an exemplary embodiment of this application.

[0043] Reference Figure 1As shown, the system architecture may include a first domain controller 101, an external device 102, and a second domain controller 103. The first domain controller 101 is either a microprocessor unit (MPU) or a microcontroller unit (MCU), and the second domain controller 102 is also either a microprocessor unit (MPU) or a microcontroller unit (MCU). Those skilled in the art can use the first domain controller 101 to send configuration requests to the external device 102 or the second domain controller 103 according to the configuration type. The external device 102 or the second domain controller 103 then provides configuration information based on the configuration type.

[0044] Indicatively, the first domain controller 101 sends a configuration request to the external device 102 or the second domain controller 103. After the external device 102 or the second domain controller 103 provides configuration information, the configuration information of the first domain controller 101 is updated, and the configuration information between the first domain controller 101 and the second domain controller 103 is synchronized. Through the above process, the first domain controller 101 acts as a unified exit or entry point, avoiding the direct connection of a large number of electronic control units to external devices, which greatly reduces the amount of protocol conversion and software load.

[0045] It should be noted that the new energy vehicle configuration method provided in this application embodiment is jointly executed by the first domain controller 101, the external device 102, and the second domain controller 103. Accordingly, the new energy vehicle configuration system is set in the first domain controller 101, the external device 102, and the second domain controller 103.

[0046] The implementation details of the technical solutions in the embodiments of this application are described in detail below:

[0047] Figure 2 This is a block diagram illustrating a new energy vehicle configuration system in an exemplary embodiment of this application. The device can be applied to... Figure 1 The implementation environment is shown, and correspondingly configured in the first domain controller 101, external device 102, and second domain controller 103. This system can also be applied to other exemplary implementation environments and specifically configured in other devices; this embodiment does not limit the implementation environment to which the device is applicable. (Refer to...) Figure 2 As shown, the new energy vehicle configuration system includes internal and external devices 102. The internal devices include at least a first domain controller 101 and a second domain controller 103. The first domain controller 101 includes at least a monitoring module 201, a sending module 202, and a receiving module 203, which are described in detail below:

[0048] Monitoring module 201 is used to monitor configuration requests.

[0049] The sending module 202 is used to send the configuration request to the external device 102 or the second domain controller 103 according to the configuration type, so that the external device 102 or the second domain controller 103 can provide configuration information according to the configuration category.

[0050] The receiving module 203 is used to receive the configuration information.

[0051] In one embodiment of this application, the configuration request includes a configuration type and a corresponding configuration category. The configuration type includes external configuration and internal configuration. Configuration information includes basic vehicle information, vehicle fault code information, vehicle status information, vehicle location information, and vehicle driving trajectory information, etc. The basic vehicle information includes the vehicle identification number (VIN), vehicle model information, and on-board unit (OTU) machine code, etc., which represent the three configuration categories of basic vehicle information. The vehicle location information includes vehicle coordinate information and vehicle orientation information, etc., which represent the two configuration categories of vehicle coordinate information. The vehicle status information includes the remaining battery power and vehicle battery temperature, etc., which represent the two configuration categories of vehicle status information. The configuration types for basic vehicle information, vehicle fault code information, and vehicle status information are internal configurations, while the configuration types for vehicle location information and vehicle driving trajectory information are external configurations. When performing external configuration, the vehicle location information and vehicle driving trajectory information of the external device 102 serve as the configuration source for the corresponding information in the first domain controller 101. When performing internal configuration, the vehicle location information and vehicle driving trajectory information stored in the first domain controller 101 serve as the configuration source for the corresponding information in the second domain controller 103. The vehicle basic information, vehicle fault code information, and vehicle status information stored in the second domain controller 103 serve as the configuration source for the corresponding information in the first domain controller 101.

[0052] In this embodiment, the monitoring module 201 adopts a real-time monitoring method. When the configuration type is external configuration, the sending module 202 sends a configuration request to the external device 102. When the configuration type is internal configuration, the sending module 202 sends a configuration request to the second domain controller 103.

[0053] In this embodiment, when the configuration category is vehicle coordinate information, the external device 102 feeds back the corresponding vehicle coordinate information according to the configuration category; when the configuration category is the remaining power of the vehicle battery, the second controller 103 feeds back the corresponding remaining power of the vehicle battery according to the configuration category.

[0054] In this embodiment, the receiving module 203 receives and stores configuration information.

[0055] In this embodiment, the first domain controller 101 and the second domain controller 103 have the same system architecture, thereby ensuring that the first domain controller 101 and the second domain controller 103 can be each other's configuration sources and synchronize configuration information.

[0056] In this embodiment, the first domain controller 101 serves as a unified exit or entry point, avoiding direct connection of a large number of electronic control units to external devices 102, which greatly reduces the amount of protocol conversion and software load.

[0057] In one embodiment of this application, the monitoring module includes a configuration request storage module, a configuration request quantity statistics module, a configuration request quantity judgment module, a configuration request reading module, and a configuration request update module.

[0058] The configuration request storage module is used to store the configuration requests.

[0059] The configuration request count module is used to count the number of configuration requests.

[0060] The configuration request quantity determination module is used to determine whether the number of configuration requests is greater than 0.

[0061] The configuration request reading module is used to read the configuration requests according to a predetermined reading method if the number of configuration requests is greater than 0.

[0062] In this embodiment, the predetermined reading methods include real-time reading and timed reading. After storing the configuration requests, the number of configuration requests is counted. If the number of configuration requests is greater than 0 and the priority level of the configuration requests is high, the configuration requests are read in real-time. If the number of configuration requests is greater than 0 and the priority level of the configuration requests is low, the configuration requests are read in timed reading. The above process changes the reading method according to the priority level of the configuration information to meet the real-time update requirements of configuration information with a high priority level.

[0063] In this embodiment, after the configuration information is read, the memory of the configuration request storage module can be updated by deleting the read configuration information, thereby improving the accuracy of the configuration request count.

[0064] In one embodiment of this application, the configuration request storage module includes a configuration request temporary storage module and a configuration request classification module.

[0065] The configuration request temporary storage module is used to temporarily store the configuration request.

[0066] The configuration request classification module is used to classify the configuration requests according to the configuration categories to obtain a classification queue.

[0067] In this embodiment, the configuration request temporary storage module is a queue stored in array form, or it can be a queue stored in singly linked list form. After classifying the configuration requests according to the configuration category, the configuration information storage queue is divided into multiple category queues. The number of category queues corresponds one-to-one with the configuration category. For example, when the storage queue contains both vehicle coordinate information and the remaining vehicle battery power, the storage queue is divided into two category queues: one category queue for storing vehicle coordinate information and the other for storing the remaining vehicle battery power. At this time, the first domain controller 101 can send configuration requests to the external device 101 and the second domain controller 102 according to the different configuration types of the two category queues, so that external configuration and internal configuration can be performed simultaneously, improving the efficiency of information configuration.

[0068] In one embodiment of this application, the configuration request reading module includes a configuration request priority judgment module, a configuration request priority judgment module, a configuration request real-time reading module, and a configuration request timed reading module.

[0069] The configuration request priority determination module is used to determine the priority level of the configuration request if the number of configuration requests is greater than 0. The priority level corresponds to the configuration category and includes high and low priority levels.

[0070] The configuration request real-time reading module is used to read the configuration request in real-time if the priority level is high.

[0071] The configuration request timed reading module is used to read the configuration request in a timed reading manner if the priority level is low.

[0072] In this embodiment, when the number of configuration requests in the classification queue is greater than 0, the priority level of the configuration requests in the classification queue is determined. If the configuration category of a configuration request requires real-time configuration, the priority level of the configuration request is high; if the configuration category of a configuration request does not require real-time configuration, the priority level of the configuration request is low. For example, if the configuration category of a configuration request is vehicle coordinate information, this configuration request requires real-time configuration, and its priority level is high. The configuration request is read in real-time to meet the requirement of real-time updating of configuration information with a high priority level. If the configuration category of a configuration request is vehicle battery temperature, this configuration request does not require real-time configuration, and its priority level is low. The configuration request is read in a timed reading manner. The timed reading period can be set according to the actual situation; for example, the timed reading period can be set to 1 second.

[0073] In one embodiment of this application, the configuration request timed reading module includes a configuration request sorting module and a configuration request partitioning module.

[0074] The configuration request sorting module is used to sort the classification queue according to the time sequence to obtain a sorted queue.

[0075] The configuration request partitioning module is used to divide the sorting queue into blocks, resulting in a block queue. The configuration request timed reading module reads one of the configuration requests from the block queue using the timed reading method.

[0076] In this embodiment, the configuration request sorting module sorts the configuration requests according to their trigger times to obtain a sorting queue.

[0077] In this implementation, the block size can be set according to actual conditions. For example, when the vehicle battery has 80% remaining charge, the block size is set to 5, meaning 5 configuration requests form one block queue. The configuration request timed reading module reads one configuration request from the block queue using the timed reading method. When the vehicle battery has 50% remaining charge, the block size is set to 2, meaning 2 configuration requests form one block queue. The configuration request timed reading module reads one configuration request from the block queue using the timed reading method, thus improving the efficiency of reading configuration information.

[0078] In one embodiment of this application, the configuration type includes external configuration and internal configuration, and the sending module includes a first sending module and a second sending module.

[0079] The first sending module is used to send the configuration request to the external device wirelessly when the configuration type is external configuration, so that the external device can provide configuration information according to the configuration type.

[0080] The second sending module is used to send the configuration request to the second domain controller via UART communication when the configuration type is internal configuration, so that the second domain controller can provide feedback configuration information according to the configuration category.

[0081] In this embodiment, the external device is a TSP platform, a PC, or a mobile device. When the configuration type is external configuration, the first sending module sends the configuration request to the TSP platform, PC, or mobile device through a 4G communication module or a WIFI module, etc. The TSP platform, PC, or mobile device feeds back configuration information according to the configuration category of the configuration information.

[0082] In this embodiment, when the configuration type is internal configuration, the second sending module sends the configuration request to the second domain controller via a 4G communication module or a WIFI module, etc., and the second domain controller feeds back configuration information according to the configuration category of the configuration information. MCUs are characterized by low power consumption, high reliability, and real-time performance, making them more suitable for handling real-time low-level control tasks, including data processing on CAN / CANFD buses. MPUs have strong computing power and high speed, making them more suitable for handling tasks such as in-vehicle multimedia entertainment, advanced driver assistance systems, and in-vehicle network data transmission. Since MPUs have stronger computing power and faster data processing speeds than MCUs, using an MPU as the first domain controller makes it a unified interface for updating configuration information with external devices, reducing protocol conversion and software load.

[0083] Figure 3 This is a schematic diagram illustrating a new energy vehicle configuration system, as shown in another exemplary embodiment of this application. Figure 3 As shown, the configuration system of a new energy vehicle includes an MCU and an MPU. The MCU stores information via EEPROM and NorFlash, while the MPU stores information via eMMC. The MPU wirelessly connects to external devices via a 4G communication module or a Wi-Fi module. The power module supplies power to the MCU and MPU. The configuration information synchronization method between the MCU and MPU is based on the UART protocol.

[0084] In one embodiment of this application, the process by which the external device feeds back configuration information according to the configuration category includes:

[0085] Receive the configuration request.

[0086] In this embodiment, the configuration request includes the source address and the configuration category.

[0087] The configuration information is located according to the configuration category using a predetermined search method.

[0088] In this embodiment, the configuration information is stored in the memory of the external device in the form of a binary tree. The predetermined search method can be either depth-first traversal or breadth-first traversal.

[0089] The configuration information is encrypted according to a predetermined encryption algorithm.

[0090] In this embodiment, the predetermined encryption algorithm is a symmetric encryption algorithm, which includes, but is not limited to, DES, 3DES, TDEA, Blowfish, RC2, RC4, RC5, IDEA, and SKIPJACK. The symmetric encryption algorithm and key can be obtained in advance through the TSP platform.

[0091] The encrypted configuration information is fed back based on the source address.

[0092] In this embodiment, the external device feeds back the configuration information to the first domain controller based on the source address of the first domain controller.

[0093] Figure 4 This is a flowchart illustrating an exemplary embodiment of the present application showing the first domain controller updating configuration information through the TSP platform, as shown below. Figure 4 As shown, the process of the first domain controller updating configuration information through the TSP platform includes: (1) the MPU establishes an HTTPS connection with the TSP platform through the 4G communication interface; (2) the MPU sends an update configuration request to the TSP platform; (3) after recognizing the vehicle configuration information, the TSP platform sends an XML file containing the vehicle configuration information back to the 4G communication module; (4) the 4G communication module forwards the received XML file to the MPU; (5) the MPU receives the XML file; (6) the MPU verifies the XML file using a digital signature, that is, the MPU uses the digital public key sent by the TSP platform to verify whether the digital signature is correct. When the file verification is successful, the MPU parses the XML file through the XML parser to obtain the configuration information requested by the MPU and writes the configuration information to the storage device. When the file verification fails, the MPU sends an update configuration request to the TSP platform again. The XML parser is an existing tool for parsing XML files, and the types of XML parsers and the parsing methods within the XML parser are not limited here.

[0094] Figure 5 This is a flowchart illustrating an exemplary embodiment of the present application showing how a first domain controller updates configuration information via a PC or a mobile device, such as... Figure 5As shown, the process of the first domain controller updating configuration information via a PC or removable device includes: (1) the MPU establishes a SOCKET connection with the PC via the WIFI communication module; (2) the MPU sends an update configuration request to the PC; (3) after receiving the update configuration request, the PC sends a cfg file back to the WIFI module; (4) the WIFI module forwards the received cfg file to the MPU; (5) the MPU receives the cfg file; (6) the MPU verifies the cfg file using a digital signature, that is, the MPU uses the digital public key sent by the TSP platform to verify whether the digital signature is correct. When the file verification is successful, the MPU parses the cfg file using a cfg parsing tool to obtain the configuration information requested by the MPU and writes the configuration information to the storage device. When the file verification fails, the MPU sends an update configuration request to the PC again. The cfg parsing tool can be the source code or a small program that can obtain the content of the cfg file. The types of cfg parsing tools and the parsing methods within the cfg parsing tools are not limited here.

[0095] In one embodiment of this application, the second sending module includes a timestamp sending module, a timestamp receiving module, a timestamp comparison module, an internal configuration judgment module, and an internal configuration request sending module.

[0096] The timestamp sending module is used to send the timestamp request to the second domain controller via UART communication when the configuration type is internal configuration. The timestamp request includes the configuration category and the corresponding first timestamp, so that the second domain controller can feed back the latest timestamp according to the configuration category, and the latest timestamp is used as the second timestamp.

[0097] The timestamp receiving module is used to receive the second timestamp.

[0098] The timestamp comparison module is used to compare the first timestamp with the second timestamp to obtain the comparison result.

[0099] The internal configuration determination module is used to determine whether internal configuration is required based on the comparison results.

[0100] The internal configuration request sending module is used to send the configuration category request to the second domain controller via UART communication if internal configuration is required. The configuration category request includes a configuration category, so that the second domain controller can respond with the configuration information according to the configuration category.

[0101] In this embodiment, when the configuration type is internal configuration, firstly, the timestamp sending module sends the timestamp request to the second domain controller via the 4G communication module or the WIFI communication module. After the second domain controller returns the second timestamp, the first timestamp and the second timestamp are compared. Based on the comparison result, it is determined whether internal configuration is required. When internal configuration is required, the internal configuration request sending module sends the configuration category request to the second domain controller via the 4G communication module or the WIFI communication module. The second domain controller returns the configuration information according to the configuration category.

[0102] In this embodiment, when internal configuration is not required, there is no need to send a configuration category request, further reducing protocol conversion volume and software load.

[0103] In one embodiment of this application, the process of determining whether internal configuration is required based on the comparison result includes: if the comparison result shows that the time point of the first timestamp is earlier than the time point of the second timestamp, it indicates that the configuration information in the second domain controller is the latest configuration information, and it is determined that internal configuration is required; otherwise, it is determined that internal configuration is not required.

[0104] In this embodiment, the configuration information includes a timestamp field, which indicates the latest update time of the currently held configuration information. The timestamp is data generated using digital signature technology. A digital signature is applied to the configuration information to generate a timestamp, proving that the configuration information existed before the signature time.

[0105] In one embodiment of this application, the process by which the second domain controller feeds back the latest timestamp based on the configuration category includes:

[0106] Receive the timestamp request.

[0107] In this embodiment, the timestamp request includes the source address and configuration category.

[0108] The second timestamp is located according to the configuration category using a predetermined lookup method.

[0109] In this embodiment, the configuration information and the second timestamp are stored in the memory of the external device in a binary tree storage method. The predetermined search method can be either depth-first traversal or breadth-first traversal.

[0110] Based on the source address, the second timestamp is fed back.

[0111] In this embodiment, the second domain controller feeds back the second timestamp based on the source address of the first domain controller.

[0112] In one embodiment of this application, the process by which the second domain controller feeds back the configuration information according to the configuration category includes:

[0113] Receive the configuration category request.

[0114] In this embodiment, the configuration category request includes the source address and the second timestamp;

[0115] Based on the configuration category, output the configuration information corresponding to the second timestamp.

[0116] In this embodiment, the second timestamp is compared with the timestamp of the configuration information in the second domain controller. If the timestamp of the configuration information is consistent with the second timestamp, the configuration information corresponding to the second timestamp is output, and the output configuration information is consistent with the configuration category.

[0117] The configuration information is fed back based on the source address.

[0118] In this embodiment, the second domain controller feeds back the configuration information based on the source address of the first domain controller.

[0119] In one embodiment of this application, the receiving module includes an external configuration information receiving module, an internal configuration information receiving module, an internal configuration information receiving module, a decryption module, and a synchronization module.

[0120] The external configuration information receiving module is used to receive the configuration information of the external configuration.

[0121] The internal configuration information receiving module is used to receive the configuration information of the internal configuration.

[0122] The decryption module is used to decrypt the configuration information of the external configuration according to a predetermined decryption method.

[0123] The synchronization module is used to synchronize the decrypted configuration information of the external configuration to the second domain controller.

[0124] In this embodiment, the predetermined decryption method corresponds to the predetermined encryption algorithm. The decryption method is the reverse process of the encryption algorithm. The MPU decrypts the configuration information of the external configuration according to the pre-obtained key and the corresponding decryption method.

[0125] Figure 6 This is a flowchart illustrating the synchronization of configuration information between a second domain controller and a first domain controller, as shown in an exemplary embodiment of this application. Figure 6 As shown, the process of the MCU sending a synchronization configuration request to the MPU includes:

[0126] (1) The MCU sends a timestamp request for the configuration information that needs to be synchronized to the MPU; (2) The MPU returns the timestamp of the configuration information it holds to the MCU; (3) The MCU compares the two timestamps. If the MCU's timestamp is earlier than the MPU's timestamp, it means that the configuration information in the MPU is the latest configuration information and needs to be synchronized; (4) The MCU sends a configuration synchronization request to the MPU; (5) The MPU sends the configuration information to the MCU. Through the above process, the MPU will synchronize the configuration information updated from the external device to the MCU.

[0127] In one embodiment of this application, the first domain controller includes an external configuration information storage module, an internal configuration information storage module, and a power supply module.

[0128] The external configuration information storage module is used to store the decrypted configuration information of the external configuration.

[0129] In this embodiment, the external configuration information storage module is an EMMC (Embedded Multi Media Card), which features large capacity and high communication speed.

[0130] The internal configuration information storage module is used to store the configuration information of the internal configuration.

[0131] In this embodiment, the internal configuration information storage module is an EEPROM (Electrically Erasable Programmable Read-Only Memory), a type of storage chip that can retain data even when power is off. The EEPROM contains five configuration sets, which store basic vehicle information, vehicle fault code information, vehicle status information, vehicle location information, and vehicle driving trajectory information, respectively. NorFlash features flexible access and non-volatility. The NorFlash also contains five configuration sets, storing basic vehicle information, vehicle fault code information, vehicle status information, vehicle location information, and vehicle driving trajectory information, respectively.

[0132] The power module is used to power the first domain controller and the second domain controller.

[0133] In one embodiment of this application, prior to monitoring the configuration request, the process includes: triggering the configuration request based on the vehicle's condition.

[0134] In this embodiment, the vehicle status includes vehicle start-up status, vehicle scrapping status, and vehicle major modification status. When the vehicle is in the start-up status, configuration requests for vehicle fault code information, vehicle status information, vehicle location information, and vehicle driving trajectory information are triggered. When the vehicle is in the scrapping status or major modification status, configuration requests for vehicle basic information are triggered. The MPU can configure the vehicle basic information by sending a configuration request to the MCU. Before the MPU sends a configuration request to the MCU to configure the vehicle basic information, the vehicle basic information update process includes: (1) the PC is connected to the MCU via the CAN bus; (2) the PC sends a message containing configuration information to the MCU; (3) the MCU receives the configuration information and configures the vehicle basic information according to the configuration information.

[0135] The following describes method embodiments of this application, which can be applied to the new energy vehicle configuration system described in the above embodiments of this application. For details not disclosed in the method embodiments of this application, please refer to the embodiments of the new energy vehicle configuration system described above.

[0136] Figure 7 This is a flowchart illustrating a new energy vehicle configuration method according to an exemplary embodiment of this application. This new energy vehicle configuration method can be executed by a processing device, which may be... Figure 1 The combination shown is a first domain controller 101, an external device 102, and a second domain controller 103. (Refer to...) Figure 7 As shown, the new energy vehicle configuration method includes at least steps S710 to S730, which are detailed below:

[0137] In step S710, the configuration request is monitored.

[0138] In this embodiment, the configuration request includes a configuration type and a corresponding configuration category. The configuration type includes external configuration and internal configuration. Configuration information includes basic vehicle information, vehicle fault code information, vehicle status information, vehicle location information, and vehicle driving trajectory information, etc. Basic vehicle information includes the vehicle identification number (VIN), vehicle model information, and onboard terminal machine code, etc., which represent the three configuration categories of basic vehicle information. Vehicle location information includes vehicle coordinate information and vehicle orientation information, etc., which represent the two configuration categories of vehicle coordinate information. Vehicle status information includes remaining battery power and vehicle battery temperature, etc., which represent the two configuration categories of vehicle status information. The configuration types for basic vehicle information, vehicle fault code information, and vehicle status information are internal configurations, while the configuration types for vehicle location information and vehicle driving trajectory information are external configurations. When performing external configuration, the vehicle location information and vehicle trajectory information of external device 102 serve as the configuration source for the corresponding information in the first domain controller 101. When performing internal configuration, the vehicle location information and vehicle trajectory information stored in the first domain controller 101 serve as the configuration source for the corresponding information in the second domain controller 103; the vehicle basic information, vehicle fault code information, and vehicle status information stored in the second domain controller 103 serve as the configuration source for the corresponding information in the first domain controller 101. The system structures of the first domain controller 101 and the second domain controller 103 are identical, thereby ensuring that the first domain controller 101 and the second domain controller 103 can serve as configuration sources for each other and synchronize configuration information. The monitoring module 201 adopts a real-time monitoring method.

[0139] In step S720, the configuration request is sent to the external device or the second domain controller according to the configuration type, so that the external device or the second domain controller can provide configuration information according to the configuration category.

[0140] In this embodiment, when the configuration type is external configuration, the sending module 202 sends a configuration request to the external device 102; when the configuration type is internal configuration, the sending module 202 sends a configuration request to the second domain controller 103.

[0141] In this embodiment, when the configuration category is vehicle coordinate information, the external device 102 feeds back the corresponding vehicle coordinate information according to the configuration category; when the configuration category is the remaining power of the vehicle battery, the second controller 103 feeds back the corresponding remaining power of the vehicle battery according to the configuration category.

[0142] In step S730, the configuration information is received.

[0143] In this embodiment, the first domain controller 101 serves as a unified exit or entry point, avoiding direct connection of a large number of electronic control units to external devices 102, which greatly reduces the amount of protocol conversion and software load.

[0144] It should be noted that the new energy vehicle configuration method provided in the above embodiments and the new energy vehicle configuration system provided in the above embodiments belong to the same concept. The specific ways in which each module and unit performs operations have been described in detail in the method embodiments, and will not be repeated here. In practical applications, the new energy vehicle configuration system provided in the above embodiments can be assigned to different functional modules as needed, that is, the internal structure of the system can be divided into different functional modules to complete all or part of the functions described above, and this is not a limitation here.

[0145] According to one aspect of the embodiments of this application, an electronic device is provided, including: one or more processors; and a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the electronic device enables the new energy vehicle configuration method provided in the above embodiments.

[0146] Figure 8 A schematic diagram of a computer system suitable for implementing the embodiments of this application is shown. It should be noted that... Figure 8 The computer system of the electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.

[0147] like Figure 8 As shown, the computer system includes a Central Processing Unit (CPU) 801, which can perform various appropriate actions and processes, such as executing the methods described in the above embodiments, based on programs stored in Read-Only Memory (ROM) 802 or programs loaded from storage portion 808 into Random Access Memory (RAM) 803. The RAM 803 also stores various programs and data required for system operation. The CPU 801, ROM 802, and RAM 803 are interconnected via a bus 804. An Input / Output (I / O) interface 805 is also connected to the bus 804.

[0148] The following components are connected to I / O interface 805: an input section 806 including a keyboard, mouse, etc.; an output section 807 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 808 including a hard disk, etc.; and a communication section 809 including a network interface card such as a LAN (Local Area Network) card, modem, etc. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to I / O interface 805 as needed. A removable medium 811, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on drive 810 as needed so that computer programs read from it can be installed into storage section 808 as needed.

[0149] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program including a computer program for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 809, and / or installed from removable medium 811. When the computer program is executed by central processing unit (CPU) 801, it performs various functions defined in the system of this application.

[0150] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying a computer-readable computer program. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.

[0151] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. Each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated 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 or flowchart, and combinations of blocks in a block diagram or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0152] The units described in the embodiments of this application can be implemented in software or hardware, and the described units can also be located in a processor. The names of these units do not necessarily limit the specific unit itself.

[0153] Another aspect of this application provides a computer-readable storage medium storing computer-readable instructions thereon. When these computer-readable instructions are executed by a computer's processor, the computer performs the new energy vehicle configuration method provided in the above embodiments. This computer-readable storage medium may be included in the electronic device described in the above embodiments, or it may exist independently and not be assembled into the electronic device.

[0154] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of this application, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.

[0155] Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, touch terminal, or network device, etc.) to execute the method according to the embodiments of this application.

[0156] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein.

[0157] It should be understood that the above content is only a preferred exemplary embodiment of this application and is not intended to limit the implementation of this application. Those skilled in the art can easily make corresponding modifications or alterations based on the main concept and spirit of this application. Therefore, the scope of protection of this application should be determined by the scope of protection claimed in the claims.

Claims

1. A new energy vehicle configuration system, comprising internal devices and external devices, wherein the internal devices include at least a first domain controller and a second domain controller, characterized in that, The first domain controller includes: The monitoring module is used to monitor configuration requests; the configuration request includes a configuration type and a configuration category corresponding to the configuration type. A sending module is configured to send the configuration request to the external device or the second domain controller according to the configuration type, so that the external device or the second domain controller can provide feedback configuration information according to the configuration category; if the configuration type includes external configuration and internal configuration, the sending module includes: a first sending module, configured to send the configuration request to the external device wirelessly when the configuration type is external configuration, so that the external device can provide feedback configuration information according to the configuration category; a second sending module, configured to send the configuration request to the second domain controller via UART communication when the configuration type is internal configuration, so that the second domain controller can provide feedback configuration information according to the configuration category; wherein, the second sending module includes: a timestamp sending module, configured to send the timestamp sending module when the configuration type is internal configuration. The system uses UART communication to send a timestamp request to the second domain controller. The timestamp request includes the configuration category and a corresponding first timestamp, so that the second domain controller can return the latest timestamp based on the configuration category. The latest timestamp is used as the second timestamp. A timestamp receiving module is used to receive the second timestamp. A timestamp comparison module is used to compare the first timestamp and the second timestamp to obtain a comparison result. An internal configuration judgment module is used to determine whether internal configuration is needed based on the comparison result. An internal configuration request sending module is used to send a configuration category request to the second domain controller via UART communication if internal configuration is needed. The configuration category request includes the configuration category, so that the second domain controller can return the configuration information based on the configuration category. A receiving module is used to receive the configuration information.

2. The new energy vehicle configuration system according to claim 1, characterized in that, The monitoring module includes: A configuration request storage module is used to store the configuration request; The configuration request count module is used to count the number of configuration requests. The configuration request count determination module is used to determine whether the number of configuration requests is greater than 0; The configuration request reading module is used to read the configuration requests according to a predetermined reading method if the number of configuration requests is greater than 0.

3. The new energy vehicle configuration system according to claim 2, characterized in that, The configuration request storage module includes: A configuration request temporary storage module is used to temporarily store the configuration request; The configuration request classification module is used to classify the configuration requests according to the configuration categories to obtain a classification queue.

4. The new energy vehicle configuration system according to claim 3, characterized in that, The configuration request reading module includes: A configuration request priority determination module is used to determine the priority level of the configuration request if the number of configuration requests is greater than 0. The priority level corresponds to the configuration category and includes high and low priority levels. The configuration request real-time reading module is used to read the configuration request in real-time if the priority level is high. The configuration request timed reading module is used to read the configuration request in a timed reading manner if the priority level is low.

5. The new energy vehicle configuration system according to claim 4, characterized in that, The configuration request timed reading module includes: Configure the request sorting module to sort the classification queue according to the time sequence to obtain the sorted queue; The configuration request partitioning module is used to partition the sorting queue into blocks to obtain a block queue; the configuration request timed reading module reads a configuration request from the block queue in the timed reading method.

6. The new energy vehicle configuration system according to claim 1, characterized in that, The process by which the external device feeds back configuration information based on the configuration category includes: Receive the configuration request, which includes the source address; The configuration information is retrieved according to the configuration category using a predetermined search method; The configuration information is encrypted according to a predetermined encryption algorithm; The encrypted configuration information is fed back based on the source address.

7. The new energy vehicle configuration system according to claim 1, characterized in that, Based on the comparison results, the process of determining whether internal configuration is required includes: If the comparison result shows that the time point of the first timestamp is earlier than the time point of the second timestamp, it indicates that the configuration information in the second domain controller is the latest configuration information, and it is determined that internal configuration is required; otherwise, it is determined that internal configuration is not required.

8. The new energy vehicle configuration system according to claim 1, characterized in that, The process by which the second domain controller returns the latest timestamp based on the configuration category includes: Receive the timestamp request, the timestamp request including the source address; Based on the configuration category, the second timestamp is located using a predetermined lookup method; Based on the source address, the second timestamp is fed back.

9. The new energy vehicle configuration system according to claim 1, characterized in that, The process by which the second domain controller feeds back the configuration information based on the configuration category includes: Receive the configuration category request, which includes the source address and the second timestamp; Based on the configuration category, output the configuration information corresponding to the second timestamp; The configuration information is fed back based on the source address.

10. The new energy vehicle configuration system according to claim 6, characterized in that, The receiving module includes: An external configuration information receiving module is used to receive the configuration information of the external configuration. An internal configuration information receiving module is used to receive the configuration information of the internal configuration. The decryption module is used to decrypt the configuration information of the external configuration according to a predetermined decryption method; The synchronization module is used to synchronize the decrypted configuration information of the external configuration to the second domain controller.

11. The new energy vehicle configuration system according to claim 10, characterized in that, The first domain controller includes: An external configuration information storage module is used to store the decrypted configuration information of the external configuration. An internal configuration information storage module is used to store the configuration information of the internal configuration; The power module is used to power the first domain controller and the second domain controller.

12. The new energy vehicle configuration system according to any one of claims 1-11, characterized in that, Before monitoring configuration requests, include: The configuration request is triggered based on the vehicle's condition.

13. A method for configuring a new energy vehicle using a new energy vehicle configuration system as described in any one of claims 1-12, characterized in that, include: Monitoring configuration requests; the configuration request includes a configuration type and a corresponding configuration category; The configuration request is sent to the external device or the second domain controller according to the configuration type, so that the external device or the second domain controller can return configuration information according to the configuration category; Receive the configuration information.

14. An electronic device, characterized in that, include: One or more processors; A storage device for storing one or more programs, which, when executed by one or more processors, cause the electronic device to implement the new energy vehicle configuration method as described in claim 13.

15. A computer-readable storage medium, characterized in that, It stores computer-readable instructions, which, when executed by the computer's processor, cause the computer to perform the new energy vehicle configuration method as described in claim 13.

Citation Information

Patent Citations

  • Area controller configuration method and related equipment

    CN115991160A

  • In-vehicle communication system, domain master, and firmware update method

    CN108347349A