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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com