CN115454455A - Control method and device for whole vehicle ECU (electronic control Unit) flash error prevention and terminal equipment - Google Patents

Control method and device for whole vehicle ECU (electronic control Unit) flash error prevention and terminal equipment Download PDF

Info

Publication number
CN115454455A
CN115454455A CN202210977863.9A CN202210977863A CN115454455A CN 115454455 A CN115454455 A CN 115454455A CN 202210977863 A CN202210977863 A CN 202210977863A CN 115454455 A CN115454455 A CN 115454455A
Authority
CN
China
Prior art keywords
ecu
data
flash
identity
target vehicle
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
CN202210977863.9A
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.)
Dongfeng Liuzhou Motor Co Ltd
Original Assignee
Dongfeng Liuzhou Motor 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 Dongfeng Liuzhou Motor Co Ltd filed Critical Dongfeng Liuzhou Motor Co Ltd
Priority to CN202210977863.9A priority Critical patent/CN115454455A/en
Publication of CN115454455A publication Critical patent/CN115454455A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/51Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Power Engineering (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention discloses a control method, a device and a terminal device for preventing error in flashing of an ECU (electronic control unit) of a whole vehicle. After the ECU is assembled on the vehicle, corresponding flash control is carried out by comparing the ECU identity data which is planned to be assembled on the vehicle with the assembled ECU identity data, so that the flash accuracy of the ECU of the vehicle is improved, and the defect of a foolproof mechanism for ECU assembly is filled.

Description

Control method and device for whole vehicle ECU (electronic control Unit) flash error prevention and terminal equipment
Technical Field
The invention relates to the field of ECU data flashing, in particular to a control method and device for whole vehicle ECU flashing error prevention and terminal equipment.
Background
ECU data is brushed and is called ECU data filling, and the basic principle is as follows: the external data writing tool sends data information to the ECU through an ECU communication network (mostly K-line and CAN buses), and management and updating of ECU data are achieved.
At present, the commercial vehicle ECU lacks an effective assembly, a brushing fool-proof and error-proof mechanism, when the wrong ECU is assembled to the whole vehicle, the ECU can be detected only when the electronic control function of the whole vehicle is found out in the adjustment and inspection link after the vehicle is off line, the production efficiency of the vehicle is greatly influenced, and the instruction of vehicle production is reduced.
Therefore, a control strategy for preventing error in the assembling and flashing of the ECU of the whole automobile is needed to solve the problem of error in the assembling and flashing of the ECU of the whole automobile.
Disclosure of Invention
The embodiment of the invention provides a method and a device for controlling the assembling flash error prevention of a whole vehicle ECU and terminal equipment, so as to improve the accuracy of the assembling flash of the whole vehicle ECU.
In order to solve the above problem, an embodiment of the present invention provides a method for controlling an entire vehicle ECU assembly flashing error prevention, including:
acquiring first ECU cloud data of a target vehicle;
acquiring first ECU identity data through a preset database according to the first ECU cloud data;
sending a preset diagnosis instruction to the target vehicle, and receiving second ECU identity data fed back by the target vehicle according to the diagnosis instruction;
judging whether the first ECU identity data and the second ECU identity data are consistent or not according to the first ECU identity data and the second ECU identity data: if so, generating a flash starting instruction, and transmitting the flash starting instruction to the ECU flash device so that the ECU flash device carries out ECU flash operation according to the flash starting instruction; and if not, generating a flash stop instruction, and transmitting the flash stop instruction to the ECU flash device so that the ECU flash device stops the ECU flash operation according to the flash stop instruction.
Therefore, the invention has the following beneficial effects:
the invention provides a control method for preventing error in flashing of an ECU (electronic control unit) of a whole vehicle, which comprises the steps of obtaining first ECU cloud data of the ECU planned to be assembled by a target vehicle, obtaining first ECU identity data from a preset database according to the first ECU cloud data, sending a diagnosis instruction to the target vehicle, obtaining second ECU identity data of the assembled ECU by the target vehicle, judging whether the identity data of the assembled ECU is consistent with the identity data of the ECU planned to be assembled or not by comparing the first ECU identity data with the second ECU identity data, and carrying out corresponding flash control according to a judgment result. After the ECU is assembled on the vehicle, corresponding flash control is carried out by comparing the ECU identity data which is planned to be assembled on the vehicle with the assembled ECU identity data, so that the flash accuracy of the ECU of the vehicle is improved, and the defect of a foolproof mechanism for ECU assembly is filled.
As an improvement of the above scheme, the acquiring of the first ECU cloud data of the target vehicle specifically includes:
acquiring identity data of the target vehicle;
obtaining first ECU cloud data of the target vehicle through a production quota database according to the identity data; wherein the first ECU cloud data comprises: and ECU picture numbers of all planned assemblies of the target vehicle.
By implementing the improved scheme of the embodiment, the ECU picture number for planned assembly is obtained by obtaining the identity data of the target vehicle and inquiring the production quota database, so that a foundation is laid for obtaining the first ECU identity data.
As an improvement of the above scheme, the method for constructing the preset database includes:
acquiring a plurality of ECU picture number data;
judging whether identity identification data exists in each ECU picture number data or not through calibration operation according to the plurality of ECU picture number data;
if so, acquiring identity identification data corresponding to the ECU picture number data in the database, and verifying and modifying the identity identification data to obtain first calibration data; if not, adding identity identification data corresponding to the ECU picture number data in the database to obtain second calibration data;
and when the ECU picture number data finish the calibration operation, acquiring the preset database.
According to the improved scheme of the embodiment, the ECU picture number data is calibrated and judged, and the calibration data related to the ECU picture number data in the database is perfected according to the judgment result, so that the accuracy of the calibration database is improved, each ECU picture number data can find the corresponding identification data, and the constructed database is customized outside the system, so that the expansibility is strong.
As an improvement of the above scheme, the second ECU identification data fed back by the target vehicle according to the diagnosis instruction specifically includes:
after the target vehicle receives the diagnosis instruction, sending a data acquisition instruction to each assembled ECU according to the diagnosis instruction so that each assembled ECU sends identification data according to the data acquisition instruction;
and the target vehicle receives the identification data sent by each assembled ECU and generates second ECU identification data in a summarizing manner.
By implementing the improvement scheme of the embodiment, the assembled ECU identity data is acquired by the target vehicle according to the diagnosis instruction, and compared with the method of flashing in advance, the method of flashing is beneficial to improving the accuracy of flashing by confirming whether the assembled ECU meets the flashing condition after the assembly is completed.
Correspondingly, an embodiment of the present invention further provides a control device for entire vehicle ECU error proofing by flash, including: the device comprises a data acquisition module, a data matching module, a data receiving module and a judgment module;
the data acquisition module is used for acquiring first ECU cloud data of a target vehicle;
the data matching module is used for acquiring first ECU identity data through a preset database according to the first ECU cloud data;
the data receiving module is used for sending a preset diagnosis instruction to the target vehicle and receiving second ECU identity data fed back by the target vehicle according to the diagnosis instruction;
the judgment module is used for judging whether the first ECU identity data and the second ECU identity data are consistent or not according to the first ECU identity data and the second ECU identity data: if so, generating a flash starting instruction, and transmitting the flash starting instruction to an ECU flash device so that the ECU flash device performs ECU flash operation according to the flash starting instruction; and if not, generating a flash stop instruction, and transmitting the flash stop instruction to the ECU flash device so that the ECU flash device stops the ECU flash operation according to the flash stop instruction.
As an improvement of the above scheme, the data acquisition module includes: a first acquisition unit and a second acquisition unit;
the first acquisition unit is used for acquiring the identity data of the target vehicle;
the second acquisition unit is used for acquiring first ECU cloud data of the target vehicle through a production quota database according to the identity data; wherein the first ECU cloud data comprises: and ECU picture numbers of all planned assemblies of the target vehicle.
As an improvement of the above scheme, the method for constructing the preset database includes:
acquiring a plurality of ECU picture number data;
judging whether identity identification data exists in each ECU picture number data or not through calibration operation according to the plurality of ECU picture number data;
if so, acquiring identity identification data corresponding to the ECU picture number data in the database, and verifying and modifying the identity identification data to obtain first calibration data; if not, adding identity identification data corresponding to the ECU picture number data in the database to obtain second calibration data;
and when the ECU picture number data finish the calibration operation, obtaining the preset database.
As an improvement of the above scheme, the second ECU identity data fed back by the target vehicle according to the diagnosis instruction specifically includes:
after the target vehicle receives the diagnosis instruction, sending a data acquisition instruction to each assembled ECU according to the diagnosis instruction, so that each assembled ECU sends identification data according to the data acquisition instruction;
and the target vehicle receives the identification data sent by each assembled ECU and generates second ECU identification data in a summarizing manner.
Correspondingly, an embodiment of the present invention further provides a computer terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, the method for controlling the entire vehicle ECU to perform the flash error protection is implemented.
Correspondingly, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, and when the computer program runs, a device where the computer-readable storage medium is located is controlled to execute the control method for preventing errors by flashing the ECU in the whole vehicle according to the present invention.
Drawings
Fig. 1 is a schematic flow chart of a control method for vehicle ECU error proofing in a flash according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a control device for vehicle ECU flashing error protection according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a calibration database construction according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart of a control method for vehicle ECU flashing error prevention according to another embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
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.
Example one
Referring to fig. 1, fig. 1 is a schematic flow chart of a control method for brushing an ECU of a vehicle to prevent errors in the vehicle, as shown in fig. 1, the present embodiment includes steps 101 to 104, and each step specifically includes the following steps:
step 101: first ECU cloud data of a target vehicle are acquired.
In this embodiment, the acquiring of the first ECU cloud data of the target vehicle specifically includes:
acquiring identity data of the target vehicle;
obtaining first ECU cloud data of the target vehicle through a production quota database according to the identity data; wherein the first ECU cloud data comprises: and ECU picture numbers of all planned assemblies of the target vehicle.
In a specific embodiment, the identity data of the target vehicle is a complete vehicle identity unique identifier of the target vehicle.
In a specific embodiment, ECU numbers in the production quota database are arranged in different arrangement sequences according to the identity data of different vehicles; the arrangement sequence is set according to the placing sequence of each vehicle ECU, so that the ECU corresponding to each ECU figure number is ensured to be consistent with the actual position at the vehicle installation position.
Step 102: and acquiring first ECU identity data through a preset database according to the first ECU cloud data.
In this embodiment, the method for constructing the preset database includes:
acquiring a plurality of ECU picture number data;
judging whether identity identification data exists in each ECU picture number data or not through calibration operation according to the plurality of ECU picture number data;
if so, acquiring identity identification data corresponding to the ECU picture number data in the database, and verifying and modifying the identity identification data to obtain first calibration data; if not, adding identity identification data corresponding to the ECU picture number data in the database to obtain second calibration data;
and when the ECU picture number data finish the calibration operation, obtaining the preset database.
In a specific embodiment, the preset database includes ECU map number data (first ECU cloud data) and ECU identification data (first ECU identification data); the ECU identification data is extracted according to the ECU drawing numbers in a key value pair mode, each ECU drawing number corresponds to each ECU identification data one by one, and a JSON or EXCEL table can be adopted in actual implementation.
In a particular embodiment, the ECU identification data includes, but is not limited to, a software revision identification code.
In a specific embodiment, please refer to fig. 3, where fig. 3 is a schematic flowchart of a calibration database construction process according to an embodiment of the present invention, which specifically includes: judging whether the acquired ECU picture number is calibrated or not after the calibration is started: if yes, reading information corresponding to the row where the ECU picture number is located, and modifying the existing information; if not, newly building an ECU picture number, defining a software version identification code and defining other information; and finishing calibration after all ECU picture numbers are judged.
Step 103: sending a preset diagnosis instruction to the target vehicle, and receiving second ECU identity data fed back by the target vehicle according to the diagnosis instruction;
in this embodiment, the second ECU identity data fed back by the target vehicle according to the diagnosis instruction specifically includes:
after the target vehicle receives the diagnosis instruction, sending a data acquisition instruction to each assembled ECU according to the diagnosis instruction so that each assembled ECU sends identification data according to the data acquisition instruction;
and the target vehicle receives the identification data sent by each assembled ECU and generates second ECU identification data in a summarizing manner.
In a specific embodiment, the diagnostic instructions may be in the form of KWP2000, J1939, or UDS.
In a specific embodiment, after the target vehicle receives the diagnosis instruction, the second ECU identification data is acquired according to the placing sequence of each vehicle ECU as the receiving sequence, so that the acquired second ECU identification data is consistent with the actual position, and thus can be in one-to-one correspondence with the first ECU identification data.
Step 104: judging whether the first ECU identity data and the second ECU identity data are consistent or not according to the first ECU identity data and the second ECU identity data: if so, generating a flash starting instruction, and transmitting the flash starting instruction to the ECU flash device so that the ECU flash device carries out ECU flash operation according to the flash starting instruction; and if not, generating a flash stop instruction, and transmitting the flash stop instruction to the ECU flash device so that the ECU flash device stops the ECU flash operation according to the flash stop instruction.
In a specific embodiment, for better explanation, please refer to fig. 4, where fig. 4 is a schematic flow chart of a control method for entire vehicle ECU flashing error prevention according to another embodiment of the present invention, including the following steps:
s01: starting a control method for preventing error in flash;
s02: after the whole vehicle is assembled, ECU (electronic control unit) flash control is carried out;
s03: acquiring all ECU (electronic control unit) figure number lists of the whole vehicle through a production quota database;
s04: reading ECU identification information according to an ECU picture number through a local or cloud calibration database (external definition); acquiring identification information of all ECUs of a whole vehicle in a production plan; the method comprises the steps that when ECU identification information is obtained, a diagnosis instruction is sent to obtain identity information carried in an assembled ECU, and therefore the identity information carried in the assembled ECU is obtained;
s05: judging whether the identification information of the ECU is consistent with the identity information of the ECU: recording the assembled ECU of the whole vehicle; if so, executing the flash writing and finishing the control; if not, prompting an error, stopping the flash writing, and ending the control.
In the embodiment, the ECU is controlled to be wrongly written by acquiring the first ECU cloud data of the ECU planned to be assembled by the target vehicle, acquiring the first ECU identity data from the preset database according to the first ECU cloud data, sending a diagnosis instruction to the target vehicle, acquiring the second ECU identity data of the assembled ECU by the target vehicle, judging whether the identity data of the assembled ECU is consistent with the identity data of the ECU planned to be assembled by comparing the first ECU identity data with the second ECU identity data, and carrying out corresponding writing control according to the judgment result. According to the embodiment, the accuracy of the ECU flash of the whole vehicle is improved, and the ECU flash error is avoided. Meanwhile, the ECU identification data can be supplemented through the user-defined calibration database, and the expansibility of the whole vehicle ECU error-proofing control method is enhanced.
Example two
Referring to fig. 2, fig. 2 is a schematic structural diagram of a control device for brushing an ECU of a complete vehicle to prevent errors according to an embodiment of the present invention, including: the system comprises a data acquisition module 201, a data matching module 202, a data receiving module 203 and a judgment module 204;
the data acquisition module 201 is used for acquiring first ECU cloud data of a target vehicle;
the data matching module 202 is configured to obtain first ECU identity data through a preset database according to the first ECU cloud data;
the data receiving module 203 is configured to send a preset diagnosis instruction to the target vehicle, and receive second ECU identity data fed back by the target vehicle according to the diagnosis instruction;
the determining module 204 is configured to determine whether the first ECU identity data and the second ECU identity data are consistent according to the first ECU identity data and the second ECU identity data: if so, generating a flash starting instruction, and transmitting the flash starting instruction to the ECU flash device so that the ECU flash device carries out ECU flash operation according to the flash starting instruction; and if not, generating a flash stop instruction, and transmitting the flash stop instruction to the ECU flash device so that the ECU flash device stops the ECU flash operation according to the flash stop instruction.
As an improvement of the above scheme, the data obtaining module 201 includes: a first acquisition unit and a second acquisition unit;
the first obtaining unit is used for obtaining the identity data of the target vehicle;
the second acquisition unit is used for acquiring first ECU cloud data of the target vehicle through a production quota database according to the identity data; wherein the first ECU cloud data comprises: and ECU numbers of all planned assemblies of the target vehicle.
As an improvement of the above scheme, the method for constructing the preset database includes:
acquiring a plurality of ECU picture number data;
judging whether identity identification data exists in each ECU picture number data or not through calibration operation according to the plurality of ECU picture number data;
if yes, acquiring identity identification data corresponding to the ECU picture number data in the database, and verifying and modifying the identity identification data to obtain first calibration data; if not, adding identity identification data corresponding to the ECU picture number data in the database to obtain second calibration data;
and when the ECU picture number data finish the calibration operation, obtaining the preset database.
As an improvement of the above scheme, the second ECU identification data fed back by the target vehicle according to the diagnosis instruction specifically includes:
after the target vehicle receives the diagnosis instruction, sending a data acquisition instruction to each assembled ECU according to the diagnosis instruction, so that each assembled ECU sends identification data according to the data acquisition instruction;
and the target vehicle receives the identification data sent by each assembled ECU and generates second ECU identification data in a summarizing mode.
In the embodiment, after the first ECU cloud data of the target vehicle is acquired through the data acquisition module, the first ECU cloud data is matched with data in a preset database through the data matching module to acquire the first ECU identity data, the second ECU identity data is acquired through the data receiving module, the acquired first ECU identity data and the acquired second ECU identity data are input into the judgment module to be subjected to flash control judgment, the flash control of the whole vehicle ECU is realized, and the flash accuracy of the whole vehicle ECU is improved.
EXAMPLE III
Referring to fig. 5, fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
A terminal device of this embodiment includes: a processor 501, a memory 502 and a computer program stored in said memory 502 and executable on said processor 501. The processor 501 implements the steps of the above-described entire vehicle ECU flashing error-proofing control method in an embodiment when executing the computer program, for example, all the steps of the entire vehicle ECU flashing error-proofing control method shown in fig. 1. Alternatively, the processor, when executing the computer program, implements the functions of the modules in the device embodiments, for example: and all modules of the vehicle ECU flash error-proof control device shown in the figure 2.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, and when the computer program runs, the device where the computer-readable storage medium is located is controlled to execute the control method for vehicle ECU flashing error prevention according to any one of the above embodiments.
It will be appreciated by those skilled in the art that the schematic diagram is merely an example of a terminal device and does not constitute a limitation of a terminal device, and may include more or less components than those shown, or combine certain components, or different components, for example, the terminal device may also include input output devices, network access devices, buses, etc.
The Processor 501 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general processor may be a microprocessor or the processor may be any conventional processor, etc., and the processor 501 is a control center of the terminal device and connects various parts of the whole terminal device by using various interfaces and lines.
The memory 502 may be used for storing the computer programs and/or modules, and the processor 501 may implement various functions of the terminal device by running or executing the computer programs and/or modules stored in the memory and calling the data stored in the memory 502. The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Wherein, the terminal device integrated module/unit can be stored in a computer readable storage medium if it is implemented in the form of software functional unit and sold or used as a stand-alone product. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like.
It should be noted that the above-described device embodiments are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement without inventive effort.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (10)

1. A control method for preventing error of ECU flash of a whole vehicle is characterized by comprising the following steps:
acquiring first ECU cloud data of a target vehicle;
acquiring first ECU identity data through a preset database according to the first ECU cloud data;
sending a preset diagnosis instruction to the target vehicle, and receiving second ECU identity data fed back by the target vehicle according to the diagnosis instruction;
according to the first ECU identity data and the second ECU identity data, whether the first ECU identity data and the second ECU identity data are consistent or not is judged: if so, generating a flash starting instruction, and transmitting the flash starting instruction to the ECU flash device so that the ECU flash device carries out ECU flash operation according to the flash starting instruction; and if not, generating a flash stop instruction, and transmitting the flash stop instruction to the ECU flash device so that the ECU flash device stops the ECU flash operation according to the flash stop instruction.
2. The vehicle-mounted ECU flash error-proofing control method according to claim 1, wherein the obtaining of the first ECU cloud data of the target vehicle specifically comprises:
acquiring identity data of the target vehicle;
obtaining first ECU cloud data of the target vehicle through a production quota database according to the identity data; wherein the first ECU cloud data comprises: and ECU picture numbers of all planned assemblies of the target vehicle.
3. The vehicle ECU flash error-proofing control method according to claim 1, wherein the preset database construction method comprises the following steps:
acquiring a plurality of ECU picture number data;
judging whether identity identification data exists in each ECU picture number data or not through calibration operation according to the plurality of ECU picture number data;
if so, acquiring identity identification data corresponding to the ECU picture number data in the database, and verifying and modifying the identity identification data to obtain first calibration data; if not, adding identity identification data corresponding to the ECU picture number data in the database to obtain second calibration data;
and summarizing the obtained first calibration data and the second calibration data to obtain the preset database.
4. The vehicle-mounted ECU flash error-proofing control method according to claim 1, wherein the second ECU identification data fed back by the target vehicle according to the diagnosis instruction specifically comprises:
after the target vehicle receives the diagnosis instruction, sending a data acquisition instruction to each assembled ECU according to the diagnosis instruction so that each assembled ECU sends identification data according to the data acquisition instruction;
and the target vehicle receives the identification data sent by each assembled ECU and generates second ECU identification data in a summarizing manner.
5. The utility model provides a control device of mistake proofing is write with a brush to whole car ECU which characterized in that includes: the device comprises a data acquisition module, a data matching module, a data receiving module and a judgment module;
the data acquisition module is used for acquiring first ECU cloud data of a target vehicle;
the data matching module is used for acquiring first ECU identity data through a preset database according to the first ECU cloud data;
the data receiving module is used for sending a preset diagnosis instruction to the target vehicle and receiving second ECU identity data fed back by the target vehicle according to the diagnosis instruction;
the judgment module is used for judging whether the first ECU identity data and the second ECU identity data are consistent or not according to the first ECU identity data and the second ECU identity data: if so, generating a flash starting instruction, and transmitting the flash starting instruction to an ECU flash device so that the ECU flash device performs ECU flash operation according to the flash starting instruction; and if not, generating a flash stop instruction, and transmitting the flash stop instruction to the ECU flash device so that the ECU flash device stops the ECU flash operation according to the flash stop instruction.
6. The vehicle ECU flash error-proofing control device according to claim 5, wherein the data acquisition module comprises: a first acquisition unit and a second acquisition unit;
the first obtaining unit is used for obtaining the identity data of the target vehicle;
the second acquisition unit is used for acquiring first ECU cloud data of the target vehicle through a production quota database according to the identity data; wherein the first ECU cloud data comprises: and ECU picture numbers of all planned assemblies of the target vehicle.
7. The vehicle ECU flash error-proofing control device according to claim 5, wherein the preset database construction method comprises:
acquiring a plurality of ECU picture number data;
judging whether identity identification data exists in each ECU picture number data or not through calibration operation according to the plurality of ECU picture number data;
if so, acquiring identity identification data corresponding to the ECU picture number data in the database, and verifying and modifying the identity identification data to obtain first calibration data; if not, adding identity identification data corresponding to the ECU picture number data in the database to obtain second calibration data;
and summarizing the obtained first calibration data and the second calibration data to obtain the preset database.
8. The vehicle ECU flash error-proofing control device according to claim 5, wherein the second ECU identification data fed back by the target vehicle according to the diagnosis instruction specifically comprises:
after the target vehicle receives the diagnosis instruction, sending a data acquisition instruction to each assembled ECU according to the diagnosis instruction, so that each assembled ECU sends identification data according to the data acquisition instruction;
and the target vehicle receives the identification data sent by each assembled ECU and generates second ECU identification data in a summarizing manner.
9. A computer terminal device, characterized by comprising a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the control method for preventing error in ECU flashing of a whole vehicle as claimed in any one of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium, comprising a stored computer program, wherein when the computer program runs, a device where the computer-readable storage medium is located is controlled to execute the method for controlling vehicle ECU flash error protection according to any one of claims 1 to 4.
CN202210977863.9A 2022-08-15 2022-08-15 Control method and device for whole vehicle ECU (electronic control Unit) flash error prevention and terminal equipment Pending CN115454455A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210977863.9A CN115454455A (en) 2022-08-15 2022-08-15 Control method and device for whole vehicle ECU (electronic control Unit) flash error prevention and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210977863.9A CN115454455A (en) 2022-08-15 2022-08-15 Control method and device for whole vehicle ECU (electronic control Unit) flash error prevention and terminal equipment

Publications (1)

Publication Number Publication Date
CN115454455A true CN115454455A (en) 2022-12-09

Family

ID=84298477

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210977863.9A Pending CN115454455A (en) 2022-08-15 2022-08-15 Control method and device for whole vehicle ECU (electronic control Unit) flash error prevention and terminal equipment

Country Status (1)

Country Link
CN (1) CN115454455A (en)

Similar Documents

Publication Publication Date Title
CN110032173B (en) Automatic matching method for automobile diagnosis system and related equipment
CN110806894B (en) Automobile part software version management method, equipment, storage medium and device
CN112286170B (en) Vehicle ECU (electronic control Unit) flashing method, device and equipment and storage medium
CN110371022B (en) Battery matching method and device and vehicle-mounted equipment
CN109597816A (en) Parameter verification method, apparatus, computer storage medium and embedded device
CN113608518B (en) Data generation method, device, terminal equipment and medium
CN113066199A (en) Vehicle offline diagnosis method, vehicle offline diagnosis device and offline diagnosis equipment
CN113377403A (en) Vehicle remote software upgrading method and device
CN112015489A (en) Management method, device, storage medium and system for vehicle-mounted software
CN109634533A (en) A kind of ECU information dump method and relevant apparatus
CN111209030A (en) Firmware configuration method and device
CN113406944B (en) Vehicle diagnosis method, device, equipment and computer readable storage medium
CN115454455A (en) Control method and device for whole vehicle ECU (electronic control Unit) flash error prevention and terminal equipment
WO2023109889A1 (en) Engine ecu flashing method and device, and engine ecu flashing diagnosis method and device
CN114582049A (en) Calibration parameter transmission method, mobile terminal and cloud server
CN112140878B (en) Method and device for configuring vehicle combination instrument, storage medium and combination instrument
CN112306041A (en) Vehicle configuration information writing method and device and electronic equipment
CN116009922A (en) Vehicle, software flashing method and device for vehicle and storage medium
CN114281065A (en) Electronic control unit flashing method and device for vehicle and diagnostic equipment
CN113985844A (en) ECU parameter configuration method and device, electronic equipment and storage medium
CN114356769A (en) Software learning method, device, equipment and storage medium
CN113177014A (en) Serial port communication method based on inspection mode and serial port chip
CN112306040A (en) Vehicle detection method, device, equipment and server
CN113986297A (en) Vehicle flashing method and device, electronic equipment and storage medium
CN115631062A (en) Information generation method, electronic device and system

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