FULL VS INCREMENTAL OTA

转载:http://www.xanh.co.uk/full-vs-incremental-ota/#more-144

这里写图片描述
There are two types of OTA. Each with its own advantages and usages. But there is only one type typical customer would see (the other one you probably never heard off). Let take a look at them in details.

As you can see on the graph above those two types of OTA are: incremental and full.

Differences:

  1. Usage

The most significant difference between those OTA types is its ‘start point’ (the build we can upgrade from using the OTA). When Full OTA can be used across the entire firmware line [∞ -> B], the Incremental can be only used between specific points [A->B].

  1. Size

The typical size of the full OTA is close to the size of the firmware image, while incremental is varied can be as small as few KB and as big as Full OTA, there is not rule here (however usually much smaller than Full).

  1. Content

Reason why full OTA size is so close to original firmware image is not coincidental as it practically contain the entire image within – just in a form allowing update via recovery mode. Incremental OTA on the other hand contains only the binary differences (parts of files that have been altered) between two stages [A->B], thus it carries less data.

Similarities:

Regardless of type of OTA selected both will update device to the same endpoint. Both will verify if devices is ‘signed’ (certificates are matching) with correct keys. And as an updates they will not erase user data (of a contrary when flashing ROM).

Advantages – Full OTA:

not error prone -> ignores any changes made on the device (alterations in system partition) – good way of recovering device from ‘unknown’ (heavily modified) state
no need to find specific build to update -> can be used on all builds (except for downgrading)
Drawbacks – Full OTA:

its size -> can be size of the firmware image (longer to download)
possible security breach -> releasing it is similar to release firmware image (same content only in different format)
Advantages – Incremental OTA:

size -> can be much smaller than full
security -> contain only binary differences for files so full content is not revealed to end users
control -> possible to control end user update path as can only be successfully applied to particular build
Drawbacks – Incremental OTA:

not error prone -> any change to ‘system’ might result in error during update (which could be good for ODM – ensure only original FW provided by them is being used)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值