IP Library Granted Patent US 10,866,796
Granted Patent B2
US 10,866,796 · App. 15/304,969 · Granted Dec 15, 2020

Software upgrade method and apparatus, and device

Inventors: Su Luo (Wuhan, CN); Xiaoyi Han (Shenzhen, CN); Jiewei Li (Xi'an, CN)
Assignee: Huawei Device Co., Ltd.
G06F8/65H04N21/235H04N21/435H04N21/4882H04N21/8166
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,866,796
App. No.
15/304,969
Granted
Dec 15, 2020
Kind
B2
Abstract

Embodiments of the present invention provide a software upgrade method and apparatus, and a device. The method is applied to a software upgrade of a digital television terminal and includes: obtaining a DSI table in an upgrade data stream according to location information of the upgrade data stream that is carried in an upgrade notification message, where the DSI table carries upgrade software description information; displaying the upgrade software description information and upgrade prompt information to a user if it is determined, according to the upgrade software description information, to upgrade local software; and after the user determines to upgrade software, obtaining an upgrade software mirror in the upgrade data stream, and updating the local software according to the upgrade software mirror.

Claims (47)

1. A software upgrade method, wherein the method is applied to a software upgrade of a digital television terminal and comprises:

obtaining, by monitoring an upgrade notification message, location information of an upgrade data stream that is carried in the upgrade notification message, wherein the upgrade data stream includes independently encapsulated download server indication (DSI) table and upgrade software mirror;

obtaining, by the digital television terminal, the DSI table in the upgrade data stream according to the location information, wherein the DSI table comprises a user-defined description field, the user-defined description field carries upgrade software description information, and the upgrade software description information includes at least one of a software version number corresponding to the software upgrade or a product model corresponding to the software upgrade;

obtaining, by the digital television terminal, the upgrade software description information from the user-defined description field of the DSI table;

comparing, by the digital television terminal, the upgrade software description information carried in the user-defined description field of the DSI table with configuration information of local software to determine that the local software is to be upgraded;

in response to determining that the local software is to be upgraded according to the upgrade software description information, displaying the upgrade software description information and upgrade prompt information for a user input for updating software before downloading the upgrade software mirror carried in a remaining part of the upgrade data stream; and

in response to receiving the user input for updating software, and performing the following steps:

obtaining the upgrade software mirror by continuously downloading the remaining part of the upgrade data stream; and

updating the local software according to the upgrade software mirror.

2. The method according to claim 1 , wherein the obtaining the DSI table in the upgrade data stream comprises:

obtaining a transport stream packet in the upgrade data stream according to the location information of the upgrade data stream that is carried in the upgrade notification message; and

restoring the transport stream packet to obtain the DSI table that is comprised in a data segment section.

3. The method according to claim 2 , wherein the restoring the transport stream packet to obtain the DSI table comprises:

restoring the transport stream packet to obtain the data segment section; and

finding the DSI table according to a table identifier table_id and a DSI information identifier message_id that are in the data segment section.

4. The method according to claim 1 , wherein the displaying the upgrade software description information and the upgrade prompt information comprises:

comparing the upgrade software description information with local machine version information to determine whether to upgrade the local software; and

in response to determining that the local software is to be upgraded, displaying the upgrade software description information and the upgrade prompt information.

5. The method according to claim 1 , wherein the obtaining the upgrade software mirror in the upgrade data stream comprises:

obtaining a download information indication (DII) and a download data block (DDB) that are in the upgrade data stream;

obtaining the upgrade software mirror according to the DDB; and

performing an integrity check on the upgrade software mirror; and

wherein the updating the local software according to the upgrade software mirror comprises: updating the local software by using the upgrade software mirror that passes the integrity check.

6. A digital television terminal, comprising: a display and a processor, configured to:

monitor an upgrade notification message and obtain location information of an upgrade data stream that is carried in the upgrade notification message, wherein the upgrade data stream includes independently encapsulated download server indication (DSI) table and upgrade software mirror;

obtain the DSI table in the upgrade data stream according to the location information, wherein the DSI table comprises a user-defined description field, the user-defined description field carries upgrade software description information, and the upgrade software description information includes at least one of a software version number corresponding to a software upgrade or a product model corresponding to the software upgrade;

obtain the upgrade software description information from the user-defined description field of the DSI table;

compare the upgrade software description information carried in the user-defined description field of the DSI table with configuration information of local software to determine that the local software is to be upgraded; and

trigger the display in response to determining that the local software is to be upgraded according to the upgrade software description information; and

the display communicatively coupled with the processor, wherein the display is configured to display the upgrade software description information obtained by the processor and upgrade prompt information for a user input for updating software before downloading the upgrade software mirror carried in a remaining part of the upgrade data stream; and

wherein the processor is further configured to: in response to receiving the user input for updating software:

obtain the upgrade software mirror by continuously downloading the remaining part of the upgrade data stream; and

update the local software according to the upgrade software mirror.

7. The digital television terminal according to claim 6 , wherein the processor is configured to:

obtain a transport stream packet in the upgrade data stream according to the location information of the upgrade data stream that is carried in the upgrade notification message; and

restore the transport stream packet to obtain the DSI table that is comprised in a data segment section.

8. The digital television terminal according to claim 7 , wherein the processor is further configured to:

restore the transport stream packet to obtain the data segment section; and

find the DSI table according to a table identifier table_id and a DSI information identifier message_id that are in the data segment section.

9. The digital television terminal according to claim 6 , wherein the processor is further configured to:

compare the upgrade software description information with local machine version information to determine whether to upgrade the local software; and

in response to determining that the local software is to be upgraded, trigger the display to display the upgrade software description information and the upgrade prompt information.

10. The digital television terminal according to claim 6 , wherein the processor is further configured to:

in response to receiving a user input for updating software:

obtain a download information indication (DII) and a download data block (DDB) that are in the upgrade data stream;

obtain the upgrade software mirror according to the DDB, and perform an integrity check on the upgrade software mirror; and

update the local software by using the upgrade software mirror that passes the integrity check.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 19, 2018
From: HUAWEI DEVICE (SHENZHEN) CO., LTD.
To: HUAWEI DEVICE CO., LTD.
Reel/Frame 047603/0039 →
CHANGE OF NAME Recorded Jun 12, 2018
From: HUAWEI DEVICE CO.,LTD.
To: HUAWEI DEVICE (SHENZHEN) CO., LTD.
Reel/Frame 046340/0590 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 26, 2016
From: LUO, SU; HAN, XIAOYI; LI, JIEWEI
To: HUAWEI DEVICE CO., LTD.
Reel/Frame 040137/0129 →
Continuity (1)
Related Publication 20170185390A1 · Jun 29, 2017