Vehicle oil pump upgrading method and device, electronic equipment and storage medium
Through the coordinated work of the motor controller, the remote communication terminal and the electronic oil pump, the oil pump is directly upgraded, which solves the problem that the oil pump cannot be updated remotely in the existing technology, and realizes efficient and simple upgrade of the oil pump, reducing maintenance costs and complex operation. sex.
Patent Information
- Application Number
- CN202410821747.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-11-22
AI Technical Summary
In the prior art, the oil pump on the powertrain cannot be updated remotely through OTA technology, resulting in the replacement of the entire oil pump assembly when the oil pump fails or needs to be updated, which increases maintenance costs and operational complexity, affecting the update and upgrading of the oil pump assembly. efficiency.
Through the motor controller, communicate with the remote communication terminal and the electronic oil pump, receive diagnostic requests, determine the program to be upgraded, write the boot loader, perform memory erasing and program flushing, directly upgrade the electronic oil pump, reduce wiring harness, and simplify wiring. Ensure the accuracy and simplicity of upgrade operations.
It realizes efficient and simple upgrade of oil pumps, reduces maintenance costs, simplifies operating procedures, and improves the update efficiency of oil pump assembly.
Smart Images

Figure CN119002952A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle technology, and in particular to a vehicle oil pump upgrading method, device, electronic equipment and storage medium. Background Art
[0002] With the rapid development of the automobile industry, the performance and reliability of the powertrain system as a core component of the automobile are crucial to the operation of the entire vehicle. Among them, the oil pump, as a key component in the powertrain, is responsible for providing the necessary lubrication and cooling for the engine to ensure its efficient and stable operation. OTA (Over-The-Air) technology has become increasingly common in the vehicle industry. OTA technology allows automakers to remotely update the vehicle's software system through wireless networks, including but not limited to in-vehicle infotainment systems, navigation systems, vehicle control units (such as engine control units, transmission control units, etc.) and various safety and assisted driving systems.
[0003] At present, in modern automobiles, the application of OTA technology has facilitated the update of vehicle software and firmware. However, this technology is not integrated into the oil pumps on most powertrains. When the oil pump needs to be upgraded or repaired, it cannot be remotely updated through OTA technology. Instead, the CAN (Controller Area Network) line of the oil pump is connected to the CAN of the entire vehicle for wired update operations. As a result, when the oil pump fails or needs to be updated, the entire oil pump assembly needs to be replaced, which increases maintenance costs and complicates operations, affecting the update and upgrade efficiency of the oil pump assembly. Summary of the invention
[0004] In view of this, the present invention aims to propose a vehicle oil pump upgrading method, device, electronic device and storage medium to solve the problem that the entire oil pump assembly needs to be replaced when the current oil pump is updated, which is inconvenient to operate and affects the upgrading efficiency of the oil pump assembly, and to achieve a simple and efficient vehicle oil pump upgrade.
[0005] According to a first aspect of the present invention, a vehicle oil pump upgrade method is provided, which is applied to a motor controller of a vehicle, wherein the motor controller is respectively connected to a remote communication terminal and an electronic oil pump for communication, and the method comprises:
[0006] Receiving a diagnostic request sent by the remote communication terminal through functional addressing, and determining a program to be upgraded according to a physical memory address in the diagnostic request; wherein the motor controller stores a controller program and a pre-packaged electronic oil pump program;
[0007] If it is determined that the program to be upgraded is an electronic fuel pump program, flashing a boot loader program according to a first request sent by the remote communication terminal;
[0008] performing a second confirmation on the diagnostic request sent by the remote communication terminal, and, in the case of confirming that the electronic oil pump program is to be upgraded, sending an erasure request to the electronic oil pump;
[0009] A response message indicating that the electronic oil pump is successfully erased is received, and according to a second request sent by the remote communication terminal, the electronic oil pump is controlled to rewrite the electronic oil pump program.
[0010] Optionally, the receiving a diagnostic request sent by the remote communication terminal through functional addressing, and determining the program to be upgraded according to a physical memory address in the diagnostic request, includes:
[0011] Pre-packaging the electronic oil pump program to be upgraded into a controller software package; wherein the controller software package includes the controller program;
[0012] Allocating storage addresses for the electronic oil pump program and the controller program, and storing the electronic oil pump program and the controller program in different physical memories respectively;
[0013] Receiving a diagnostic request sent by the remote communication terminal through functional addressing, parsing the diagnostic request, and obtaining a target physical memory address corresponding to the diagnostic request;
[0014] According to the target physical memory address, it is determined that the program to be upgraded is an electronic oil pump program or a controller program.
[0015] Optionally, if it is determined that the program to be upgraded is an electronic fuel pump program, flashing a boot loader program according to a first request sent by the remote communication terminal includes:
[0016] If it is determined that the program to be upgraded is an electronic fuel pump program, sending a verification request of the remote communication terminal to the electronic fuel pump;
[0017] forwarding a response message of the electronic oil pump in response to the verification request to the remote communication terminal;
[0018] receiving a first request sent by the remote communication terminal; wherein the first request is used to flash a boot loader;
[0019] In response to the first request, a boot loader is flashed to the motor controller.
[0020] Optionally, the performing a second confirmation on the diagnostic request sent by the remote communication terminal, and, in the case of confirming that the electronic oil pump program is to be upgraded, sending an erasure request to the electronic oil pump, comprises:
[0021] Performing secondary confirmation on a target physical memory address corresponding to the diagnostic request sent by the remote communication terminal to confirm whether the target physical memory address indicates an electronic oil pump program;
[0022] When it is confirmed that the electronic oil pump program is upgraded, an erase request is sent to the electronic oil pump through physical addressing; wherein the erase request is used to request the electronic oil pump to enter a programming session, a security unlock, and a memory erase.
[0023] Optionally, the receiving of a response message indicating that the electronic oil pump is successfully erased, and controlling the electronic oil pump to rewrite the electronic oil pump program according to a second request sent by the remote communication terminal, comprises:
[0024] Receiving a response message indicating that the electronic oil pump is successfully erased; wherein the response message is sent by the electronic oil pump when entering a programming session, security unlocking, and memory erasing are all successful;
[0025] Forwarding a response message of successful erasure of the electronic oil pump to the remote communication terminal;
[0026] receiving a second request sent by the remote communication terminal; wherein the second request is used to instruct the motor controller to start flashing the electronic oil pump program;
[0027] In response to the second request, the electronic oil pump is controlled to flash the electronic oil pump program.
[0028] Optionally, the receiving of the diagnostic request sent by the remote communication terminal through functional addressing, and before determining the program to be upgraded according to the physical memory address in the diagnostic request, further comprises:
[0029] receiving a session request sent by the remote communication terminal through functional addressing, determining to enter an extended session according to the session request, and controlling the electronic oil pump to enter the extended session;
[0030] In the current extended session, the motor controller and the electronic oil pump are controlled to stop reporting fault diagnosis information.
[0031] Optionally, after receiving the response message indicating that the electronic oil pump is successfully erased and controlling the electronic oil pump to rewrite the electronic oil pump program according to the second request sent by the remote communication terminal, the method further includes:
[0032] Receiving a response message from the electronic oil pump indicating that the electronic oil pump program has been flashed;
[0033] In response to the third request sent by the remote communication terminal, the response message is forwarded to the remote communication terminal.
[0034] According to a second aspect of the present invention, a vehicle oil pump upgrade device is provided, which is applied to a motor controller of a vehicle, wherein the motor controller is respectively connected to a remote communication terminal and an electronic oil pump for communication, and the device comprises:
[0035] A request receiving module, used for receiving a diagnostic request sent by the remote communication terminal through functional addressing, and determining a program to be upgraded according to a physical memory address in the diagnostic request; wherein the motor controller stores a controller program and a pre-packaged electronic oil pump program;
[0036] A first flashing module, configured to flash a boot loader program according to a first request sent by the remote communication terminal if it is determined that the program to be upgraded is an electronic fuel pump program;
[0037] a sending request module, configured to perform a second confirmation on the diagnostic request sent by the remote communication terminal, and, in the case of confirming that the electronic oil pump program is to be upgraded, send an erasure request to the electronic oil pump;
[0038] The second flashing module is used to receive a response message indicating that the electronic oil pump is successfully erased, and control the electronic oil pump to flash the electronic oil pump program according to a second request sent by the remote communication terminal.
[0039] According to another aspect of the present invention, there is also provided an electronic device, comprising:
[0040] processor;
[0041] a memory for storing instructions executable by the processor;
[0042] The processor is configured to execute the instructions to implement the vehicle oil pump upgrading method as described above.
[0043] According to another aspect of the present invention, a readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the vehicle oil pump upgrading method as described above are implemented.
[0044] The vehicle oil pump upgrading method provided by the embodiment of the present invention receives a diagnostic request sent by a remote communication terminal through functional addressing, determines the program to be upgraded according to the physical memory address in the diagnostic request, and if it is determined that the program to be upgraded is an electronic oil pump program, writes the boot loader according to a first request sent by the remote communication terminal, performs a second confirmation on the diagnostic request sent by the remote communication terminal, and sends an erase request to the electronic oil pump when confirming that the electronic oil pump program has been upgraded, receives a response message of successful erasure of the electronic oil pump, and controls the electronic oil pump to write the electronic oil pump program according to a second request sent by the remote communication terminal. The embodiment of the present invention directly upgrades the electronic oil pump through the motor controller, reducing the wiring harness from the oil pump to the assembly CAN. Since the oil pump does not need to communicate with the TBOX, based on the request of the remote communication terminal, the motor controller determines to upgrade the electronic oil pump, and uses the stored controller program and electronic oil pump program to directly upgrade the electronic oil pump, thereby ensuring the accuracy and simplicity of the upgrade operation. In response to the request of the remote communication terminal, the MCU directly controls the electronic oil pump to flash the electronic oil pump program, thereby achieving precise control of the upgrade process. Through the coordinated work of the MCU and the remote communication terminal, the wiring of the vehicle electrical system is simplified, thereby achieving efficient and simple upgrade of the electronic oil pump program.
[0045] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0047] Figure 1 is a flowchart of the steps of a vehicle oil pump upgrading method provided by an embodiment of the present invention;
[0048] Figure 2 yes Figure 1 A flowchart of step 101 in the vehicle oil pump upgrading method provided by an embodiment of the present invention;
[0049] Figure 3 yes Figure 1 A flowchart of step 102 in the vehicle oil pump upgrade method provided by an embodiment of the present invention;
[0050] Figure 4 yes Figure 1A flowchart of step 104 in the vehicle oil pump upgrading method provided by an embodiment of the present invention;
[0051] Figure 5 is a flowchart of another method for upgrading a vehicle oil pump provided by an embodiment of the present invention;
[0052] Figure 6 is a flowchart of the steps of another vehicle oil pump upgrading method provided by an embodiment of the present invention;
[0053] Figure 7 is a schematic diagram of a scenario of a vehicle oil pump upgrading method provided by an embodiment of the present invention;
[0054] Figure 8 It is a structural schematic diagram of a vehicle oil pump upgrading device provided by an embodiment of the present invention;
[0055] Fig. 9 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0056] To make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. However, it will be appreciated by those skilled in the art that in the embodiments of the present invention, many technical details are proposed in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can be implemented. The division of the following embodiments is for the convenience of description, and should not constitute any limitation on the specific implementation of the present invention. The various embodiments can be combined and referenced with each other without contradiction.
[0057] Reference Figure 1 , showing a flow chart of the steps of a vehicle oil pump upgrade method provided by an embodiment of the present invention, applied to a motor controller of a vehicle, wherein the motor controller is respectively connected to a remote communication terminal and an electronic oil pump for communication, the method may include:
[0058] Step 101, receiving a diagnostic request sent by a remote communication terminal through functional addressing, and determining a program to be upgraded according to a physical memory address in the diagnostic request; wherein the motor controller stores a controller program and a pre-packaged electronic oil pump program.
[0059] In an embodiment of the present invention, in order to solve the problem that the oil pump on the current powertrain does not integrate OTA technology, when the oil pump needs to be upgraded or repaired, it cannot be updated remotely, but the CAN line of the oil pump is connected to the CAN of the whole vehicle for wired connection update operation, resulting in the need to replace the entire oil pump assembly when the oil pump fails or needs to be updated, and the operation is complicated and inefficient. In this embodiment, a motor controller (Motor control unit, MCU) is respectively connected to a remote communication terminal (TelematicsBox, T-Box) and an electronic oil pump (Electronic oil pumps, EOP) for communication, and the remote communication terminal requests the motor controller to upgrade and update. The motor controller determines the request of the remote communication terminal and determines whether to upgrade the program of the motor controller itself or the electronic oil pump. Based on the request of the remote communication terminal, the motor controller determines to upgrade the electronic oil pump, and uses the stored controller program and electronic oil pump program to directly upgrade the electronic oil pump. Through the coordinated work of the motor controller and the remote communication terminal, the wiring of the vehicle electrical system is simplified, and the efficient and simple upgrade of the electronic oil pump program is realized.
[0060] It should be noted that the telematics box (T-Box) is an electronic device integrated into the vehicle, which usually includes a communication module, a GPS positioning module, a microcontroller, and other sensors and interfaces. It exchanges data with the vehicle's external system through a wireless communication network (such as 4G / 5G, Wi-Fi, etc.) to achieve functions such as remote monitoring, control, diagnosis, and information services. Electronic oil pumps are oil pumps controlled by an electronic control unit (ECU), usually used in fuel injection systems and lubrication systems to ensure that the engine can obtain optimal fuel supply and lubrication under various operating conditions. Reference Figure 7 , Figure 7 The present invention is a scenario diagram of a vehicle oil pump upgrade method provided by an embodiment of the present invention. Specifically, a motor control unit (MCU) is respectively connected to a remote communication terminal (TelematicsBox, T-Box) and an electronic oil pump (EOP). The motor controller and the remote communication terminal work in coordination, and there is no need to wire the vehicle electrical system for the oil pump. The motor controller determines to upgrade the electronic oil pump and directly upgrades the electronic oil pump using a stored controller program and an electronic oil pump program.
[0061] Specifically, the motor controller receives a diagnostic request sent by the remote communication terminal through functional addressing, determines the program to be upgraded according to the physical memory address in the diagnostic request, and stores the controller program and the pre-packaged electronic oil pump program. In this embodiment, the motor controller receives a diagnostic request sent by the remote communication terminal through functional addressing, parses the diagnostic request, obtains the target physical memory address corresponding to the diagnostic request, and determines that the program to be upgraded is the electronic oil pump program or the controller program according to the target physical memory address.
[0062] It should be noted that since the remote communication terminal cannot directly identify the oil pump node, this embodiment packages the electronic oil pump software into an MCU software package for upgrading through the motor controller. The motor controller stores the controller program and the pre-packaged electronic oil pump program, thereby determining whether the program to be upgraded is the controller program or the electronic oil pump program based on the physical memory address in the diagnostic request.
[0063] Step 102 : If it is determined that the program to be upgraded is the electronic fuel pump program, the boot loader program is flashed according to the first request sent by the remote communication terminal.
[0064] In an embodiment of the present invention, if the motor controller determines that the program to be upgraded is an electronic oil pump program, it flashes the boot loader program according to a first request sent by the remote communication terminal, wherein the first request is a request sent by the remote communication terminal through functional addressing, and is used to instruct the motor controller to flash the boot loader program.
[0065] Specifically, if it is determined that the program to be upgraded is an electronic oil pump program, a verification request of the remote communication terminal is sent to the electronic oil pump, a response message of the electronic oil pump in response to the verification request is forwarded to the remote communication terminal, and a first request sent by the remote communication terminal is received; wherein the first request is used to flash the boot loader program, and in response to the first request, the boot loader program is flashed to the motor controller.
[0066] Step 103 : performing a second confirmation on the diagnosis request sent by the remote communication terminal, and, in the case of confirming that the electronic oil pump program is to be upgraded, sending an erasure request to the electronic oil pump.
[0067] In an embodiment of the present invention, after the boot loader is flashed, the electronic oil pump program is flashed and upgraded. First, the memory of the electronic oil pump needs to be erased. To ensure the accuracy of the erasure, the diagnostic request sent by the remote communication terminal is reconfirmed before the erasure. When the electronic oil pump program is confirmed to be upgraded, an erase request is sent to the electronic oil pump.
[0068] Specifically, a second confirmation is performed on the target physical memory address corresponding to the diagnostic request sent by the remote communication terminal to confirm whether the target physical memory address indicates the electronic oil pump program. When the electronic oil pump program is confirmed to be upgraded, an erase request is sent to the electronic oil pump through physical addressing. The erase request is used to request the electronic oil pump to enter a programming session, security unlocking and memory erasure. Among them, the programming session is used to flash and edit the program, and the security unlocking is used to verify the erased program to avoid misoperation. The memory erasure is to erase the physical memory of the original electronic oil pump program to facilitate the flashing of the upgraded electronic oil pump program. They will not be repeated here.
[0069] Step 104 , receiving a response message indicating that the electronic oil pump has been successfully erased, and controlling the electronic oil pump to rewrite the electronic oil pump program according to the second request sent by the remote communication terminal.
[0070] In an embodiment of the present invention, the motor controller receives a response message indicating successful erasure of the electronic oil pump, and controls the electronic oil pump to rewrite the electronic oil pump program according to a second request sent by the remote communication terminal, wherein the second request is used to instruct the motor controller to rewrite the electronic oil pump program.
[0071] Specifically, a response message indicating successful erasure of the electronic oil pump is received, wherein the electronic oil pump sends a response message when entering a programming session, security unlocking, and memory erasing are all successful, the response message indicating successful erasure of the electronic oil pump is forwarded to a remote communication terminal, a second request sent by the remote communication terminal is received, and in response to the second request, the electronic oil pump is controlled to flash the electronic oil pump program.
[0072] The vehicle oil pump upgrading method provided by the embodiment of the present invention receives a diagnostic request sent by a remote communication terminal through functional addressing, determines the program to be upgraded according to the physical memory address in the diagnostic request, and if it is determined that the program to be upgraded is an electronic oil pump program, writes the boot loader according to a first request sent by the remote communication terminal, performs a second confirmation on the diagnostic request sent by the remote communication terminal, and sends an erase request to the electronic oil pump when confirming that the electronic oil pump program has been upgraded, receives a response message of successful erasure of the electronic oil pump, and controls the electronic oil pump to write the electronic oil pump program according to a second request sent by the remote communication terminal. The embodiment of the present invention directly upgrades the electronic oil pump through the motor controller, reducing the wiring harness from the oil pump to the assembly CAN. Since the oil pump does not need to communicate with the TBOX, based on the request of the remote communication terminal, the motor controller determines to upgrade the electronic oil pump, and uses the stored controller program and electronic oil pump program to directly upgrade the electronic oil pump, thereby ensuring the accuracy and simplicity of the upgrade operation. In response to the request of the remote communication terminal, the MCU directly controls the electronic oil pump to flash the electronic oil pump program, thereby achieving precise control of the upgrade process. Through the coordinated work of the MCU and the remote communication terminal, the wiring of the vehicle electrical system is simplified, thereby achieving efficient and simple upgrade of the electronic oil pump program.
[0073] Further, see Figure 2 , showing Figure 1 A flowchart of step 101 in a vehicle oil pump upgrade method is provided. The method is substantially the same as the vehicle oil pump upgrade method provided in the first embodiment of the present invention. Step 101 may include:
[0074] Step 201 : pre-pack the electronic oil pump program to be upgraded into a controller software package; wherein the controller software package includes the controller program.
[0075] Step 202 , allocating storage addresses for the electronic oil pump program and the controller program, and storing the electronic oil pump program and the controller program in different physical memories, respectively.
[0076] In an embodiment of the present invention, since the remote communication terminal cannot directly identify the oil pump node, this embodiment packages the electronic oil pump software into an MCU software package through the motor controller for upgrading. In order to distinguish the MCU program from the EOP program, storage addresses are allocated for the electronic oil pump program and the controller program, and the electronic oil pump program and the controller program are stored in different physical memories respectively.
[0077] Specifically, MCU program address allocation: In the Aurix TC38X chip, the starting address of the MCU program is allocated in the Program Flash 0 (PF0) area, and the specific address range can be 80000000H to 802F FFFFH. The address allocation ensures that the MCU program is stored and executed in a specific area of the chip, which is convenient for management and maintenance. EOP program address allocation: The starting address of the EOP program is allocated in the next Program Flash area of the MCU program end address. In the Aurix TC38X chip, the starting address of the EOP program can range from 8090 0000H to 80BF FFFFH. The address allocation strategy allows the EOP program to be stored separately from the MCU program, which is convenient for distinction and upgrade. Of course, the above address allocation is a specific example, and this embodiment does not specifically limit the address range.
[0078] In the embodiment of the present invention, since OTA technology cannot directly identify the oil pump node, the oil pump software is packaged into an MCU software package for upgrading through the MCU. During the OTA upgrading process, the MCU is responsible for receiving, verifying and executing the update of the software package to ensure the correct upgrading of the oil pump software.
[0079] Step 203: receiving a diagnostic request sent by the remote communication terminal through functional addressing, parsing the diagnostic request, and obtaining a target physical memory address corresponding to the diagnostic request.
[0080] Step 204 , determining whether the program to be upgraded is an electronic oil pump program or a controller program according to the target physical memory address.
[0081] In the embodiment of the present invention, the diagnostic request sent by the remote communication terminal TBOX through the functional addressing may be 31 0102 04 80 02 00 00 00 00 00 20, wherein 31 01 02 04 in the functional addressing sent by TBOX is used by the motor controller to determine the precondition and feedback information, the precondition is used to confirm the flag bit of the flashing, and is used to ensure that the electronic oil pump and the motor controller communicate normally, and the target physical memory address, i.e., the erase address, is correct. After TBOX determines that the precondition 31 01 02 04 is passed, the motor controller determines whether the precondition for entering OTA is met according to the target physical memory address. The precondition of OTA includes detecting whether there is a torque request, a motor speed request, etc. at present. If the precondition of OTA is met, the motor controller feeds back 71 01 02 04 00 and no longer responds to any torque request; if the precondition of OTA is not met, 71 0102 04 01 is fed back. Specifically, according to the target physical memory address, it is determined whether the program to be upgraded is the electronic oil pump program or the controller program. If the program to be upgraded is the controller program, the program update is completed according to the MCU OTA upgrade process. If the program to be upgraded is the electronic oil pump program, the MCU performs an EOP program update. In some embodiments, if the MCU does not perform the MCU program update according to the above process, an EOP program update will be performed, and the MCU replies 71 01 02 04 00. Regardless of whether the MCU is performing an MCU program update or an EOP program update, the same confirmation message will be sent.
[0082] Further, see Figure 3 , showing Figure 1 A flowchart of step 102 in a vehicle oil pump upgrade method is provided. The method is substantially the same as the vehicle oil pump upgrade method provided in the first embodiment of the present invention. Step 102 may include:
[0083] Step 301: If it is determined that the program to be upgraded is an electronic fuel pump program, a verification request of the remote communication terminal is sent to the electronic fuel pump.
[0084] Step 302: forwarding the response message of the electronic oil pump in response to the verification request to the remote communication terminal.
[0085] Step 303: Receive a first request sent by a remote communication terminal; wherein the first request is used to flash a boot loader.
[0086] Step 304 : In response to the first request, flash the boot loader to the motor controller.
[0087] In an embodiment of the present invention, if it is determined that the program to be upgraded is an electronic oil pump program, the MCU sends a verification request of the remote communication terminal to the electronic oil pump, the verification request is used to verify the upgrade data, and the response message of the electronic oil pump in response to the verification request is forwarded to the remote communication terminal. The remote communication terminal instructs the motor controller to flash the boot loader program, and the motor controller flashes the boot loader program to the motor controller.
[0088] Specifically, T-BOX sends 22F0 F0 to MCU, and MCU replies with a positive response of 62F0 F0, confirming that the data read operation is successful. T-BOX sends 10 02 to MCU through physical addressing, and MCU forwards it to the oil pump ECU and forwards the EOP response message. T-BOX sends 27 09 / 0A to MCU, and MCU forwards it to the oil pump ECU and replies with a corresponding confirmation message according to the response status of EOP. T-BOX sends 2E F1 84 to MCU, and MCU replies with a positive response of 6E F1 84, confirming that the data write operation is successful. T-BOX sends 34, 36, and 37 services to MCU, and MCU responds normally and executes the flash write operation of the Flash Driver program. After the Flash Driver program is flashed, an integrity check is performed to ensure the correctness and integrity of the program.
[0089] For example, when T-BOX sends 22F0 F0 through functional addressing to read the version number, MCU replies with a positive response, i.e., 62F0 F0; when T-BOX sends 10 02 through physical addressing to enter the extended session, MCU forwards 10 02 through the physical addressing of the oil pump and forwards the EOP response message; when T-BOX sends 27 09 / 0A through physical addressing to obtain the key for verification, MCU forwards 27 01 / 02 through the physical addressing of the oil pump, if the EOP reply is a positive response, MCU replies 67 09 / 0A; and MCU oil pump physical addressing replies EOP 67 01 / 02; if the EOP reply is a negative response, MCU directly forwards the EOP response message. When T-BOX sends 2E F1 84 through physical addressing to obtain fingerprint information, MCU replies with a positive response 6E F1 84. When T-BOX sends 34 service through physical addressing to request download, T-BOX sends 36 service through physical addressing to transmit data, and T-BOX sends 37 service through physical addressing to exit data transmission, the MCU responds normally to the above services but does not forward the message.
[0090] Specifically, step 103 performs a secondary confirmation on the diagnostic request sent by the remote communication terminal, and, in the case of confirming that the electronic oil pump program is upgraded, sends an erase request to the electronic oil pump, which may specifically include the following steps:
[0091] First, a target physical memory address corresponding to the diagnostic request sent by the remote communication terminal is secondarily confirmed to confirm whether the target physical memory address indicates an electronic oil pump program;
[0092] Secondly, when it is confirmed that the electronic oil pump program is upgraded, an erase request is sent to the electronic oil pump through physical addressing; wherein the erase request is used to request the electronic oil pump to enter a programming session, security unlocking, and memory erasing.
[0093] In the embodiment of the present invention, T-BOX sends 31 01FF 00xx to MCU through physical addressing, requesting to erase the memory within a specific address range. After receiving the erase request, MCU distinguishes whether it is the OTA process of MCU itself or the OTA process of EOP according to the erase address parameter xx. If the erase address corresponds to the MCU program area, MCU will execute the OTA process of MCU to perform the corresponding memory erase and program update; if the erase address corresponds to the EOP program area, MCU will execute the OTA process of EOP to perform the memory erase and update of EOP program.
[0094] Specifically, the MCU sends 10 02 to the oil pump through physical addressing to enter the extended session and request EOP to enter the programming session; EOP replies with an affirmative response to confirm that the programming session has been entered; the MCU sends 27 01 / 02 to the oil pump through physical addressing to request EOP to perform security unlocking; EOP replies with an affirmative response to confirm that the security unlocking is successful. The MCU sends 3101FF 00xx to the oil pump through physical addressing to request EOP to perform memory erasure; EOP replies with an affirmative response to confirm that the memory erasure is successful. If EOP fails in any of the steps of entering the programming session, security unlocking or memory erasure, the MCU will reply to T-BOX with an erase failure message 31 01FF00 01. After receiving the erase failure message, T-BOX will request to re-flash the process. If EOP succeeds in entering the programming session, security unlocking and memory erasure, the MCU will reply to T-BOX with an erase success message 31 01FF 00 00, and the MCU will continue to execute the OTA process of EOP.
[0095] This embodiment performs a second confirmation on the diagnostic request sent by the remote communication terminal, which ensures the accuracy and safety of the upgrade operation and prevents unexpected upgrades caused by misoperation or communication errors. When the electronic oil pump program is confirmed to be upgraded, an erase request is sent to the electronic oil pump, and the next step of the flash operation is performed only after receiving a successful erase response message, thereby ensuring that the memory cleanup work before the upgrade is completed and optimizing the upgrade process.
[0096] Further, see Figure 4 , showing Figure 1A flowchart of step 104 in a vehicle oil pump upgrade method is provided. The method is substantially the same as the vehicle oil pump upgrade method provided in the first embodiment of the present invention. Step 104 may include:
[0097] Step 401, receiving a response message indicating that the electronic fuel pump is successfully erased; wherein the response message is sent by the electronic fuel pump when entering a programming session, security unlocking, and memory erasing are all successful.
[0098] Step 402: forwarding a response message indicating that the electronic oil pump has been successfully erased to a remote communication terminal.
[0099] Step 403, receiving a second request sent by the remote communication terminal; wherein the second request is used to instruct the motor controller to start flashing the electronic oil pump program.
[0100] Step 404 , in response to the second request, controlling the electronic oil pump to rewrite the electronic oil pump program.
[0101] In an embodiment of the present invention, the motor controller forwards a response message indicating successful erasure of the electronic oil pump to the remote communication terminal. After receiving the response message indicating successful erasure of the electronic oil pump, the motor controller forwards the response message to the remote communication terminal. The response message indicates that the memory of the electronic oil pump has been successfully erased and is ready for the subsequent program flashing, so that the T-Box knows that the erasing operation has been completed and that the next upgrade operation can be performed. Specifically, the motor controller receives a second request from the T-Box, and the second request includes an instruction to start flashing the electronic oil pump program. The motor controller prepares to perform the flashing operation according to the request. After receiving the second request, the motor controller controls the electronic oil pump to start flashing the new electronic oil pump program according to the instructions in the request, transmits the new program data to the electronic oil pump, and ensures that the program is correctly written to the memory of the electronic oil pump.
[0102] Reference Figure 5 , shows a flowchart of the steps of another vehicle oil pump upgrading method provided by an embodiment of the present invention, which method is basically the same as the vehicle oil pump upgrading method provided by the first embodiment of the present invention, except that the method may further include:
[0103] Step 105 , receiving a session request sent by the remote communication terminal through functional addressing, determining to enter an extended session according to the session request, and controlling the electronic oil pump to enter the extended session.
[0104] Step 106 , in the current extended session, control the motor controller and the electronic oil pump to stop reporting fault diagnosis information.
[0105] In the embodiment of the present invention, the process of prohibiting DTC fault reporting is realized through diagnostic communication between the remote communication terminal T-BOX and the motor controller MCU and the electronic oil pump EOP. The T-BOX sends a session request to the MCU through functional addressing. The MCU receives the session request sent by the remote communication terminal through functional addressing, determines to enter the extended session according to the session request, controls the electronic oil pump to enter the extended session, and forwards the same request to the electronic oil pump, so that the electronic oil pump also enters the extended session mode. It should be noted that the extended session mode allows for a wider range of diagnostic operations and provides the necessary session environment for subsequent DTC control.
[0106] Specifically, if T-BOX sends 3E 80 to MCU, MCU will keep the current session state after receiving it, and forward the same request to the electronic oil pump to make it keep the current session state. Keeping the current session state is to ensure the continuity of operation due to the change of session state during the process of prohibiting DTC reporting. T-BOX sends 85 82 to MCU, MCU prohibits DTC fault reporting after receiving it, and forwards the same request to the electronic oil pump to make it prohibit DTC fault reporting. Prohibiting DTC reporting is a measure taken in specific circumstances, such as diagnostic testing or software updates, to avoid recording temporary fault codes.
[0107] Step 101, receiving a diagnostic request sent by a remote communication terminal through functional addressing, and determining a program to be upgraded according to a physical memory address in the diagnostic request; wherein the motor controller stores a controller program and a pre-packaged electronic oil pump program.
[0108] Step 102 : If it is determined that the program to be upgraded is the electronic fuel pump program, the boot loader program is flashed according to the first request sent by the remote communication terminal.
[0109] Step 103 : performing a second confirmation on the diagnosis request sent by the remote communication terminal, and, in the case of confirming that the electronic oil pump program is to be upgraded, sending an erasure request to the electronic oil pump.
[0110] Step 104 , receiving a response message indicating that the electronic oil pump has been successfully erased, and controlling the electronic oil pump to rewrite the electronic oil pump program according to the second request sent by the remote communication terminal.
[0111] The above steps 101 to 104 are described in the foregoing description and will not be repeated here.
[0112] On the basis of achieving the beneficial effects of the first embodiment, the embodiment of the present invention receives a session request sent by a remote communication terminal through functional addressing, determines to enter an extended session according to the session request, and controls the electronic oil pump to enter the extended session, thereby ensuring that a temporary fault code is reported during the process of program upgrade and flashing, thereby affecting the flashing operation.
[0113] Reference Figure 6 , shows a flowchart of the steps of another vehicle oil pump upgrading method provided by an embodiment of the present invention, which method is basically the same as the vehicle oil pump upgrading method provided by the first embodiment of the present invention, except that the method may further include:
[0114] Step 101, receiving a diagnostic request sent by a remote communication terminal through functional addressing, and determining a program to be upgraded according to a physical memory address in the diagnostic request; wherein the motor controller stores a controller program and a pre-packaged electronic oil pump program.
[0115] Step 102 : If it is determined that the program to be upgraded is the electronic fuel pump program, the boot loader program is flashed according to the first request sent by the remote communication terminal.
[0116] Step 103 : performing a second confirmation on the diagnosis request sent by the remote communication terminal, and, in the case of confirming that the electronic oil pump program is to be upgraded, sending an erasure request to the electronic oil pump.
[0117] Step 104 , receiving a response message indicating that the electronic oil pump has been successfully erased, and controlling the electronic oil pump to rewrite the electronic oil pump program according to the second request sent by the remote communication terminal.
[0118] The above steps 101 to 104 are described in the foregoing description and will not be repeated here.
[0119] Step 107, receiving a response message from the electronic oil pump indicating that the electronic oil pump program has been flashed.
[0120] Step 108: forwarding a response message to the remote communication terminal in response to the third request sent by the remote communication terminal.
[0121] In an embodiment of the present invention, the motor controller receives a response message from the electronic oil pump that the electronic oil pump program has been flashed. The motor controller (MCU) receives a response message from the electronic oil pump, and the response message indicates that the flashing of the electronic oil pump program has been completed. The response message may include information on the flashing status, such as success or failure, and possible error codes. Receiving this response message is used to confirm whether the upgrade operation is successful. In response to the third request sent by the remote communication terminal, the response message is forwarded to the remote communication terminal. After receiving the response message from the electronic oil pump, the motor controller forwards the response message to the T-Box according to the third request sent by the remote communication terminal (T-Box). The T-Box can obtain the result of the flashing of the electronic oil pump program, so that subsequent operations can be performed, such as recording the upgrade log, notifying the user, or performing further diagnosis. This embodiment does not specifically limit this.
[0122] Reference Figure 8, shows a schematic structural diagram of a vehicle oil pump upgrade device provided by an embodiment of the present invention, which is applied to a motor controller of a vehicle, wherein the motor controller is respectively connected to a remote communication terminal and an electronic oil pump for communication, and the device comprises:
[0123] The request receiving module 501 is used to receive the diagnostic request sent by the remote communication terminal through functional addressing, and determine the program to be upgraded according to the physical memory address in the diagnostic request; wherein the motor controller stores the controller program and the pre-packaged electronic oil pump program;
[0124] A first flashing module 502 is configured to flash a boot loader program according to a first request sent by the remote communication terminal if it is determined that the program to be upgraded is an electronic fuel pump program;
[0125] A sending request module 503, configured to perform a second confirmation on the diagnostic request sent by the remote communication terminal, and, in the case of confirming that the electronic oil pump program is to be upgraded, send an erasure request to the electronic oil pump;
[0126] The second flashing module 504 is used to receive a response message indicating that the electronic oil pump is successfully erased, and control the electronic oil pump to flash the electronic oil pump program according to a second request sent by the remote communication terminal.
[0127] Furthermore, the request receiving module 501 includes:
[0128] A packaging submodule is used to pre-package the electronic oil pump program to be upgraded into a controller software package; wherein the controller software package includes the controller program;
[0129] An address allocation submodule, used for allocating storage addresses for the electronic oil pump program and the controller program, and storing the electronic oil pump program and the controller program in different physical memories respectively;
[0130] A parsing submodule, configured to receive a diagnostic request sent by the remote communication terminal through functional addressing, parse the diagnostic request, and obtain a target physical memory address corresponding to the diagnostic request;
[0131] The determination submodule is used to determine whether the program to be upgraded is an electronic oil pump program or a controller program according to the target physical memory address.
[0132] Furthermore, the first flashing module 502 includes:
[0133] a sending submodule, configured to send a verification request of the remote communication terminal to the electronic oil pump if it is determined that the program to be upgraded is an electronic oil pump program;
[0134] A first forwarding submodule, configured to forward a response message of the electronic oil pump in response to the verification request to the remote communication terminal;
[0135] A first receiving submodule, configured to receive a first request sent by the remote communication terminal; wherein the first request is used to flash a boot loader;
[0136] The first flashing submodule is used to flash the boot loader to the motor controller in response to the first request.
[0137] Furthermore, the sending request module 503 includes:
[0138] A secondary confirmation submodule, used for performing secondary confirmation on the target physical memory address corresponding to the diagnostic request sent by the remote communication terminal, to confirm whether the target physical memory address indicates an electronic oil pump program;
[0139] The erasing submodule is used to send an erasing request to the electronic oil pump through physical addressing when confirming to upgrade the electronic oil pump program; wherein the erasing request is used to request the electronic oil pump to enter a programming session, security unlocking, and memory erasing.
[0140] Furthermore, the second flashing module 504 includes:
[0141] A second receiving submodule is used to receive a response message indicating that the electronic oil pump is successfully erased; wherein the response message is sent by the electronic oil pump when entering a programming session, security unlocking, and memory erasing are all successful;
[0142] A second forwarding submodule, used for forwarding a response message of successful erasure of the electronic oil pump to the remote communication terminal;
[0143] A third receiving submodule is used to receive a second request sent by the remote communication terminal; wherein the second request is used to instruct the motor controller to start the electronic oil pump program flashing;
[0144] The second flashing submodule is used to control the electronic oil pump to flash the electronic oil pump program in response to the second request.
[0145] Furthermore, the device further comprises:
[0146] An extended session module, configured to receive a session request sent by the remote communication terminal through functional addressing, determine to enter an extended session according to the session request, and control the electronic oil pump to enter the extended session;
[0147] The control reporting module is used to control the motor controller and the electronic oil pump to stop reporting fault diagnosis information in the current extended session.
[0148] Furthermore, the device further comprises:
[0149] A message receiving module, used for receiving a response message of the electronic oil pump completing the flashing of the electronic oil pump program;
[0150] The message forwarding module is used to forward the response message to the remote communication terminal in response to the third request sent by the remote communication terminal.
[0151] The vehicle oil pump upgrading device provided by the embodiment of the present invention receives a diagnostic request sent by a remote communication terminal through functional addressing, determines the program to be upgraded according to the physical memory address in the diagnostic request, and if it is determined that the program to be upgraded is an electronic oil pump program, writes the boot loader according to a first request sent by the remote communication terminal, performs a second confirmation on the diagnostic request sent by the remote communication terminal, and sends an erase request to the electronic oil pump when confirming that the electronic oil pump program has been upgraded, receives a response message of successful erasure of the electronic oil pump, and controls the electronic oil pump to write the electronic oil pump program according to a second request sent by the remote communication terminal. The embodiment of the present invention directly upgrades the electronic oil pump through the motor controller, reducing the wiring harness from the oil pump to the assembly CAN. Since the oil pump does not need to communicate with the TBOX, based on the request of the remote communication terminal, the motor controller determines to upgrade the electronic oil pump, and uses the stored controller program and electronic oil pump program to directly upgrade the electronic oil pump, thereby ensuring the accuracy and simplicity of the upgrade operation. In response to the request of the remote communication terminal, the MCU directly controls the electronic oil pump to flash the electronic oil pump program, thereby achieving precise control of the upgrade process. Through the coordinated work of the MCU and the remote communication terminal, the wiring of the vehicle electrical system is simplified, thereby achieving efficient and simple upgrade of the electronic oil pump program.
[0152] Reference Fig. 9 , an embodiment of the present invention further provides an electronic device, such as Fig. 9 As shown, it includes a processor 601, a communication interface 602, a memory 603 and a communication bus 604, wherein the processor 601, the communication interface 602, and the memory 603 communicate with each other through the communication bus 604.
[0153] Memory 603, used for storing computer programs;
[0154] The processor 601 is used to execute the program stored in the memory 603 to implement the following steps:
[0155] Receiving a diagnostic request sent by the remote communication terminal through functional addressing, and determining a program to be upgraded according to a physical memory address in the diagnostic request; wherein the motor controller stores a controller program and a pre-packaged electronic oil pump program;
[0156] If it is determined that the program to be upgraded is an electronic fuel pump program, flashing a boot loader program according to a first request sent by the remote communication terminal;
[0157] performing a second confirmation on the diagnostic request sent by the remote communication terminal, and, in the case of confirming that the electronic oil pump program is to be upgraded, sending an erasure request to the electronic oil pump;
[0158] A response message indicating that the electronic oil pump is successfully erased is received, and according to a second request sent by the remote communication terminal, the electronic oil pump is controlled to rewrite the electronic oil pump program.
[0159] The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0160] The communication interface is used for communication between the above terminal and other devices.
[0161] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0162] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0163] In another embodiment provided by the present invention, a computer-readable storage medium is also provided, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes the vehicle oil pump upgrading method described in any of the above embodiments.
[0164] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.
[0165] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0166] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0167] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims
1. A vehicle oil pump upgrade method, It is characterized in that A motor controller applied to a vehicle, wherein the motor controller is communicatively connected to a remote communication terminal and an electronic oil pump respectively, and the method comprises: Receiving a diagnostic request sent by the remote communication terminal through functional addressing, and determining a program to be upgraded according to a physical memory address in the diagnostic request; wherein the motor controller stores a controller program and a pre-packaged electronic oil pump program; If it is determined that the program to be upgraded is an electronic fuel pump program, flashing a boot loader program according to a first request sent by the remote communication terminal; performing a second confirmation on the diagnostic request sent by the remote communication terminal, and, in the case of confirming that the electronic oil pump program is to be upgraded, sending an erasure request to the electronic oil pump; A response message indicating that the electronic oil pump is successfully erased is received, and according to a second request sent by the remote communication terminal, the electronic oil pump is controlled to rewrite the electronic oil pump program.
2. The method according to claim 1, It is characterized in that The receiving of the diagnostic request sent by the remote communication terminal through functional addressing, and determining the program to be upgraded according to the physical memory address in the diagnostic request, comprises: Pre-packaging the electronic oil pump program to be upgraded into a controller software package; wherein the controller software package includes the controller program; Allocating storage addresses for the electronic oil pump program and the controller program, and storing the electronic oil pump program and the controller program in different physical memories respectively; Receiving a diagnostic request sent by the remote communication terminal through functional addressing, parsing the diagnostic request, and obtaining a target physical memory address corresponding to the diagnostic request; According to the target physical memory address, it is determined that the program to be upgraded is an electronic oil pump program or a controller program.
3. The method according to claim 1, It is characterized in that If it is determined that the program to be upgraded is an electronic oil pump program, flashing a boot loader program according to a first request sent by the remote communication terminal includes: If it is determined that the program to be upgraded is an electronic fuel pump program, sending a verification request of the remote communication terminal to the electronic fuel pump; forwarding a response message of the electronic oil pump in response to the verification request to the remote communication terminal; receiving a first request sent by the remote communication terminal; wherein the first request is used to flash a boot loader; In response to the first request, a boot loader is flashed to the motor controller.
4. The method according to claim 1, It is characterized in that The second confirmation of the diagnostic request sent by the remote communication terminal and, in the case of confirming that the electronic oil pump program is upgraded, sending an erasure request to the electronic oil pump include: Performing secondary confirmation on a target physical memory address corresponding to the diagnostic request sent by the remote communication terminal to confirm whether the target physical memory address indicates an electronic oil pump program; When it is confirmed that the electronic oil pump program is upgraded, an erase request is sent to the electronic oil pump through physical addressing; wherein the erase request is used to request the electronic oil pump to enter a programming session, a security unlock, and a memory erase.
5. The method according to claim 1, It is characterized in that The receiving of the response message of the electronic oil pump being successfully erased, and controlling the electronic oil pump to rewrite the electronic oil pump program according to the second request sent by the remote communication terminal, comprises: Receiving a response message indicating that the electronic oil pump is successfully erased; wherein the response message is sent by the electronic oil pump when entering a programming session, security unlocking, and memory erasing are all successful; Forwarding a response message of successful erasure of the electronic oil pump to the remote communication terminal; receiving a second request sent by the remote communication terminal; wherein the second request is used to instruct the motor controller to start flashing the electronic oil pump program; In response to the second request, the electronic oil pump is controlled to flash the electronic oil pump program.
6. The method according to claim 1, It is characterized in that The receiving of the diagnostic request sent by the remote communication terminal through functional addressing, and determining the program to be upgraded according to the physical memory address in the diagnostic request, further includes: receiving a session request sent by the remote communication terminal through functional addressing, determining to enter an extended session according to the session request, and controlling the electronic oil pump to enter the extended session; In the current extended session, the motor controller and the electronic oil pump are controlled to stop reporting fault diagnosis information.
7. The method according to claim 1, It is characterized in that After receiving the response message of successful erasure of the electronic oil pump and controlling the electronic oil pump to rewrite the electronic oil pump program according to the second request sent by the remote communication terminal, the method further includes: Receiving a response message from the electronic oil pump indicating that the electronic oil pump program has been flashed; In response to the third request sent by the remote communication terminal, the response message is forwarded to the remote communication terminal.
8. A vehicle oil pump upgrade device, It is characterized in that A motor controller applied to a vehicle, wherein the motor controller is respectively connected to a remote communication terminal and an electronic oil pump for communication, and the device comprises: A request receiving module, used for receiving a diagnostic request sent by the remote communication terminal through functional addressing, and determining a program to be upgraded according to a physical memory address in the diagnostic request; wherein the motor controller stores a controller program and a pre-packaged electronic oil pump program; A first flashing module, configured to flash a boot loader program according to a first request sent by the remote communication terminal if it is determined that the program to be upgraded is an electronic fuel pump program; a sending request module, configured to perform a second confirmation on the diagnostic request sent by the remote communication terminal, and, in the case of confirming that the electronic oil pump program is to be upgraded, send an erasure request to the electronic oil pump; The second flashing module is used to receive a response message indicating that the electronic oil pump is successfully erased, and control the electronic oil pump to flash the electronic oil pump program according to a second request sent by the remote communication terminal.
9. An electronic device, It is characterized in that include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the instructions to implement the vehicle oil pump upgrading method according to any one of claims 1 to 7.
10. A readable storage medium, It is characterized in that The readable storage medium stores a computer program, and when the computer program is executed by a processor, the vehicle oil pump upgrading method according to any one of claims 1 to 7 is implemented.
