Android机顶盒智能终端因具有开放的开发平台、多样化的图形界面和友好的用户体验而深受开发商和用户的青睐,然而其软件升级的核心模块Loader还有待完善。为了克服因意外导致Loader损坏而使机顶盒丧失软件升级功能的缺陷,引入“双Loader”运行模式;为了确保升级文件的正确性和完整性,增加升级的可靠性,采用双重CRC算法对升级文件进行校验;而数字签名技术的使用,实现了开发商和运营商对软件升级的控制。测试结果表明,新方案有效地完成了Android机顶盒应用程序及Loader本身的升级,为Android机顶盒开发商和运营商提供了一种优良的软件升级方案。
Open development platform, a variety of graphical interface and friendly user experience for Android STB are appreciated by developers and users. However Loader, the core module of software upgrade, has to face many challenges. The "Double-Loader" operation mode is introduced to overcome the loss of STB software upgrade function defects which caused by accidental damage. The double CRC check is used to ensure the completeness and correctness of the upgrade file. The digital signature technology is adopted to realize the real-time control of software upgrade. Test results show that the proposed scheme effectively complete the upgrades of application and Loader itself, provide a good software upgrade package for Android STB developers and operators.