CN114488997A - ECU (electronic control Unit) flashing method and device, electronic equipment and storage medium - Google Patents

ECU (electronic control Unit) flashing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114488997A
CN114488997A CN202111631228.7A CN202111631228A CN114488997A CN 114488997 A CN114488997 A CN 114488997A CN 202111631228 A CN202111631228 A CN 202111631228A CN 114488997 A CN114488997 A CN 114488997A
Authority
CN
China
Prior art keywords
flash
flashing
file
ecu
offline
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.)
Granted
Application number
CN202111631228.7A
Other languages
Chinese (zh)
Other versions
CN114488997B (en
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.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch 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 Shenzhen Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN202111631228.7A priority Critical patent/CN114488997B/en
Publication of CN114488997A publication Critical patent/CN114488997A/en
Application granted granted Critical
Publication of CN114488997B publication Critical patent/CN114488997B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application is applicable to the technical field of automotive electronics, and provides an ECU (electronic control unit) flashing method, an ECU flashing device, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring a diagnosis data packet and a flash file packet on line; judging whether the flash file packet meets the flash condition or not based on the diagnosis data packet; and if the flashing condition is met, flashing the target ECU according to a flashing mode determined by a user, wherein the flashing mode comprises online flashing and offline flashing, and the target ECU is the ECU to be flashed. And under the condition that the flash file packet meets the flash conditions, determining a flash mode according to the selection of the user, and flexibly adding the off-line flash file into the on-line flash process, thereby meeting the user customized ECU flash requirement.

Description

ECU (electronic control Unit) flashing method and device, electronic equipment and storage medium
Technical Field
The application belongs to the technical field of automotive electronics, and particularly relates to an ECU (electronic control unit) flashing method and device, electronic equipment and a storage medium.
Background
Electronic Control Unit (ECU) data writing is also called ECU data filling. The basic principle of ECU flashing is that an external data flashing tool is adopted to send data information to an ECU through an ECU communication network, and the ECU data management and updating are realized.
The online ECU flash is a flash mode based on an Open Test sequence eXchange (OTX) format, and has the characteristics of safety, stability and easy operation, but has the defect of being inflexible. In some cases, a user's online flash cannot meet the user's customized ECU flash requirements.
Disclosure of Invention
The embodiment of the application provides an ECU (electronic control unit) flashing method and device, electronic equipment and a storage medium, and can solve the problem of how to meet the requirement of a user on customizing the ECU flashing.
In a first aspect, an embodiment of the present application provides a method for flashing an ECU, including:
acquiring a diagnosis data packet and a flash file packet on line;
judging whether the flash file packet meets the flash condition or not based on the diagnosis data packet;
and if the flashing condition is met, flashing the target ECU according to a flashing mode determined by a user, wherein the flashing mode comprises online flashing and offline flashing, and the target ECU is the ECU to be flashed.
Optionally, based on the diagnostic data packet, determining whether the flush file packet meets a flush condition includes: analyzing the diagnosis data packet to obtain a wildcard corresponding to a target session of a target ECU; judging whether the wildcard characters are matched with an online flash file list of the flash file packet or not; if the wildcard characters are matched with the online brushing file list of the brushing file package, determining that the brushing file package meets the brushing condition; and if the wildcard character is not matched with the online brushing file list of the brushing file package, determining that the brushing file package is not in accordance with the brushing condition.
Optionally, the method further includes: and if the flash file packet does not accord with the flash condition, determining a flash mode as the offline flash mode.
Optionally, the flashing the target ECU according to the flashing mode determined by the user includes: if the flash mode is an online flash mode, confirming an effective flash session description list according to the path of the wildcard; and creating a flash operation according to the flash session description list, and performing flash on the target ECU.
Optionally, the flashing the target ECU according to the flashing mode determined by the user includes: if the flash mode is an offline flash mode, reversely deducing a flash session description list corresponding to the offline flash file according to an offline flash file list selected by a user; and creating a flash operation according to the flash session description list, and performing flash on the target ECU.
Optionally, reversely deriving a brushing session description list corresponding to the offline brushing file according to the offline brushing file list selected by the user, including: for each offline flash file, matching a file name in the offline flash file list with the wildcard to determine a target wildcard matched with the offline flash file; according to the target wildcard character, reversely backtracking a reference path of the short name, and confirming the description of the target flash session; and the target flashing session description corresponding to each offline flashing file forms a flashing session description list.
Optionally, the creating a flash job according to the flash session description list, and flashing the target ECU includes: analyzing the flash file to obtain flash data aiming at each flash file of the target ECU; and according to the sequence of the storage addresses of the target ECU from high to low, performing flash on the flash data in segments.
In a second aspect, an embodiment of the present application provides an apparatus for ECU flashing, including:
the online data acquisition module is used for acquiring a diagnosis data packet and a flash file packet online;
the flash condition judging module is used for judging whether the flash file packet accords with the flash condition or not based on the diagnostic data packet;
and the target ECU flashing module is used for flashing the target ECU according to a flashing mode determined by a user if the flashing condition is met, wherein the flashing mode comprises an online flashing mode and an offline flashing mode, and the target ECU is an ECU to be flashed.
Optionally, the flashing condition determining module includes an analysis and diagnosis data packet module, configured to analyze the diagnosis data packet to obtain a wildcard corresponding to a target session of the target ECU; the matching judgment module is used for judging whether the wildcard characters are matched with the online flash file list of the flash file packet or not; the first judging module is used for determining that the brushing file package meets the brushing condition if the wildcard character is matched with the online brushing file list of the brushing file package; and the second judgment module is used for determining that the flash file packet does not accord with the flash condition if the wildcard character is not matched with the online flash file list of the flash file packet.
Optionally, the flashing condition determining module is further configured to determine the flashing mode as the offline flashing mode if the flashing file packet does not meet the flashing condition.
Optionally, the target ECU flashing module is further configured to determine an effective flashing session description list according to a path for obtaining the wildcard if the flashing mode is an online flashing mode; and creating a flash operation according to the flash session description list, and performing flash on the target ECU.
Optionally, the target ECU flashing module is further configured to reversely derive a flashing session description list corresponding to the offline flashing file according to the offline flashing file list selected by the user if the flashing mode is the offline flashing mode; and creating a flash operation according to the flash session description list, and performing flash on the target ECU.
Optionally, the target ECU flashing module includes a wildcard identifier determining module, configured to determine, for each offline flashing file, a target wildcard identifier that matches the offline flashing file by matching a file name in the offline flashing file list with the wildcard identifier; the target flashing session description confirming module is used for reversely backtracking a reference path of the short name according to the target wildcard character and confirming the target flashing session description; and the flash session description list forming module is used for forming a flash session description list by the target flash session description corresponding to each offline flash file.
Optionally, the target ECU flashing module includes a flashing data obtaining module, configured to analyze a flashing file to obtain flashing data for each flashing file of the target ECU; and the segmented flashing module is used for flashing the flashing data in segments according to the sequence from high to low of the storage address of the target ECU.
In a third aspect, an embodiment of the present application provides an electronic device, including:
a memory, a processor and a computer program stored in the memory and executable on the processor, the computer program, when executed by the processor, implementing the method steps of the first aspect and of the various alternative embodiments.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, including: the computer readable storage medium stores a computer program which, when executed by a processor, performs the method steps of the first aspect and the various alternative embodiments described above.
In a fifth aspect, embodiments of the present application provide a computer program product, which, when run on an electronic device, causes the electronic device to perform the method steps described in the first aspect and in the various optional embodiments.
It should be understood that when the flash file packet meets the flash condition, the flash mode is determined according to the selection of the user, and the offline flash file can be flexibly added in the online flash process, so that the requirement of customizing the ECU flash by the user is met.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a schematic diagram of an ECU flashing system provided in an embodiment of the present application;
FIG. 2 is a schematic flow chart diagram illustrating a method for ECU flashing provided by an embodiment of the present application;
FIG. 3 is a schematic flow chart diagram illustrating a method for ECU flashing provided by another embodiment of the present application;
FIG. 4 is a schematic flow chart diagram illustrating a method for ECU flashing provided by another embodiment of the present application;
FIG. 5 is a schematic flow chart diagram illustrating a method for ECU flashing provided by another embodiment of the present application;
FIG. 6 is a schematic flow chart diagram illustrating a method for ECU flashing provided by another embodiment of the present application;
FIG. 7 is a schematic flow chart diagram illustrating a method for ECU flashing provided by another embodiment of the present application;
FIG. 8 is a schematic structural diagram of an ECU flash device provided in an embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
Before describing the method for flashing the ECU provided by the embodiment of the present application, for the convenience of understanding the embodiment of the present application, the following describes the principle of the method for flashing the ECU provided by the embodiment of the present application and the related concepts involved in the embodiment of the present application with reference to fig. 1.
The Open Test sequence eXchange format (OTX) is a standardized eXchange format, standardized in ISO 13209, for formally describing automated diagnostic sequences, such as system testing or directed debugging.
The diagnostic sequences are XML based and can be exchanged between process partners with different platforms and diagnostic testers. The diagnostic test sequence is used whenever an off-board test device diagnoses, tests, reprograms, or initializes a vehicle component or function having diagnostic capabilities.
The test order in the diagnostic sequence defines the order of interaction between the user (i.e., the plant or assembly line worker), the diagnostic application (test device) and the vehicle communication interface, as well as any calculations and decisions that must be performed. These test sequences are like a flow composed of a series of nodes in a flow chart in a certain order.
The Open diagnostic data exchange (ODX) is a data file used by a standard architecture diagnostic instrument (MVCI) established by the Association for standardization of Automation and measurement Systems (ASAM). The ODX is a diagnostic file with a standardized format, and when different vehicles or different ECUs are diagnosed, only the ODX file matched with the vehicle type or the ECU needs to be loaded, and the diagnostic instrument does not need to be changed. The ODX unifies the format of the diagnostic file, so that format conversion is not needed when the diagnostic file is exchanged in research and development, test, production, after-sale departments and the like.
Electronic Control Unit (ECU) data writing is also called ECU data filling. The basic principle of ECU flashing is that an external data flashing tool is adopted to send data information to an ECU through an ECU communication network, and the ECU data management and updating are realized.
ECU brush is also known as brushing ECU, brush car computer board, has mainly three aspects to be used: firstly, data encapsulation is carried out when the engine/automobile is off-line and leaves a factory, secondly, ECU updating and maintenance are carried out in an automobile maintenance station, and thirdly, the engine is refitted and applied. The engine ECU manages programs and data independently during software design, and is separated in Flash physical space of the single chip microcomputer. The ECU data may be divided into a plurality of data areas, such as a part information configuration area, a power parameter area, an emission parameter area, a fault diagnosis area, etc., according to different properties of the control task.
When the ECU performs data flashing, in order to avoid destructive disassembly and assembly of the ECU, data interaction is performed with the ECU based on a CAN communication protocol (mostly ISO15765) through an OBD interface. The ECU internally comprises two software packages of an application program and a bootable program, so that the application program is prevented from crashing when being updated.
The file containing the EUC flush data and/or the flush program is generally referred to as an ECU flush file.
The ECU online flash is a flash mode based on an Open Test sequence eXchange format (OTX).
At present, a general online flashing process based on the OTX standard is that an automobile manufacturer configures operation (Job) related parameters related to the flashing process into an OTX file, packs automobile diagnostic data configured based on the ODX standard, including all ECU basic functions, special functions, action tests, flashing functions and JAR packets for implementing the good flashing process, into a PDX file, and uploads the PDX file to a designated server. The ECU flashing device acquires automobile PDX source files and flashing files on line from an automobile manufacturer server and performs flashing operation on the ECU needing to be flashed. The online flash has the characteristics of safety, stability and easy operation, but has the defect of insufficient flexibility. In some cases, a user's online flash cannot meet the user's customized ECU flash requirements.
The offline flash is that the user selects the local flash file offline, that is, the user manually selects the file to be flashed according to the sequence to flash the ECU. The offline flash is characterized by non-OTX standard, and a user selects to flash the file locally. Offline flash may not match the version of the flash package obtained online, or otherwise not be a valid flash file
Fig. 1 shows an ECU flashing system 10 according to an embodiment of the present application. The system 10 includes: a flash device 110, an online server 120, and a local storage device 130.
In some embodiments, the flash device 110 may be a vehicle diagnostic device, and may also be a computing device configured with an interface for ECU communication, such as a laptop, palmtop, or smartphone device.
In some embodiments, the online server 120 may be an automobile vendor or a flash file service provider for storing diagnostic data packages and flash files. The presence server 120 may also be a server that provides a brush interaction service.
In some embodiments, the flash device 110 communicates with the presence server 120 via a wired and/or wireless communication network.
In some embodiments, the local storage device 130 is used to store offline flash files. It is noted that the local storage 130 is communicatively coupled to the brushing device 110, and may be internal to the brushing device 110 or separate from the brushing device 110, which is not limited herein.
Fig. 2 illustrates an ECU flashing method provided in an embodiment of the present application, which is applied to the flashing device 110 in the ECU flashing system 10 illustrated in fig. 1, and can be implemented by software and/or hardware of the flashing device 110. As shown in fig. 2, the method includes steps S110 to S130. The specific realization principle of each step is as follows:
and S110, acquiring a diagnosis data packet and a flash file packet on line.
Online (On-line) generally means that the electronic device is in a network connected state. In an embodiment of the present application, online refers to a state in which the flash device 110 communicates with the online server 120 over a network connection.
The diagnostic data packet is a file packet containing a vehicle diagnostic data file, and the diagnostic data packet may be the PDX file packet.
The flash file package is a file package containing one or more ECU flash files.
In some embodiments, the flash device 110 communicates with the online server 120 via a wired and/or wireless communication network to obtain the diagnostic data packets and the flash file packets from the online server, where the flash file packets may also be referred to as online flash file packets.
And S120, judging whether the flash file packet meets the flash condition or not based on the diagnosis data packet.
The diagnostic data packet includes diagnostic data of the vehicle, and by analyzing the diagnostic data of the vehicle, the correspondence between the flash session of the target ECU (ECU requiring ECU flash) and the flash file in the target vehicle (vehicle requiring ECU flash) can be obtained. Whether the brushing files in the online obtained brushing file package are matched with the target ECU can be judged according to the corresponding relation.
In some embodiments, the correspondence between the flash session and the flash file may be obtained by tracing back the short name referenced by the flash session of the target ECU step by step.
A wildcard corresponding to the flash session is provided in the diagnostic data, and the wildcard is used for indicating the condition which the file name of the flash file corresponding to the flash session should have.
For example, if the wildcard corresponding to a flash session is "ASW 0", the flash file corresponding to the flash session should at least include "ASW 0" in the wildcard, so as to match the flash session.
In some specific examples, the flashing device analyzes the diagnostic data packet to obtain a wildcard corresponding to a target session of a target ECU; judging whether the wildcard characters are matched with a flash file list of the flash file packet or not; and if the wildcard characters are matched with the brushing file list of the brushing file package, determining that the brushing file package meets the brushing condition.
And S130, if the flashing condition is met, flashing the target ECU according to a flashing mode determined by a user, wherein the flashing mode comprises online flashing and offline flashing, and the target ECU is the ECU to be flashed.
In some embodiments, the flash device provides a timing for selecting a flash mode to allow a user to select a flash mode under a condition that the flash file packet is determined to meet the flash condition, that is, under a condition that the online flash can be continued, where the flash mode includes an online flash and an offline flash.
In particular, the user may be prompted to select the swipe mode in a manner including, but not limited to, a pop-up prompt or a text prompt. When the user selects one of the refresh modes, the refresh device refreshes the target ECU in response to the refresh mode selected by the user.
It should be noted that, since the offline flash usually does not comply with the OTX standard, the online flash usually complies with the OTX standard. As described above, the offline brushing method generally has a compatibility problem with the online brushing method, so that the field generally adopts either offline brushing or online brushing.
However, the applicant of the present application finds that, in actual work, a situation may occur that a user needs to adopt a customized flash file or a newly updated flash file, and a flash file package obtained online often includes a general flash file, which cannot meet a user customized ECU flash requirement.
The applicant of the present application notices such user requirements, and therefore proposes an opportunity that the user can be given the option of selecting an offline refresh file in the case of verifying an online upgrade package, so as to meet the user customized ECU refresh requirements. And a scheme for solving the compatibility is provided, and the problem of the compatibility can be solved by further verification matching.
On the basis of the above-mentioned embodiment of the ECU flashing method shown in fig. 2, after step S120, based on the diagnostic data packet, determines whether the flashing file packet meets the flashing condition, as shown in fig. 3, it includes step S130':
s130', if the flash file packet does not accord with the flash condition, determining a flash mode as the offline flash mode.
In some embodiments, the flashing device parses the diagnostic data packet to obtain a wildcard corresponding to a target session of the target ECU; judging whether the wildcard characters are matched with a flash file list of the flash file packet or not; and if the wildcard character is not matched with the flash file list of the flash file packet, determining that the flash file packet does not accord with the flash condition.
In some embodiments, the flash device may send a prompt to the user through the user interface to determine the flash mode, and the user may select to stop the flash or may select the offline flash mode.
In other embodiments, the flash device may default to directly transition the flash mode to the offline flash mode. Specifically, the user may be notified of the current flash mode via the user interface.
It can be understood that, when the flash file package obtained online cannot meet the flash condition, the general UDS standard flow method is to stop the flash and remind the user of an error. The reason for this is that those skilled in the art generally consider online and offline swipes to be incompatible, and therefore, it is difficult to think of other operations that can be selected by the user.
According to the embodiment of the application, when the fact that the online obtained brushing document package cannot meet the brushing condition is found, the chance of offline brushing is provided for the user, the reason is that the applicant of the application finds a method that the online brushing and the offline brushing of the client cannot be compatible, and then finds that a selection can be provided for the user almost, so that the user can conveniently customize the brushing target ECU.
On the basis of the above-mentioned embodiment of the ECU flashing method shown in fig. 2, step S120, based on the diagnostic data packet, determines whether the flashing file packet meets the flashing condition, as shown in fig. 3, includes steps S121 to S124:
and S121, analyzing the diagnosis data packet to obtain a wildcard corresponding to the target session of the target ECU.
The diagnostic data package is a file package containing vehicle diagnostic data files, which may be vehicle diagnostic data description files of the ODX protocol.
In some embodiments, the diagnostic data package may be a PDX file package containing one or more ODX files.
The ODX data defines a node < ECU-MEM > for the ECU for development, flash data transfer between the plant and the customer.
< ECU-MEM > has aggregated 2 major child nodes: < MEMs > and < PHYS-MEMs >.
< MEM > in turn, 3 child nodes were aggregated: < SESSIONS >, < DATABLOCKS > and < FLASHDATAS >.
The 3 child node correspondences of < MEM > are as follows: each Session is a flash Session, one Session indexes one or more data blocks (DataBlocks), and one DataBlock indexes one flash data (FlashData), wherein the FlashData object comprises a wildcard of the flash file.
The diagnostic data packet is analyzed, and the wildcard corresponding to the target session of the target ECU can be obtained through the index (reference) relation between the < ECU-MEM > nodes.
In a specific example, the flash device parses the PDX file package to obtain the list of ECUs. The flashing device prompts the user through a user interface to select the ECU to be flashed. In response to a selection operation by the user, the ECU selected by the user is taken as the target ECU. And the flash equipment analyzes the ECU-MEM object of the target ECU and acquires a flash session list of the target ECU. And the flash equipment acquires a flash block and deletion data corresponding to each flash session, and flash data comprises flash file wildcards.
And S122, judging whether the wildcard characters are matched with the flash file list of the flash file packet or not.
In some embodiments, the flash device determines whether there is a file in the flash file list with a file name that matches the wildcard by comparing the wildcard to the respective file names in the flash file list.
For example, if the wildcard corresponding to a flash session is "ASW 0", at least one file name in the list of flash files corresponding to the flash session should include "ASW 0" in the wildcard, and thus the at least one file name can be matched with the wildcard.
S123, if the wildcard characters are matched with the brushing file list of the brushing file package, determining that the brushing file package meets the brushing condition.
S124, if the wildcard characters are not matched with the online brushing file list of the brushing file package, determining that the brushing file package is not in accordance with the brushing condition.
It can be understood that the flashing device determines that the flashing file packet meets the flashing condition if it is determined that the wildcard matches the flashing file list of the flashing file packet, and determines that the flashing file packet does not meet the flashing condition if it is determined that the wildcard does not match the flashing file list of the flashing file packet.
On the basis of the above-mentioned embodiment of the ECU flashing method shown in fig. 3, in step S130, the flashing of the target ECU according to the user-determined flashing mode, as shown in fig. 4, includes steps S410 and S420:
and S410, if the flash mode is the online flash mode, confirming an effective flash session description list according to the path for acquiring the wildcard.
In some embodiments, if it is determined that the current flash mode is the online flash mode, the flash device determines an effective flash session description list according to a path for obtaining the wildcard.
Referring to the explanation of the above example, the flashing device may obtain the wildcard corresponding to the target session of the target ECU by analyzing the index (reference) relationship between the < ECU-MEM > nodes of the target ECU, and the cited chain may be regarded as a path for obtaining the wildcard. Therefore, in the case of determining the flash file, the session list corresponding to the flash file may be determined according to the wildcard and the path of obtaining the wildcard.
And S420, creating a flash operation according to the flash session description list, and performing flash on the target ECU.
In some embodiments, a brush Job, also known as Job, is a macro, or combination of commands, that performs a brush task. And the flash equipment creates flash operation according to the flash session description list and performs flash on the target ECU.
In one specific example, the brush session description is circularly traversed, a specific brush session is obtained, and a brush Job is created. Specifically, the brush is applied after the brush is driven. According to ODX file ordering, the sequence is: pre-flush, post-write Job.
On the basis of the embodiment of the ECU flashing method shown in fig. 2 or 3, if the flashing mode is the offline flashing mode, as shown in fig. 5, the method further includes steps S510 and S520:
and S510, if the flashing mode is the offline flashing mode, reversely deducing a flashing session description list corresponding to the offline flashing file according to the offline flashing file list selected by the user.
In some embodiments, the flash device obtains the wildcard corresponding to the flash file by online obtaining and parsing the diagnostic data packet. And matching the offline brushing file list selected by the user with the wildcard acquired online, and if the offline brushing file list selected by the user can be matched with the wildcard acquired online, considering that the offline brushing file list selected by the user is compatible with the current online diagnostic data. The offline flash file selected by the user may be used for flashing of the target ECU.
The flashing device can obtain the wildcard corresponding to the target session of the target ECU by analyzing the index (reference) relationship between < ECU-MEM > nodes of the target ECU, and the referenced chain can be regarded as a path for obtaining the wildcard.
And under the condition that the offline flash file is compatible with the target ECU, conversely, wildcards are determined according to the file names, and then the flash sessions corresponding to the wildcards are traced backwards according to the path for acquiring the wildcards, so that the flash session description list corresponding to the offline flash file can be deduced reversely.
Therefore, when the flash file is determined, the session list corresponding to the flash file can be determined according to the wildcard and the path for acquiring the wildcard.
Reversely deducing a flash session description list corresponding to the offline flash file according to the offline flash file list selected by the user, wherein the flash session description list comprises the following steps: for each offline flash file, matching a file name in the offline flash file list with the wildcard to determine a target wildcard matched with the offline flash file; according to the target wildcard character, reversely backtracking a reference path of the short name, and confirming the description of the target flash session; and the target flashing session description corresponding to each offline flashing file forms a flashing session description list.
And S520, creating a flash operation according to the flash session description list, and performing flash on the target ECU.
In some embodiments, the flash device creates a flash job from the flash session description list, and performs flash on the target ECU.
It will be appreciated that if the user selects an offline flash file, the source of the offline flash file may be a custom flash file for the target vehicle, or an unpublished newly upgraded flash file, and the source from which the user obtained the flash file cannot be determined, thus requiring verification that the flash file is compatible with the online diagnostic data. According to the method and the device, the diagnosis data packet is obtained on line, the wildcard character corresponding to the flash session is obtained by analyzing the diagnosis data packet, and whether the off-line flash file is matched with the flash file required by the on-line OTX process or not is verified by utilizing the on-line obtained wildcard character, so that the problem that the off-line flash and the on-line flash are incompatible is solved. On the basis, a flexibly customized ECU flash scheme can be provided for a user.
On the basis of the above-mentioned embodiment of the ECU flashing method shown in fig. 2, in step S130, the flashing of the target ECU according to the user-determined flashing mode, as shown in fig. 6, includes steps S610 and S620:
s610, analyzing the flash file to obtain flash data aiming at each flash file of the target ECU.
S610, according to the sequence from high to low of the storage address of the target ECU, the flashing data is segmented and flashed.
In some embodiments, the flash file includes the flash data and description information of the flash file. And the flash equipment extracts the flash data contained in the flash file by analyzing the description information of the flash file.
The < PHYS-SEGMENT > node contained under the < PHYS-MEMS > node in the < ECU-MEM > object of the target ECU is used for describing the address arrangement of the ECU physical memory, such as the physical starting addresses of the actual FlashDriver section, the Code section, the DataA section and the DataB section of the ECU memory.
When in flash, the flash device writes the flash data in SEGMENTs from high to low of the storage address of the target ECU according to the description of the < PHYS-SEGMENT > node.
When ECU flashing is performed on some vehicles, a situation of failure of flashing occurs. After studying and analyzing the causes of the failures, the applicant of the present application found that the causes of these failures in performing the ECU flush were that the order in which the ECU flush data was written was not controlled. Therefore, the method and the device increase the sequential control flow of ECU flashing data and improve the success rate of flashing.
It will be appreciated that the various examples described above may be combined or augmented in logic. By way of example, and not limitation, this application provides a specific example to better understand the manner in which embodiments of the present application are implemented. As shown in fig. 7:
the first step is as follows: and starting a diagnostic program of the flash equipment, and acquiring a PDX file packet and a flash file packet provided by an automobile manufacturer on line from an automobile manufacturer server.
The second step is that: and analyzing all the diagnostic data to obtain an ECU list. And determining a target ECU to be flashed in response to the user selection operation.
The third step: and analyzing the PDX file packet to obtain a flash session list of the selected target ECU.
The fourth step: and acquiring a corresponding flash block of each flash session according to the flash session list, wherein the flash block comprises a flash file wildcard.
The fifth step: and matching the file list of the online obtained brushing file package according to the brushing file wildcard.
And a sixth step: and if the file in the flash file packet corresponding to the currently selected target ECU is found not to be matched with the wildcard, prompting the user to reselect the offline flash file in an offline mode.
The seventh step: if the file list matches the wildcard completely, the user is asked whether to brush online. And if the user selects online flash, confirming an effective flash session description list according to the OTX online flash mode.
Eighth step: and if the user selects offline, considering that the user requires offline writing. And further providing the user for selecting the offline flash file. And reversely deducing a brushing session description list corresponding to the brushing file list selected by the user.
The ninth step: circularly traversing the description of the flash session, acquiring a specific flash session, and creating a flash Job; the driver is first brushed and then the application is brushed, and the files are sorted according to the ODX file. Pre-flush, post-write Job.
The tenth step: executing the brushing Job to analyze the brushing file to obtain brushing data;
the eleventh step: segmenting the flash data from low to high according to the address;
the twelfth step: and finishing ECU flash according to the segmentation.
It can be understood that, in the method for ECU flashing provided in the embodiment of the present application, when the online flashing file package meets the flashing condition, on the basis of the original online flashing based on the OTX standard of the diagnostic program, a strict off-line flashing double logic judgment not based on the OTX standard and a function of reversely deriving the flashing session description parameters according to the off-line flashing file manually selected by the user are added. And determining the flash mode according to the selection of the user, and flexibly adding the offline flash file in the online flash process. And the diagnosis data packet is acquired online, the diagnosis data packet is analyzed to acquire wildcards corresponding to the flash session, and the wildcards acquired online are used for verifying whether the offline flash file is matched with the flash file required by the online OTX process, so that the problem that the offline flash is incompatible with the online flash is solved. On the basis, the off-line flashing function can be in seamless joint with the original on-line ECU flashing interface, and the requirement of customizing the ECU flashing by a user can be met.
It should be understood that, the magnitude of the serial numbers of the steps in the foregoing embodiments does not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, but should not constitute any limitation on the implementation process of the embodiment of the present application to correspond to the method for ECU flashing shown in fig. 2, and fig. 8 shows an apparatus M100 for ECU flashing provided by the embodiment of the present application, including:
and the online data acquisition module M110 is used for acquiring the diagnosis data packet and the flash file packet online.
And the flash condition judging module M120 is configured to judge whether the flash file packet meets the flash condition based on the diagnostic data packet.
And the target ECU flashing module M130 is used for flashing the target ECU according to a flashing mode determined by a user if the flashing condition is met, wherein the flashing mode comprises an online flashing mode and an offline flashing mode, and the target ECU is an ECU to be flashed.
Optionally, the flash condition determining module includes: the analysis and diagnosis data packet module is used for analyzing the diagnosis data packet to obtain a wildcard corresponding to a target session of the target ECU; the matching judgment module is used for judging whether the wildcard characters are matched with the online flash file list of the flash file packet or not; the first judging module is used for determining that the brushing file package meets the brushing condition if the wildcard character is matched with the online brushing file list of the brushing file package; and the second judgment module is used for determining that the flash file packet does not accord with the flash condition if the wildcard character is not matched with the online flash file list of the flash file packet.
Optionally, the flashing condition determining module is further configured to determine the flashing mode as the offline flashing mode if the flashing file packet does not meet the flashing condition.
Optionally, the target ECU flashing module is further configured to determine an effective flashing session description list according to a path for obtaining the wildcard if the flashing mode is an online flashing mode; and creating a flash operation according to the flash session description list, and performing flash on the target ECU.
Optionally, the target ECU flashing module is further configured to reversely derive a flashing session description list corresponding to the offline flashing file according to the offline flashing file list selected by the user if the flashing mode is the offline flashing mode; and creating a flash operation according to the flash session description list, and performing flash on the target ECU.
Optionally, the target ECU flashing module includes a wildcard identifier determining module, configured to determine, for each offline flashing file, a target wildcard identifier that matches the offline flashing file by matching a file name in the offline flashing file list with the wildcard identifier; the target flashing session description confirming module is used for reversely backtracking a reference path of the short name according to the target wildcard character and confirming the target flashing session description; and the flash session description list forming module is used for forming a flash session description list by the target flash session description corresponding to each offline flash file.
Optionally, the target ECU flashing module includes a flashing data obtaining module, configured to analyze a flashing file to obtain flashing data for each flashing file of the target ECU; and the segmented flashing module is used for flashing the flashing data in segments according to the sequence of the storage addresses of the target ECU from high to low.
It is understood that various embodiments and combinations of the embodiments in the above embodiments and their advantages are also applicable to this embodiment, and are not described herein again.
Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device is used for implementing the flash device 110 provided by the embodiment of the application, as shown in fig. 9, the electronic device D10 of the embodiment includes: at least one processor D100 (only one is shown in fig. 9), a memory D101, and a computer program D102 stored in the memory D101 and operable on the at least one processor D100, wherein the processor D100 implements the steps of any of the method embodiments described above when executing the computer program D102.
In some embodiments, the processor D100, when executing the computer program D102, performs the following steps: acquiring a diagnosis data packet and a flash file packet on line; judging whether the flash file packet meets the flash condition or not based on the diagnosis data packet; and if the flashing condition is met, flashing the target ECU according to a flashing mode determined by a user, wherein the flashing mode comprises online flashing and offline flashing, and the target ECU is the ECU to be flashed.
In some embodiments, when the processor D100 executes the computer program D102, when determining whether the flash file packet meets the flash condition based on the diagnostic data packet, the following steps are specifically implemented: analyzing the diagnosis data packet to obtain a wildcard corresponding to a target session of a target ECU; judging whether the wildcard characters are matched with an online flash file list of the flash file packet or not; if the wildcard characters are matched with the online brushing file list of the brushing file package, determining that the brushing file package meets the brushing condition; and if the wildcard character is not matched with the online brushing file list of the brushing file package, determining that the brushing file package is not in accordance with the brushing condition.
In some embodiments, the processor D100, when executing the computer program D102, further performs the step of determining the flash mode as the offline flash mode if the flash file packet does not meet the flash condition.
In some embodiments, the processor D100 implements the steps when executing the computer program D102, and the following steps are implemented when performing the flash on the target ECU according to the flash mode determined by the user: if the flash mode is an online flash mode, confirming an effective flash session description list according to the path of the wildcard; and creating a flash operation according to the flash session description list, and performing flash on the target ECU.
In some embodiments, the processor D100 implements the steps when executing the computer program D102, and the following steps are implemented when performing the flash on the target ECU according to the flash mode determined by the user: if the flash mode is an offline flash mode, reversely deducing a flash session description list corresponding to the offline flash file according to an offline flash file list selected by a user; and creating a flash operation according to the flash session description list, and performing flash on the target ECU.
In some embodiments, the processor D100 implements the steps when executing the computer program D102, and when reversely deriving the brushing session description list corresponding to the offline brushing file according to the offline brushing file list selected by the user, specifically implements the following steps: for each offline flash file, matching a file name in the offline flash file list with the wildcard to determine a target wildcard matched with the offline flash file; according to the target wildcard character, reversely backtracking a reference path of the short name, and confirming the description of the target flash session; and the target flashing session description corresponding to each offline flashing file forms a flashing session description list.
In some embodiments, the processor D100 implements the steps when executing the computer program D102, and when creating a flash job according to the flash session description list and performing flash on the target ECU, the following steps are specifically implemented: analyzing the flash file to obtain flash data aiming at each flash file of the target ECU; and according to the sequence of the storage addresses of the target ECU from high to low, performing flash on the flash data in segments.
The electronic device D10 may be a vehicle diagnostic device, a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The electronic device may include, but is not limited to, a processor D100, a memory D101. Those skilled in the art will appreciate that fig. 9 is merely an example of the electronic device D10 and does not constitute a limitation of the electronic device D10, and may include more or fewer components than those shown, or some components in combination, or different components, such as input output devices, network access devices, etc.
Processor D100 may be a Central Processing Unit (CPU), and Processor D100 may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory D101 may be the local memory 130 in some embodiments as described above. The storage D101 may be an internal storage unit of the electronic device D10 in some embodiments, such as a hard disk or a memory of the electronic device D10. In other embodiments, the memory D101 may also be an external storage device of the electronic device D10, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic device D10. Further, the memory D101 may also include both an internal storage unit and an external storage device of the electronic device D10. The memory D101 is used for storing an operating system, an application program, a BootLoader (BootLoader), data, and other programs, such as program codes of the computer programs. The memory D101 may also be used to temporarily store data that has been output or is to be output.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments may be implemented.
Embodiments of the present application provide a computer program product, which when executed on an electronic device, enables the electronic device to implement the steps in the above method embodiments.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. 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 at least: any entity or device capable of carrying computer program code to a photographing apparatus/terminal device, recording medium, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signal, telecommunication signal and software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. 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 application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/network device and method may be implemented in other ways. For example, the above-described apparatus/network device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed 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 units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A method of ECU flashing, comprising:
acquiring a diagnosis data packet and a flash file packet on line;
judging whether the flash file packet meets the flash condition or not based on the diagnosis data packet;
and if the flashing condition is met, flashing the target ECU according to a flashing mode determined by a user, wherein the flashing mode comprises online flashing and offline flashing, and the target ECU is the ECU to be flashed.
2. The method of claim 1, wherein determining whether the flush file package meets a flush condition based on the diagnostic data package comprises:
analyzing the diagnosis data packet to obtain a wildcard corresponding to a target session of a target ECU;
judging whether the wildcard characters are matched with a flash file list of the flash file packet or not;
if the wildcard characters are matched with the flash file list of the flash file package, determining that the flash file package meets the flash conditions;
and if the wildcard character is not matched with the online brushing file list of the brushing file package, determining that the brushing file package is not in accordance with the brushing condition.
3. The method of claim 2, wherein the method further comprises:
and if the flash file packet does not accord with the flash condition, determining a flash mode as the offline flash mode.
4. The method of claim 2, wherein the flashing the target ECU according to the user-determined flashing pattern comprises:
if the flash mode is an online flash mode, confirming an effective flash session description list according to the path of the wildcard;
and creating a flash operation according to the flash session description list, and performing flash on the target ECU.
5. The method of claim 2, further comprising:
if the flash mode is an offline flash mode, reversely deducing a flash session description list corresponding to the offline flash file according to an offline flash file list selected by a user;
and creating a flash operation according to the flash session description list, and performing flash on the target ECU.
6. The method of claim 5, wherein reversely deriving a brushing session description list corresponding to the offline brushing file according to the offline brushing file list selected by the user comprises:
for each offline flash file, matching a file name in the offline flash file list with the wildcard to determine a target wildcard matched with the offline flash file;
according to the target wildcard character, reversely backtracking a reference path of the short name, and confirming the description of the target flash session;
and the target flashing session description corresponding to each offline flashing file forms a flashing session description list.
7. The method according to any one of claims 4-5, wherein creating a flush job from the list of flush session descriptions, to flush the target ECU, comprises:
analyzing the flash file to obtain flash data aiming at each flash file of the target ECU;
and according to the sequence of the storage addresses of the target ECU from high to low, performing flash on the flash data in segments.
8. An ECU flashing apparatus, comprising:
the online data acquisition module is used for acquiring a diagnosis data packet and a flash file packet online;
the flash condition judging module is used for judging whether the flash file packet accords with the flash condition or not based on the diagnostic data packet;
and the target ECU flashing module is used for flashing the target ECU according to a flashing mode determined by a user if the flashing condition is met, wherein the flashing mode comprises an online flashing mode and an offline flashing mode, and the target ECU is an ECU to be flashed.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method of any of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 7.
CN202111631228.7A 2021-12-28 2021-12-28 ECU (electronic control Unit) refreshing method and device, electronic equipment and storage medium Active CN114488997B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111631228.7A CN114488997B (en) 2021-12-28 2021-12-28 ECU (electronic control Unit) refreshing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111631228.7A CN114488997B (en) 2021-12-28 2021-12-28 ECU (electronic control Unit) refreshing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114488997A true CN114488997A (en) 2022-05-13
CN114488997B CN114488997B (en) 2024-05-10

Family

ID=81496187

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111631228.7A Active CN114488997B (en) 2021-12-28 2021-12-28 ECU (electronic control Unit) refreshing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114488997B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116088470A (en) * 2022-12-28 2023-05-09 镁佳(武汉)科技有限公司 Automobile diagnosis method, device, computer equipment and medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004206249A (en) * 2002-12-24 2004-07-22 Toyota Motor Corp Information writer and method for manufacturing electronic control device in which information is written
CN202177823U (en) * 2011-06-29 2012-03-28 深圳市元征软件开发有限公司 GPRS remote engine ECU (Electronic Control Unit) programming device
WO2018103252A1 (en) * 2016-12-05 2018-06-14 深圳市元征科技股份有限公司 Secondary development method and apparatus for diagnostic device
JP2019016086A (en) * 2017-07-05 2019-01-31 日立オートモティブシステムズ株式会社 Automobile electronic control device
CN109324813A (en) * 2018-08-16 2019-02-12 深圳市元征科技股份有限公司 Electronic control system writes with a brush dipped in Chinese ink method, apparatus and computer media
CN109976770A (en) * 2019-03-22 2019-07-05 深圳市元征科技股份有限公司 A kind of ECU writes with a brush dipped in Chinese ink method, system and relevant device
CN111190618A (en) * 2019-12-16 2020-05-22 深圳市云伽智能技术有限公司 Flash method and device for Electronic Control Unit (ECU), diagnostic equipment and storage medium
CN112666927A (en) * 2020-12-28 2021-04-16 深圳市元征科技股份有限公司 Upgrading method and upgrading system for vehicle Electronic Control Unit (ECU)
CN112835598A (en) * 2019-11-25 2021-05-25 广州汽车集团股份有限公司 Automobile ECU (electronic control Unit) flashing method and system and computer readable storage medium
CN113010191A (en) * 2021-03-31 2021-06-22 东风商用车有限公司 Integrated vehicle ECU flashing method and system
CN113760334A (en) * 2021-09-27 2021-12-07 北京国家新能源汽车技术创新中心有限公司 ECU program flashing method and device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004206249A (en) * 2002-12-24 2004-07-22 Toyota Motor Corp Information writer and method for manufacturing electronic control device in which information is written
CN202177823U (en) * 2011-06-29 2012-03-28 深圳市元征软件开发有限公司 GPRS remote engine ECU (Electronic Control Unit) programming device
WO2018103252A1 (en) * 2016-12-05 2018-06-14 深圳市元征科技股份有限公司 Secondary development method and apparatus for diagnostic device
JP2019016086A (en) * 2017-07-05 2019-01-31 日立オートモティブシステムズ株式会社 Automobile electronic control device
CN109324813A (en) * 2018-08-16 2019-02-12 深圳市元征科技股份有限公司 Electronic control system writes with a brush dipped in Chinese ink method, apparatus and computer media
CN109976770A (en) * 2019-03-22 2019-07-05 深圳市元征科技股份有限公司 A kind of ECU writes with a brush dipped in Chinese ink method, system and relevant device
CN112835598A (en) * 2019-11-25 2021-05-25 广州汽车集团股份有限公司 Automobile ECU (electronic control Unit) flashing method and system and computer readable storage medium
CN111190618A (en) * 2019-12-16 2020-05-22 深圳市云伽智能技术有限公司 Flash method and device for Electronic Control Unit (ECU), diagnostic equipment and storage medium
CN112666927A (en) * 2020-12-28 2021-04-16 深圳市元征科技股份有限公司 Upgrading method and upgrading system for vehicle Electronic Control Unit (ECU)
CN113010191A (en) * 2021-03-31 2021-06-22 东风商用车有限公司 Integrated vehicle ECU flashing method and system
CN113760334A (en) * 2021-09-27 2021-12-07 北京国家新能源汽车技术创新中心有限公司 ECU program flashing method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116088470A (en) * 2022-12-28 2023-05-09 镁佳(武汉)科技有限公司 Automobile diagnosis method, device, computer equipment and medium

Also Published As

Publication number Publication date
CN114488997B (en) 2024-05-10

Similar Documents

Publication Publication Date Title
CN110515366B (en) Fault diagnosis method and device
CN108132663A (en) The analytic method of vehicle trouble messages, device and system
US7409317B2 (en) Diagnostic method and system
CN113127338A (en) Firmware testing method, server and computer readable storage medium
CN109740222B (en) Testing device and system for automobile networking scene
CN108227675A (en) Vehicular diagnostic method, device, terminal and computer readable storage medium
CN107491336A (en) A kind of automobile electrically-controlled module updating system and method
CN111024405A (en) Automobile diagnosis method, related device and system
CN112015168B (en) Vehicle diagnosis method, system and diagnosis equipment based on automatic switching of communication protocols
CN110244691B (en) Automobile diagnosis method, device and system
CN107135210A (en) A kind of simulative automobile communications protocol resolver and its analytic method
CN111813095A (en) Vehicle diagnosis method, device and medium
JP2014203314A (en) ECU simulation device
CN113608518B (en) Data generation method, device, terminal equipment and medium
CN115542875A (en) Vehicle detection method based on SOA service and related equipment
CN114488997B (en) ECU (electronic control Unit) refreshing method and device, electronic equipment and storage medium
CN117234926A (en) AUTOSAR architecture-based software component interface checking method and device
CN111857103B (en) Vehicle diagnosis method, device, equipment and storage medium
CN115080104A (en) Method and system for automatically configuring COM (component object model) code in Autosar
CN114625106B (en) Method, device, electronic equipment and storage medium for vehicle diagnosis
US11899561B2 (en) Method for operating a control unit when testing software of the control unit, and method for operating a test computer when testing software of a control unit
CN115495363A (en) Software testing method, electronic equipment and readable storage medium
CN114281065A (en) Electronic control unit flashing method and device for vehicle and diagnostic equipment
CN113934198A (en) Vehicle diagnosis method, vehicle diagnosis device, electronic device, and storage medium
Xu et al. Design of vehicle gateway automatic test system based on CANoe

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
GR01 Patent grant
GR01 Patent grant