System and method applied to automobile ECU upgrade file

A technology for upgrading files and files, which is applied in the field of automotive ECUs, can solve problems such as slow network speed, and achieve the effects of arranging upgrade time, saving transmission time, and reducing size

Active Publication Date: 2019-08-23
SHANGHAI HEQIAN ELECTRONICS TECH CO LTD
View PDF14 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the transmission rate of the vehicle Ethernet is fast, the upgrade path of the ECU in the vehicle is currently transmitted by the CAN network, and the network rate of the CAN is very slow. Therefore, it is very important to reduce the data size of the software update. question

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • System and method applied to automobile ECU upgrade file
  • System and method applied to automobile ECU upgrade file
  • System and method applied to automobile ECU upgrade file

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0080] see figure 1 a to figure 1 c, which describes the method of forming a patch package and a make-up package according to a new file and an old file in this embodiment, and restoring a new file according to the patch package and a make-up package.

[0081] The method for generating the make-up package required for the ECU upgrade specifically includes the following steps:

[0082] Step 1: Analyze the difference between the new file and multiple old files, find out the difference between the new file and the old file, form multiple patch packages, obtain the difference data package between the new file and the old file, and extract and package the difference data package To form a patch package, repeat step 1 until obtaining a patch package in which new files correspond to all old files of different historical versions.

[0083] Specifically, in the process of ECU bug repair, it is impossible to fix it once and for all, and its bug repair is constantly improved. Therefore...

Embodiment 2

[0097] To obtain the difference data package between the new file and the old file, the existing content in the old file is used as much as possible, and the new file is constructed by adding new content as little as possible. For example: perform substring matching on the old file and the new file or use hash technology to extract the common part, and package the remaining part in the new file into a patch package or a supplementary package. In the synthesis stage, old files and patch packages can be synthesized into new files by two basic operations of adding (ADD) and inserting (insertion).

[0098] figure 2 It is a flowchart of obtaining the difference data packets between the new file and the old file in this embodiment, which includes detailed process steps, specifically:

[0099] see figure 2 , the specific steps to obtain the difference data package between the new file and the old file include:

[0100] Step S200: using the suffix array method to sort the old fil...

Embodiment 3

[0116] The patch package formed by Embodiment 1 and Embodiment 2 consists of at least three parts: the first is a control word file that contains Add (ADD) and Insert (INSERT) instructions, and the Add instruction specifies the offset and length, the appropriate number of bytes is read from the old file and added to the same number of bytes in the difference file, the insert instruction simply specifies a length, and the specified number of bytes is read from the extra file; The second is a difference file that contains the different bytes in the probabilistic match; the third is an additional file that contains the content that is not part of the approximate match. Each ADD command specifies the offset and length in the old file, reads the corresponding number of bytes from the old file and adds the same bytes from the difference file. The INSERT command simply specifies a length for reading the specified number of bytes from the extra file.

[0117] In step 2 of the embodim...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides an upgrading file system and method applied to an automobile ECU. The method comprises the following steps: respectively carrying out difference analysis on a new file and a plurality of old files to form a plurality of patch packs, selecting one of the patch packs as a reference patch pack, and respectively carrying out difference analysis on the selected reference patch pack and the remaining patch packs to form a plurality of make-up packs;carrying out data packet synthesis on the reference service pack and a make-up packet matched with the to-be-upgraded ECU to forma service pack corresponding to the to-be-upgraded ECU; and carrying out data packet synthesis on the service pack corresponding to the to-be-upgraded ECU and the old file of the current ECU to form anew file needing to be upgraded. By introducing the make-up packet to replace patch packets of different historical versions, the size of the data packet required by upgrading can be greatly reduced,and meanwhile, the transmission time of the ECU upgrading patch packet is saved, and the ECU upgrading patch packet does not need to be downloaded from the server every time.

Description

technical field [0001] The invention relates to the field of automobile ECUs, in particular to a system and method for upgrading files applied to automobile ECUs. Background technique [0002] With the popularization of automobiles, more and more automobiles have entered thousands of households, but this also brings about safety issues about automobiles. Recently, many automobile manufacturers and research institutions are promoting smart cars, making cars more intelligent and humanized. In the automotive industry, developments such as self-driving cars and advanced driver assistance systems (ADAS), ABS (anti-lock braking system), etc. have become the future direction of technology development. When these functions are installed in vehicles, the number of electronic control units (ECUs) in automobiles is increasing, and more than 100 ECUs (electronic control units) are required to control vehicle systems, which increases software size and logic complexity. Furthermore, sof...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/658
CPCG06F8/658
Inventor 肖文平何敖东王学栋陈斌张航
Owner SHANGHAI HEQIAN ELECTRONICS TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products