CN112904822A - Vehicle ECU parameter backup and restoration method, system and diagnosis equipment - Google Patents

Vehicle ECU parameter backup and restoration method, system and diagnosis equipment Download PDF

Info

Publication number
CN112904822A
CN112904822A CN202110040258.4A CN202110040258A CN112904822A CN 112904822 A CN112904822 A CN 112904822A CN 202110040258 A CN202110040258 A CN 202110040258A CN 112904822 A CN112904822 A CN 112904822A
Authority
CN
China
Prior art keywords
parameter
function
vehicle ecu
backup
parameters
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
CN202110040258.4A
Other languages
Chinese (zh)
Other versions
CN112904822B (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.)
Shanghai Xingrong Automotive Technology Co ltd
Original Assignee
Shanghai Xingrong Automotive 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 Shanghai Xingrong Automotive Technology Co ltd filed Critical Shanghai Xingrong Automotive Technology Co ltd
Priority to CN202110040258.4A priority Critical patent/CN112904822B/en
Publication of CN112904822A publication Critical patent/CN112904822A/en
Application granted granted Critical
Publication of CN112904822B publication Critical patent/CN112904822B/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/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
    • G05B23/0221Preprocessing measurements, e.g. data collection rate adjustment; Standardization of measurements; Time series or signal analysis, e.g. frequency analysis or wavelets; Trustworthiness of measurements; Indexes therefor; Measurements using easily measured parameters to estimate parameters difficult to measure; Virtual sensor creation; De-noising; Sensor fusion; Unconventional preprocessing inherently present in specific fault detection methods like PCA-based methods

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Vehicle Cleaning, Maintenance, Repair, Refitting, And Outriggers (AREA)

Abstract

The invention provides a vehicle ECU parameter backup and recovery method, a system and a diagnostic device, which can automatically backup and recover vehicle ECU parameters, determine a parameter address and an analysis mode according to a function I D corresponding to a request returned by the vehicle ECU during backup, and obtain parameters of each function according to the determined parameter address and the analysis mode, thereby backing up the parameters, and write the corresponding parameters into the vehicle ECU according to the parameter address in a backup file during recovery, so as to avoid that the parameters are manually reset for each vehicle after the parameter data of the ECU is lost after being upgraded or the ECU is damaged and replaced, thereby simplifying operation and improving efficiency.

Description

Vehicle ECU parameter backup and restoration method, system and diagnosis equipment
Technical Field
The invention belongs to the technical field of vehicle diagnosis, and particularly relates to a vehicle ECU parameter backup and restoration method, a vehicle ECU parameter backup and restoration system and diagnosis equipment.
Background
With the continuous development and progress of modern automotive electronic technology, more and more system parameters, such as cummins system characteristic parameters, need to be correctly set in the ECU to drive the vehicle to normally run, and in the daily use process, the ECU loses the parameters after being upgraded and needs to be reset, or the ECU is damaged and needs to be reset after being renewed, and manual resetting of the parameters for each vehicle brings great operation difficulty and time consumption.
At present, no technology for performing automatic backup and restoration on vehicle ECU parameters can avoid the problems.
Disclosure of Invention
Based on the above, the technical problem is solved by providing a vehicle ECU parameter backup and restoration method, a vehicle ECU parameter backup and restoration system and a diagnosis device.
In order to solve the technical problems, the invention adopts the following technical scheme:
in one aspect, a vehicle ECU parameter backup and restoration method is provided, which includes:
and (3) backing up parameters:
sending a request to a vehicle ECU;
receiving a function ID returned by the vehicle ECU;
determining a corresponding function, a parameter address of the function and an analysis mode according to the function ID;
reading and analyzing the parameters of each function from the vehicle ECU according to the parameter address and the analysis mode;
saving the parameter address and the parameter of each function as a backup file;
and (3) parameter reduction:
reading the backup file;
and writing the corresponding parameters into the vehicle ECU according to the parameter addresses in the backup file.
In another aspect, a vehicle ECU parameter backup and restoration system is provided, which includes a storage module including instructions loaded and executed by a processor, and when executed, the instructions cause the processor to execute the vehicle ECU parameter backup and restoration method.
In still another aspect, a diagnostic apparatus is provided having a vehicle ECU parameter backup restoration system as described above.
The method can automatically backup and restore the parameters of the vehicle ECU, determine the parameter address and the analysis mode according to the function ID corresponding to the request returned by the vehicle ECU during backup, obtain the parameters of each function according to the determined parameter address and the analysis mode so as to backup the parameters, write the corresponding parameters into the vehicle ECU according to the parameter address in the backup file during restoration, avoid the condition that the parameters of each vehicle are manually reset respectively after the parameter data of the ECU is lost after being upgraded or the ECU is damaged and replaced, simplify the operation and improve the efficiency.
Drawings
The invention is described in detail below with reference to the following figures and detailed description:
FIG. 1 is a flow chart of the parameter backup step of the present invention;
FIG. 2 is a flow chart of the parameter reduction step of the present invention.
Detailed Description
As shown in fig. 1 and fig. 2, an embodiment of the present specification provides a method for backing up and restoring parameters of a vehicle ECU, including:
firstly, backing up parameters:
s101, sending a request to a vehicle ECU.
And S102, receiving the function ID corresponding to the request returned by the vehicle ECU.
In this embodiment, if the request is a vehicle cummins system function ID reading request, the returned function IDs are all the function IDs supported by the vehicle cummins system.
S103, determining a corresponding function, a parameter address of the function and an analysis mode according to the function ID.
Specifically, according to the function ID, the corresponding function, the parameter address of the function, and the parsing method may be matched from the preset correspondence between the function ID, the function, the parameter address of the function, and the parsing method. The correspondence may be preset in the database.
And S104, reading and analyzing the parameters of each function from the vehicle ECU according to the parameter address and the analysis mode.
And S105, saving the parameter address and the parameter of each function as a backup file. The backup file can adopt a json format, the json format has universality, and parameters can be quickly restored to corresponding ECUs.
Secondly, parameter reduction:
s201, reading the backup file.
Preferably, there may be a plurality of backup files corresponding to different systems, so that the backup files can be read after corresponding backup files are determined in response to a restore request from a user.
S202, writing the corresponding parameters into the vehicle ECU according to the parameter addresses in the backup file.
Based on the same inventive concept, embodiments of the present specification further provide a vehicle ECU parameter backup and restoration system, which includes a storage module, where the storage module includes instructions loaded and executed by a processor, and the instructions, when executed, cause the processor to execute the steps according to various exemplary embodiments of the present invention described in the above section of the vehicle ECU parameter backup and restoration method.
The memory module may include a readable medium in the form of a volatile memory unit, such as a random access memory unit (RAM) and/or a cache memory unit, and may further include a read only memory unit (ROM).
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
Based on the same inventive concept, the embodiment of the present specification further provides a diagnostic device, which has the above vehicle ECU parameter backup and restoration system, and details are not repeated here.
However, those skilled in the art should realize that the above embodiments are illustrative only and not limiting to the present invention, and that changes and modifications to the above described embodiments are intended to fall within the scope of the appended claims, provided they fall within the true spirit of the present invention.

Claims (8)

1. A vehicle ECU parameter backup and restoration method is characterized by comprising the following steps:
and (3) backing up parameters:
sending a request to a vehicle ECU;
receiving a function ID returned by the vehicle ECU;
determining a corresponding function, a parameter address of the function and an analysis mode according to the function ID;
reading and analyzing the parameters of each function from the vehicle ECU according to the parameter address and the analysis mode;
saving the parameter address and the parameter of each function as a backup file;
and (3) parameter reduction:
reading the backup file;
and writing the corresponding parameters into the vehicle ECU according to the parameter addresses in the backup file.
2. The vehicle ECU parameter backup and restoration method according to claim 1, wherein the request is a vehicle Cummins system function ID read request.
3. The method for backing up and restoring the parameters of the vehicle ECU according to claim 1 or 2, wherein the step of determining the corresponding function, the parameter address of the function and the resolution according to the function ID further comprises the following steps:
and matching the corresponding function, the parameter address of the function and the analysis mode from the preset corresponding relation among the function ID, the function, the parameter address of the function and the analysis mode according to the function ID.
4. The method according to claim 3, wherein the correspondence relationship is preset in a database.
5. The vehicle ECU parameter backup restoration method according to claim 4, wherein the backup file is in json format.
6. The vehicle ECU parameter backup restoration method according to claim 5, wherein the parameter restoration step further comprises:
and responding to a restoration request of a user, and determining a corresponding backup file.
7. A vehicle ECU parameter backup restoration system comprising a storage module including instructions loaded and executed by a processor, the instructions when executed cause the processor to perform a vehicle ECU parameter backup restoration method according to any one of claims 1-6.
8. A diagnostic apparatus characterized by having a vehicle ECU parameter backup restoration system according to claim 7.
CN202110040258.4A 2021-01-13 2021-01-13 Vehicle ECU parameter backup and restoration method, system and diagnosis equipment Active CN112904822B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110040258.4A CN112904822B (en) 2021-01-13 2021-01-13 Vehicle ECU parameter backup and restoration method, system and diagnosis equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110040258.4A CN112904822B (en) 2021-01-13 2021-01-13 Vehicle ECU parameter backup and restoration method, system and diagnosis equipment

Publications (2)

Publication Number Publication Date
CN112904822A true CN112904822A (en) 2021-06-04
CN112904822B CN112904822B (en) 2022-08-12

Family

ID=76112651

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110040258.4A Active CN112904822B (en) 2021-01-13 2021-01-13 Vehicle ECU parameter backup and restoration method, system and diagnosis equipment

Country Status (1)

Country Link
CN (1) CN112904822B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160176411A1 (en) * 2014-12-19 2016-06-23 Paccar Inc Vehicle computer system with data backup
CN107454957A (en) * 2017-05-31 2017-12-08 深圳市爱夫卡科技股份有限公司 A kind of ECU write with a brush dipped in Chinese ink unsuccessfully after method for refreshing data and Refresh Data device
CN109117313A (en) * 2018-08-28 2019-01-01 成都信息工程大学 A kind of band isolation calamity for mechanism of control vehicle wisdom security gateway and management-control method
CN111382004A (en) * 2018-12-27 2020-07-07 西安诺瓦星云科技股份有限公司 Parameter backup method and device, restoration method and device and backup restoration system
CN111611103A (en) * 2019-02-22 2020-09-01 福特全球技术公司 Vehicle controller configuration backup and restore using data snapshots
CN111831479A (en) * 2020-06-08 2020-10-27 东风汽车集团有限公司 Vehicle-mounted computer data recovery method and system
CN111930560A (en) * 2020-06-29 2020-11-13 东风汽车集团有限公司 ECU self-learning data backup method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160176411A1 (en) * 2014-12-19 2016-06-23 Paccar Inc Vehicle computer system with data backup
CN107454957A (en) * 2017-05-31 2017-12-08 深圳市爱夫卡科技股份有限公司 A kind of ECU write with a brush dipped in Chinese ink unsuccessfully after method for refreshing data and Refresh Data device
CN109117313A (en) * 2018-08-28 2019-01-01 成都信息工程大学 A kind of band isolation calamity for mechanism of control vehicle wisdom security gateway and management-control method
CN111382004A (en) * 2018-12-27 2020-07-07 西安诺瓦星云科技股份有限公司 Parameter backup method and device, restoration method and device and backup restoration system
CN111611103A (en) * 2019-02-22 2020-09-01 福特全球技术公司 Vehicle controller configuration backup and restore using data snapshots
CN111831479A (en) * 2020-06-08 2020-10-27 东风汽车集团有限公司 Vehicle-mounted computer data recovery method and system
CN111930560A (en) * 2020-06-29 2020-11-13 东风汽车集团有限公司 ECU self-learning data backup method and system

Also Published As

Publication number Publication date
CN112904822B (en) 2022-08-12

Similar Documents

Publication Publication Date Title
US10002054B2 (en) Method and system for performing automatic system recovery
US8239505B2 (en) Progressively implementing declarative models in distributed systems
CN111767184A (en) Fault diagnosis method and device, electronic equipment and storage medium
CN108388489B (en) Server fault diagnosis method, system, equipment and storage medium
CN111416821A (en) Internet of things equipment information acquisition method, system and device
CN110930291B (en) GPU video memory management control method and related device
CN110928561B (en) Vehicle controller software version management method and device, vehicle and storage medium
CN111027984B (en) Service order processing method, system, electronic equipment and computer storage medium
CN110135130A (en) A kind of embedded device software tamper-resistant method and system
CN110941530B (en) Method, device, computer equipment and storage medium for acquiring monitoring data
CN111651304A (en) Software recovery method and device based on double-core intelligent electric meter and computer equipment
CN113409488A (en) Data processing method and device, vehicle-mounted terminal and automobile
US20060129520A1 (en) System and method for automatically updating a program in a computer
CN112904822B (en) Vehicle ECU parameter backup and restoration method, system and diagnosis equipment
WO2023240944A1 (en) Data recovery method and apparatus, electronic device, and storage medium
CN111143181A (en) Server maintenance method, system, equipment and computer readable storage medium
CN114996057A (en) Data backup method and device, electronic equipment and computer readable storage medium
CN106547589A (en) A kind of upgrade-system and upgrade method
CN114416343A (en) Server-free computing resource allocation method based on maximum entropy inverse reinforcement learning
CN109960515B (en) Image file making method and device
CN110362464B (en) Software analysis method and equipment
CN112000380A (en) Network card configuration method, system, electronic equipment and storage medium
CN109714413B (en) Method and device for pushing information through website file change based on drive type
CN111429125A (en) Account management method and device, storage medium and electronic equipment
CN114296674B (en) Screen adaptation method, device, computer equipment and storage medium

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