WO2023109889A1 - Engine ecu flashing method and device, and engine ecu flashing diagnosis method and device - Google Patents

Engine ecu flashing method and device, and engine ecu flashing diagnosis method and device Download PDF

Info

Publication number
WO2023109889A1
WO2023109889A1 PCT/CN2022/139204 CN2022139204W WO2023109889A1 WO 2023109889 A1 WO2023109889 A1 WO 2023109889A1 CN 2022139204 W CN2022139204 W CN 2022139204W WO 2023109889 A1 WO2023109889 A1 WO 2023109889A1
Authority
WO
WIPO (PCT)
Prior art keywords
flashing
ecu
record
flash
engine ecu
Prior art date
Application number
PCT/CN2022/139204
Other languages
French (fr)
Chinese (zh)
Inventor
王怀宽
齐向超
钟永超
李博
Original Assignee
潍柴动力股份有限公司
潍坊潍柴动力科技有限责任公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 潍柴动力股份有限公司, 潍坊潍柴动力科技有限责任公司 filed Critical 潍柴动力股份有限公司
Publication of WO2023109889A1 publication Critical patent/WO2023109889A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
    • G05B23/0221Preprocessing measurements, e.g. data collection rate adjustment; Standardization of measurements; Time series or signal analysis, e.g. frequency analysis or wavelets; Trustworthiness of measurements; Indexes therefor; Measurements using easily measured parameters to estimate parameters difficult to measure; Virtual sensor creation; De-noising; Sensor fusion; Unconventional preprocessing inherently present in specific fault detection methods like PCA-based methods

Definitions

  • the present application relates to the technical field of vehicle engines, for example, to an engine ECU flashing method, flashing diagnosis method and equipment.
  • the present application provides an engine ECU flashing method, flashing diagnosis method and equipment, which can deal with the situation in the related art that it is impossible to determine whether the vehicle ECU has been stolen.
  • the embodiment of the present application provides a method for flashing an engine ECU, which is applied to an ECU flashing device, and includes the following steps:
  • a flashing temporary record is pre-formed and stored
  • the ECU flashing When the ECU flashing is completed, it will automatically record and form the first ECU flashing record, and send the first ECU flashing record externally.
  • the information category of the first ECU flashing record includes ECU serial number, data record number, issued record time, flashing completion time, flashing times, project number, version number and/or ECU running time.
  • the information category of the first ECU flashing record is increased or decreased by user definition.
  • the embodiment of the present application provides a method for diagnosing engine ECU flashing, which is applied to diagnosing equipment for flashing, including the following steps:
  • the flashing diagnosis request command obtain the first ECU flashing record obtained by the engine ECU flashing method
  • the corresponding second ECU flashing record in the flashing diagnosis device lacks the data record number and/or issued record time of the first ECU flashing record, it is determined that the first ECU flashing record is an illegal flashing record.
  • the ECU flash record according to the flash diagnostic request instruction after obtaining the ECU flash record according to the flash diagnostic request instruction, it also includes:
  • the ECU flashing record after judging that the ECU flashing record is an illegal flashing record, it also includes:
  • the information category of the second ECU flashing record includes ECU serial number, data record number, issued record time, flashing completion time, flashing times, project number, version number and/or ECU running time.
  • the information category of the second ECU flashing record is increased or decreased by user definition.
  • the embodiment of the present application also provides a flashing diagnostic device, including:
  • the processor is configured to implement the engine ECU flashing diagnosis method as described above when executing the computer program.
  • an engine ECU flashing device including:
  • the processor is configured to implement the method for flashing the engine ECU as described above when executing the computer program.
  • the engine ECU flashing method is applied to the ECU flashing device, comprising the following steps: receiving the ECU flashing request instruction; according to the ECU flashing request instruction in advance Forming and storing a temporary record for flashing; executing ECU flashing according to the temporary record for flashing; when the ECU flashing is completed, automatically record and form a first ECU flashing record, and send the first ECU flashing record externally.
  • the engine ECU flashing diagnosis method is applied to flashing diagnostic equipment, comprising the following steps: receiving a flashing diagnosis request instruction; obtaining the first ECU flashing record obtained by the engine ECU flashing method according to the flashing diagnostic request instruction; When the corresponding second ECU flash record in the device lacks the data record number and/or issued record time of the first ECU flash record, it is determined that the ECU flash record is an illegal flash record.
  • the present application can deal with the situation in the related art that it is impossible to determine whether the ECU of the vehicle has been stolen.
  • Fig. 1 shows a flow chart of the steps of a method for flashing an engine ECU according to an embodiment of the present application
  • Fig. 2 shows a flow chart of the steps of a method for flashing and diagnosing an engine ECU according to an embodiment of the present application
  • Fig. 3 shows a schematic flow chart of an engine ECU flashing and flashing diagnosis method according to an embodiment of the present application
  • Fig. 4 shows a schematic structural diagram of an engine ECU flashing diagnostic device according to an embodiment of the present application
  • Fig. 5 shows a schematic structural diagram of an engine ECU flashing device according to an embodiment of the present application.
  • the embodiment of the present application provides an engine ECU flashing, flashing diagnosis method and equipment, the engine ECU flashing method, applied to the ECU flashing device, including the following steps: receiving the ECU flashing request command; According to the ECU flash write request instruction, pre-form the flash write temporary record and store it; execute the ECU flash write according to the flash write temporary record; when the ECU flash write is completed, the first ECU flash write record is automatically recorded and sent externally Describe the first ECU flash record.
  • a method for diagnosing engine ECU flashing which is applied to diagnosing equipment for flashing, comprising the following steps: receiving a flashing diagnosis request instruction; obtaining the first ECU flashing record obtained by the engine ECU flashing method according to the flashing diagnostic request instruction; When the corresponding second ECU flashing record in the flashing diagnosis device lacks the data record number and/or issued record time of the first ECU flashing record, it is determined that the ECU flashing record is an illegal flashing record.
  • the application solves the problem in the prior art that it is impossible to determine whether the ECU of the vehicle is stolen.
  • this figure is a flow chart of the steps of a method for flashing an engine ECU provided in an embodiment of the present application, which is applied to an ECU flashing device, including:
  • S101 Receive an ECU flashing request instruction.
  • S102 Pre-form a flashing temporary record according to the ECU flashing request instruction, and store it.
  • S103 Perform ECU flashing according to the flashing temporary record.
  • the J1939 message broadcast method can be used to send it to the outside, including sending to the flashing diagnostic device.
  • the information category of the first ECU flashing record includes ECU serial number, data record number, issued record time, flashing completion time, flashing times, project number, version number and/or ECU operation hours.
  • the information category of the first ECU flashing record is increased or decreased by user definition.
  • this figure is a flow chart of the steps of an engine ECU flashing diagnosis method provided in the embodiment of the present application, which is applied to flashing diagnostic equipment, including:
  • it also includes: when the data record number and/or issued record time in the corresponding second ECU flashing record in the flashing diagnostic device is inconsistent with the data in the ECU flashing record, judging The ECU flash record is an illegal flash record.
  • the ECU flashing record after determining that the ECU flashing record is an illegal flashing record, it further includes: estimating the data record number and/or sending record time of the ECU flashing record. You can roughly estimate the flashing time based on the current ECU running time, the previous ECU running time, and the previous flashing completion time.
  • an illegal flashing warning will be issued and the normal data of the ECU will be restored.
  • the information category of the second ECU flashing record includes ECU serial number, data record number, issued record time, flashing completion time, flashing times, project number, version number and/or ECU operation hours.
  • the information category of the second ECU flashing record is increased or decreased by user definition.
  • FIG. 3 is a schematic flow chart of an engine ECU flashing and flashing diagnosis method provided by an embodiment of the present application.
  • the flashing diagnostic equipment includes a service, a TBOX remote terminal, and a diagnostic instrument.
  • ECU flashing equipment includes two parts: BT and ASW.
  • the diagnostic instrument can obtain the flashing data from the server, execute the flashing process, and instill the data in the server into the ECU.
  • the diagnostic instrument proposed here is an authorized diagnostic instrument, which can be connected to the enterprise server, while other hacking tools cannot be connected to the enterprise server.
  • BT is responsible for ECU flashing
  • ASW is responsible for ECU control.
  • ASW is responsible for storing flashing times, item number, version number, and ECU running time into memory EE as a temporary record.
  • BT executes the flashing process, and when it starts to erase the corresponding area, it sets the temporary record as the official record.
  • the flashing record function in the ECU can record the latest three flashing information, including the number of flashing times, project number, version number, and ECU running time.
  • the server records the flashing completion time, flashing times, project number, version number, and ECU running time.
  • the server is responsible for ECU data management and can provide ECU flashing record information, including ECU serial number, data record number, sending record time, flashing completion time, flashing times, project number, Version number and ECU runtime, etc.
  • ECU flashing record information including ECU serial number, data record number, sending record time, flashing completion time, flashing times, project number, Version number and ECU runtime, etc.
  • the flash record information can be customized.
  • the diagnostic instrument When the vehicle needs to be repaired, it will be connected to the diagnostic instrument for fault reading and troubleshooting. At this time, the diagnostic instrument will read the flash record in the ECU through the 0x22 service and send this information to the server. If the server has included the latest If the record is flushed, the information is discarded, otherwise it is recorded.
  • the flashing record in the server does not include the data record number and the sending record time, it is judged as illegal flashing information, and the current ECU running time, the previous ECU running time, and the previous flashing completion time can be roughly Estimated time to be flashed.
  • the server When the ECU is determined to be illegally flashed, the server will give an early warning to help service personnel restore normal data to protect the vehicle.
  • the ECU of this application can actively record the flashing information, and all flashing can be captured; the information validity record is performed from the execution of the flashing process to the erasure, which is more accurate for the flashing record; temporary records can be formed in advance to avoid flashing If the failure fails, the record cannot be formed again; after the flashing is completed, a message is sent out to facilitate the TBOX to notify the server in time; the relevant information of the ECU flashing record can be read in BT and ASW.
  • the embodiment of the present application provides a method for flashing an engine ECU, which is applied to an ECU flashing device, comprising the following steps: receiving an ECU flashing request instruction; pre-forming a flashing temporary record according to the ECU flashing request instruction, and storing it; Execute ECU flashing according to the flashing temporary record; when the ECU flashing is completed, automatically record to form a first ECU flashing record, and send the first ECU flashing record externally.
  • This application can actively record flashing information; flashing record information can be customized to meet different needs; pre-form temporary records to avoid flashing failures and cannot form records again; send J1939 messages after flashing is completed to avoid flashing failures cannot be recorded. It can meet the needs of different customers, avoid the failure of flashing to form records again, and make the flashing records more accurate.
  • the embodiment of the present application provides a method for diagnosing engine ECU flashing, which is applied to a diagnosing device for flashing, comprising the following steps: receiving a flashing diagnosis request instruction; obtaining the first ECU obtained by the engine ECU flashing method according to the flashing diagnosis request instruction Flash record; when the corresponding second ECU flash record in the flash diagnostic device lacks the data record number and/or issued record time of the first ECU flash record, it is determined that the ECU flash record is an illegal flash record.
  • the application solves the problem in the prior art that it is impossible to determine whether the ECU of the vehicle is stolen.
  • the engine ECU flashing diagnostic device 400 includes:
  • Memory 402 for storing computer programs
  • Processor 401 used to implement the above-mentioned engine ECU flashing diagnosis method when executing the computer program.
  • the schematic diagram 4 is only an example of the engine ECU flashing diagnostic device 400, and does not constitute a limitation to the engine ECU flashing diagnostic device 400, and may include more or less components than those shown in the figure, or a combination Certain components, or different components, such as the engine ECU flashing diagnostic device 400 may also include input and output devices, network access devices, buses and so on.
  • the so-called processor 401 can also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • General-purpose processor can be microprocessor or this processor 401 also can be any conventional processor etc., and processor 401 is the control center of engine ECU writing diagnosis equipment 400, utilizes various interfaces and lines to connect whole engine ECU writing Various parts of the diagnostic device 400 .
  • the memory 402 can be used to store computer-readable instructions, and the processor 401 implements the engine ECU flashing each function of the diagnostic device 400 by running or executing the computer-readable instructions or modules stored in the memory 402 and calling the data stored in the memory 402. function.
  • the memory 402 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.);
  • the engine ECU flash diagnostic device 400 uses the created data and the like.
  • the memory 402 can include a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash memory card (Flash Card), at least one magnetic disk storage device, a flash memory device, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), or other non-volatile/volatile storage devices.
  • a hard disk a memory
  • a plug-in hard disk a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash memory card (Flash Card), at least one magnetic disk storage device, a flash memory device, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), or other non-volatile/volatile storage devices.
  • a smart memory card Smart Media Card, SMC
  • the integrated modules of the engine ECU flashing diagnostic device 400 are realized in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the present invention realizes all or part of the processes in the methods of the above-mentioned embodiments, and can also use computer-readable instructions to instruct related hardware to complete.
  • the computer-readable instructions can be stored in a computer-readable storage medium. When the computer readable instructions are executed by the processor, the steps in the above-mentioned various method embodiments can be realized.
  • FIG. 5 it is a schematic structural diagram of an engine ECU flashing device provided in an embodiment of the present application, and an engine ECU flashing device 500 includes:
  • Memory 502 for storing computer programs
  • Processor 501 used to implement the above-mentioned engine ECU flashing method when executing the computer program.
  • the schematic diagram 5 is only an example of the engine ECU flashing device 500, and does not constitute a limitation to the engine ECU flashing device 500, and may include more or less components than those shown in the figure, or combine some Components, or different components, for example, the engine ECU flashing device 500 may also include input and output devices, network access devices, buses, and the like.
  • processor 501 Central Processing Unit, CPU
  • CPU Central Processing Unit
  • DSP Digital Signal Processor
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • General-purpose processor can be microprocessor or this processor 501 also can be any conventional processor etc.
  • processor 501 is the control center of engine ECU flashing equipment 500, utilizes various interfaces and lines to connect whole engine ECU flashing equipment 500 in various parts.
  • the memory 502 can be used to store computer-readable instructions, and the processor 501 realizes various functions of the engine ECU flashing device 500 by running or executing the computer-readable instructions or modules stored in the memory 502, and calling the data stored in the memory 502. Function.
  • the memory 502 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.);
  • the engine ECU flashing device 500 uses the created data and the like.
  • the memory 502 can include a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash memory card (Flash Card), at least one magnetic disk storage device, a flash memory device, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), or other non-volatile/volatile storage devices.
  • a hard disk a memory
  • a plug-in hard disk a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash memory card (Flash Card), at least one magnetic disk storage device, a flash memory device, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), or other non-volatile/volatile storage devices.
  • a smart memory card Smart Media Card, SMC
  • the integrated modules of the engine ECU flashing device 500 are realized in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the present invention realizes all or part of the processes in the methods of the above embodiments, and can also use computer-readable instructions to instruct related hardware to complete, and the computer-readable instructions can be stored in a computer-readable storage medium. When the computer-readable instructions are executed by the processor, the steps of the above-mentioned various method embodiments can be realized.
  • the embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is processed and executed, the above-mentioned engine ECU flashing Steps to write and flash diagnostic methods.
  • the engine ECU flashing equipment, flashing diagnostic equipment and computer storage medium in the embodiment of the present application can actively record the flashing information; the flashing record information can be customized to meet different needs; pre-form temporary records to avoid flashing failures Form a record again; send out the J1939 message after the flashing is completed to avoid failure to record when the flashing fails. Therefore, it has technical effects: meeting different customer needs, avoiding failure of flashing to form records again, and more accurate flashing records, etc.
  • the computer-readable storage medium may include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc., which can store program codes. medium.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)

Abstract

An engine ECU flashing method and device, and an engine ECU flashing diagnosis method and device. The engine ECU flashing method is applied to the ECU flashing device, and comprises: receiving an ECU flashing request instruction (S101); pre-forming a temporary flashing record according to the ECU flashing request instruction, and storing the temporary flashing record (S102); executing ECU flashing according to the temporary flashing record (S103); and after the ECU flashing is completed, automatically recording and forming a first ECU flashing record, and externally sending the first ECU flashing record (S104). The engine ECU flashing diagnosis method is applied to the flashing diagnosis device, and comprises: receiving a flashing diagnosis request instruction (S201); obtaining, according to the flashing diagnosis request instruction, the first ECU flashing record obtained by means of the engine ECU flashing method (S202); when a corresponding second ECU flashing record in the flashing diagnosis device lacks a data record number and/or record issuing time of the first ECU flashing record, determining that the ECU flashing record is an illegal flashing record (S203).

Description

发动机ECU刷写方法、刷写诊断方法及设备Engine ECU flashing method, flashing diagnosis method and equipment
本申请要求于2021年12月15日提交中国国家知识产权局、申请号为202111537420.X、发明名称为“发动机ECU刷写方法、刷写诊断方法及设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application submitted to the State Intellectual Property Office of China on December 15, 2021, with the application number 202111537420.X, and the title of the invention is "Engine ECU flashing method, flashing diagnosis method and equipment", which The entire contents are incorporated by reference in this application.
技术领域technical field
本申请涉及车辆发动机技术领域,例如涉及一种发动机ECU刷写方法、刷写诊断方法及设备。The present application relates to the technical field of vehicle engines, for example, to an engine ECU flashing method, flashing diagnosis method and equipment.
背景技术Background technique
随着车辆电子技术的不断发展,电子控制单元ECU在现代车辆中得到广泛应用,随着车辆要求不断提高同时,包括ECU在内的电子电控系统也越来越复杂,因此,车辆相关的诊断检测技术要求也随之提升。With the continuous development of vehicle electronic technology, electronic control unit ECU has been widely used in modern vehicles. With the continuous improvement of vehicle requirements, electronic and electronic control systems including ECU are becoming more and more complex. Therefore, vehicle-related diagnostics The technical requirements for testing have also increased accordingly.
车辆在流入市场后,一般不会修改ECU数据,但实际上,市场对车辆ECU盗刷的情非常普遍,盗刷后可能会对发动机本机造成寿命缩短,故障率提高。因此,在车辆保养维修时需要确定该车辆的ECU是否被非法盗刷过,进而对维修思路和责任鉴定提供依据。After the vehicle enters the market, it generally does not modify the ECU data, but in fact, it is very common for the market to steal the ECU of the vehicle, which may shorten the life of the engine itself and increase the failure rate. Therefore, it is necessary to determine whether the ECU of the vehicle has been illegally stolen during vehicle maintenance, and then provide a basis for maintenance ideas and responsibility identification.
发明内容Contents of the invention
本申请提供一种发动机ECU刷写方法、刷写诊断方法及设备,能够处理相关技术中无法确定车辆ECU是否被盗刷的情况。The present application provides an engine ECU flashing method, flashing diagnosis method and equipment, which can deal with the situation in the related art that it is impossible to determine whether the vehicle ECU has been stolen.
第一方面,本申请实施例提供了一种发动机ECU刷写方法,应用于ECU刷写设备,包括以下步骤:In the first aspect, the embodiment of the present application provides a method for flashing an engine ECU, which is applied to an ECU flashing device, and includes the following steps:
接收ECU刷写请求指令;Receive ECU flash request command;
根据所述ECU刷写请求指令预先形成刷写临时记录,并存储;According to the ECU flashing request instruction, a flashing temporary record is pre-formed and stored;
根据所述刷写临时记录执行ECU刷写;Execute ECU flashing according to the flashing temporary record;
当ECU刷写完成后自动记录形成第一ECU刷写记录,并对外发送第一 ECU刷写记录。When the ECU flashing is completed, it will automatically record and form the first ECU flashing record, and send the first ECU flashing record externally.
在本申请一些实施方式中,第一ECU刷写记录的信息类别包括ECU序列号、数据记录号、下发记录时间、刷写完毕时间、刷写次数、项目号、版本号和/或ECU运行时间。In some embodiments of the present application, the information category of the first ECU flashing record includes ECU serial number, data record number, issued record time, flashing completion time, flashing times, project number, version number and/or ECU running time.
在本申请一些实施方式中,第一ECU刷写记录的信息类别由用户自定义增加或者减少。In some embodiments of the present application, the information category of the first ECU flashing record is increased or decreased by user definition.
第二方面,本申请实施例提供了一种发动机ECU刷写诊断方法,应用于刷写诊断设备,包括以下步骤:In a second aspect, the embodiment of the present application provides a method for diagnosing engine ECU flashing, which is applied to diagnosing equipment for flashing, including the following steps:
接收刷写诊断请求指令;Receive a flash diagnostic request command;
根据刷写诊断请求指令,获取发动机ECU刷写方法得到的第一ECU刷写记录;According to the flashing diagnosis request command, obtain the first ECU flashing record obtained by the engine ECU flashing method;
当刷写诊断设备中对应的第二ECU刷写记录中缺少第一ECU刷写记录的数据记录号和/或下发记录时间时,判定第一ECU刷写记录为非法刷写记录。When the corresponding second ECU flashing record in the flashing diagnosis device lacks the data record number and/or issued record time of the first ECU flashing record, it is determined that the first ECU flashing record is an illegal flashing record.
在本申请一些实施方式中,根据刷写诊断请求指令获取ECU刷写记录之后,还包括:In some embodiments of the present application, after obtaining the ECU flash record according to the flash diagnostic request instruction, it also includes:
当刷写诊断设备中对应的第二ECU刷写记录中的数据记录号和/或下发记录时间,与第一ECU刷写记录的数据不一致时,判定ECU刷写记录为非法刷写记录。When the data record number and/or issued record time in the corresponding second ECU flashing record in the flashing diagnostic device is inconsistent with the data in the first ECU flashing record, it is determined that the ECU flashing record is an illegal flashing record.
在本申请一些实施方式中,判定ECU刷写记录为非法刷写记录之后,还包括:In some embodiments of the present application, after judging that the ECU flashing record is an illegal flashing record, it also includes:
发出非法刷写预警,并恢复ECU正常数据。Issue an illegal flash warning and restore the normal data of the ECU.
在本申请一些实施方式中,第二ECU刷写记录的信息类别包括ECU序列号、数据记录号、下发记录时间、刷写完毕时间、刷写次数、项目号、版本号和/或ECU运行时间。In some embodiments of the present application, the information category of the second ECU flashing record includes ECU serial number, data record number, issued record time, flashing completion time, flashing times, project number, version number and/or ECU running time.
在本申请一些实施方式中,第二ECU刷写记录的信息类别由用户自定义增加或者减少。In some embodiments of the present application, the information category of the second ECU flashing record is increased or decreased by user definition.
第三方面,本申请实施例还提供了一种刷写诊断设备,包括:In the third aspect, the embodiment of the present application also provides a flashing diagnostic device, including:
存储器,用于存储计算机程序;memory for storing computer programs;
处理器,用于执行所述计算机程序时实现如上述所述发动机ECU刷写诊断方法。The processor is configured to implement the engine ECU flashing diagnosis method as described above when executing the computer program.
第四方面,本申请实施例还提供了一种发动机ECU刷写设备,包括:In the fourth aspect, the embodiment of the present application also provides an engine ECU flashing device, including:
存储器,用于存储计算机程序;memory for storing computer programs;
处理器,用于执行所述计算机程序时实现如上述所述发动机ECU刷写方法。The processor is configured to implement the method for flashing the engine ECU as described above when executing the computer program.
采用本申请的发动机ECU刷写方法、刷写诊断方法及设备,发动机ECU刷写方法,应用于ECU刷写设备,包括以下步骤:接收ECU刷写请求指令;根据所述ECU刷写请求指令预先形成刷写临时记录,并存储;根据所述刷写临时记录执行ECU刷写;当ECU刷写完成后自动记录形成第一ECU刷写记录,并对外发送所述第一ECU刷写记录。发动机ECU刷写诊断方法,应用于刷写诊断设备,包括以下步骤:接收刷写诊断请求指令;根据刷写诊断请求指令获取发动机ECU刷写方法得到的第一ECU刷写记录;当刷写诊断设备中对应的第二ECU刷写记录中缺少第一ECU刷写记录的数据记录号和/或下发记录时间时,判定ECU刷写记录为非法刷写记录。本申请能够处理相关技术中无法确定车辆ECU是否被盗刷的情况。Using the engine ECU flashing method, flashing diagnosis method and equipment of the present application, the engine ECU flashing method is applied to the ECU flashing device, comprising the following steps: receiving the ECU flashing request instruction; according to the ECU flashing request instruction in advance Forming and storing a temporary record for flashing; executing ECU flashing according to the temporary record for flashing; when the ECU flashing is completed, automatically record and form a first ECU flashing record, and send the first ECU flashing record externally. The engine ECU flashing diagnosis method is applied to flashing diagnostic equipment, comprising the following steps: receiving a flashing diagnosis request instruction; obtaining the first ECU flashing record obtained by the engine ECU flashing method according to the flashing diagnostic request instruction; When the corresponding second ECU flash record in the device lacks the data record number and/or issued record time of the first ECU flash record, it is determined that the ECU flash record is an illegal flash record. The present application can deal with the situation in the related art that it is impossible to determine whether the ECU of the vehicle has been stolen.
附图说明Description of drawings
图1示出了根据本申请实施例的一种发动机ECU刷写方法的步骤流程图;Fig. 1 shows a flow chart of the steps of a method for flashing an engine ECU according to an embodiment of the present application;
图2示出了根据本申请实施例的一种发动机ECU刷写诊断方法的步骤流程图;Fig. 2 shows a flow chart of the steps of a method for flashing and diagnosing an engine ECU according to an embodiment of the present application;
图3示出了根据本申请实施例的一种发动机ECU刷写以及刷写诊断方法的流程示意图;Fig. 3 shows a schematic flow chart of an engine ECU flashing and flashing diagnosis method according to an embodiment of the present application;
图4示出了根据本申请实施例的一种发动机ECU刷写诊断设备的结构示意图;Fig. 4 shows a schematic structural diagram of an engine ECU flashing diagnostic device according to an embodiment of the present application;
图5示出了根据本申请实施例的发动机ECU刷写设备的结构示意图。Fig. 5 shows a schematic structural diagram of an engine ECU flashing device according to an embodiment of the present application.
具体实施方式Detailed ways
正如背景技术中的描述,市场对车辆ECU盗刷的情非常普遍,盗刷后可能会对发动机本机造成寿命缩短,故障率提高。因此,在车辆保养维修时需要确定该车辆的ECU是否被非法盗刷过,进而对维修思路和责任鉴定提供依据。As described in the background technology, it is very common for the market to steal the ECU of the vehicle, which may shorten the life of the engine itself and increase the failure rate. Therefore, it is necessary to determine whether the ECU of the vehicle has been illegally stolen during vehicle maintenance, and then provide a basis for maintenance ideas and responsibility identification.
为了解决以上技术问题,本申请实施例提供了一种发动机ECU刷写、刷写诊断方法及设备,发动机ECU刷写方法,应用于ECU刷写设备,包括以下步骤:接收ECU刷写请求指令;根据所述ECU刷写请求指令预先形成刷写临时记录,并存储;根据所述刷写临时记录执行ECU刷写;当ECU刷写完成后自动记录形成第一ECU刷写记录,并对外发送所述第一ECU刷写记录。以及一种发动机ECU刷写诊断方法,应用于刷写诊断设备,包括以下步骤:接收刷写诊断请求指令;根据刷写诊断请求指令获取发动机ECU刷写方法得到的第一ECU刷写记录;当刷写诊断设备中对应的第二ECU刷写记录中缺少第一ECU刷写记录的数据记录号和/或下发记录时间时,判定ECU刷写记录为非法刷写记录。本申请解决了现有技术中无法确定车辆ECU是否被盗刷的问题。In order to solve the above technical problems, the embodiment of the present application provides an engine ECU flashing, flashing diagnosis method and equipment, the engine ECU flashing method, applied to the ECU flashing device, including the following steps: receiving the ECU flashing request command; According to the ECU flash write request instruction, pre-form the flash write temporary record and store it; execute the ECU flash write according to the flash write temporary record; when the ECU flash write is completed, the first ECU flash write record is automatically recorded and sent externally Describe the first ECU flash record. And a method for diagnosing engine ECU flashing, which is applied to diagnosing equipment for flashing, comprising the following steps: receiving a flashing diagnosis request instruction; obtaining the first ECU flashing record obtained by the engine ECU flashing method according to the flashing diagnostic request instruction; When the corresponding second ECU flashing record in the flashing diagnosis device lacks the data record number and/or issued record time of the first ECU flashing record, it is determined that the ECU flashing record is an illegal flashing record. The application solves the problem in the prior art that it is impossible to determine whether the ECU of the vehicle is stolen.
示例性方法exemplary method
参见图1所示,该图为本申请实施例提供的一种发动机ECU刷写方法的步骤流程图,应用于ECU刷写设备,包括:Referring to Figure 1, this figure is a flow chart of the steps of a method for flashing an engine ECU provided in an embodiment of the present application, which is applied to an ECU flashing device, including:
S101:接收ECU刷写请求指令。S101: Receive an ECU flashing request instruction.
S102:根据ECU刷写请求指令预先形成刷写临时记录,并存储。S102: Pre-form a flashing temporary record according to the ECU flashing request instruction, and store it.
在本申请实施例中,通过预先形成临时记录,避免刷写失败无法再次形成记录。In the embodiment of the present application, temporary records are pre-formed to prevent failure of flashing and failure to form records again.
S103:根据刷写临时记录执行ECU刷写。S103: Perform ECU flashing according to the flashing temporary record.
S104:当ECU刷写完成后自动记录形成第一ECU刷写记录,并对外发送第一ECU刷写记录。S104: After the ECU flashing is completed, automatically record and form the first ECU flashing record, and send the first ECU flashing record externally.
在本申请实施例中,在刷写完毕后,可以使用J1939报文广播方式向外发送,包括发送至刷写诊断设备。In the embodiment of the present application, after the flashing is completed, the J1939 message broadcast method can be used to send it to the outside, including sending to the flashing diagnostic device.
在一种可能的实现方式中,第一ECU刷写记录的信息类别包括ECU序列 号、数据记录号、下发记录时间、刷写完毕时间、刷写次数、项目号、版本号和/或ECU运行时间。In a possible implementation, the information category of the first ECU flashing record includes ECU serial number, data record number, issued record time, flashing completion time, flashing times, project number, version number and/or ECU operation hours.
在一种可能的实现方式中,第一ECU刷写记录的信息类别由用户自定义增加或者减少。In a possible implementation manner, the information category of the first ECU flashing record is increased or decreased by user definition.
参见图2所示,该图为本申请实施例提供的一种发动机ECU刷写诊断方法的步骤流程图,应用于刷写诊断设备,包括:Referring to Figure 2, this figure is a flow chart of the steps of an engine ECU flashing diagnosis method provided in the embodiment of the present application, which is applied to flashing diagnostic equipment, including:
S201:接收刷写诊断请求指令。S201: Receive a flashing diagnosis request instruction.
S202:根据刷写诊断请求指令,获取发动机ECU刷写方法得到的第一ECU刷写记录。S202: Obtain the first ECU flashing record obtained by the engine ECU flashing method according to the flashing diagnosis request instruction.
S203:当刷写诊断设备中对应的第二ECU刷写记录中缺少第一ECU刷写记录的数据记录号和/或下发记录时间时,判定第一ECU刷写记录为非法刷写记录。S203: When the corresponding second ECU flash record in the flash diagnostic device lacks the data record number and/or issued record time of the first ECU flash record, determine that the first ECU flash record is an illegal flash record.
在一种可能的实现方式中,还包括:当刷写诊断设备中对应的第二ECU刷写记录中的数据记录号和/或下发记录时间,与ECU刷写记录的数据不一致时,判定ECU刷写记录为非法刷写记录。In a possible implementation, it also includes: when the data record number and/or issued record time in the corresponding second ECU flashing record in the flashing diagnostic device is inconsistent with the data in the ECU flashing record, judging The ECU flash record is an illegal flash record.
具体的,在判定ECU刷写记录为非法刷写记录之后,还包括:估计出ECU刷写记录的数据记录号和/或下发记录时间。可以通过当次ECU运行时间和前一次ECU运行时间,以及前一次刷写完毕时间粗略估计被刷写的时间。Specifically, after determining that the ECU flashing record is an illegal flashing record, it further includes: estimating the data record number and/or sending record time of the ECU flashing record. You can roughly estimate the flashing time based on the current ECU running time, the previous ECU running time, and the previous flashing completion time.
在一种可能的实现方式中,在判定ECU刷写记录为非法刷写记录之后,还会发出非法刷写预警,并恢复ECU正常数据。In a possible implementation manner, after it is determined that the ECU flashing record is an illegal flashing record, an illegal flashing warning will be issued and the normal data of the ECU will be restored.
在一种可能的实现方式中,第二ECU刷写记录的信息类别包括ECU序列号、数据记录号、下发记录时间、刷写完毕时间、刷写次数、项目号、版本号和/或ECU运行时间。In a possible implementation, the information category of the second ECU flashing record includes ECU serial number, data record number, issued record time, flashing completion time, flashing times, project number, version number and/or ECU operation hours.
在一种可能的实现方式中,第二ECU刷写记录的信息类别由用户自定义增加或者减少。In a possible implementation manner, the information category of the second ECU flashing record is increased or decreased by user definition.
参见图3所示,该图为本申请实施例提供的一种发动机ECU刷写以及刷写诊断方法的流程示意图。Refer to FIG. 3 , which is a schematic flow chart of an engine ECU flashing and flashing diagnosis method provided by an embodiment of the present application.
为了更好说明本申请的发动机ECU刷写、刷写诊断方法,如图3所示,具体实施时,刷写诊断设备包括服务、TBOX远程终端以及诊断仪。ECU刷写设备包括BT和ASW两部分。In order to better illustrate the engine ECU flashing and flashing diagnostic method of the present application, as shown in Figure 3, during specific implementation, the flashing diagnostic equipment includes a service, a TBOX remote terminal, and a diagnostic instrument. ECU flashing equipment includes two parts: BT and ASW.
首先在ECU刷写时,诊断仪可以从服务器获取刷写数据,并执行刷写流程,将服务器中的数据灌输到ECU内部。此处提出的诊断仪为授权诊断仪,该诊断仪可以连接企业服务器,而其他盗刷工具无法连接企业服务器。First, when the ECU is flashed, the diagnostic instrument can obtain the flashing data from the server, execute the flashing process, and instill the data in the server into the ECU. The diagnostic instrument proposed here is an authorized diagnostic instrument, which can be connected to the enterprise server, while other hacking tools cannot be connected to the enterprise server.
接下来BT负责ECU刷写,ASW负责ECU控制。Next, BT is responsible for ECU flashing, and ASW is responsible for ECU control.
ASW负责将刷写次数、项目号、版本号、ECU运行时间形成临时记录存储到存储器EE中。BT执行刷写流程,开始擦除对应区域时,将临时记录置为正式记录。ASW is responsible for storing flashing times, item number, version number, and ECU running time into memory EE as a temporary record. BT executes the flashing process, and when it starts to erase the corresponding area, it sets the temporary record as the official record.
刷写完毕,将刷写记录进行存储;ECU中的刷写记录功能,可以记录最近的三次刷写信息,包括刷写次数、项目号、版本号、ECU运行时间。After the flashing is completed, the flashing record will be stored; the flashing record function in the ECU can record the latest three flashing information, including the number of flashing times, project number, version number, and ECU running time.
并在ECU重启后会使用J1939报文广播方式主动通知TBOX,将刷写记录存储到服务器,服务器记录刷写完毕时间、刷写次数、项目号、版本号、ECU运行时间。And after the ECU is restarted, it will use the J1939 message broadcast method to actively notify TBOX, and store the flashing record to the server. The server records the flashing completion time, flashing times, project number, version number, and ECU running time.
然后,在ECU刷写诊断时,服务器负责ECU数据管理,能够提供ECU刷写记录的信息,包括ECU序列号、数据记录号、下发记录时间、刷写完毕时间、刷写次数、项目号、版本号以及ECU运行时间等等。刷写记录信息可自定义。Then, during ECU flashing diagnosis, the server is responsible for ECU data management and can provide ECU flashing record information, including ECU serial number, data record number, sending record time, flashing completion time, flashing times, project number, Version number and ECU runtime, etc. The flash record information can be customized.
当车辆需要进行维修时,会接入诊断仪进行故障读取排查,此时,诊断仪通过0x22服务读取ECU中的刷写记录,并将此信息传送到服务器,若服务器已经包括了最新的刷写记录,则将信息丢弃,否则记录。When the vehicle needs to be repaired, it will be connected to the diagnostic instrument for fault reading and troubleshooting. At this time, the diagnostic instrument will read the flash record in the ECU through the 0x22 service and send this information to the server. If the server has included the latest If the record is flushed, the information is discarded, otherwise it is recorded.
当服务器中的刷写记录不包括数据记录号和下发记录时间时,则判定为非法刷写信息,并且可以通过当次ECU运行时间和前一次ECU运行时间,以及前一次刷写完毕时间粗略估计被刷写的时间。When the flashing record in the server does not include the data record number and the sending record time, it is judged as illegal flashing information, and the current ECU running time, the previous ECU running time, and the previous flashing completion time can be roughly Estimated time to be flashed.
当ECU被判定为非法刷写后,服务器进行预警,帮助服务人员恢复正常数据,以保护车辆。When the ECU is determined to be illegally flashed, the server will give an early warning to help service personnel restore normal data to protect the vehicle.
因此,本申请ECU可主动记录刷写信息,一切刷写均可捕获;在刷写流程执行到擦除时执行信息有效性记录,对于刷写记录更准确;可预先形成临时记录,避免刷写失败无法再次形成记录;在刷写完成后外发报文,方便TBOX及时通知服务器;在BT、ASW中均可读取ECU刷写记录相关信息。Therefore, the ECU of this application can actively record the flashing information, and all flashing can be captured; the information validity record is performed from the execution of the flashing process to the erasure, which is more accurate for the flashing record; temporary records can be formed in advance to avoid flashing If the failure fails, the record cannot be formed again; after the flashing is completed, a message is sent out to facilitate the TBOX to notify the server in time; the relevant information of the ECU flashing record can be read in BT and ASW.
本申请实施例提供了一种发动机ECU刷写方法,应用于ECU刷写设备,包括以下步骤:接收ECU刷写请求指令;根据所述ECU刷写请求指令预先形成刷写临时记录,并存储;根据所述刷写临时记录执行ECU刷写;当ECU刷写完成后自动记录形成第一ECU刷写记录,并对外发送所述第一ECU刷写记录。本申请可主动记录刷写信息;刷写记录信息可自定义,满足不同需求;预先形成临时记录,避免刷写失败无法再次形成记录;在刷写完成后外发J1939报文,避免刷写失败时无法进行记录。可以满足不同的客户需求、避免刷写失败无法再次形成记录以及刷写记录更准确等。The embodiment of the present application provides a method for flashing an engine ECU, which is applied to an ECU flashing device, comprising the following steps: receiving an ECU flashing request instruction; pre-forming a flashing temporary record according to the ECU flashing request instruction, and storing it; Execute ECU flashing according to the flashing temporary record; when the ECU flashing is completed, automatically record to form a first ECU flashing record, and send the first ECU flashing record externally. This application can actively record flashing information; flashing record information can be customized to meet different needs; pre-form temporary records to avoid flashing failures and cannot form records again; send J1939 messages after flashing is completed to avoid flashing failures cannot be recorded. It can meet the needs of different customers, avoid the failure of flashing to form records again, and make the flashing records more accurate.
本申请实施例提供了一种发动机ECU刷写诊断方法,应用于刷写诊断设备,包括以下步骤:接收刷写诊断请求指令;根据刷写诊断请求指令获取发动机ECU刷写方法得到的第一ECU刷写记录;当刷写诊断设备中对应的第二ECU刷写记录中缺少第一ECU刷写记录的数据记录号和/或下发记录时间时,判定ECU刷写记录为非法刷写记录。本申请解决了现有技术中无法确定车辆ECU是否被盗刷的问题。The embodiment of the present application provides a method for diagnosing engine ECU flashing, which is applied to a diagnosing device for flashing, comprising the following steps: receiving a flashing diagnosis request instruction; obtaining the first ECU obtained by the engine ECU flashing method according to the flashing diagnosis request instruction Flash record; when the corresponding second ECU flash record in the flash diagnostic device lacks the data record number and/or issued record time of the first ECU flash record, it is determined that the ECU flash record is an illegal flash record. The application solves the problem in the prior art that it is impossible to determine whether the ECU of the vehicle is stolen.
示例性装置Exemplary device
参见图4所示,为本申请实施例提供的一种发动机ECU刷写诊断设备的结构示意图,发动机ECU刷写诊断设备400,包括:Referring to FIG. 4 , it is a schematic structural diagram of an engine ECU flashing diagnostic device provided in an embodiment of the present application. The engine ECU flashing diagnostic device 400 includes:
存储器402:用于存储计算机程序;以及Memory 402: for storing computer programs; and
处理器401:用于执行所述计算机程序时实现如上述发动机ECU刷写诊断方法。Processor 401: used to implement the above-mentioned engine ECU flashing diagnosis method when executing the computer program.
本领域技术人员可以理解,示意图4仅仅是发动机ECU刷写诊断设备400的示例,并不构成对发动机ECU刷写诊断设备400的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如发动机ECU 刷写诊断设备400还可以包括输入输出设备、网络接入设备、总线等。Those skilled in the art can understand that the schematic diagram 4 is only an example of the engine ECU flashing diagnostic device 400, and does not constitute a limitation to the engine ECU flashing diagnostic device 400, and may include more or less components than those shown in the figure, or a combination Certain components, or different components, such as the engine ECU flashing diagnostic device 400 may also include input and output devices, network access devices, buses and so on.
所称处理器401(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器401也可以是任何常规的处理器等,处理器401是发动机ECU刷写诊断设备400的控制中心,利用各种接口和线路连接整个发动机ECU刷写诊断设备400的各个部分。The so-called processor 401 (Central Processing Unit, CPU) can also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. General-purpose processor can be microprocessor or this processor 401 also can be any conventional processor etc., and processor 401 is the control center of engine ECU writing diagnosis equipment 400, utilizes various interfaces and lines to connect whole engine ECU writing Various parts of the diagnostic device 400 .
存储器402可用于存储计算机可读指令,处理器401通过运行或执行存储在存储器402内的计算机可读指令或模块,以及调用存储在存储器402内的数据,实现发动机ECU刷写诊断设备400的各种功能。存储器402可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据发动机ECU刷写诊断设备400使用所创建的数据等。此外,存储器402可以包括硬盘、内存、插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)、至少一个磁盘存储器件、闪存器件、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)或其他非易失性/易失性存储器件。The memory 402 can be used to store computer-readable instructions, and the processor 401 implements the engine ECU flashing each function of the diagnostic device 400 by running or executing the computer-readable instructions or modules stored in the memory 402 and calling the data stored in the memory 402. function. The memory 402 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); The engine ECU flash diagnostic device 400 uses the created data and the like. In addition, the memory 402 can include a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash memory card (Flash Card), at least one magnetic disk storage device, a flash memory device, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), or other non-volatile/volatile storage devices.
发动机ECU刷写诊断设备400集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实现上述实施例方法中的全部或部分流程,也可以通过计算机可读指令来指令相关的硬件来完成,计算机可读指令可存储于一计算机可读存储介质中,该计算机可读指令在被处理器执行时,可实现上述各个方法实施例的步骤。If the integrated modules of the engine ECU flashing diagnostic device 400 are realized in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the present invention realizes all or part of the processes in the methods of the above-mentioned embodiments, and can also use computer-readable instructions to instruct related hardware to complete. The computer-readable instructions can be stored in a computer-readable storage medium. When the computer readable instructions are executed by the processor, the steps in the above-mentioned various method embodiments can be realized.
参见图5所示,为本申请实施例提供的发动机ECU刷写设备的结构示意图,发动机ECU刷写设备500,包括:Referring to FIG. 5 , it is a schematic structural diagram of an engine ECU flashing device provided in an embodiment of the present application, and an engine ECU flashing device 500 includes:
存储器502:用于存储计算机程序;以及Memory 502: for storing computer programs; and
处理器501:用于执行所述计算机程序时实现如上述发动机ECU刷写方法。Processor 501: used to implement the above-mentioned engine ECU flashing method when executing the computer program.
本领域技术人员可以理解,示意图5仅仅是发动机ECU刷写设备500的示例,并不构成对发动机ECU刷写设备500的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如发动机ECU刷写设备500还可以包括输入输出设备、网络接入设备、总线等。Those skilled in the art can understand that the schematic diagram 5 is only an example of the engine ECU flashing device 500, and does not constitute a limitation to the engine ECU flashing device 500, and may include more or less components than those shown in the figure, or combine some Components, or different components, for example, the engine ECU flashing device 500 may also include input and output devices, network access devices, buses, and the like.
所称处理器501(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器501也可以是任何常规的处理器等,处理器501是发动机ECU刷写设备500的控制中心,利用各种接口和线路连接整个发动机ECU刷写设备500的各个部分。The so-called processor 501 (Central Processing Unit, CPU) can also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. General-purpose processor can be microprocessor or this processor 501 also can be any conventional processor etc., processor 501 is the control center of engine ECU flashing equipment 500, utilizes various interfaces and lines to connect whole engine ECU flashing equipment 500 in various parts.
存储器502可用于存储计算机可读指令,处理器501通过运行或执行存储在存储器502内的计算机可读指令或模块,以及调用存储在存储器502内的数据,实现发动机ECU刷写设备500的各种功能。存储器502可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据发动机ECU刷写设备500使用所创建的数据等。此外,存储器502可以包括硬盘、内存、插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)、至少一个磁盘存储器件、闪存器件、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)或其他非易失性/易失性存储器件。The memory 502 can be used to store computer-readable instructions, and the processor 501 realizes various functions of the engine ECU flashing device 500 by running or executing the computer-readable instructions or modules stored in the memory 502, and calling the data stored in the memory 502. Function. The memory 502 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); The engine ECU flashing device 500 uses the created data and the like. In addition, the memory 502 can include a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash memory card (Flash Card), at least one magnetic disk storage device, a flash memory device, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), or other non-volatile/volatile storage devices.
发动机ECU刷写设备500集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实现上述实施例方法中的全部或部分流程,也可以通过计算机可读指令来指令相关的硬件来完成,的计算机可读指令可存储于一计算 机可读存储介质中,该计算机可读指令在被处理器执行时,可实现上述各个方法实施例的步骤。If the integrated modules of the engine ECU flashing device 500 are realized in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the present invention realizes all or part of the processes in the methods of the above embodiments, and can also use computer-readable instructions to instruct related hardware to complete, and the computer-readable instructions can be stored in a computer-readable storage medium. When the computer-readable instructions are executed by the processor, the steps of the above-mentioned various method embodiments can be realized.
在上述实施例的基础上,本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理执行时实现如上述发动机ECU刷写以及刷写诊断方法的步骤。On the basis of the above-mentioned embodiments, the embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is processed and executed, the above-mentioned engine ECU flashing Steps to write and flash diagnostic methods.
本申请实施例中的发动机ECU刷写设备、刷写诊断设备及计算机存储介质,可主动记录刷写信息;刷写记录信息可自定义,满足不同需求;预先形成临时记录,避免刷写失败无法再次形成记录;在刷写完成后外发J1939报文,避免刷写失败时无法进行记录。并因此具有技术效果:满足不同的客户需求、避免刷写失败无法再次形成记录以及刷写记录更准确等。The engine ECU flashing equipment, flashing diagnostic equipment and computer storage medium in the embodiment of the present application can actively record the flashing information; the flashing record information can be customized to meet different needs; pre-form temporary records to avoid flashing failures Form a record again; send out the J1939 message after the flashing is completed to avoid failure to record when the flashing fails. Therefore, it has technical effects: meeting different customer needs, avoiding failure of flashing to form records again, and more accurate flashing records, etc.
该计算机可读存储介质可以包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The computer-readable storage medium may include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc., which can store program codes. medium.

Claims (10)

  1. 一种发动机ECU刷写方法,应用于ECU刷写设备,包括:A method for flashing an engine ECU, applied to an ECU flashing device, comprising:
    接收ECU刷写请求指令;Receive ECU flash request command;
    根据所述ECU刷写请求指令预先形成刷写临时记录,并存储;According to the ECU flashing request instruction, a flashing temporary record is pre-formed and stored;
    根据所述刷写临时记录执行ECU刷写;Execute ECU flashing according to the flashing temporary record;
    当ECU刷写完成后自动记录形成第一ECU刷写记录,并对外发送所述第一ECU刷写记录。After the ECU flashing is completed, the first ECU flashing record is automatically recorded, and the first ECU flashing record is sent externally.
  2. 根据权利要求1所述的方法,其中,所述第一ECU刷写记录的信息类别包括ECU序列号、数据记录号、下发记录时间、刷写完毕时间、刷写次数、项目号、版本号和ECU运行时间中的至少一个参数。The method according to claim 1, wherein, the information categories of the first ECU flashing record include ECU serial number, data record number, sending record time, flashing completion time, flashing times, item number, version number and at least one parameter in the ECU runtime.
  3. 根据权利要求1所述的方法,其中,所述第一ECU刷写记录的信息类别由用户自定义增加或者减少。The method according to claim 1, wherein the information category of the first ECU flashing record is increased or decreased by user definition.
  4. 一种发动机ECU刷写诊断方法,应用于刷写诊断设备,包括:A method for diagnosing engine ECU flashing, applied to flashing diagnostic equipment, comprising:
    接收刷写诊断请求指令;Receive a flash diagnostic request command;
    根据所述刷写诊断请求指令,获取权利要求1-3中任一项所述的发动机ECU刷写方法得到的所述第一ECU刷写记录;According to the flashing diagnosis request instruction, obtain the first ECU flashing record obtained by the engine ECU flashing method according to any one of claims 1-3;
    当刷写诊断设备中对应的第二ECU刷写记录中缺少所述第一ECU刷写记录的数据记录号和/或下发记录时间时,判定所述第一ECU刷写记录为非法刷写记录。When the corresponding second ECU flash record in the flash diagnostic device lacks the data record number and/or issued record time of the first ECU flash record, it is determined that the first ECU flash record is illegal flash Record.
  5. 根据权利要求4所述的方法,其中,所述根据所述刷写诊断请求指令获取ECU刷写记录之后,还包括:The method according to claim 4, wherein, after obtaining the ECU flash record according to the flash diagnostic request instruction, further comprising:
    当刷写诊断设备中对应的第二ECU刷写记录中的数据记录号和/或下发记录时间,与所述第一ECU刷写记录的数据不一致时,判定所述ECU刷写记录为非法刷写记录。When the data record number and/or issued record time in the corresponding second ECU flashing record in the flashing diagnosis device is inconsistent with the data in the first ECU flashing record, it is determined that the ECU flashing record is illegal Flush the record.
  6. 根据权利要求4所述的方法,其中,所述判定所述ECU刷写记录为非法刷写记录之后,还包括:The method according to claim 4, wherein, after said judging that the ECU brushing record is an illegal brushing record, further comprising:
    发出非法刷写预警,并恢复ECU正常数据。Issue an illegal flash warning and restore the normal data of the ECU.
  7. 根据权利要求4所述的方法,其中,所述第二ECU刷写记录的信息类别包括ECU序列号、数据记录号、下发记录时间、刷写完毕时间、刷写次数、项目号、版本号和ECU运行时间中的至少一个参数。The method according to claim 4, wherein, the information categories of the second ECU flashing record include ECU serial number, data record number, sending record time, flashing completion time, flashing times, project number, version number and at least one parameter in the ECU runtime.
  8. 根据权利要求4所述的方法,其中,所述第二ECU刷写记录的信息类别由用户自定义增加或者减少。The method according to claim 4, wherein the information category of the second ECU flashing record is increased or decreased by user definition.
  9. 一种发动机ECU刷写诊断设备,包括:An engine ECU flashing diagnostic device, comprising:
    存储器,用于存储计算机程序;memory for storing computer programs;
    处理器,用于执行所述计算机程序时实现如权利要求4-8任意一项所述发动机ECU刷写诊断方法。The processor is configured to implement the engine ECU flashing diagnosis method according to any one of claims 4-8 when executing the computer program.
  10. 一种发动机ECU刷写设备,包括:A device for flashing an engine ECU, comprising:
    存储器,用于存储计算机程序;memory for storing computer programs;
    处理器,用于执行所述计算机程序时实现如权利要求1-3任意一项所述发动机ECU刷写方法。The processor is configured to implement the engine ECU flashing method according to any one of claims 1-3 when executing the computer program.
PCT/CN2022/139204 2021-12-15 2022-12-15 Engine ecu flashing method and device, and engine ecu flashing diagnosis method and device WO2023109889A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111537420.X 2021-12-15
CN202111537420.XA CN114397869A (en) 2021-12-15 2021-12-15 Engine ECU (electronic control Unit) flashing method, flashing diagnosis method and device

Publications (1)

Publication Number Publication Date
WO2023109889A1 true WO2023109889A1 (en) 2023-06-22

Family

ID=81226662

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/139204 WO2023109889A1 (en) 2021-12-15 2022-12-15 Engine ecu flashing method and device, and engine ecu flashing diagnosis method and device

Country Status (2)

Country Link
CN (1) CN114397869A (en)
WO (1) WO2023109889A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114397869A (en) * 2021-12-15 2022-04-26 潍柴动力股份有限公司 Engine ECU (electronic control Unit) flashing method, flashing diagnosis method and device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001202266A (en) * 2000-01-21 2001-07-27 Denso Corp Method for inspecting on-vehicle control unit
CN103020514A (en) * 2012-12-24 2013-04-03 潍柴动力股份有限公司 Method and system for programming controller
JP2013192090A (en) * 2012-03-14 2013-09-26 Denso Corp Communication system, relay device, out-vehicle device and communication method
JP2016203719A (en) * 2015-04-17 2016-12-08 株式会社デンソー Memory management device, authentication center and authentication system
CN107888661A (en) * 2017-10-24 2018-04-06 道依茨汽(大连)柴油机有限公司 A kind of ECU data writes with a brush dipped in Chinese ink system
CN107943001A (en) * 2017-11-27 2018-04-20 北京长城华冠汽车技术开发有限公司 A kind of writing with a brush dipped in Chinese ink system, writing with a brush dipped in Chinese ink method for instruction carriage
CN110109690A (en) * 2019-07-02 2019-08-09 潍柴动力股份有限公司 A kind of ECU data writes with a brush dipped in Chinese ink method and system
CN112883382A (en) * 2021-03-03 2021-06-01 一汽解放汽车有限公司 Vehicle flashing method, vehicle networking box, vehicle and storage medium
CN113496029A (en) * 2020-04-07 2021-10-12 威马智慧出行科技(上海)有限公司 Updating method and device of vehicle-mounted application program, vehicle-mounted management equipment and vehicle
CN114397869A (en) * 2021-12-15 2022-04-26 潍柴动力股份有限公司 Engine ECU (electronic control Unit) flashing method, flashing diagnosis method and device

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103885437A (en) * 2014-03-12 2014-06-25 潍柴动力股份有限公司 Data security protection method and device and electronic control unit
CN109343872A (en) * 2018-08-01 2019-02-15 宝沃汽车(中国)有限公司 The software of vehicle writes with a brush dipped in Chinese ink method and apparatus
CN111782234A (en) * 2019-04-04 2020-10-16 北京新能源汽车股份有限公司 Vehicle-mounted software flashing method, control device, central processing unit and automobile
CN110263590B (en) * 2019-06-30 2021-10-08 潍柴动力股份有限公司 Vehicle-mounted ECU and safety protection method thereof
CN112702304A (en) * 2019-10-23 2021-04-23 北京新能源汽车股份有限公司 Vehicle information verification method and device and automobile
CN111488165B (en) * 2020-04-14 2023-08-25 爱瑟福信息科技(上海)有限公司 Method and system for upgrading vehicle ECU through script
CN111897545B (en) * 2020-06-28 2022-02-01 东风汽车集团有限公司 Safe access method and system applied to ECU
CN112000083A (en) * 2020-09-01 2020-11-27 深圳市元征科技股份有限公司 ECU data flashing method, flashing device, flashing equipment and storage medium
CN112578772A (en) * 2020-12-24 2021-03-30 潍柴动力股份有限公司 Data processing method of electronic control unit and related device
CN112947975A (en) * 2021-04-15 2021-06-11 重庆金康赛力斯新能源汽车设计院有限公司 Method, system, device, storage medium and computer equipment for program flashing

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001202266A (en) * 2000-01-21 2001-07-27 Denso Corp Method for inspecting on-vehicle control unit
JP2013192090A (en) * 2012-03-14 2013-09-26 Denso Corp Communication system, relay device, out-vehicle device and communication method
CN103020514A (en) * 2012-12-24 2013-04-03 潍柴动力股份有限公司 Method and system for programming controller
JP2016203719A (en) * 2015-04-17 2016-12-08 株式会社デンソー Memory management device, authentication center and authentication system
CN107888661A (en) * 2017-10-24 2018-04-06 道依茨汽(大连)柴油机有限公司 A kind of ECU data writes with a brush dipped in Chinese ink system
CN107943001A (en) * 2017-11-27 2018-04-20 北京长城华冠汽车技术开发有限公司 A kind of writing with a brush dipped in Chinese ink system, writing with a brush dipped in Chinese ink method for instruction carriage
CN110109690A (en) * 2019-07-02 2019-08-09 潍柴动力股份有限公司 A kind of ECU data writes with a brush dipped in Chinese ink method and system
CN113496029A (en) * 2020-04-07 2021-10-12 威马智慧出行科技(上海)有限公司 Updating method and device of vehicle-mounted application program, vehicle-mounted management equipment and vehicle
CN112883382A (en) * 2021-03-03 2021-06-01 一汽解放汽车有限公司 Vehicle flashing method, vehicle networking box, vehicle and storage medium
CN114397869A (en) * 2021-12-15 2022-04-26 潍柴动力股份有限公司 Engine ECU (electronic control Unit) flashing method, flashing diagnosis method and device

Also Published As

Publication number Publication date
CN114397869A (en) 2022-04-26

Similar Documents

Publication Publication Date Title
TWI695318B (en) Method, device and electronic equipment for updating application program on user terminal
US20050222718A1 (en) Data access to electronic control units
WO2023109889A1 (en) Engine ecu flashing method and device, and engine ecu flashing diagnosis method and device
CN110956436A (en) Data management method, device and system for welding production line
KR20200007133A (en) Method and apparatus for dinamically injecting fault for vehicle ecu software test
WO2020134271A1 (en) Construction tunnel vehicle attendance checking method, computer device, and computer readable storage medium
CN113934758A (en) Vehicle fault repairing method and device, vehicle-mounted terminal, server and storage medium
CN111553491A (en) Vehicle maintenance record generation method and related device
CN116009922A (en) Vehicle, software flashing method and device for vehicle and storage medium
CN116257270A (en) Vehicle, upgrading method and device of vehicle
JP2020144542A (en) Defect reproduction support system and defect reproduction support method
CN115827691A (en) Batch processing result verification method and device, computer equipment and storage medium
CN114356769A (en) Software learning method, device, equipment and storage medium
JP2019052961A (en) Test group identification information automatic generation method, program, electronic control device, and vehicle
CN114281065A (en) Electronic control unit flashing method and device for vehicle and diagnostic equipment
CN114217829A (en) Software upgrading method, device, server and storage medium
CN109213124B (en) Data scanning method, data scanning device and vehicle diagnosis equipment
JP2005014743A (en) Failure part detection device for vehicle
CN111782670A (en) Method and device for automatically processing data resource operation
CN111222928A (en) Method and system for monitoring enterprise standard invoicing
CN111145386A (en) Method, equipment and medium for managing vehicle computer data based on block chain
CN117076183B (en) Error reporting method, system on chip, computer equipment and storage medium
CN117076182B (en) Error reporting method, system on chip, computer equipment and storage medium
CN111367559B (en) Refreshing method for online refreshing patch of electric control module
CN115454455A (en) Control method and device for whole vehicle ECU (electronic control Unit) flash error prevention and terminal equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22906634

Country of ref document: EP

Kind code of ref document: A1