Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A software version upgrading method and device

A software version, software technology, applied in the direction of version control, software engineering design, software maintenance/management, etc., can solve the problems of inconvenience, data running time, lost mileage, lost EEPROM data, customer troubles, etc., to avoid data confusion. Effect

Active Publication Date: 2019-02-19
WEICHAI POWER CO LTD
View PDF10 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the existing technology, when the ECU software version changes, the EEPROM data will be cleared directly, and some important data such as software and hardware version numbers, running time, mileage, etc. will be lost. If it has been promoted to the market, the loss of EEPROM data will give customers cause annoyance and inconvenience

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
  • A software version upgrading method and device
  • A software version upgrading method and device
  • A software version upgrading method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0050] see figure 1 , this embodiment discloses a software version upgrade method, which is specifically applied to an electronic control unit ECU, and the method specifically includes the following steps:

[0051] S101: When the electronic control unit ECU is powered on, copy all the data of all block BLOCK areas in the electrically erasable programmable read-only memory EEPROM to the random access memory RAM;

[0052]Among them, EEPROM is an electrically er...

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

A software version upgrading method is provided. When an electronic control unit (ECU) is power on, all data of all block BLOCK areas in an electrically erasable programmable read-only memory (EEPROM)are copied into a random access memory (RAM), and all data of that BLOCK areas include a current software version number; the latest software version number is obtained when the software is running;it is judging whether the latest software version number is greater than the current software version number; If yes, it is determined that the current software version is upgraded, all data between 0and the current software version number in RAM remains unchanged, and the value of the newly added variable between the current software version number and the latest software version number is set as a safe default value. The invention realizes version compatibility of EEPROM data. When the ECU writes different versions, the same variable data is not lost, and different variables keep safety values.

Description

technical field [0001] The present invention relates to the technical field of computer software, and more specifically, to a software version upgrading method and device. Background technique [0002] When the software version of the electronic control unit ECU is different, the number and sequence of variables that need to be stored in the EEPROM will change. [0003] In the existing technology, when the ECU software version changes, the EEPROM data will be cleared directly, and some important data such as software and hardware version numbers, running time, mileage, etc. will be lost. If it has been promoted to the market, the loss of EEPROM data will give customers cause annoyance and inconvenience. Contents of the invention [0004] In view of this, the present invention provides a software version upgrade method, which can realize version compatibility of EEPROM data. When ECU flashes different versions, the same variable data will not be lost, and different variabl...

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
IPC IPC(8): G06F8/654G06F8/71
CPCG06F8/654G06F8/71
Inventor 陈娜娜史家涛刘晓波张国花赵祥博徐龙增
Owner WEICHAI POWER CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products