Terminal upgrade method and apparatus
View Patent ↗A terminal upgrade method includes a server determining a to-be-upgraded component in a terminal. The server determines at least one piece of upgrade feature information corresponding to the to-be-upgraded component. The server sends a feature upgrade package corresponding to the upgrade feature information to an upgrade manager in the terminal, so that the upgrade manager upgrades the to-be-upgraded component based on the feature upgrade package corresponding to the upgrade feature information. An upgrade may not be performed on an entire terminal. In addition, upgrading the to-be-upgraded component may be based on the feature upgrade package corresponding to the upgrade feature information.
1 . A method applied to a server and comprising:
determining a to-be-upgraded component in a terminal;
determining upgrade feature information corresponding to the to-be-upgraded component, wherein the upgrade feature information comprises:
an upgrade feature type; and
feature description information corresponding to the upgrade feature type, wherein the feature description information comprises involved components, and wherein the involved components comprises:
the to-be-upgraded component;
a first involved component;
a second involved component;
an upgrade association relationship indicating that the to-be-upgraded component is independent of both the first involved component and the second involved component, wherein the upgrade association relationship further indicates that the first involved component is associated with the second involved component; and
an upgrade sequence relationship indicating an upgrade sequence for the first involved component and the second involved component; and
sending, to an upgrade manager in the terminal, a first feature upgrade package corresponding to the upgrade feature information to prompt instruct the upgrade manager to upgrade the to-be-upgraded component based on the first feature upgrade package.
2 . The method of claim 1 , wherein the feature description information further comprises at least one of a recommendation level, an involved function, an estimated upgrade duration, an upgrade reason, or an upgrade category.
3 . The method of claim 1 , wherein determining the to-be-upgraded component in the terminal comprises:
receiving component information from the upgrade manager; and
determining the to-be-upgraded component based on the component information.
4 . The method of claim 1 , wherein before sending the first feature upgrade package to the upgrade manager in the terminal, the method further comprises receiving an upgrade request from the upgrade manager, wherein the upgrade request requests to receive a second feature upgrade package corresponding to target upgrade feature information, wherein the target upgrade feature information is based on selection by a user from an upgrade activity notification displayed on a display device, wherein the upgrade activity notification comprises the upgrade feature information corresponding to the to-be-upgraded component, and wherein sending the first feature upgrade package to the upgrade manager in the terminal comprises sending the second feature upgrade package to the upgrade manager.
5 . A method applied to an upgrade manager in a terminal and comprising:
receiving, from a server, a feature upgrade package corresponding to upgrade feature information that corresponds to a to-be-upgraded component in the terminal, wherein the upgrade feature information comprises:
an upgrade feature type; and
feature description information corresponding to the upgrade feature type, wherein the feature description information comprises involved components, and wherein the involved components comprises:
the to-be-upgraded component;
a first involved component;
a second involved component;
an upgrade association relationship indicating that the to-be-upgraded component is independent of both the first involved component and the second involved component, wherein the upgrade association relationship further indicates that the first involved component is associated with the second involved component; and
an upgrade sequence relationship indicating an upgrade sequence for the first involved component and the second involved component; and
upgrading the to-be-upgraded component based on the feature upgrade package.
6 . The method of claim 5 , wherein the feature description information further comprises at least one of a recommendation level, an involved function, an estimated upgrade duration, an upgrade reason, or an upgrade category.
7 . The method of claim 5 , wherein before receiving the feature upgrade package, the method further comprises sending component information of each component in the terminal to the server.
8 . The method of claim 7 , wherein the component information comprises health information of the component, and wherein before sending the component information of each component in the terminal to the server, the method further comprises:
receiving the health information of the component.
9 . An apparatus, comprising:
a memory storing programming instructions; and
at least one processor coupled to the memory and configured to execute the programming instructions to cause the apparatus to:
determine a to-be-upgraded component in a terminal;
determine upgrade feature information corresponding to the to-be-upgraded component, wherein the upgrade feature information comprises:
an upgrade feature type; and
feature description information corresponding to the upgrade feature type, wherein the feature description information comprises involved components, and wherein the involved components comprises:
the to-be-upgraded component;
a first involved component;
a second involved component;
an upgrade association relationship indicating that the to-be-upgraded component is independent of both the first involved component and the second involved component, wherein the upgrade association relationship further indicates that the first involved component is associated with the second involved component; and
an upgrade sequence relationship indicating an upgrade sequence for the first involved component and the second involved component; and
send a first feature upgrade package corresponding to the upgrade feature information to an upgrade manager in the terminal to instruct the upgrade manager to upgrade the to-be-upgraded component based on the first feature upgrade package.
10 . The apparatus of claim 9 , wherein the feature description information further comprises at least one of a recommendation level, an involved function, an estimated upgrade duration, an upgrade reason, or an upgrade category.
11 . The apparatus of claim 9 , wherein the at least one processor is further configured to execute the programming instructions to cause the apparatus to:
receive component information from the upgrade manager; and
determine the to-be-upgraded component based on the component information.
12 . The apparatus of claim 9 , wherein the at least one processor is further configured to execute the programming instructions to cause the apparatus to:
receive an upgrade request from the upgrade manager, wherein the upgrade request requests to receive a second feature upgrade package corresponding to target upgrade feature information, wherein the target upgrade feature information is based on selection by a user from an upgrade activity notification displayed on a display device, and wherein the upgrade activity notification comprises the upgrade feature information corresponding to the to-be-upgraded component; and
send the second feature upgrade package to the upgrade manager.
13 . An apparatus, comprising:
a memory storing programming instructions; and
at least one processor coupled to the memory and configured to execute the programming instructions to cause the apparatus to:
receive, from a server, a feature upgrade package corresponding to upgrade feature information that corresponds to a to-be-upgraded component in a terminal and that is determined by the server, wherein the upgrade feature information comprises:
an upgrade feature type; and
feature description information corresponding to the upgrade feature type, wherein the feature description information comprises involved components, and wherein the involved components comprises:
the to-be-upgraded component;
a first involved component;
a second involved component;
an upgrade association relationship indicating that the to-be-upgraded component is independent of both the first involved component and the second involved component, wherein the upgrade association relationship further indicates that the first involved component is associated with the second involved component; and
an upgrade sequence relationship indicating an upgrade sequence for the first involved component and the second involved component; and
upgrade the to-be-upgraded component based on the feature upgrade package.
14 . The apparatus of claim 13 , wherein the feature description information further comprises at least one of a recommendation level, an involved function, an estimated upgrade duration, an upgrade reason, or an upgrade category.
15 . The apparatus of claim 13 , wherein the at least one processor is further configured to execute the programming instructions to cause the apparatus to send component information of each component in the terminal to the server.
16 . The apparatus of claim 15 , wherein the component information comprises health information of the component, and wherein the at least one processor is further configured to execute the programming instructions to cause the apparatus to:
receive a performance parameter of the component for determining the health information of the component.
17 . The method of claim 2 , wherein the feature description information comprises the recommendation level, and wherein the method further comprises determining the recommendation level based on a preset category of the to-be-upgraded component and upgrade package information of the to-be-upgraded component.
18 . The method of claim 6 , wherein the feature description information comprises the recommendation level, and wherein the recommendation level is based on a preset category of the to-be-upgraded component and upgrade package information of the to-be-upgraded component.
19 . The apparatus of claim 10 , wherein the feature description information comprises the recommendation level, and wherein the at least one processor is further configured to execute the programming instructions to cause the apparatus to determine the recommendation level based on a preset category of the to-be-upgraded component and upgrade package information of the to-be-upgraded component.
20 . The apparatus of claim 14 , wherein the feature description information comprises the recommendation level, and wherein the recommendation level is based on a preset category of the to-be-upgraded component and upgrade package information of the to-be-upgraded component.