CN114265382A - ECU (electronic control Unit) flash fault processing method and device, electronic equipment and storage medium - Google Patents

ECU (electronic control Unit) flash fault processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114265382A
CN114265382A CN202111338521.4A CN202111338521A CN114265382A CN 114265382 A CN114265382 A CN 114265382A CN 202111338521 A CN202111338521 A CN 202111338521A CN 114265382 A CN114265382 A CN 114265382A
Authority
CN
China
Prior art keywords
ecu
state
activated
backup data
flashing
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202111338521.4A
Other languages
Chinese (zh)
Inventor
宋茜
吴速超
邵金萍
石玉庆
庞烨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Weichai Power Co Ltd
Weifang Weichai Power Technology Co Ltd
Original Assignee
Weichai Power Co Ltd
Weifang Weichai Power Technology Co Ltd
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 Weichai Power Co Ltd, Weifang Weichai Power Technology Co Ltd filed Critical Weichai Power Co Ltd
Priority to CN202111338521.4A priority Critical patent/CN114265382A/en
Publication of CN114265382A publication Critical patent/CN114265382A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application provides a method and a device for processing an ECU (electronic control unit) flashing fault, electronic equipment and a storage medium, wherein in the process of flashing required data by the ECU, whether the state of the ECU is a flashing state or not is detected in real time; if the ECU is detected to be in a death state, controlling the ECU to enter a safe access diagnosis service; acquiring backup data of the ECU from a ROM of the ECU, and detecting whether the ECU is activated according to the backup data; and if the ECU is successfully activated, the activated ECU is used for rewriting the required data. Based on this application, not only can reduce cost, can also improve the efficiency of ECU flash.

Description

ECU (electronic control Unit) flash fault processing method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of engine technologies, and in particular, to a method and an apparatus for processing an ECU flash fault, an electronic device, and a storage medium.
Background
During the process of writing by an Electronic Control Unit (ECU), the phenomenon of "dead-brushing" of the ECU often occurs. In the process of data upgrading or equipment maintenance in the market, the ECU is subjected to flashing operation, and if the phenomenon of 'flashing dead' of the ECU occurs for many times, great adverse effects are caused on equipment.
At present, aiming at the phenomenon of 'brush death' of the ECU, the common method is as follows: replacing the ECU; or a forced flash using a tool such as WISETOOL to reactivate the ECU. However, the former method causes cost increase, and the latter method requires reconnection of other equipment for ECU activation, resulting in low work efficiency.
Disclosure of Invention
In view of the above, the present application provides a method and an apparatus for processing an ECU flashing fault, an electronic device, and a storage medium, so as to achieve the purposes of reducing the cost and improving the efficiency of the ECU flashing.
The first aspect of the present application discloses an ECU flash fault handling method, which includes:
detecting whether the state of the ECU is a dead state in real time in the process of flashing the required data by the ECU;
if the ECU is detected to be in the death state, controlling the ECU to enter a safe access diagnosis service;
acquiring backup data of the ECU from a ROM of the ECU, and detecting whether to activate the ECU according to the backup data;
and if the ECU is successfully activated, the activated ECU is used for rewriting the required data.
Optionally, before the ECU after the control activation rewrites the demand data, the method further includes:
judging whether the current times of activating the ECU is less than the preset activation times or not;
if the current times of activating the ECU is not less than the preset activation times, generating and outputting corresponding alarm information;
wherein, if the ECU is successfully activated, the refreshing the demand data by using the activated ECU comprises:
and if the ECU is successfully activated and the current number of times of activating the ECU is less than the preset activation number, rewriting the required data by using the activated ECU, and returning to execute real-time detection to determine whether the state of the ECU is a dead-brushing state.
Optionally, if it is detected that the state of the ECU is the death state, controlling the ECU to enter a secure access diagnostic service includes:
and if the ECU is detected to be in the death state, calling a preset safe access operation program to control the ECU to enter a safe access service.
Optionally, the obtaining backup data of the ECU from a ROM of the ECU and detecting whether to activate the ECU according to the backup data includes:
acquiring backup data of the ECU from a ROM of the ECU;
flashing the ECU by using the backup data of the ECU;
judging whether the ECU is successfully written by using the backup data of the ECU;
if the ECU is successfully refreshed by using the backup data of the ECU, determining that the ECU is successfully activated;
and if the ECU is not flushed by using the backup data of the ECU, determining that the ECU is not activated.
Optionally, the method further includes:
and if the ECU fails to be activated, generating and outputting corresponding activation information.
A second aspect of the present application discloses an ECU flush fault handling device, the device including:
the ECU state detection unit is used for detecting whether the state of the ECU is a brush-out state in real time in the process of writing the required data by the ECU;
the control unit is used for controlling the ECU to enter a safe access diagnosis service if the ECU is detected to be in the death state;
an activation unit configured to acquire backup data of the ECU from a ROM of the ECU and detect whether to activate the ECU according to the backup data;
and the rewriting unit is used for rewriting the required data by using the activated ECU if the ECU is successfully activated.
Optionally, the apparatus further comprises:
the first judgment unit is used for judging whether the number of times of currently activating the ECU is less than the preset activation number of times;
the alarm information generating unit is used for generating and outputting corresponding alarm information if the current times of activating the ECU is not less than the preset activation times;
wherein the re-flashing unit includes:
and the first re-flashing subunit is used for re-flashing the required data by using the activated ECU and returning to execute the ECU state detection unit if the ECU is successfully activated and the current number of times of activating the ECU is less than the preset activation number.
Optionally, the control unit includes:
and the control subunit is used for calling a preset safe access operation program and controlling the ECU to enter a safe access service if the state of the ECU is detected to be the death state.
A third aspect of the present application discloses an electronic device comprising: the system comprises a processor and a memory, wherein the processor and the memory are connected through a communication bus; the processor is used for calling and executing the program stored in the memory; the memory is configured to store a program for implementing the ECU flush fault handling method as disclosed in the first aspect of the present application.
A fourth aspect of the present application discloses a computer-readable storage medium, wherein computer-executable instructions are stored in the computer-readable storage medium, and the computer-executable instructions are configured to execute the ECU flash fault handling method disclosed in the first aspect of the present application.
The application provides an ECU (electronic control unit) flashing fault processing method, device, electronic equipment and storage medium, wherein factory backup data of the ECU is stored in a ROM (read only memory) of the ECU in advance, so that whether the state of the ECU is a flashing state or not is detected in real time in the process of flashing required data of the ECU, when the state of the ECU is detected to be the flashing state, the ECU is controlled to enter a safe access diagnosis service, the backup data of the ECU is obtained from the ROM of the ECU, the ECU is activated again through the obtained backup data, after the ECU is successfully activated, the activated ECU is used for flashing the required data, the ECU does not need to be updated, other equipment does not need to be reconnected for ECU activation, the cost is reduced, and the working efficiency of the ECU can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for processing an ECU flashing fault according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of an ECU flashing fault handling device according to an embodiment of the present application;
FIG. 3 is a schematic structural diagram of another ECU refresh failure processing device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules, or units, and are not used for limiting the order or interdependence of the functions performed by the devices, modules, or units.
It is noted that references to "a", "an", and "the" modifications in the disclosure are exemplary rather than limiting, and that those skilled in the art will understand that "one or more" unless the context clearly dictates otherwise.
Referring to fig. 1, a schematic flow chart of an ECU flashing fault handling method provided in an embodiment of the present application is shown, where the ECU flashing fault handling method specifically includes the following steps:
s101: detecting whether the state of the ECU is a dead state in real time in the process of flashing the required data by the ECU; if the state of the ECU is detected as a dead-end state, step S102 is executed.
In the specific execution process of step S101, a floor logic is preset, and in the process of flashing the required data by the ECU, the state of the ECU can be detected in real time by the preset floor logic, and whether the detected state is a flashing state or not is determined, and when the detected state of the ECU is the flashing state, it can be determined that a flashing fault occurs in the ECU, and step S102 is executed.
It should be noted that the requirement data may be an application upgrade data packet or a data packet required in the process of equipment maintenance.
S102: the ECU is controlled to enter a secure access diagnostic service.
In the embodiment of the application, a security access diagnosis service and a security access operation program corresponding to the security access diagnosis service are preset.
It should be noted that the ECU can effectively avoid external attacks when being in the secure access diagnosis service.
In the specific execution process of step S102, after detecting that the ECU has a crash failure, the secure access operation program may be invoked to obtain the authority data in the demand data, and determine whether the demand data is secure according to the authority data, and if so, control the ECU to enter the secure access diagnostic service.
S103: acquiring backup data of the ECU from a ROM of the ECU, and detecting whether the ECU is activated according to the backup data; if the ECU fails to be activated, executing step S104; if the ECU is successfully activated, step S105 is executed.
In the embodiment of the application, a piece of memory is reserved in the ROM of the ECU and used for storing factory data of the ECU, namely backup data of the ECU, and any setting operation cannot modify the backup data in the ROM.
In the specific execution process of step S103, after the ECU enters the secure access diagnostic service, the ECU may obtain pre-stored backup data of the ECU from the ROM of the ECU, and use the backup data of the ECU to flash the ECU; judging whether the ECU is successfully flushed by using the backup data of the ECU in real time, if the ECU is failed to be flushed, determining that the ECU is failed to be activated, and executing step S104; if the flush is successful, it is determined that the ECU activation is successful, and step S105 is performed.
S104: and generating and outputting corresponding activation information.
In the specific execution process of step S104, in the case that it is determined that the ECU is not flashed with the backup data of the ECU and that the ECU is not activated, corresponding activation information is generated and output to prompt a corresponding technician to manually activate the ECU.
S105: judging whether the number of times of currently activating the ECU is less than the preset activation number of times; if the current number of times of activating the ECU is not less than the preset activation number, executing the step S106; if the number of times the ECU is currently activated is less than the preset activation number, step S107 is performed.
In the specific execution of step S105, in the case where it is determined that the ECU activation is successful, it may be further determined whether the number of times the ECU is currently activated is less than the preset activation number, and if the number of times the ECU is currently activated is not less than the preset activation number, step S106 is executed. If the number of times the ECU is currently activated is less than the preset number of activations, step S107 is performed.
It should be noted that the preset activation times may be 4 times, that is, if the ECU flushes the required data for 3 times and the flush phenomenon occurs, the flush is not performed. The inventor can set the predetermined activation times according to actual requirements, and the embodiment of the present application is not limited thereto.
S106: and generating and outputting corresponding alarm information.
In the specific implementation process of step S106, if the number of times that the ECU is currently activated is not less than the preset number of times of activation, it may be determined that the current demand data is in a problem, or the ECU fails, and corresponding alarm information is generated and output, so that a corresponding technician checks data based on the alarm information or performs a corresponding check on the ECU.
S107: and rewriting the required data by using the activated ECU.
In the specific execution of step S107, if the number of times the ECU is currently activated is less than the preset activation number, the demand data is rewritten with the activated ECU.
In the embodiment of the present application, after step S107 is executed, step S101 is executed again.
The application provides an ECU (electronic control unit) flashing fault processing method, backup data of the ECU leaving a factory are stored in an ROM (read only memory) of the ECU in advance, so that whether the state of the ECU is a flashing state or not is detected in real time in the process of flashing required data of the ECU, the ECU is controlled to enter a safe access diagnosis service when the state of the ECU is detected to be the flashing state, the backup data of the ECU are obtained from the ROM of the ECU, the ECU is reactivated through the obtained backup data, after the ECU is successfully activated, the required data are flashed by the activated ECU, the ECU is not required to be updated, other equipment is not required to be reconnected for ECU activation, the cost is reduced, and the working efficiency of the ECU can be improved.
Corresponding to the ECU flashing fault processing method disclosed in the embodiment of the present application, as shown in fig. 2, an embodiment of the present application further provides an ECU flashing fault processing apparatus, which includes:
the ECU state detection unit 21 is used for detecting whether the state of the ECU is a brushing-up state in real time in the process of brushing up the required data by the ECU;
the control unit 22 is used for controlling the ECU to enter a safe access diagnosis service if the state of the ECU is detected to be a dead-brushing state;
an activation unit 23 for acquiring backup data of the ECU from the ROM of the ECU and detecting whether to activate the ECU according to the backup data;
and the rewriting unit 24 is used for rewriting the required data by using the activated ECU if the ECU is successfully activated.
The specific principle and the execution process of each unit in the ECU flashing fault processing apparatus disclosed in the above embodiment of the present invention are the same as those of the ECU flashing fault processing method disclosed in fig. 1 in the above embodiment of the present invention, and reference may be made to corresponding parts in the ECU flashing fault processing method disclosed in fig. 1 in the above embodiment of the present invention, and details are not repeated here.
The application provides an ECU (electronic control unit) flashing fault processing device, backup data of the ECU when leaving a factory are stored in an ROM (read only memory) of the ECU in advance, so that whether the state of the ECU is a flashing state or not is detected in real time in the process of flashing required data of the ECU, the ECU is controlled to enter a safe access diagnosis service when the state of the ECU is detected to be the flashing state, the backup data of the ECU are obtained from the ROM of the ECU, the ECU is reactivated through the obtained backup data, after the ECU is successfully activated, the required data are flashed by the activated ECU, the ECU is not required to be updated, other equipment is not required to be reconnected for ECU activation, the cost is reduced, and the working efficiency of the ECU can be improved.
Based on the ECU flash fault processing method of the vehicle disclosed in the embodiment of the present application, referring to fig. 3 in combination with fig. 2, the embodiment of the present invention also correspondingly discloses an ECU flash fault processing apparatus, which includes:
a first determination unit 31 configured to determine whether the number of times the ECU is currently activated is less than a preset activation number;
the alarm information generating unit 32 is configured to generate and output corresponding alarm information if the number of times that the ECU is currently activated is not less than the preset activation number;
wherein the re-flashing unit includes:
and the first re-flashing subunit is used for re-flashing the required data by using the activated ECU and returning to the ECU state detection unit if the ECU is successfully activated and the current number of times of activating the ECU is less than the preset activation number.
Optionally, the control unit includes:
and the control subunit is used for calling a preset safe access operation program and controlling the ECU to enter a safe access service if the detected state of the ECU is a death state.
Optionally, the activation unit includes:
a backup data acquisition unit for acquiring backup data of the ECU from a ROM of the ECU;
the backup data flashing unit is used for flashing the ECU by using the backup data of the ECU;
the second judgment unit is used for judging whether the ECU is successfully refreshed by using the backup data of the ECU;
the first determining unit is used for determining that the ECU is successfully activated if the ECU is successfully refreshed by using the backup data of the ECU;
and the second determination unit is used for determining that the ECU fails to be activated if the ECU fails to be flushed by using the backup data of the ECU.
Further, the ECU flashing fault processing apparatus provided in the embodiment of the present application further includes:
and the activation information generation unit is used for generating and outputting corresponding activation information if the ECU fails to be activated.
An embodiment of the present application further provides an electronic device, which includes: the system comprises a processor and a memory, wherein the processor and the memory are connected through a communication bus; the processor is used for calling and executing the program stored in the memory; the memory is used for storing a program, and the program is used for realizing the ECU flash fault processing method.
Referring now to FIG. 4, a block diagram of an electronic device suitable for use in implementing the disclosed embodiments of the invention is shown. The electronic devices in the disclosed embodiments of the present invention may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the disclosed embodiments of the present invention.
As shown in fig. 4, the electronic device may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 401 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage means 406 into a Random Access Memory (RAM) 403. In the RAM403, various programs and data necessary for the operation of the electronic apparatus are also stored. The processing device 401, the ROM402, and the RAM403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Generally, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, tape, hard disk, etc.; and a communication device 409. The communication means 409 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. While fig. 4 illustrates an electronic device having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flowchart. In such embodiments, the computer program may be downloaded and installed from a network through the communication device 409, or from the storage device 308, or from the ROM 402. Which when executed by the processing means 401, performs the above-mentioned functions defined in the methods of the disclosed embodiments of the invention.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and the computer-executable instructions are used to execute the ECU flash fault processing method.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: detecting whether the state of the ECU is a dead state in real time in the process of flashing the required data by the ECU; if the ECU is detected to be in the death state, controlling the ECU to enter a safe access diagnosis service; acquiring backup data of the ECU from a ROM of the ECU, and detecting whether to activate the ECU according to the backup data; and if the ECU is successfully activated, the activated ECU is used for rewriting the required data.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
It should be noted that the computer readable medium mentioned above in the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are merely illustrative, wherein units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that it is obvious to those skilled in the art that various modifications and improvements can be made without departing from the principle of the present invention, and these modifications and improvements should also be considered as the protection scope of the present invention.

Claims (10)

1. An ECU (electronic control unit) flash fault processing method is characterized by comprising the following steps:
detecting whether the state of the ECU is a dead state in real time in the process of flashing the required data by the ECU;
if the ECU is detected to be in the death state, controlling the ECU to enter a safe access diagnosis service;
acquiring backup data of the ECU from a ROM of the ECU, and detecting whether to activate the ECU according to the backup data;
and if the ECU is successfully activated, the activated ECU is used for rewriting the required data.
2. The method of claim 1, wherein prior to the ECU re-flashing the demand data after the control activation, the method further comprises:
judging whether the current times of activating the ECU is less than the preset activation times or not;
if the current times of activating the ECU is not less than the preset activation times, generating and outputting corresponding alarm information;
wherein, if the ECU is successfully activated, the refreshing the demand data by using the activated ECU comprises:
and if the ECU is successfully activated and the current number of times of activating the ECU is less than the preset activation number, rewriting the required data by using the activated ECU, and returning to execute real-time detection to determine whether the state of the ECU is a dead-brushing state.
3. The method of claim 1, wherein the controlling the ECU to enter a secure access diagnostic service if the ECU state is detected as the dying state comprises:
and if the ECU is detected to be in the death state, calling a preset safe access operation program to control the ECU to enter a safe access service.
4. The method of claim 1, wherein the obtaining backup data for the ECU from a ROM of the ECU and detecting whether to activate the ECU based on the backup data comprises:
acquiring backup data of the ECU from a ROM of the ECU;
flashing the ECU by using the backup data of the ECU;
judging whether the ECU is successfully written by using the backup data of the ECU;
if the ECU is successfully refreshed by using the backup data of the ECU, determining that the ECU is successfully activated;
and if the ECU is not flushed by using the backup data of the ECU, determining that the ECU is not activated.
5. The method of claim 1, further comprising:
and if the ECU fails to be activated, generating and outputting corresponding activation information.
6. An ECU flush fault handling apparatus, characterized in that the apparatus comprises:
the ECU state detection unit is used for detecting whether the state of the ECU is a brush-out state in real time in the process of writing the required data by the ECU;
the control unit is used for controlling the ECU to enter a safe access diagnosis service if the ECU is detected to be in the death state;
an activation unit configured to acquire backup data of the ECU from a ROM of the ECU and detect whether to activate the ECU according to the backup data;
and the rewriting unit is used for rewriting the required data by using the activated ECU if the ECU is successfully activated.
7. The apparatus of claim 6, further comprising:
the first judgment unit is used for judging whether the number of times of currently activating the ECU is less than the preset activation number of times;
the alarm information generating unit is used for generating and outputting corresponding alarm information if the current times of activating the ECU is not less than the preset activation times;
wherein the re-flashing unit includes:
and the first re-flashing subunit is used for re-flashing the required data by using the activated ECU and returning to execute the ECU state detection unit if the ECU is successfully activated and the current number of times of activating the ECU is less than the preset activation number.
8. The apparatus of claim 6, wherein the control unit comprises:
and the control subunit is used for calling a preset safe access operation program and controlling the ECU to enter a safe access service if the state of the ECU is detected to be the death state.
9. An electronic device, comprising: the system comprises a processor and a memory, wherein the processor and the memory are connected through a communication bus; the processor is used for calling and executing the program stored in the memory; the memory for storing a program for implementing the ECU flush fault handling method according to any one of claims 1 to 5.
10. A computer-readable storage medium having stored therein computer-executable instructions for performing the ECU flush fault handling method of any one of claims 1-5.
CN202111338521.4A 2021-11-12 2021-11-12 ECU (electronic control Unit) flash fault processing method and device, electronic equipment and storage medium Pending CN114265382A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111338521.4A CN114265382A (en) 2021-11-12 2021-11-12 ECU (electronic control Unit) flash fault processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111338521.4A CN114265382A (en) 2021-11-12 2021-11-12 ECU (electronic control Unit) flash fault processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114265382A true CN114265382A (en) 2022-04-01

Family

ID=80825250

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111338521.4A Pending CN114265382A (en) 2021-11-12 2021-11-12 ECU (electronic control Unit) flash fault processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114265382A (en)

Citations (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10253504A (en) * 1997-03-10 1998-09-25 Honda Motor Co Ltd Vehicle diagnosing method and device therefor
US20030009271A1 (en) * 2001-07-06 2003-01-09 Susumu Akiyama Vehicular relay device, in-vehicle communication system, failure diagnostic system, vehicle management device, server device and detection and diagnostic program
JP2006031121A (en) * 2004-07-12 2006-02-02 Nissan Motor Co Ltd System inspection method and system inspection system
US20060259207A1 (en) * 2005-04-20 2006-11-16 Denso Corporation Electronic control system for automobile
CN201854303U (en) * 2010-07-13 2011-06-01 孙天 INTERNET diagnosis and maintenance system based on vehicle diagnosis line
US20110304448A1 (en) * 2010-06-11 2011-12-15 Denso Corporation Electronic control unit and information management system
CN103809988A (en) * 2012-11-07 2014-05-21 联想(北京)有限公司 Information processing method and electronic device
US20140301000A1 (en) * 2011-12-27 2014-10-09 Hitachi, Ltd. Battery System and Ground Fault Detecting Device
US20160240021A1 (en) * 2015-02-12 2016-08-18 Hyundai Motor Company Interface device, vehicle examining device connecting with the interface device, and controlling method of the vehicle examining device
CN205721348U (en) * 2016-04-25 2016-11-23 潍柴动力股份有限公司 Portable data is write with a brush dipped in Chinese ink and diagnoses attachment means
CN107577220A (en) * 2017-09-01 2018-01-12 潍柴动力股份有限公司 A kind of restorative procedure of program, device and electronic equipment
CN109189432A (en) * 2018-09-18 2019-01-11 深圳市元征科技股份有限公司 A kind of automobile ECU data write with a brush dipped in Chinese ink method and relevant device
WO2019021064A1 (en) * 2017-07-25 2019-01-31 Aurora Labs Ltd Constructing software delta updates for vehicle ecu software and abnormality detection based on toolchain
CN209070024U (en) * 2018-07-23 2019-07-05 江苏金美尚车业有限公司 The Debugging system of electric car
CN110134412A (en) * 2019-03-25 2019-08-16 北京车和家信息技术有限公司 Oftware updating method, device, vehicle and computer readable storage medium
DE102019109672A1 (en) * 2018-04-24 2019-10-24 GM Global Technology Operations LLC CANCELLATION AFTER PARTIAL FAILURE IN MULTIPLE ELECTRONIC CONTROL UNITS BY OVER THE AIR UPDATE
JP2020027638A (en) * 2018-08-10 2020-02-20 株式会社デンソー Master device for vehicle, electronic control system for vehicle, method for instructing activation request, and program for instructing activation request
JP2020027637A (en) * 2018-08-10 2020-02-20 株式会社デンソー Vehicle master device, non-rewriting object power source management method, and non-rewriting object power source management program
JP2020027630A (en) * 2018-08-10 2020-02-20 株式会社デンソー Master device for vehicle, method for controlling execution of roll back, program for controlling execution of roll back, and data structure of specification data
JP2020027621A (en) * 2018-08-10 2020-02-20 株式会社デンソー Vehicle electronic control system, program update notification control method, and program update notification control program
JP2020027632A (en) * 2018-08-10 2020-02-20 株式会社デンソー Electronic control device, electronic control system for vehicle, method for controlling execution of activation, and program for controlling execution of activation
CN111198705A (en) * 2019-12-19 2020-05-26 潍柴动力股份有限公司 Memory backup method and device for preventing ECU from being swiped up, storage medium and electronic equipment
US20200264924A1 (en) * 2019-02-20 2020-08-20 Samsung Electronics Co., Ltd. Electronic device and control method thereof
CN111722864A (en) * 2020-06-24 2020-09-29 深圳市元征科技股份有限公司 ECU data flashing method and related device
CN111897545A (en) * 2020-06-28 2020-11-06 东风汽车集团有限公司 Safe access method and system applied to ECU
CN111930560A (en) * 2020-06-29 2020-11-13 东风汽车集团有限公司 ECU self-learning data backup method and system
CN112000083A (en) * 2020-09-01 2020-11-27 深圳市元征科技股份有限公司 ECU data flashing method, flashing device, flashing equipment and storage medium
CN112286170A (en) * 2020-10-29 2021-01-29 深圳市元征科技股份有限公司 Vehicle ECU (electronic control Unit) flashing method, device and equipment and storage medium
US20210072975A1 (en) * 2019-09-09 2021-03-11 Ford Global Technologies, Llc Vehicle ecu flash programming
CN112527326A (en) * 2020-12-02 2021-03-19 上海星融汽车科技有限公司 Board-dismounting-free ECU (electronic control Unit) cross-manufacturer flashing system and method
CN112540778A (en) * 2020-11-13 2021-03-23 深圳市元征科技股份有限公司 Vehicle data flashing method, diagnostic equipment and flashing system
CN112579135A (en) * 2020-12-22 2021-03-30 潍柴动力股份有限公司 Flash control method and system for vehicle control unit and vehicle
CN112698857A (en) * 2021-01-04 2021-04-23 潍柴动力股份有限公司 Data flashing method and device
CN112835598A (en) * 2019-11-25 2021-05-25 广州汽车集团股份有限公司 Automobile ECU (electronic control Unit) flashing method and system and computer readable storage medium
JP2021081998A (en) * 2019-11-19 2021-05-27 株式会社オートネットワーク技術研究所 On-vehicle update device and update processing program
CN113031974A (en) * 2021-03-18 2021-06-25 重庆青山工业有限责任公司 Software flashing method for transmission control unit
JPWO2021186247A1 (en) * 2020-03-18 2021-09-23

Patent Citations (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10253504A (en) * 1997-03-10 1998-09-25 Honda Motor Co Ltd Vehicle diagnosing method and device therefor
US20030009271A1 (en) * 2001-07-06 2003-01-09 Susumu Akiyama Vehicular relay device, in-vehicle communication system, failure diagnostic system, vehicle management device, server device and detection and diagnostic program
JP2006031121A (en) * 2004-07-12 2006-02-02 Nissan Motor Co Ltd System inspection method and system inspection system
US20060259207A1 (en) * 2005-04-20 2006-11-16 Denso Corporation Electronic control system for automobile
US20110304448A1 (en) * 2010-06-11 2011-12-15 Denso Corporation Electronic control unit and information management system
CN201854303U (en) * 2010-07-13 2011-06-01 孙天 INTERNET diagnosis and maintenance system based on vehicle diagnosis line
US20140301000A1 (en) * 2011-12-27 2014-10-09 Hitachi, Ltd. Battery System and Ground Fault Detecting Device
CN103809988A (en) * 2012-11-07 2014-05-21 联想(北京)有限公司 Information processing method and electronic device
US20160240021A1 (en) * 2015-02-12 2016-08-18 Hyundai Motor Company Interface device, vehicle examining device connecting with the interface device, and controlling method of the vehicle examining device
CN205721348U (en) * 2016-04-25 2016-11-23 潍柴动力股份有限公司 Portable data is write with a brush dipped in Chinese ink and diagnoses attachment means
WO2019021064A1 (en) * 2017-07-25 2019-01-31 Aurora Labs Ltd Constructing software delta updates for vehicle ecu software and abnormality detection based on toolchain
CN107577220A (en) * 2017-09-01 2018-01-12 潍柴动力股份有限公司 A kind of restorative procedure of program, device and electronic equipment
DE102019109672A1 (en) * 2018-04-24 2019-10-24 GM Global Technology Operations LLC CANCELLATION AFTER PARTIAL FAILURE IN MULTIPLE ELECTRONIC CONTROL UNITS BY OVER THE AIR UPDATE
CN209070024U (en) * 2018-07-23 2019-07-05 江苏金美尚车业有限公司 The Debugging system of electric car
JP2020027630A (en) * 2018-08-10 2020-02-20 株式会社デンソー Master device for vehicle, method for controlling execution of roll back, program for controlling execution of roll back, and data structure of specification data
JP2020027638A (en) * 2018-08-10 2020-02-20 株式会社デンソー Master device for vehicle, electronic control system for vehicle, method for instructing activation request, and program for instructing activation request
JP2020027637A (en) * 2018-08-10 2020-02-20 株式会社デンソー Vehicle master device, non-rewriting object power source management method, and non-rewriting object power source management program
JP2020027621A (en) * 2018-08-10 2020-02-20 株式会社デンソー Vehicle electronic control system, program update notification control method, and program update notification control program
JP2020027632A (en) * 2018-08-10 2020-02-20 株式会社デンソー Electronic control device, electronic control system for vehicle, method for controlling execution of activation, and program for controlling execution of activation
CN109189432A (en) * 2018-09-18 2019-01-11 深圳市元征科技股份有限公司 A kind of automobile ECU data write with a brush dipped in Chinese ink method and relevant device
US20200264924A1 (en) * 2019-02-20 2020-08-20 Samsung Electronics Co., Ltd. Electronic device and control method thereof
CN110134412A (en) * 2019-03-25 2019-08-16 北京车和家信息技术有限公司 Oftware updating method, device, vehicle and computer readable storage medium
US20210072975A1 (en) * 2019-09-09 2021-03-11 Ford Global Technologies, Llc Vehicle ecu flash programming
JP2021081998A (en) * 2019-11-19 2021-05-27 株式会社オートネットワーク技術研究所 On-vehicle update device and update processing program
CN112835598A (en) * 2019-11-25 2021-05-25 广州汽车集团股份有限公司 Automobile ECU (electronic control Unit) flashing method and system and computer readable storage medium
CN111198705A (en) * 2019-12-19 2020-05-26 潍柴动力股份有限公司 Memory backup method and device for preventing ECU from being swiped up, storage medium and electronic equipment
JPWO2021186247A1 (en) * 2020-03-18 2021-09-23
CN111722864A (en) * 2020-06-24 2020-09-29 深圳市元征科技股份有限公司 ECU data flashing method and related device
CN111897545A (en) * 2020-06-28 2020-11-06 东风汽车集团有限公司 Safe access method and system applied to ECU
CN111930560A (en) * 2020-06-29 2020-11-13 东风汽车集团有限公司 ECU self-learning data backup method and system
CN112000083A (en) * 2020-09-01 2020-11-27 深圳市元征科技股份有限公司 ECU data flashing method, flashing device, flashing equipment and storage medium
CN112286170A (en) * 2020-10-29 2021-01-29 深圳市元征科技股份有限公司 Vehicle ECU (electronic control Unit) flashing method, device and equipment and storage medium
CN112540778A (en) * 2020-11-13 2021-03-23 深圳市元征科技股份有限公司 Vehicle data flashing method, diagnostic equipment and flashing system
CN112527326A (en) * 2020-12-02 2021-03-19 上海星融汽车科技有限公司 Board-dismounting-free ECU (electronic control Unit) cross-manufacturer flashing system and method
CN112579135A (en) * 2020-12-22 2021-03-30 潍柴动力股份有限公司 Flash control method and system for vehicle control unit and vehicle
CN112698857A (en) * 2021-01-04 2021-04-23 潍柴动力股份有限公司 Data flashing method and device
CN113031974A (en) * 2021-03-18 2021-06-25 重庆青山工业有限责任公司 Software flashing method for transmission control unit

Non-Patent Citations (11)

* Cited by examiner, † Cited by third party
Title
CATELA: "MoteIST: A Modular Low-Power Approach to Wireless Sensor Networks Nodes", INTERNATIONAL JOURNAL OF ADAPTIVE, RESILIENT AND AUTONOMIC SYSTEMS, pages 82 - 101 *
M. H. SARWAR: "Network of ECUs Software Update in Future vehicles", 2019 25TH INTERNATIONAL CONFERENCE ON AUTOMATION AND COMPUTING (ICAC), pages 1 - 5 *
M. ROHITH: "Design and Integration of Gateway Electronic Control Unit (ECU) for Automotive Electronics Applications", 2021 ASIAN CONFERENCE ON INNOVATION IN TECHNOLOGY (ASIANCON), pages 1 - 4 *
S. STEVIĆ: "IoT-based Software Update Proposal for Next Generation Automotive Middleware Stacks", 2018 IEEE 8TH INTERNATIONAL CONFERENCE ON CONSUMER ELECTRONICS - BERLIN (ICCE-BERLIN), pages 1 - 4 *
刘晓波: "Bootstrap功能在ECU刷写中的应用", 电子技术与软件工程, pages 106 - 108 *
姜韶华;: "商用车整车下线检测系统的设计", 山东农业大学学报(自然科学版), no. 04, pages 149 - 152 *
崔杰: "基于CAN和以太网通信的汽车诊断刷写系统设计", 中国优秀硕士学位论文全文数据库 *
肖文平: "智能汽车时代,车载以太网的ECU升级技术研究", 汽车与配件, pages 66 - 69 *
邵金萍: "基于ECU-TEST的ECU诊断工具API接口自动化测试应用", 汽车电器, pages 75 - 77 *
陈江波: "整车下线EPS刷写偶发性失败问题分析与方案优选", 汽车电器, pages 42 - 44 *
陈程杰: "基于CAN总线的ECU在线刷新和远程服务系统的开发", 中国优秀硕士学位论文全文数据库 *

Similar Documents

Publication Publication Date Title
CN109726528B (en) Method, device, equipment and medium for activating and requesting vehicle-machine service
CA2846069C (en) Automation of d-bus communication testing for bluetooth profiles
CN111399884A (en) Vehicle component upgrading method and device and electronic equipment
CN110825411B (en) Upgrading method and device for TWS (two way satellite System) earphone system and computer-readable storage medium
CN110928567A (en) Vehicle system upgrading method, terminal device and computer-readable storage medium
EP2778928B1 (en) D-bus communicaiton testing for bluetooth profiles
CN110377341B (en) Method, device, medium and electronic equipment for monitoring no-response exception
CN110930131A (en) Vehicle maintenance method, device, equipment and medium
CN110727566B (en) Method, device, medium and electronic equipment for acquiring process crash information
CN112039896B (en) Data processing method, equipment, server and storage medium
CN104468993A (en) Method for checking messages
CN105050061A (en) Method and device for sending messages on the basis of user voiceprint information
CN111866083A (en) Equipment debugging system and method, equipment to be debugged, remote debugging equipment and transfer server
CN109634702B (en) Information prompting method and device, electronic equipment and readable medium
CN109491908B (en) Page detection method and device, electronic equipment and storage medium
CN108650594B (en) Sound box management method, user terminal and computer storage medium
CN105426703A (en) Application processing method and apparatus
CN110674050B (en) Memory out-of-range detection method and device, electronic equipment and computer storage medium
CN112463266A (en) Execution policy generation method and device, electronic equipment and storage medium
CN114265382A (en) ECU (electronic control Unit) flash fault processing method and device, electronic equipment and storage medium
CN111273967A (en) Remote hook setting method and device suitable for Android system and electronic equipment
CN114968644A (en) System software dump method and device, electronic equipment and readable storage medium
CN109815429B (en) Browser page closing processing method and device
CN112035127B (en) Method and device for installing application, vehicle, storage medium and electronic equipment
CN111338674A (en) Instruction processing method, device and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination