Data upgrading method, equipment, medium and product

By using the motor controller MCUF as the upper computer of the oil pump controller, the upgrade data packet was sent, which solved the problem that electronic oil pumps cannot be upgraded in new energy vehicles, and achieved the OTA upgrade of the vehicle-end-to-oil pump, reducing the difficulty of upgrading and improving the efficiency.

CN119201170APending Publication Date: 2024-12-27CHONGQING JINKANG POWER NEW ENERGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411299662.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-18
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

The electronic oil pump controller in new energy vehicles is connected to a private CAN cable and cannot communicate directly with the vehicle controller, which makes it impossible to remotely upgrade through OTA, which increases the difficulty and complexity of upgrades.

Method used

By using the motor controller MCUF as the upper computer of the oil pump controller, the upgrade data packet is sent to realize the OTA upgrade of the oil pump controller, avoiding the process of removing the controller and directly upgrading on the vehicle end.

Benefits of technology

The software upgrade of the oil pump controller is realized, reducing the difficulty and complexity of upgrades, improving the upgrade efficiency, and ensuring the privacy and security of information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119201170A_ABST
    Figure CN119201170A_ABST
Patent Text Reader

Abstract

The invention relates to a data upgrading method and device, a medium and a product, and is applied to an oil pump controller EOP in a vehicle, the data upgrading method comprises the following steps: receiving an upgrading data packet sent by a motor controller MCUF; and upgrading according to the upgrading data packet. The motor controller MCUF is used as the upper computer for upgrading the oil pump controller, and the upgrading data packet is sent to the oil pump controller through the MCUF, so that the software upgrading requirement of the oil pump is met, OTA upgrading of the oil pump by a vehicle end is realized, the oil pump controller is prevented from being disassembled for data upgrading, the difficulty of oil pump data upgrading is solved, and the upgrading efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of automobile software upgrade, and in particular to a data upgrade method, device, medium, and product. Background Art

[0002] As the functions of new energy vehicles continue to increase, the iteration cycle of each controller software in new energy vehicles is also getting faster and faster. Most controllers in new energy vehicles can be remotely upgraded through OTA (Over-The-Air Technology) through the vehicle controller, but the electronic oil pump controller EOP (Electric Oil Pump) in the powertrain system is connected to a private CAN line (Controller Area Network) and cannot be directly connected to the vehicle controller through the CAN line. It cannot communicate with the vehicle controller and therefore cannot be remotely upgraded through OTA through the vehicle controller. If the electronic oil pump needs to upgrade the software due to increased functions or software failure, it needs to be upgraded by removing the controller, which increases the difficulty and complexity of upgrading the electronic oil pump. Summary of the invention

[0003] Based on this, a data upgrade method, device, medium, and product are provided to solve the problem that the oil pump cannot be upgraded OTA in the prior art.

[0004] In a first aspect, a data upgrade method is provided, which is applied to an oil pump controller EOP in a vehicle, and the method comprises:

[0005] Receive the upgrade data packet sent by the motor controller MCUF;

[0006] The upgrade is performed according to the upgrade data package.

[0007] Optionally, before receiving the upgrade data packet sent by the motor controller MCUF, the method further includes:

[0008] In response to receiving an erase signal sent by the MCUF, erasing initial data in the memory;

[0009] In response to successfully erasing the initial data, sending an erase success signal to the MCUF;

[0010] The step of performing the upgrade according to the upgrade data package includes:

[0011] Write the upgrade data package into the memory and run it.

[0012] Optionally, writing the upgrade data packet into a memory and running the upgrade data packet includes:

[0013] Writing the upgrade data packet into the memory;

[0014] Using a verification algorithm to perform integrity verification on the upgrade data packet;

[0015] In response to the verification result being complete, the upgrade data package is executed.

[0016] In a second aspect, a data upgrade method is provided, which is applied to a motor controller MCUF in a vehicle, and the data upgrade method comprises:

[0017] Receive address data and upgrade data packets;

[0018] In response to the address data corresponding to the EOP, the upgrade data packet is forwarded to the EOP; the upgrade data packet is used for upgrading the EOP.

[0019] Optionally, the receiving address data and upgrade data packet includes:

[0020] receiving an erase signal sent by the T-BOX; the erase signal carries address data; the erase signal indicates erasing the initial data in the memory;

[0021] In response to the address data corresponding to the EOP, forwarding the erase signal to the EOP;

[0022] In response to receiving the erasure success signal sent by the EOP, forwarding the erasure success signal to the T-BOX; the erasure success signal indicates that the EOP successfully erases the initial data in the memory;

[0023] Receive the upgrade data packet sent by the T-BOX.

[0024] In a third aspect, a data upgrade method is provided, characterized in that it is applied to an intelligent communication terminal T-BOX in a vehicle, and the data upgrade method comprises:

[0025] Send address data and upgrade data packet to MCUF; the upgrade data packet is used for EOP to upgrade.

[0026] Optionally, sending the address data and the upgrade data packet to the MCUF includes:

[0027] Sending an erase signal to the MCUF; the erase signal carries address data; the erase signal indicates erasing the initial data in the memory;

[0028] In response to receiving an erasure success signal sent by the MCUF, sending the upgrade data packet to the MCUF; the erasure success signal indicates that the EOP successfully erases the initial data in the memory.

[0029] In a fourth aspect, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and used to run on the processor, wherein when the processor executes the computer program, the data upgrade method described in the first aspect, the second aspect, or the third aspect is implemented.

[0030] In a fifth aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the data upgrade method described in the first aspect, the second aspect, or the third aspect is implemented.

[0031] In a sixth aspect, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the data upgrade method described in the first aspect, the second aspect, or the third aspect is implemented.

[0032] On the basis of conforming to the common sense in the art, the above-mentioned preferred conditions can be arbitrarily combined to obtain the preferred embodiments of the present application.

[0033] The above-mentioned data upgrade method, equipment, medium, and product, by using the motor controller MCUF as the host computer for upgrading the oil pump controller, send the upgrade data packet to the oil pump controller through MCUF, thereby meeting the data upgrade requirements of the oil pump, realizing OTA upgrade of the oil pump on the vehicle side, avoiding disassembly of the oil pump controller for data upgrade, solving the difficulty of oil pump data upgrade, and improving upgrade efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 A schematic diagram of a data upgrade method in one embodiment;

[0035] Figure 2 is a flow chart of a data upgrading method in another embodiment;

[0036] Figure 3 is a flow chart of a data upgrading method in another embodiment;

[0037] Figure 4 A schematic diagram of the structure of a data upgrade system in one embodiment;

[0038] Figure 5 A structural diagram of a data upgrade system in another embodiment;

[0039] Figure 6 FIG. 1 is a schematic diagram of the structure of an electronic device in an embodiment. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0041] It should be noted that the diagram provided in the present embodiment only illustrates the basic concept of the present application in a schematic manner, so the diagram only shows the components related to the present application rather than drawing according to the number, shape and size of the components during actual implementation. The type, quantity and ratio of each component during actual implementation can be a random change, and its component layout type may also be more complicated. The structure, ratio, size, etc. illustrated by the accompanying diagram of this specification are only used to match the content disclosed in the specification, so that people familiar with this technology can understand and read, and are not used to limit the restrictive conditions that can be implemented in this application, so they have no technical substantive significance. Any modification of the structure, change of the proportional relationship or adjustment of the size, without affecting the effect that can be produced by this application and the purpose that can be achieved, should still fall within the scope that the technical content disclosed in this application can cover. At the same time, the terms such as "upper", "lower", "left", "right", "middle" and "one" quoted in this specification are also only for the convenience of narration, rather than for limiting the scope that can be implemented in this application. The change or adjustment of its relative relationship, without substantial change of technical content, should also be regarded as the scope that can be implemented in this application.

[0042] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various places in the text does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0043] As shown in this document, unless the context clearly indicates an exception, the words "a", "an", "an" and / or "the" do not refer to the singular and may also include the plural, unless the context clearly indicates an exception. Generally speaking, the terms "include" and "comprise" only indicate that the steps and elements that have been clearly identified are included, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements.

[0044] The definitions of inclusion in this document, such as the terms "having", "may have", "include" or "may include" used herein, indicate the existence of the corresponding functions, operations, elements, etc. herein, and do not limit the existence of one or more other functions, operations, elements, etc. In addition, it should be understood that the terms "including" or "having" used herein indicate the existence of the features, numbers, steps, operations, elements, components, or a combination thereof described in the specification, without excluding the existence or addition of one or more other features, numbers, steps, operations, elements, components, or a combination thereof.

[0045] In the embodiments of the present application, prefixes such as "first" and "second" are used only to distinguish different description objects, and have no limiting effect on the position, order, priority, quantity or content of the described objects. The use of prefixes such as ordinal numbers to distinguish description objects in the embodiments of the present application does not constitute a limitation on the described objects. For the statement of the described objects, please refer to the description in the context of the claims or embodiments, and no unnecessary limitation should be constituted due to the use of such prefixes. In addition, in the description of the present embodiment, unless otherwise specified, the meaning of "multiple" is two or more.

[0046] Figure 1 A data upgrade method provided by an exemplary embodiment of the present application is applied to an oil pump controller EOP in a vehicle. The data upgrade method includes:

[0047] S11, receiving the upgrade data packet sent by the motor controller MCUF.

[0048] Among them, the upgrade data package can be a .xml file packaged as a HEX program package (Hexadecimal Program Package), and the upgrade data package includes at least one of the following: the starting address, end address, data length of each logic block, FlashDriver (flash driver), update file, security patch, test case, document, script, dependency, and rollback mechanism of the software in the oil pump controller.

[0049] Since the oil pump controller EOP is connected to a private CAN line, it can only communicate with the motor controller MCUF (Microcontroller Unit Front) through CAN, and cannot communicate with the vehicle controller, so it cannot be remotely upgraded through the vehicle controller via OTA. According to the vehicle OTA architecture, MCUF is used as the host computer for upgrading the oil pump controller, and the upgrade data packet is sent to the oil pump controller through MCUF to complete the OTA upgrade of the oil pump controller.

[0050] S12. Upgrade according to the upgrade data package.

[0051] By using the motor controller MCUF as the host computer for upgrading the oil pump controller, the upgrade data packet is sent to the oil pump controller EOP through MCUF. After the oil pump controller EOP receives the upgrade data packet, it is upgraded according to the upgrade data packet. It meets the software upgrade requirements of the oil pump, realizes the OTA upgrade of the oil pump on the vehicle side, avoids disassembling the oil pump controller for upgrading, solves the difficulty of oil pump upgrading, and improves the upgrade efficiency. At the same time, EOP does not communicate with the vehicle controller, but directly communicates with the motor controller MCUF. The motor controller can monitor the working status of the motor in real time and adjust the operation of the oil pump accordingly, providing more precise control and faster response speed. In addition, EOP is connected to a private CAN line to ensure the privacy and security of information sent when communicating with MCUF.

[0052] In one embodiment, MCUF can send an erase signal and an upgrade data packet to EOP at the same time. The oil pump controller EOP receives the erase signal and the upgrade data packet, erases the initial data in the memory according to the erase signal, and then writes the upgrade data packet into the memory.

[0053] Among them, the upgrade data package is the upgrade installation package of the software in the oil pump controller, and the initial data is the historical installation package of the software in the oil pump controller relative to the upgrade data package, which includes some program files of the historical version, such as executable files, configuration files, installation scripts and programs, language files, resource files, dependencies, etc.

[0054] In order to further improve the efficiency of data upgrade, in one embodiment, before receiving the upgrade data packet sent by the motor controller MCUF, the following steps are further included:

[0055] In response to receiving an erase signal sent by MCUF, erasing the initial data in the memory;

[0056] In response to successfully erasing the initial data, sending an erase success signal to MCUF;

[0057] Upgrade according to the upgrade data package, including:

[0058] Write the upgrade data package into the memory and run it.

[0059] When the erase signal sent by MCUF is not received, the oil pump controller EOP operates normally according to the initial data in the memory. When the erase signal sent by MCUF is received, it means that the oil pump controller needs to be upgraded. At this time, the oil pump controller can erase the initial data in the memory to receive the subsequent upgrade data packet sent by MCUF.

[0060] Exemplarily, the specific process of MCUF sending an erase signal is as follows: ①MCUF physically addresses and sends P1002 to EOP, requesting the oil pump controller to enter a programming session; ②Sends P2701 / 02 to EOP, requesting EOP to unlock security access; ③Sends P3101FF 00 to EOP, requesting to erase the EOP memory. If the oil pump controller in steps ①②③ all replies with a positive response, indicating that the oil pump controller has successfully erased the initial data in the memory, then EOP sends an erase success signal to MCUF, receives the upgrade data packet sent by MCUF, writes the upgrade data packet into the memory and runs it to complete the upgrade process. If any of the requests in steps ①②③ of the oil pump controller are replied with a negative response, indicating that the oil pump controller has not successfully erased the initial data in the memory, then EOP does not send an erase success signal to MCUF.

[0061] Among them, the upgrade data package is the upgrade installation package of the software in the oil pump controller, and the initial data is the historical installation package of the software in the oil pump controller relative to the upgrade data package, which includes some program files of the historical version, such as executable files, configuration files, installation scripts and programs, language files, resource files, dependencies, etc.

[0062] Compared with the oil pump controller EOP, which receives the erase signal and the upgrade data packet at the same time, erases the initial data in the memory according to the erase signal, and then writes the upgrade data packet into the memory. The embodiment provided by the present application first receives the erase signal, erases the initial data in the memory according to the erase signal, and after successfully erasing the initial data, sends an erase success signal to MCUF, and then receives the upgrade data packet sent by MCUF based on the erase success signal, writes the upgrade data packet into the memory, improves the efficiency of writing the upgrade data packet, reduces the problem of initial data occupying memory resources, and reduces the problem of the upgrade package not being able to be written correctly due to the existence of initial data, the incompatibility of the program files in the initial data and the upgrade package versions, and improves the security of the upgrade.

[0063] In one embodiment, writing the upgrade data package into the memory and executing the process includes:

[0064] Write the upgrade data package into the memory;

[0065] Use the verification algorithm to perform integrity verification on the upgrade data packet;

[0066] In response to the verification result being complete, the upgrade data package is executed.

[0067] The verification algorithm may be a CRC32 algorithm, a secure hash algorithm, a parity check, or an MD5 check.

[0068] After the upgrade data packet is transmitted, EOP writes the upgrade data packet into the memory. After receiving the verification signal sent by MCUF, the upgrade data packet is checked for integrity using the verification algorithm. When the verification result is complete, the upgrade data packet is run and a verification success signal is sent to MCUF to complete the upgrade.

[0069] like Figure 2 As shown, corresponding to the above-mentioned data upgrade method applied to EOP, the embodiment of the present application also provides a data upgrade method, which is applied to the motor controller MCUF in the vehicle, and the data upgrade method includes:

[0070] S21, receiving address data and upgrade data packet.

[0071] Among them, the address data is used to distinguish different applications or software. The address data includes the initial data starting address and initial data ending address of the application whose memory needs to be erased. It can also include one of the following: configuration file path, installation path, license information, document location, version number, download link, and dependency.

[0072] MCUF can first receive address data and then receive upgrade data packets, for example, first determine the application or software corresponding to the address data based on the address data, and then receive the upgrade data packet corresponding to the application or software; it can also receive address data and upgrade data packets at the same time, and determine the application or software corresponding to the upgrade data packet based on the address data.

[0073] In one embodiment, receiving address data and an upgrade data packet includes:

[0074] Receive an erase signal sent by a T-BOX (Telematics Box, intelligent communication terminal); the erase signal carries address data, and the erase signal indicates to erase the initial data in the memory;

[0075] In response to the address data corresponding to the EOP, forwarding an erase signal to the EOP;

[0076] In response to receiving the erasure success signal sent by the EOP, forwarding the erasure success signal to the T-BOX; the erasure success signal indicates that the EOP successfully erases the initial data in the memory;

[0077] Receive the upgrade data packet sent by T-BOX.

[0078] After receiving the erase signal sent by T-BOX, MCUF determines whether the address data is the address data of EOP according to the address data carried in the erase signal. If the address data corresponds to EOP, for example, the starting address in the address data corresponds to the starting address of the initial data in EOP, the erase signal is forwarded to EOP, so that EOP erases the initial data in the memory according to the erase signal, and after successfully erasing the initial data, an erase success signal is sent to MCUF. After receiving the erase success signal, MCUF forwards it to T-BOX. At this time, T-BOX transmits an upgrade data packet to MCUF, and MCUF forwards the upgrade data packet to EOP for EOP to upgrade. The erase signal indicates to erase the initial data in the memory. Similarly, if the address data in the erase signal is the address data of MCUF, the initial data in the memory of MCUF is erased, and the upgrade data packet of MCUF is received for upgrading.

[0079] S22: In response to the address data corresponding to the EOP, forward the upgrade data packet to the EOP.

[0080] Among them, the upgrade data package is used for EOP upgrade.

[0081] If the address data is the address data of EOP, for example, the starting address in the address data corresponds to EOP, it means that the application or software corresponding to the upgrade data packet is EOP. At this time, the upgrade data packet is forwarded to EOP for EOP to upgrade according to the upgrade data packet.

[0082] The embodiment of the present application uses the motor controller MCUF as the upper computer for upgrading the oil pump controller, and indirectly upgrades the oil pump controller through communication between T-BOX and MCUF. MCUF receives the upgrade data packet sent from T-BOX and forwards it to the oil pump controller, thereby meeting the software upgrade requirements of the oil pump and realizing OTA upgrade of the oil pump on the vehicle side, avoiding disassembly of the oil pump controller for upgrading, solving the difficulty of upgrading the oil pump, and improving the upgrade efficiency.

[0083] Corresponding to the above-mentioned data upgrade method applied to EOP or MCUF, the embodiment of the present application further provides a data upgrade method, which is applied to an intelligent communication terminal T-BOX in a vehicle. The data upgrade method includes:

[0084] Send address data and upgrade data packet to MCUF; the upgrade data packet is used for EOP to upgrade.

[0085] The address data includes the initial data start address and the initial data end address of the application program whose memory needs to be erased, and may also include one of the following: configuration file path, installation path, license information, document location, version number, download link, and dependency.

[0086] The address data is used to distinguish different applications or software. If the address data is the address data of MCUF, MCUF receives the upgrade data packet of MCUF and is used for the upgrade of MCUF; if the address data is the address data of EOP, EOP receives the upgrade data packet of EOP and is used for the upgrade of EOP.

[0087] In one embodiment, sending address data and an upgrade data packet to MCUF includes:

[0088] Send an erase signal to MCUF; the erase signal carries address data; the erase signal indicates to erase the initial data in the memory;

[0089] In response to receiving an erase success signal sent by MCUF, an upgrade data packet is sent to MCUF; the erase success signal indicates that EOP successfully erases the initial data in the memory.

[0090] T-BOX packages the HEX package of the oil pump controller or MCUF and generates the corresponding .xml file, which contains at least one of the following: the start address and end address of the application or software, the data length of each logic block, FlashDriver (flash driver), update files, security patches, test cases, documents, scripts, dependencies, and rollback mechanisms for upgrade needs.

[0091] Since the oil pump controller EOP is connected to a private CAN line and only communicates with the motor controller MCUF through CAN, when T-BOX performs the vehicle OTA upgrade process, it can only upgrade the MCUF program and cannot identify the oil pump program. Therefore, T-BOX sends an erase signal carrying address data to MCUF. MCUF determines whether the address data is the address data of EOP based on the address data in the erase signal. If the address data is the address data of EOP, the erase signal is forwarded to EOP so that EOP can erase the initial data in the memory according to the erase signal, and after successfully erasing the initial data, an erase success signal is sent to MCUF. After receiving the erase success signal, MCUF forwards it to T-BOX. At this time, T-BOX transmits the upgrade data packet to MCUF, and MCUF forwards the upgrade data packet to EOP for EOP to upgrade. If the address data in the erase signal is the address data of MCUF, the initial data in the memory of MCUF is erased, and the upgrade data packet of MCUF is received for upgrading.

[0092] Combine the following Figure 3 , further explain the data upgrade method:

[0093] First, obtain the upgrade data package. T-BOX packages the HEX package of the oil pump controller or MCUF and generates the corresponding .xml file. The .xml file contains at least one of the following: the start address and end address of the application or software, the data length of each logic block, FlashDriver (flash driver), update file, security patch, test case, document, script, dependency, and rollback mechanism.

[0094] In the pre-programming stage of T-BOX, T-BOX sends instructions to close CAN communication and diagnostic trouble code recording, and performs upgrade prerequisite detection. If the specified prerequisite is met, the programming session is entered. Specifically, T-BOX function addressing sends F1083, switches the extended session to enter the pre-programming mode; physical addressing sends 31010203 to perform pre-programming condition detection; function addressing sends F8582 to disable DTC (Diagnostic Trouble Code) to ensure that the upgrade process will not be interrupted by faulty fault codes; function addressing sends F288301 to close communication 1 and disable application messages; function addressing sends F288303 to close communication 2 and disable network messages to avoid sending other messages during flashing.

[0095] In the main programming phase of T-BOX, T-BOX executes according to the vehicle OTA process to complete the corresponding security access unlocking, writing fingerprint information and FlashDriver downloading. Specifically, T-BOX physically addresses and sends P1002 to enter programming mode; physically addresses and sends P2709 / 0A for secure access; physically addresses and sends P2E F184 to write fingerprint information; FlashDriver software flashing or file transfer is performed according to the diagnostic flashing specification; when T-BOX sends an erase signal, MCUF determines whether it is an EOP program upgrade based on the address data of the erase signal, and physically addresses and sends P3101FF 00XX, so that MCUF can identify the upgrade data packet of MCUF and the upgrade data packet of EOP based on the address data. If the address data is the address data of MCUF, the initial data in the memory of MCUF is erased, and the upgrade data packet of MCUF is received for upgrade.

[0096] If the address data is the address data of EOP, then enter the main programming stage of EOP. ①MCUF physically addresses and sends P1002 to EOP, requesting the oil pump controller to enter the programming session; ②Send P2701 / 02 to EOP, requesting EOP security access unlock; ③Send P3101 FF 00 to EOP, requesting to erase the EOP memory; If the oil pump controller in steps ①②③ all replies with a positive response, it means that the oil pump controller has successfully erased the initial data in the memory, then EOP sends an erase success signal to MCUF, and MCUF forwards the erase success signal to T-BOX. If any of the requests in steps ①②③ of the oil pump controller are replied with a negative response, it means that the oil pump controller has not successfully erased the initial data in the memory, then EOP does not send an erase success signal to MCUF, and stops the OTA upgrade process.

[0097] After receiving the erase success signal, T-BOX executes software flashing or file transfer according to the diagnostic flashing specification. T-BOX sends 34, 36 and 37 to MCUF to start data transmission and send the upgrade data packet. At the same time, MCUF forwards the data to EOP. When the upgrade data packet is transmitted, T-BOX sends an integrity check to MCUF. MCUF forwards this request to EOP. MCUF sends P3101 FF 01 through physical addressing. EOP verifies the integrity of the upgrade data packet through the CRC32 algorithm. The response result of EOP is forwarded to T-BOX through MCUF.

[0098] After verifying the integrity of the upgrade data package, enter the post-programming stage. T-BOX function addressing sends F288001, opens communication 1, and enables application messages; T-BOX function addressing sends F288003, opens communication 2, and enables network messages; T-BOX physical addressing sends P1101, MCUF forwards EOP request and response, and MCUF resets to the initialization state; T-BOX function addressing sends F1083 to enter the extended mode; T-BOX function addressing sends F8582 to disable DTC.

[0099] T-BOX determines whether the flashing is completed. If the flashing fails, it determines whether the number of re-flash times is greater than the configured number. If not, it executes the re-flash process and enters the re-flash phase.

[0100] During the re-flash phase, the T-BOX function addressing sends F288001 to open communication 1; the function addressing sends F288003 to open communication 2; the physical addressing sends P1101 to reset MCUF; the function addressing sends F1083 to enter the extended mode; the function addressing sends F8582 to disable DTC, and then enter the main programming phase of the T-BOX to execute the flashing process after the main programming phase.

[0101] It should be understood that although Figure 1-3The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1-3 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0102] like Figure 4 As shown, the present application also provides a data upgrade system, which is applied to an oil pump controller EOP in a vehicle, and the data upgrade system includes:

[0103] The first receiving module 41 is used to receive an upgrade data packet sent by the motor controller MCUF;

[0104] The upgrading module 42 is used for performing upgrading according to the upgrading data package.

[0105] In one embodiment, the first receiving module is further configured to:

[0106] In response to receiving an erase signal sent by the MCUF, erasing initial data in the memory;

[0107] In response to successfully erasing the initial data, sending an erase success signal to the MCUF;

[0108] The upgrade module is also used to:

[0109] Write the upgrade data package into the memory and run it.

[0110] In one embodiment, the upgrade module is further configured to:

[0111] Writing the upgrade data packet into the memory;

[0112] Using a verification algorithm to perform integrity verification on the upgrade data packet;

[0113] In response to the verification result being complete, the upgrade data package is executed.

[0114] like Figure 5 As shown, the present application also provides a data upgrade system, which is applied to a motor controller MCUF in a vehicle, and the data upgrade system includes:

[0115] The second receiving module 51 is used to receive address data and upgrade data packets;

[0116] The forwarding module 52 is used for forwarding the upgrade data packet to the EOP in response to the address data corresponding to the EOP; the upgrade data packet is used for upgrading the EOP.

[0117] In one embodiment, the second receiving module is further configured to:

[0118] Receiving an erase signal sent by the intelligent communication terminal T-BOX; the erase signal carries address data; the erase signal indicates erasing the initial data in the memory;

[0119] In response to the address data corresponding to the EOP, forwarding the erase signal to the EOP;

[0120] In response to receiving the erasure success signal sent by the EOP, forwarding the erasure success signal to the T-BOX; the erasure success signal indicates that the EOP successfully erases the initial data in the memory;

[0121] Receive the upgrade data packet sent by the T-BOX.

[0122] The present application also provides a data upgrade system, which is applied to an intelligent communication terminal T-BOX in a vehicle. The data upgrade system includes:

[0123] The sending module is used to send address data and an upgrade data packet to MCUF; the upgrade data packet is used for EOP to upgrade.

[0124] In one embodiment, the sending module is further used for:

[0125] Sending an erase signal to the MCUF; the erase signal carries address data; the erase signal indicates erasing the initial data in the memory;

[0126] In response to receiving an erasure success signal sent by the MCUF, sending the upgrade data packet to the MCUF; the erasure success signal indicates that the EOP successfully erases the initial data in the memory.

[0127] For the system embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The system embodiment described above is only illustrative, wherein the units described as separate components may or may not be physically separated, and the components as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present application solution.

[0128] Figure 6This is a structural diagram of an electronic device shown in an example embodiment of the present application, the electronic device includes a memory, a processor, and a computer program stored in the memory and used to run on the processor, and when the processor executes the computer program, the data upgrade method described in any of the above embodiments is implemented. Figure 6 The electronic device 60 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0129] like Figure 6 As shown, the electronic device 60 may be in the form of a general-purpose computing device, for example, it may be a server device. The components of the electronic device 60 may include, but are not limited to: at least one processor 61, at least one memory 62, and a bus 63 connecting different system components (including the memory 62 and the processor 61).

[0130] The bus 63 includes a data bus, an address bus, and a control bus.

[0131] The memory 62 may include a volatile memory, such as a random access memory (RAM) 621 and / or a cache memory 622 , and may further include a read-only memory (ROM) 623 .

[0132] The memory 62 may also include a program tool 625 (or utility) having a set (at least one) of program modules 624, such program modules 624 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0133] The processor 61 executes various functional applications and data processing by running the computer program stored in the memory 62, such as the data upgrade method provided in any of the above embodiments.

[0134] The electronic device 60 may also communicate with one or more external devices 64 (e.g., keyboards, pointing devices, etc.). Such communication may be performed via an input / output (I / O) interface 65. Furthermore, the electronic device 60 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 66. As shown, the network adapter 66 communicates with other modules of the electronic device 60 via a bus 63. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 60, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.

[0135] It should be noted that although several units / modules or sub-units / modules of the electronic device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided into multiple units / modules to be embodied.

[0136] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon, and when the program is executed by a processor, the data upgrade method provided in any of the above embodiments is implemented.

[0137] The readable storage medium may include but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device or any suitable combination of the above.

[0138] An embodiment of the present application also provides a computer program product, including a computer program, which implements any of the above-mentioned data upgrade methods when executed by a processor.

[0139] Among them, the program code for executing the computer program product of the present application can be written in any combination of one or more programming languages, and the program code can be executed completely on the user device, partially on the user device, as an independent software package, partially on the user device and partially on a remote device, or completely on the remote device.

[0140] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0141] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the patent application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent application shall be subject to the attached claims.

Claims

1. A data upgrade method, characterized in that: Applied to the oil pump controller EOP in the vehicle, the data upgrade method comprises: Receive the upgrade data packet sent by the motor controller MCUF; The upgrade is performed according to the upgrade data package.

2. The data upgrade method according to claim 1, characterized in that: Before receiving the upgrade data packet sent by the motor controller MCUF, the method further includes: In response to receiving an erase signal sent by the MCUF, erasing initial data in the memory; In response to successfully erasing the initial data, sending an erase success signal to the MCUF; The step of performing the upgrade according to the upgrade data package includes: Write the upgrade data package into the memory and run it.

3. The data upgrade method according to claim 2, characterized in that: The step of writing the upgrade data package into the memory and running the upgrade data package comprises: Writing the upgrade data packet into the memory; Using a verification algorithm to perform integrity verification on the upgrade data packet; In response to the verification result being complete, the upgrade data package is executed.

4. A data upgrade method, characterized in that: The data upgrade method for the motor controller MCUF used in the vehicle includes: Receive address data and upgrade data packets; In response to the address data corresponding to the EOP, the upgrade data packet is forwarded to the EOP; the upgrade data packet is used for upgrading the EOP.

5. The data upgrade method according to claim 4, characterized in that: The receiving address data and upgrade data packet includes: Receiving an erase signal sent by the intelligent communication terminal T-BOX; the erase signal carries address data; the erase signal indicates erasing the initial data in the memory; In response to the address data corresponding to the EOP, forwarding the erase signal to the EOP; In response to receiving the erasure success signal sent by the EOP, forwarding the erasure success signal to the T-BOX; the erasure success signal indicates that the EOP successfully erases the initial data in the memory; Receive the upgrade data packet sent by the T-BOX.

6. A data upgrade method, characterized in that: The data upgrade method for the intelligent communication terminal T-BOX used in a vehicle includes: Send address data and upgrade data packet to MCUF; the upgrade data packet is used for EOP to upgrade.

7. The data upgrade method according to claim 6, characterized in that: The sending of address data and upgrade data packet to MCUF includes: Sending an erase signal to the MCUF; the erase signal carries address data; the erase signal indicates erasing the initial data in the memory; In response to receiving an erasure success signal sent by the MCUF, sending the upgrade data packet to the MCUF; the erasure success signal indicates that the EOP successfully erases the initial data in the memory.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and used to run on the processor, characterized in that: When the processor executes the computer program, the data upgrading method according to any one of claims 1 to 7 is implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the data upgrading method according to any one of claims 1 to 7 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the data upgrading method according to any one of claims 1 to 7 is implemented.