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

Differential file generation and firmware online upgrading method and device

A file generation and difference technology, applied in software engineering design, program code conversion, instruments, etc., can solve problems such as impact and reduce difference files

Pending Publication Date: 2020-11-13
ALIBABA GRP HLDG LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the present invention proposes a differential file upgrade scheme. This scheme aims at the problem that the source code modification causes the size change of the function after compilation, thereby affecting the address-related instructions. By making the modified function compile binary code and the length of the original function Keep consistent and remove the impact on other commands, thereby further reducing the size of the differential file and effectively improving the upgrade success rate

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
  • Differential file generation and firmware online upgrading method and device
  • Differential file generation and firmware online upgrading method and device
  • Differential file generation and firmware online upgrading method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] Preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although preferred embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0042] The Internet of Things (IoT) is a network that relies on information carriers such as the Internet and telecommunication networks to enable all ordinary objects that can perform independent functions to realize interconnection. The Internet of Things represents an important development trend that gradually interconnects all aspects of daily life. Unlike earlier wireless devices such as routers, which were limited in number (e.g., one...

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 discloses a differential file generation and firmware online upgrading method and device. The differential file generation method comprises steps of performing code modification on a specific function in a source code; compiling the modified code to generate a binary code; and generating a differential file based on the modified binary code of the specific function, the replacement code recovered from the differential file having the same size as the unmodified binary code of the specific function. Therefore, the sizes of the binary codes before and after the specific function ismodified are kept consistent, so the replacement code can directly cover the same physical storage space, the influence of modification of one or more functions on the whole binary code segment is avoided, the size of the differential file is reduced, and the upgrading success rate is effectively improved.

Description

technical field [0001] The present invention relates to OTA upgrade, in particular to a method and device for generating a differential file, and a method and device for online firmware upgrade using the differential file. Background technique [0002] With the development of the Internet of Things, the types of smart devices are becoming more and more abundant. In order to reduce maintenance costs and improve user experience, FOTA (Firmware Over-the-Air, which can be called "Firmware Online Upgrade" or "Firmware Over-the-Air Upgrade") technology has become a standard configuration in the era of smart IoT. With the popularization of 4G, WiFi and Bluetooth Mesh technologies on IoT upgrade devices, more devices have higher requirements for upgrades. [0003] During the FOTA upgrade process, due to the size of the data transmitted at one time (for example, no more than 250 bytes) and the limitation of the embedded system, more incremental upgrade solutions are used. In the in...

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/658G06F8/656G06F8/52
CPCG06F8/658G06F8/656G06F8/52
Inventor 罗嵩
Owner ALIBABA GRP HLDG 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