ECU upgrade method, device and readable storage medium

The ECU upgrade method addresses the challenge of diverse vehicle types and changing demands by using a general-purpose tool to perform upgrades based on encapsulated files, ensuring flexibility and efficiency without duplicating programs.

JP2024539825AActive Publication Date: 2024-10-31BYD CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2024516576
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-12-06
Filing Date
2022-11-11
Publication Date
2024-10-31
Estimated Expiration
2042-11-11

AI Technical Summary

Technical Problem

The diversity of vehicle types and continuous changes in upgrade demands necessitate duplicating ECU upgrade programs, leading to a suboptimal overall upgrade effect.

Method used

An ECU upgrade method that involves acquiring a set encapsulation file containing vehicle type information and upgrade content, obtaining upgrade process information from a configuration memory, and performing the upgrade process based on this information, using a general-purpose ECU upgrade tool that integrates a basic upgrade module, development module, and test module, with authorization techniques to ensure security and confidentiality.

Benefits of technology

This method allows for universal ECU upgrades across different vehicle models and demands without duplicating upgrade programs, enhancing flexibility, reducing development costs, and improving upgrade efficiency and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024539825000001_ABST
    Figure 2024539825000001_ABST
Patent Text Reader

Abstract

The ECU upgrade method includes a step of acquiring a set first encapsulation file, in which first vehicle model information and first upgrade content related information corresponding to the first vehicle model information are encapsulated; a step of acquiring the first vehicle model information and the first upgrade content related information based on the first encapsulation file; a step of acquiring first upgrade process related information corresponding to the first vehicle model information from a setting memory based on the first vehicle model information; and a step of performing an ECU upgrade process on a vehicle having the first vehicle model information based on the first upgrade process related information and the first upgrade content related information.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] (Reference to Related Applications) This application claims priority to a Chinese patent application bearing application number 202111481969.1 and entitled "ECU upgrade method, apparatus and readable storage medium" filed with the China National Intellectual Property Office on December 6, 2021, the entire contents of which are incorporated herein by reference.

[0002] TECHNICAL FIELD The embodiments of the present disclosure relate to the technical field of software upgrade, and more particularly, to an ECU upgrade method, apparatus, and readable storage medium. [Background technology]

[0003] Software is an important component of an automobile controller. During the development stage, the production stage of an automobile manufacturer, and the after-sales service stage, both automobile controller suppliers and automobile manufacturers have a demand for software updates and upgrades. For example, by upgrading the software of an ECU (Electronic Control Unit, also called an electronic control unit, driving computer, on-board computer, etc.), it is possible to achieve the purpose of fixing bugs, adding functions, etc.

[0004] Currently, according to a specific vehicle model and the corresponding upgrade needs, a corresponding ECU upgrade program is intentionally designed, and an ECU upgrade can be carried out for the vehicle model based on the program.

[0005] However, due to the diversity of vehicle models and the continuous changes in upgrade demand, it is necessary to duplicate the design of corresponding upgrade programs, so the overall upgrade effect is not high. Summary of the Invention

[0006] One objective of the embodiments of the present disclosure is to provide a new technical means for ECU upgrade.

[0007] An ECU upgrade method according to a first aspect of the present disclosure includes the steps of: acquiring a set first encapsulation file, in which first vehicle model information and first upgrade content related information corresponding to the first vehicle model information are encapsulated; acquiring the first vehicle model information and the first upgrade content related information based on the first encapsulation file; acquiring first upgrade process related information corresponding to the first vehicle model information from a setting memory based on the first vehicle model information; and performing an ECU upgrade process on a vehicle having the first vehicle model information based on the first upgrade process related information and the first upgrade content related information.

[0008] Preferably, the first upgrade content related information includes upgrade content and upgrade parameters, the upgrade parameters include a physical addressing identifier ID, a function addressing ID, a response ID, a write key, and a CAN bus baud rate, and the upgrade content includes project chip information, a project code, and a vehicle model key.

[0009] Preferably, the step of obtaining the first upgrade process related information corresponding to the first vehicle model information from the configuration memory includes: if the current upgrade mode corresponds to the developer mode, obtaining the first upgrade process related information corresponding to the first vehicle model information stored in the local memory; and if the current upgrade mode does not correspond to the developer mode, obtaining the first upgrade process related information corresponding to the first vehicle model information stored in a remote server, wherein both the local memory and the remote server store a configuration mapping relationship between the vehicle model information and the upgrade process related information.

[0010] Preferably, before the step of acquiring first upgrade process related information corresponding to the first vehicle model information stored in the local memory, when the current upgrade mode corresponds to the developer mode, the method further includes the steps of acquiring the first vehicle model information in response to a selection operation corresponding to the first vehicle model information, acquiring the corresponding upgrade process related information in response to an operation of editing the upgrade process related information, and constructing a mapping relationship between the first vehicle model information and the acquired upgrade process related information and storing the constructed mapping relationship in the local memory.

[0011] Preferably, the step of performing ECU upgrade processing on a vehicle having the first vehicle model information based on the first upgrade process related information and the first upgrade content related information includes a step of performing ECU upgrade processing on a vehicle having the first vehicle model information based on the first upgrade process related information and the first upgrade content related information and a set test abnormality condition when the current upgrade mode corresponds to the developer mode.

[0012] Preferably, after the step of performing an ECU upgrade process on a vehicle having the first vehicle model information based on a set test abnormality situation, the method further includes the steps of obtaining a first upgrade result, determining whether the first upgrade result is the same as a set upgrade result corresponding to the test abnormality situation, and if the first upgrade result is the same as the set upgrade result, storing the setting mapping relationship stored in the local memory in the remote server.

[0013] Preferably, the test abnormal conditions include an abnormal message, an error check code, a high CAN bus load, and continuous writes.

[0014] Preferably, before the step of obtaining the set first encapsulation file, when the current upgrade mode corresponds to a developer mode, the method further includes the steps of obtaining the first vehicle model information in response to a selection operation corresponding to the first vehicle model information, obtaining the first upgrade content related information in response to an operation of editing upgrade content related information, and performing an encapsulation process on the first vehicle model information and the first upgrade content related information in response to a set encapsulation command corresponding to the first vehicle model information to obtain the first encapsulation file.

[0015] Preferably, after the step of obtaining the first upgrade content related information, the method further includes the steps of storing a mapping relationship between the first vehicle model information and the first upgrade content related information in a remote server, obtaining the first vehicle model information in response to a selection operation corresponding to the first vehicle model information, obtaining the first upgrade content related information corresponding to the first vehicle model information from the remote server, and performing an encapsulation process on the first vehicle model information and the first upgrade content related information in response to a setting encapsulation command corresponding to the first vehicle model information based on the obtained first upgrade content related information to obtain the first encapsulated file.

[0016] An ECU upgrade device according to a second aspect of the present disclosure includes a first acquisition module that acquires a set first encapsulation file, in which first vehicle model information and first upgrade content related information corresponding to the first vehicle model information are encapsulated; a second acquisition module that acquires the first vehicle model information and the first upgrade content related information based on the first encapsulation file; a third acquisition module that acquires first upgrade process related information corresponding to the first vehicle model information from a setting memory based on the first vehicle model information; and a processing module that performs an ECU upgrade process on a vehicle having the first vehicle model information based on the first upgrade process related information and the first upgrade content related information.

[0017] An ECU upgrade device according to a third aspect of the present disclosure includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to realize the method according to the first aspect of the present disclosure.

[0018] An ECU upgrade system according to an embodiment of the fourth aspect of the present disclosure includes a host computer and a vehicle, the host computer including an ECU upgrade apparatus according to the second or third aspect of the present disclosure, and the vehicle including an ECU.

[0019] A computer-readable storage medium according to a fifth aspect of the present disclosure stores a computer program that causes a processor to implement the method according to the first aspect of the present disclosure.

[0020] One beneficial effect of the embodiment of the present disclosure is to obtain a set first encapsulation file, in which first vehicle model information and first upgrade content related information corresponding to the first vehicle model information are encapsulated, obtain the first vehicle model information and the first upgrade content related information based on the first encapsulation file, obtain the first upgrade process related information corresponding to the first vehicle model information from the set memory based on the first vehicle model information, and perform ECU upgrade processing for a vehicle having the first vehicle model information based on the first upgrade process related information and the first upgrade content related information. As can be seen from this, by introducing an encapsulation file in which vehicle model information and corresponding upgrade content related information are encapsulated, it is possible to deal with the diversification of vehicle models and the various upgrade needs. This embodiment can obtain upgrade content related information and upgrade process related information corresponding to a vehicle model based on the encapsulation file, and further perform ECU upgrade for the vehicle of the vehicle model based on the encapsulation file. This universal upgrade method is applicable to the purpose of ECU upgrade for various vehicle models and various upgrade needs, and does not need to duplicate the intentional design of the upgrade program, so that the overall upgrade effect can be improved.

[0021] Other features and advantages of the embodiments of the present disclosure will become apparent from the following detailed description of exemplary embodiments of the present disclosure, taken in conjunction with the drawings. [Brief description of the drawings]

[0022] The drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of embodiments of the present disclosure.

[0023] [Figure 1] 1 is a schematic diagram showing a configuration of an electronic device capable of implementing an ECU upgrade method according to an embodiment; [Diagram 2] 4 is a flowchart of an ECU upgrade method according to an embodiment. [Diagram 3] 4 is a flowchart of an ECU upgrading method according to another embodiment. [Figure 4] 1 is a block diagram illustrating the principle of an ECU upgrade device according to an embodiment; [Diagram 5] 1 is a schematic configuration diagram of hardware of an ECU upgrade device according to an embodiment; [Figure 6] 1 is a block diagram illustrating the principle of an ECU upgrade system according to an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0024] Various exemplary embodiments of the present disclosure will be described in detail below with reference to the drawings. Note that unless otherwise specifically stated, the relative arrangement of the components and steps described in these embodiments, numerical expressions and values ​​do not limit the scope of the present invention.

[0025] The following description of at least one exemplary embodiment is merely exemplary in nature and is in no way intended to limit the invention, its application, or uses.

[0026] Techniques, methods and devices known to those skilled in the art have not been discussed in detail, but where appropriate, said techniques, methods and devices should be considered as part of the description.

[0027] In all examples shown and discussed herein, any specific values ​​should be construed as exemplary only and not limiting, and thus other examples of the example embodiments may have different values.

[0028] It should be noted that similar symbols and letters represent similar things in the following drawings, so that once something is defined in one drawing, it does not need to be further discussed in the subsequent drawings. <Hardware configuration>

[0029] FIG. 1 is a schematic diagram of an electronic device 1000 capable of implementing an embodiment of the present disclosure.

[0030] The electronic device 1000 may be a smartphone, a portable computer, a desktop computer, a tablet computer, a server, etc., but is not limited thereto.

[0031] The electronic device 1000 includes, but is not limited to, a processor 1100, a memory 1200, an interface device 1300, a communication device 1400, a display device 1500, an input device 1600, a speaker 1700, a microphone 1800, and the like. Here, the processor 1100 may be a central processing unit CPU, an image processing unit GPU, a microprocessor MCU, and the like that executes a computer program. The computer program may be written in an instruction set of an architecture such as x86, Arm, RISC, MIPS, SSE, and the like. The memory 1200 includes, for example, a non-volatile memory such as a ROM (read only memory), a RAM (random access memory), and a hard disk. The interface device 1300 includes, for example, a USB interface, a serial interface, and a parallel interface. The communication device 1400 may perform wired communication or wireless communication using, for example, an optical fiber or a cable, and may specifically include WiFi communication, Bluetooth (registered trademark) communication, 2G / 3G / 4G / 5G communication, and the like. The display device 1500 is, for example, a liquid crystal display, a touch display, etc. The input device 1600 may include, for example, a touch screen, a keyboard, a sensory input device, etc. The speaker 1700 outputs an audio signal. The microphone 1800 collects an audio signal.

[0032] When applied to the embodiment of the present disclosure, the memory 1200 of the electronic device 1000 stores a computer program, which controls and operates the processor 1100 to realize the method according to the embodiment of the present disclosure. A person skilled in the art can design the computer program according to the technical means disclosed in the present disclosure. How the computer program controls and operates the processor is well known in the art, so it will not be described in detail here. The electronic device 1000 may be installed with a smart operating system (e.g., a system such as Windows (registered trademark), Linux (registered trademark), Android (registered trademark), IOS (registered trademark), etc.) and application software.

[0033] Those skilled in the art should understand that although FIG. 1 shows multiple devices of the electronic device 1000, the electronic device 1000 of an embodiment of the present disclosure may relate to only some of the devices, such as the processor 1100 and the memory 1200.

[0034] Hereinafter, embodiments and examples of the present invention will be described with reference to the drawings. Example of the method

[0035] 2 is a flowchart of an ECU upgrade method according to an embodiment of the present invention, which is implemented by, for example, the electronic device 1000 shown in FIG.

[0036] In detail, the ECU upgrade device for executing the ECU upgrade method may be installed in a host computer, and the software program for implementing the ECU upgrade method may be installed in the host computer as a general-purpose ECU upgrade tool. The host computer may be a personal computer or the like.

[0037] In this way, the host computer can perform upgrade processing on the application program of the ECU of the slave computer, i.e., the vehicle, through the general-purpose ECU upgrade tool, thereby achieving the expected upgrade effects such as bug fixing, adding devices, etc. As can be seen from the above, the introduction of the ECU upgrade function plays a huge role in promoting the development of automotive ECUs, and is an essential tool for automotive ECUs.

[0038] In particular, the ECU upgrade can be realized based on communication of a CAN (controller area network) bus. Thus, in a possible implementation, the host computer can realize the upgrade process for the vehicle ECU through a USB-CAN interface card.

[0039] The CAN bus protocol is a standard bus protocol for automotive computer control systems and embedded industrial control local area networks. The automotive CAN bus belongs to the vehicle bus network of C-class automobiles. C-class networks are used in systems with high requirements for high speed, real-time performance and reliability, and generally have a speed of 500kbps or more.

[0040] In particular, the automobile ECU may have two CAN IDs to receive diagnostic messages, one physical addressing ID and one functional addressing ID. A standard addressing scheme may be used to apply the diagnostic messages.

[0041] In this way, the host computer and the slave computer can transmit data through the CAN network according to the communication protocol flow. Specifically, the data exchange between the ECU of the slave computer and the generic ECU upgrade tool of the host computer is realized by the protocol service, and the upgrade of the application program of the slave computer ECU is finally completed.

[0042] Possibly, the communication protocol on which the upgrade process is based may be the ISO 15765 protocol. The ISO 15765 protocol, a communication standard based on road vehicle Controller Area Network (CAN) diagnostic systems, is a standard protocol in the automotive industry.

[0043] In detail, the ISO15765 architecture may include, in order, an application layer (e.g., corresponding to a diagnostic application), a network layer, a data link layer, and a physical layer. The network layer communication complies with ISO15765-2, and the application layer communication complies with ISO15765-3.

[0044] In detail, ISO15765-2 can define two kinds of communication methods: single frame transmission and multi-frame transmission. For example, in the communication process between the slave computer and the ECU, if the valid data transmitted is less than 8, single frame transmission can be used; if the valid data transmitted is 8 or more, multi-frame transmission can be used, in which the first frame, flow control frame, and subsequent frame are used in sequence. As an important part of the design of CAN communication software, the automotive ECU needs to analyze these received messages to obtain a complete diagnostic service.

[0045] In particular, ISO15765-3 can define a refresh program process and related diagnostic services, and the slave computer uses the process when refreshing an in-vehicle ECU.

[0046] In detail, a bootloader may be fixed in the ECU. The bootloader is a boot load and may run before the operating system kernel runs. Based on this, the generic ECU upgrade tool of the host computer may communicate with the bootloader of the slave computer to complete the ECU upgrade work in the slave computer.

[0047] Based on the above, as shown in FIG. 2, the ECU upgrading method of this embodiment may include the following steps S210 to S240.

[0048] In step S210, a set first encapsulation file is obtained, and the first vehicle model information and the first upgrade content related information corresponding to the first vehicle model information are encapsulated in the first encapsulation file.

[0049] In particular, in order to meet different vehicle models and changing demands, developers can develop corresponding upgrade content-related information, which may include information such as upgrade content and upgrade parameters.

[0050] Developers can develop upgrade content and upgrade parameter information by combining with the application program file of the original ECU. Possible upgrade parameters may include physical addressing ID, function addressing ID, response ID, write key, CAN bus baud rate, etc. Possible upgrade content may include project chip information, project code, vehicle model key, etc.

[0051] In detail, considering that vehicle fault diagnosis, as a technology to ensure the safety and maintainability of automobiles, has become increasingly important in the development of automotive electronics, and diagnostic services have been widely applied to automotive ECUs, developers can design a universal ECU upgrade tool based on the diagnostic protocol.

[0052] In detail, the generic ECU upgrade tool of this embodiment relates to, for example, a basic upgrade module, a development module, and a test module, and can integrate these modules together.

[0053] Developers can develop upgrade information based on the development module, and Tasker can upgrade the ECU based on the basic upgrade module. In developer mode, upgrade testing can be further performed based on the test module, and if the test result is as expected, it can enter normal mode. When upgrading the ECU in normal mode, no testing is required.

[0054] In detail, according to the authorization technique, different users can open corresponding required functions. For example, in the developer mode, the relevant developer is authorized to the base upgrade module, the development module, the test module, and the external development configuration folder, and can use each module according to the authorized authority. In the normal mode, the relevant developer is authorized to the base upgrade module, and can use the module according to the authorized authority, and is not authorized to the development module, the test module, and the external development configuration folder. The developer can store the developed content in the external development configuration folder.

[0055] In this embodiment, the combination of authorization technologies is used to open corresponding functions to different user groups, and the security and confidentiality of the software is guaranteed to the maximum extent. Thus, this embodiment not only facilitates the development and testing of automotive electronics R&D developers, simplifies the upgrade operation, and effectively prevents the occurrence of erroneous upgrades, but also plays an important role in the subsequent system upgrades and maintenance.

[0056] In order to facilitate accurate transmission of the upgrade content-related information without requiring the tasker in charge of the upgrade operation to know the specific content of the upgrade content-related information, the upgrade content-related information and the corresponding vehicle model information may be encapsulated into an overall encapsulation file by a second encapsulation tool, so that the upgrade purpose of the corresponding ECU can be achieved by simply introducing the encapsulation file based on the general-purpose ECU upgrade tool.

[0057] On this basis, in one embodiment of the present disclosure, before obtaining the set first encapsulated file, the above method may further include the following steps A1 to A3.

[0058] In step A1, if the current upgrade mode corresponds to the developer mode, the first vehicle model information is obtained in response to a selection operation corresponding to the first vehicle model information.

[0059] In detail, in the developer mode, the developer can develop and design the upgrade content related information through the development module of the general-purpose ECU upgrade tool. For example, when there is a situation such as a new vehicle model or a change in the ECU demand of an existing vehicle model, the developer can develop and design the corresponding upgrade content related information. In this way, the developer performs an operation to select vehicle model information on the upgrade tool operation screen, and the ECU upgrade device can obtain the selected vehicle model information accordingly.

[0060] In step A2, in response to an operation for editing the upgrade content related information, the first upgrade content related information is obtained.

[0061] In this step, the developer can edit the upgrade content related information, and the ECU upgrade device can obtain the corresponding upgrade content related information accordingly, such as the upgrade content and upgrade parameter information.

[0062] In step A3, in response to a setting encapsulation command corresponding to the first vehicle model information, an encapsulation process is performed on the first vehicle model information and the first upgrade content related information to obtain the first encapsulated file.

[0063] In detail, the vehicle model information and the corresponding upgrade content related information are encapsulated together using a secondary encapsulation tool. During the encapsulation process, the key information therein is encrypted to prevent the key information from being leaked. For example, a .zck file may be generated by the secondary encapsulation.

[0064] In this embodiment, the vehicle model information and the upgrade content related information are encapsulated in advance to obtain an encapsulated file, so that the ECU upgrade process can be performed based on the direct introduction of the encapsulated file.

[0065] Generally, the development of the upgrade content-related information can be repeated multiple times. In order to facilitate obtaining an encapsulation file based on the latest information, the upgrade content-related information developed each time can be stored and updated in a remote server. When an encapsulation process needs to be performed, the related information can be automatically updated and loaded from the remote server to complete the encapsulation operation.

[0066] Based on this, in one embodiment of the present disclosure, after obtaining the first upgrade content related information, the method may further include the following steps B1 to B4.

[0067] In step B1, a mapping relationship between the first vehicle model information and the first upgrade content related information is stored in a remote server.

[0068] In this step, all the information related to the upgrade contents developed by each developer is stored in the remote server in real time, so as to realize the effect of real-time and batch update of information.

[0069] In step B2, in response to a selection operation corresponding to the first vehicle model information, the first vehicle model information is acquired.

[0070] In detail, in the developer mode, the developer can perform the encapsulation operation through the development module of the general-purpose ECU upgrade tool. For example, the developer performs the operation of selecting vehicle model information on the upgrade tool operation screen, and the ECU upgrade device can obtain the selected vehicle model information accordingly.

[0071] In step B3, the first upgrade content related information corresponding to the first vehicle model information is obtained from the remote server.

[0072] In this step, the upgrade content related information corresponding to the selected vehicle model can be automatically updated and loaded from a remote server for encapsulation.

[0073] In step B4, based on the acquired first upgrade content related information, in response to the setting encapsulation command corresponding to the first vehicle model information, a step of performing an encapsulation process on the first vehicle model information and the first upgrade content related information to acquire the first encapsulated file is executed.

[0074] In detail, an encapsulation process can be performed based on the automatically loaded upgrade content related information to obtain an encapsulation file, which can be used in the ECU upgrade process in developer mode and normal mode.

[0075] In step S220, the first vehicle model information and the first upgrade content related information are obtained based on the first encapsulated file.

[0076] In this step, the basic upgrade module of the universal ECU upgrade tool performs information binding on the imported encapsulated file to obtain the vehicle model information and upgrade content related information therein.

[0077] In step S230, first upgrade process related information corresponding to the first vehicle model information is obtained from the setting memory according to the first vehicle model information.

[0078] In particular, the upgrade process related information may include information about the upgrade process and an upgrade key.

[0079] In this step, the basic upgrade module of the universal ECU upgrade tool can obtain upgrade process related information corresponding to the vehicle model information from the configuration memory.

[0080] In detail, the configuration memory stores a comprehensive database of upgrade process related information, such as a comprehensive database of upgrade processes for each vehicle model and a comprehensive database of key algorithms. In a possible implementation, these comprehensive databases can be downloaded from the configuration memory, and the vehicle model information obtained by binding can be used to query the corresponding upgrade process and upgrade key information, and the upgrade process can be carried out based on the information.

[0081] In detail, when there are situations such as new vehicle models or changes in the ECU demand of existing vehicle models, developers can use the development module of the general-purpose ECU upgrade tool to develop and design the upgrade process related information.

[0082] In order to facilitate the execution of the upgrade process at different stages, the upgrade process related information at different stages may be stored in different memories, preferably in a local memory, for example in a configured external folder, in the developer mode, and in a remote server in the normal mode.

[0083] Thus, in one embodiment of the present disclosure, the step of obtaining the first upgrade process related information corresponding to the first vehicle model information from the configuration memory may include the following step C1 or step C2.

[0084] In step C1, if the current upgrade mode corresponds to a developer mode, obtain first upgrade process related information corresponding to the first vehicle model information stored in a local memory, where a setting mapping relationship between the vehicle model information and the upgrade process related information is stored in the local memory.

[0085] In detail, in the developer mode, the setting mapping relationship is downloaded from a local memory, for example, from a set external folder, and the corresponding upgrade process related information is queried based on the vehicle model information obtained by binding, and the ECU upgrade processing in the developer mode can be performed based on this.

[0086] Thus, in one embodiment of the present disclosure, before obtaining the first upgrade process related information corresponding to the above first vehicle model information stored in the local memory, the above method may further include the following steps D1 to D3.

[0087] In step D1, if the current upgrade mode corresponds to the developer mode, the first vehicle model information is obtained in response to a selection operation corresponding to the first vehicle model information.

[0088] In detail, in the developer mode, the developer can develop and design the upgrade process related information through the development module of the general-purpose ECU upgrade tool. For example, when there is a situation such as a new vehicle model or a change in the ECU demand of an existing vehicle model, the developer can develop and design the corresponding upgrade process related information. In this way, the developer performs an operation of selecting vehicle model information on the upgrade tool operation screen, and the ECU upgrade device can obtain the selected vehicle model information accordingly.

[0089] In step D2, in response to an operation for editing the upgrade process related information, the corresponding upgrade process related information is obtained.

[0090] In this step, the developer can edit the upgrade process related information, and the ECU upgrade device can obtain the corresponding upgrade process related information, such as the upgrade process and upgrade key information.

[0091] In step D3, a mapping relationship is established between the first vehicle model information and the acquired upgrade process related information, and the established mapping relationship is stored in the local memory.

[0092] To facilitate the ECU upgrade process in developer mode, compiled upgrade process related information may be stored in a local memory.

[0093] For example, considering that the general-purpose ECU upgrade tool of the host computer mainly communicates with the bootloader of the slave computer to complete the ECU upgrade work, in the developer mode, the bootloader engineer of the slave computer can edit the ECU upgrade process information and key algorithm of the new vehicle model in the external folder according to the configuration file format specification, and store the edited result in the external folder. In this way, in the corresponding upgrade process, the upgrade process is performed by obtaining the upgrade process related information from the external configuration folder. This implementation method can facilitate the development and debugging work of the bootloader engineer.

[0094] As can be seen, in the developer mode, the developer only needs to edit the process file and the key algorithm file to complete the ECU upgrade development work for the new vehicle model.

[0095] In addition, when the ECU upgrade work in the developer mode is completed successfully and the ECU upgrade work in the normal mode can be performed, that is, after the configuration file of each developed upgrade process related information is debugged and determined, the configuration file is uploaded to the comprehensive database of the remote server, for example, so that the development and design of the upgrade tool for the new vehicle model can be completed, and the ECU upgrade work in the normal mode can be performed.

[0096] In step C2, if the current upgrade mode does not correspond to the developer mode, obtain first upgrade process related information corresponding to the first vehicle model information stored in a remote server, where a setting mapping relationship between the vehicle model information and the upgrade process related information is stored.

[0097] In detail, in normal mode, the setting mapping relationship is downloaded from the remote server, and the corresponding upgrade process related information is queried based on the vehicle model information obtained by binding, and the ECU upgrade processing in normal mode can be performed based on this.

[0098] In step S240, an ECU upgrade process is performed on the vehicle having the first vehicle type information according to the first upgrade process related information and the first upgrade content related information.

[0099] In detail, the general-purpose ECU upgrade tool can extract upgrade process-related information, obtain upgrade content-related information, and then automatically configure an upgrade communication flow, and perform ECU upgrade processing based on the same to update and upgrade the application program of the ECU.

[0100] Through testing, it has been found that, based on the upgrade method of this embodiment, different target files can be introduced to complete the matching with different car models, and the upgrade content can be smoothly downloaded to the ECU of the car according to the corresponding upgrade process. After the download is completed, the ECU is powered on again, and the new program is loaded and runs smoothly.

[0101] As can be seen from the above, in the ECU upgrade method according to the present embodiment, a set first encapsulation file is obtained, in which first vehicle model information and first upgrade content related information corresponding to the first vehicle model information are encapsulated, the first vehicle model information and the first upgrade content related information are obtained based on the first encapsulation file, the first upgrade process related information corresponding to the first vehicle model information is obtained from the setting memory based on the first vehicle model information, and an ECU upgrade process is performed for a vehicle having the first vehicle model information based on the first upgrade process related information and the first upgrade content related information. As can be seen from this, by introducing an encapsulation file in which vehicle model information and corresponding upgrade content related information are encapsulated, it is possible to deal with cases in which vehicle models are diversified and upgrade demands are varied. In the present embodiment, upgrade content related information and upgrade process related information corresponding to a vehicle model are obtained based on the encapsulation file, and an ECU upgrade can be performed for the vehicle of the vehicle model based on the encapsulation file. This general-purpose upgrade method is applicable to the purpose of ECU upgrade for various vehicle models and various upgrade demands, and does not require duplication of intentional upgrade program design, thereby improving the overall upgrade effect.

[0102] As described above, a test can be performed when performing the ECU upgrade process in developer mode, and if the test passes, the ECU upgrade process can be performed in normal mode.

[0103] Based on this, in one embodiment of the present disclosure, step S240 of performing ECU upgrade processing on a vehicle having the first vehicle model information based on the first upgrade process related information and the first upgrade content related information may include a step of performing ECU upgrade processing on a vehicle having the first vehicle model information based on the first upgrade process related information and the first upgrade content related information and a set test abnormality condition when the current upgrade mode corresponds to the developer mode.

[0104] In detail, an ECU upgrade test can be performed in a developer mode based on the test mode of the universal ECU upgrade tool, and the test module can simulate an abnormal situation during the ECU upgrade process and test the operation of the ECU including the bootloader program based on the simulated abnormal situation.

[0105] Possibly, the test abnormal conditions may include abnormal messages, error check codes, high CAN bus load, continuous writes, and other conditions.

[0106] Accordingly, after performing an ECU upgrade process on the vehicle having the first vehicle type information based on the set test abnormality situation, the method may further include the following steps E1 to E3.

[0107] In step E1, a first upgrade result is obtained.

[0108] By performing an upgrade test under a set test abnormal situation, a corresponding upgrade result can be obtained, and the upgrade result can be compared with an expected upgrade result to determine whether the upgrade process is performed within the expectation.

[0109] In step E2, it is determined whether the first upgrade result is the same as the setting upgrade result corresponding to the test abnormal situation.

[0110] In this step, the consistency between the actual upgrade result and the expected upgrade result can be determined. If the information developed by the developer is correct, the consistency result can generally be obtained, and conversely, the developer can perform operations such as adjusting the development information as necessary.

[0111] In step E3, if the first upgrade result is the same as the configuration upgrade result, the configuration mapping relationship stored in the local memory is stored in the remote server.

[0112] In this step, after obtaining the consistency result, the information developed by the developer is stored in the remote server, so that the corresponding information can be obtained from the remote server when performing ECU upgrade in normal mode.

[0113] Unlike the developer mode, when performing an ECU upgrade in the normal mode, there is no need to perform an upgrade test. In this way, in the normal mode, the upgrade process can be directly performed based on the upgrade process-related information and the upgrade content-related information as described in step S240 above.

[0114] As can be seen from the above, the ECU upgrading method according to this embodiment may have at least the following features.

[0115] (1) Applies to various vehicle models. Compared with the traditional intentional upgrade tool, one vehicle model corresponds to at least one upgrade tool, the development and design work is complicated, a large amount of repetitive work is required, the development cost is high, the development cycle is long, and it is disadvantageous to the effective use of resources. In contrast, the present embodiment provides a universal ECU upgrade tool that can be used for almost all vehicle models designed according to the ISO15765 protocol. In this way, there is no need to duplicate the development work of the ECU upgrade tool. This, of course, reduces the steps and various costs required to upgrade application software.

[0116] (2) The upgrade process is flexible and secondary expansion is possible. For the traditional intentional upgrade tool, its upgrade process and parameter information are constant, so if the upgrade process information or parameter information needs to be changed during the entire project process due to the change in the overall system allocation or customer demand, the software source code needs to be modified and redistributed. In addition, after multiple debugging, when testing the cooperation between the bootloader slave computer or the system and other parts, the response time period is long and it is difficult to adapt to new changes. In contrast, the generic ECU upgrade tool according to the present embodiment has a customizable feature, and can customize the user screen language, the tool, and the specific upgrade process of the ECU device to be upgraded according to the upgrade needs, thereby realizing all the upgrade functions defined in the requirement document of the ECU device to be upgraded.

[0117] (3) The complexity of software upgrade operations is low. Compared with the conventional manual upgrade tool, when upgrading ECUs of different vehicle models, it is necessary to switch between different tools, and users need to input upgrade information, which makes the operation more complicated. In contrast, the general-purpose ECU upgrade tool of this embodiment can complete the bulk upgrade by introducing only one encapsulated file during the upgrade operation using its normal upgrade module.

[0118] (4) Wider functional coverage. Compared to traditional intentional upgrade tools, due to factors such as project planning or user initial planning omissions, some auxiliary analysis and testing functions, such as local data storage and the use of diversified CAN devices, are missing, which is disadvantageous to carrying out system project testing more efficiently. In contrast, the general-purpose ECU upgrade tool according to the present embodiment has a wide functional coverage and integrates the functions of upgrade, test and development, thereby achieving high human-machine interactivity, and in particular, when used by a development engineer of a bootloader slave computer, the tool can be used conveniently and quickly to flexibly configure the process and complete the development work of the slave computer.

[0119] (5) Easy to develop. The general-purpose ECU upgrade tool according to the present embodiment provides maximum convenience for developers of slave computer bootloaders to perform personalized configuration, and reduces the development work of upgrade tools. In contrast, with traditional intentional upgrade tools, when introducing a new project, developers need to develop the project from scratch, and the development process from tool design, encoding realization to debugging and distribution is time-consuming.

[0120] (6) The level of user operation is reduced, making it easier to manage. For the traditional intentional upgrade tool, the technician needs to pay attention to the accuracy of the upgrade operation and the accuracy of the upgrade tool at the station, and also needs to manage each upgrade tool. The upgrade operation error includes the inaccuracy of the upgrade information entered during the operation. The upgrade tool error is caused by the demand for upgrading different car models, which increases the difficulty of managing the upgrade tool. For some serious error upgrade situations, it is necessary to remove the parts from the whole vehicle and then perform the program update through the debug port. This increases the amount of work and is easy to damage the vehicle itself. In addition, the upgrade of different car models requires the use of different upgrade tools, and the ECU also requires different versions of tools at each stage of the same car model, which increases the difficulty of managing the upgrade tool, and the errors in the use of each use department of the automobile manufacturer also increase accordingly. In contrast, the generic ECU upgrade tool according to the present embodiment is applicable to a wide range of vehicle models, the software is easy to operate, and the version is single, which greatly reduces the requirements for the user's operation level. When using the generic ECU upgrade tool, by linking to a remote server, the latest and most complete information can be updated locally, eliminating the need for cumbersome version management work of the ECU upgrade tool.

[0121] (7) Excellent user experience. The design method of the universal ECU upgrade tool according to the present embodiment is based on the user-centric design principle, and takes into consideration several aspects of user experience, such as system response time, error information processing method, user command method, user screen language, etc. The tool has high customizability and extensibility, which greatly improves the flexibility in responding to situations such as development, debugging, problem investigation, maintenance, and demand changes, and effectively meets the needs of users. Based on the universal ECU upgrade tool, not only can the work efficiency be improved, but also more labor costs and material costs can be saved.

[0122] (8) Safe and reliable. The universal ECU upgrade tool of this embodiment relates to a basic upgrade module, a development module and a test module, and these modules can be integrated into one. In this embodiment, authorization technology is combined to open corresponding functions to different user groups, and the safety and confidentiality of software can be guaranteed to the maximum. In this way, this embodiment not only facilitates the development and testing of automotive electronics R&D developers, simplifies the upgrade operation, and effectively prevents the occurrence of erroneous upgrades, but also plays an important role in the subsequent system upgrade and maintenance.

[0123] (9) Meet market demand. This embodiment provides a universal, integrated ECU upgrade tool that is adapted to the development of automobile diagnostic technology, meets the development trend of the market, and has great significance and value in the reliability, accuracy and stability of the automobile ECU upgrade tool.

[0124] (10) It is easy to develop products. The universal ECU upgrade tool of the present embodiment is highly flexible, safe and reliable. Automobile manufacturers can use the universal ECU upgrade tool to quickly expand new upgrade process specifications, and the tool can be applied to different controllers of different vehicle models. This can avoid repeated development between automobile manufacturers and important customers from scratch, which not only reduces the product development difficulty, development cycle, and development and management costs, but also improves product development efficiency and product quality and stability.

[0125] 3 is a flowchart of an ECU upgrade method according to an embodiment of the present invention. The embodiment may be implemented by the electronic device 1000 shown in FIG.

[0126] As shown in FIG. 3, the method of the embodiment may include the following steps S301 to S319.

[0127] In step S301, if the current upgrade mode corresponds to the developer mode, the first vehicle model information is obtained in response to a selection operation corresponding to the first vehicle model information.

[0128] In step S302, in response to an operation for editing the upgrade content related information, first upgrade content related information corresponding to the first vehicle model information is obtained.

[0129] In step S303, a mapping relationship between the first vehicle model information and the first upgrade content related information is stored in a remote server.

[0130] In step S304, in response to a selection operation corresponding to the first vehicle model information, the first vehicle model information is acquired.

[0131] In step S305, the first upgrade content related information corresponding to the first vehicle model information is obtained from the remote server.

[0132] In step S306, based on the acquired first upgrade content related information, in response to a setting encapsulation command corresponding to the first vehicle model information, an encapsulation process is performed on the first vehicle model information and the first upgrade content related information to obtain a first encapsulated file.

[0133] In step S307, if the current upgrade mode corresponds to the developer mode, the first vehicle model information is obtained in response to a selection operation corresponding to the first vehicle model information.

[0134] In step S308, in response to an operation for editing the upgrade process related information, first upgrade process related information corresponding to the first vehicle model information is obtained.

[0135] In step S309, a mapping relationship between the first vehicle model information and the first upgrade process related information is established, and the established mapping relationship is stored in the local memory.

[0136] In step S310, the first encapsulated file is obtained.

[0137] In step S311, the first vehicle model information and the first upgrade content related information are obtained according to the first encapsulated file.

[0138] In step S312, according to the first vehicle model information, if the current upgrade mode corresponds to a developer mode, obtain the first upgrade process related information stored in the local memory.

[0139] In step S313, based on the first upgrade process related information, the first upgrade content related information, and the set test abnormality condition, an ECU upgrade process is performed on the vehicle having the first vehicle type information, and a first upgrade result is obtained.

[0140] In step S314, it is determined whether the first upgrade result is the same as the setting upgrade result corresponding to the test abnormal situation.

[0141] In step S315, if the first upgrade result is the same as the setting upgrade result, the setting mapping relationship stored in the local memory is stored in the remote server.

[0142] In step S316, the first encapsulated file is obtained.

[0143] In step S317, the first vehicle model information and the first upgrade content related information are obtained according to the first encapsulated file.

[0144] In step S318, if the current upgrade mode does not correspond to the developer mode based on the first vehicle model information, obtain first upgrade process related information stored in a remote server which corresponds to the first vehicle model information.

[0145] In step S319, an ECU upgrade process is performed on the vehicle having the first vehicle type information based on the first upgrade process related information and the first upgrade content related information. <Device Example>

[0146] 4 is a principle block diagram of an ECU upgrading apparatus 400 according to an embodiment. As shown in FIG. 4, the ECU upgrading apparatus 400 may include a first acquisition module 410, a second acquisition module 420, a third acquisition module 430 and a processing module 440.

[0147] The first acquisition module 410 acquires a set first encapsulation file. The first encapsulation file encapsulates first vehicle model information and first upgrade content related information corresponding to the first vehicle model information. The second acquisition module 420 acquires the first vehicle model information and the first upgrade content related information based on the first encapsulation file. The third acquisition module 430 acquires first upgrade process related information corresponding to the first vehicle model information from a setting memory based on the first vehicle model information. The processing module 440 performs an ECU upgrade process for a vehicle having the first vehicle model information based on the first upgrade process related information and the first upgrade content related information.

[0148] The ECU upgrade device 400 may be the electronic device 1000 shown in FIG.

[0149] In this embodiment, a set first encapsulation file is obtained, and the first encapsulation file encapsulates first vehicle model information and first upgrade content related information corresponding to the first vehicle model information, and the first vehicle model information and the first upgrade content related information are obtained based on the first encapsulation file, and the first upgrade process related information corresponding to the first vehicle model information is obtained from the setting memory based on the first vehicle model information, and the ECU upgrade process is performed for the vehicle having the first vehicle model information based on the first upgrade process related information and the first upgrade content related information. As can be seen from this, by introducing the encapsulation file in which the vehicle model information and the corresponding upgrade content related information are encapsulated, it is possible to deal with the diversification of vehicle models and the various upgrade needs. In this embodiment, the upgrade content related information and the upgrade process related information corresponding to the vehicle model are obtained based on the encapsulation file, and the ECU upgrade can be performed for the vehicle of the vehicle model based on this. This general-purpose upgrade method is applicable to the purpose of ECU upgrade for various vehicle models and various upgrade needs, and does not need to duplicate the intentional design of the upgrade program, so that the overall upgrade effect can be improved.

[0150] In an embodiment of the present disclosure, the third acquisition module 430 acquires the first upgrade process related information stored in the local memory corresponding to the first vehicle model information when the current upgrade mode corresponds to the developer mode, and acquires the first upgrade process related information stored in the remote server corresponding to the first vehicle model information when the current upgrade mode does not correspond to the developer mode. The local memory and the remote server both store a configuration mapping relationship between vehicle model information and upgrade process related information.

[0151] In one embodiment of the present disclosure, when the current upgrade mode corresponds to the developer mode, the ECU upgrade device 400 may further include: a module for acquiring the first vehicle model information in response to a selection operation corresponding to the first vehicle model information, a module for acquiring corresponding upgrade process related information in response to an operation of editing the upgrade process related information, and a module for constructing a mapping relationship between the first vehicle model information and the acquired upgrade process related information and storing the constructed mapping relationship in the local memory.

[0152] In one embodiment of the present disclosure, when the current upgrade mode corresponds to the developer mode, the processing module 440 performs an ECU upgrade process for a vehicle having the first vehicle type information based on the first upgrade process related information, the first upgrade content related information, and the set test abnormality situation.

[0153] The ECU upgrade device 400 may include a test module that obtains a first upgrade result, determines whether the first upgrade result is the same as a setting upgrade result corresponding to the test abnormal situation, and if the first upgrade result is the same as the setting upgrade result, stores the setting mapping relationship stored in the local memory in the remote server.

[0154] In one embodiment of the present disclosure, when the current upgrade mode corresponds to a developer mode, the ECU upgrade device 400 may further include a module for acquiring the first vehicle model information in response to a selection operation corresponding to the first vehicle model information, a module for acquiring the first upgrade content related information in response to an operation of editing upgrade content related information, and a module for performing an encapsulation process on the first vehicle model information and the first upgrade content related information in response to a setting encapsulation command corresponding to the first vehicle model information, to acquire the first encapsulated file.

[0155] In one embodiment of the present disclosure, the ECU upgrade device 400 may further include a module for storing a mapping relationship between the first vehicle model information and the first upgrade content related information in a remote server, a module for acquiring the first vehicle model information in response to a selection operation corresponding to the first vehicle model information, and a module for acquiring the first upgrade content related information corresponding to the first vehicle model information from the remote server.

[0156] FIG. 5 is a schematic diagram of the hardware configuration of an ECU upgrading device 500 according to another embodiment.

[0157] 5, the ECU upgrade device 500 includes a processor 510 and a memory 520. The memory 520 stores an executable computer program. The processor 510 executes the method in any of the above method embodiments under the control of the computer program.

[0158] The ECU upgrade device 500 may be the electronic device 1000 shown in FIG.

[0159] Each module of the ECU upgrade device 500 described above may be realized by the processor 510 in this embodiment executing a computer program stored in the memory 520, or may be realized by other circuit configurations, which are not limited here.

[0160] In addition, this embodiment further provides an ECU upgrade system. As shown in the figure, Fig. 6 is a principle block diagram of an ECU upgrade system 600 according to an embodiment. The ECU upgrade system 600 includes a host computer 610 and a vehicle 620. The host computer 610 includes the ECU upgrade device according to any embodiment of the present disclosure, and the vehicle 620 includes an ECU.

[0161] In this manner, the host computer, by means of the included ECU upgrade device, can carry out the upgrade process on the ECU of the vehicle, which may be of any type.

[0162] The present invention may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium having stored thereon computer-readable program instructions for causing a processor to implement aspects of the present invention.

[0163] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disk read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanical coding devices such as punch cards or protruding structures in grooves on which instructions are stored, and any suitable combination of the above. A computer-readable storage medium as used herein is not to be construed as an instantaneous signal itself, such as, for example, radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a wave guide or other transmission medium (e.g., light pulses passing through a fiber optic cable), or electrical signals transmitted through electrical wires.

[0164] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or can be downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network may include copper transmission cables, fiber optic transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface of each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium of each computing / processing device.

[0165] The computer readable program instructions for carrying out the operations of the present invention may be assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including object oriented programming languages ​​such as Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The computer readable program instructions may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In a remote computer scenario, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet Service Provider). In some embodiments, the state information of the computer readable program instructions is used to customize electronic circuitry, such as a programmable logic circuit, a field programmable gate array (FPGA) or a programmable logic array (PLA), that can implement aspects of the present invention by executing the computer readable program instructions.

[0166] Aspects of the present application are described with reference to flowcharts and / or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the present invention. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer readable program instructions.

[0167] These computer readable program instructions can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to create a machine, which, when executed by the processor of the computer or other programmable data processing apparatus, creates an apparatus that implements the functions / operations specified in one or more blocks in the flowcharts and / or block diagrams. These computer readable program instructions may be stored on a computer readable storage medium, and the instructions direct a computer, programmable data processing apparatus, and / or other device to operate in a particular manner, such that the computer readable medium on which the instructions are stored includes an article of manufacture containing instructions that implement each aspect of the functions / operations specified in one or more blocks in the flowcharts and / or block diagrams.

[0168] The computer readable program instructions may be loaded into a computer, other programmable data processing apparatus or other device and cause the computer, other programmable data processing apparatus or other device to perform a series of operational steps to generate a computer implemented process, whereby the instructions executing on the computer, other programmable data processing apparatus or other device implement the functions / acts specified in one or more blocks in the flowcharts and / or block diagrams.

[0169] The flowcharts and block diagrams in the drawings illustrate possible architectures, functions, and operations of systems, methods, and computer program products according to several embodiments of the present invention. In this regard, each block in the flowcharts or block diagrams may represent a module, a program segment, or a portion of instructions, which includes one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions represented in the blocks may occur in a different order from the order shown in the drawings. For example, two blocks shown in succession may in fact be executed substantially simultaneously, or may be executed in reverse order depending on the related functions. It should be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented in a dedicated system based on hardware that performs the specified functions or operations, or may be implemented in a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, implementation by software, and implementation by a combination of software and hardware are all equivalent.

[0170] The above describes each embodiment of the present invention, and the above description is illustrative, not exhaustive, and is not limited to each disclosed embodiment. Many modifications and changes will be apparent to those skilled in the art without departing from the scope and spirit of each described embodiment. The selection of terms used in this specification is intended to best interpret the principles, practical applications, or technical improvements in the market of each embodiment, or to enable those skilled in the art to understand each embodiment disclosed in this specification. The scope of the present invention is limited by the appended claims.

Claims

1. A step of acquiring a first encapsulation file, in which first vehicle model information and first upgrade content related information corresponding to the first vehicle model information are encapsulated in the first encapsulation file; obtaining the first vehicle model information and the first upgrade content related information according to the first encapsulated file; obtaining first upgrade process related information corresponding to the first vehicle model information from a configuration memory according to the first vehicle model information; performing an ECU upgrade process for a vehicle having the first vehicle type information based on the first upgrade process related information and the first upgrade content related information; 13. An ECU upgrade method comprising:

2. The first upgrade content related information includes upgrade content and upgrade parameters; The upgrade parameters include a physical addressing identifier ID, a functional addressing ID, a response ID, a write key, and a CAN bus baud rate; The method of claim 1 , wherein the upgrade content includes project chip information, a project code, and a vehicle model key.

3. The step of obtaining first upgrade process related information corresponding to the first vehicle model information from a configuration memory includes: If the current upgrade mode corresponds to a developer mode, obtaining first upgrade process related information stored in a local memory, the first upgrade process related information corresponding to the first vehicle model information; If the current upgrade mode does not correspond to the developer mode, acquiring first upgrade process related information stored in a remote server, the first upgrade process related information corresponding to the first vehicle model information; The method according to claim 1 or 2, wherein the local memory and the remote server both store a setting mapping relationship between vehicle model information and upgrade process related information.

4. Before the step of obtaining first upgrade process related information stored in a local memory and corresponding to the first vehicle model information, acquiring the first vehicle model information in response to a selection operation corresponding to the first vehicle model information when a current upgrade mode corresponds to the developer mode; In response to an operation of editing the upgrade process related information, obtaining corresponding upgrade process related information; establishing a mapping relationship between the first vehicle model information and the acquired upgrade process related information, and storing the established mapping relationship in the local memory; The method of claim 3 further comprising:

5. The step of performing an ECU upgrade process for a vehicle having the first vehicle type information based on the first upgrade process related information and the first upgrade content related information includes: The method according to any one of claims 1 to 4, characterized in that when the current upgrade mode corresponds to the developer mode, the method includes a step of performing an ECU upgrade process for a vehicle having the first vehicle model information based on the first upgrade process related information and the first upgrade content related information and a set test abnormality situation.

6. After performing an ECU upgrade process on the vehicle having the first vehicle model information based on the set test abnormality situation, obtaining a first upgrade result; determining whether the first upgrade result is the same as a configuration upgrade result corresponding to the test abnormal situation; If the first upgrade result is the same as the configuration upgrade result, storing the configuration mapping relationship stored in the local memory in the remote server; 6. The method of claim 5, further comprising:

7. 7. The method according to claim 5 or 6, wherein the test abnormal conditions include an abnormal message, an error check code, a high CAN bus load, and continuous writes.

8. Before the step of obtaining the first encapsulation file, If the current upgrade mode corresponds to a developer mode, acquiring the first vehicle model information in response to a selection operation corresponding to the first vehicle model information; obtaining the first upgrade content related information in response to an operation of editing the upgrade content related information; In response to a setting encapsulation command corresponding to the first vehicle model information, performing an encapsulation process on the first vehicle model information and the first upgrade content related information to obtain the first encapsulated file; The method according to any one of claims 1 to 7, further comprising:

9. After the step of obtaining the first upgrade content related information, storing a mapping relationship between the first vehicle model information and the first upgrade content related information in a remote server; acquiring the first vehicle model information in response to a selection operation corresponding to the first vehicle model information; obtaining the first upgrade content related information corresponding to the first vehicle model information from the remote server; performing an encapsulation process on the first vehicle model information and the first upgrade content related information based on the acquired first upgrade content related information in response to a setting encapsulation command corresponding to the first vehicle model information to acquire the first encapsulated file; The method of claim 8 further comprising:

10. An ECU upgrade device (500) comprising a memory (520) and a processor (510), wherein the memory (520) stores a computer program and the processor (510) executes the computer program to realize the method according to any one of claims 1 to 9.

11. A host computer (610) and a vehicle (620), The host computer (610) includes the ECU upgrade device (500) according to claim 10, The vehicle (620) includes an ECU.

12. A computer-readable storage medium having stored thereon a computer program for causing a processor to implement the method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Computer system, software update method by computer system, and program therefor

    JP2018055645A

  • Vehicle electronic control system, data repeating device, distribution control method of campaign information and distribution control program of campaign information

    JP2021081780A