Terminal upgrade method and related device with multicast program
First Claim
1. A terminal upgrade method, comprising:
- encapsulating, by an element management system (EMS), an upgrade version file supported by a type of terminal as a multicast program, and storing the multicast program in a multicast server;
or sending, by the EMS, an upgrade version file supported by a type of terminal to a multicast server, to enable the multicast server to encapsulate the upgrade version file as a multicast program and to store the multicast program;
establishing, by the EMS, a version-address mapping relationship, wherein the version-address mapping relationship comprises a mapping relationship between an upgrade version number and a multicast program storage address;
delivering, by the EMS, the version-address mapping relationship to a terminal, wherein the delivering the version-address mapping relationship includes loading the version-address mapping relationship into an XML configuration file, to obtain a target XML configuration file, and delivering the target XML configuration file to the terminal; and
delivering, by the EMS, an upgrade start instruction to the terminal, to trigger the terminal to send a multicast program on-demand request to the multicast server according to the multicast program storage address in the version-address mapping relationship, to enable the terminal to receive the multicast program that is stored in the multicast program storage address of the terminal and sent by the multicast server, and to enable the terminal to perform a version upgrade operation according to the received multicast program;
wherein a CRC check value is added to the target XML configuration file, and the delivering, by the EMS, the target XML configuration file to the terminal comprises;
receiving, by the EMS, a CRC check value that is added to a remote XML configuration file and reported by the terminal, wherein the remote XML configuration file is used to load a remote mapping relationship, and the remote mapping relationship is a mapping relationship between the current version number supported by the type of terminal and a storage address of a multicast program obtained by encapsulating a current version; and
comparing, by the EMS, the CRC check value added to the remote XML configuration file with the CRC check value added to the target XML configuration file, and when the CRC check values are inconsistent, delivering a protocol message comprising the target XML configuration file to the terminal.
1 Assignment
0 Petitions
Accused Products
Abstract
A terminal upgrade method and a related device are provided. The method includes: encapsulating, by an element management system (EMS), an upgrade version file supported by a type of terminal as a multicast program and storing the multicast program in a multicast server, or sending an upgrade version file supported by a type of terminal to a multicast server; establishing, by the EMS, a version-address mapping relationship; delivering, by the EMS, the version-address mapping relationship to a terminal; and delivering an upgrade start instruction to the terminal, to trigger the terminal to send a multicast program on-demand request to the multicast server, so that the terminal receives the multicast program that is stored in the multicast program storage address of the terminal and sent by the multicast server, and the terminal performs a version upgrade operation according to the received multicast program.
-
Citations
12 Claims
-
1. A terminal upgrade method, comprising:
-
encapsulating, by an element management system (EMS), an upgrade version file supported by a type of terminal as a multicast program, and storing the multicast program in a multicast server;
or sending, by the EMS, an upgrade version file supported by a type of terminal to a multicast server, to enable the multicast server to encapsulate the upgrade version file as a multicast program and to store the multicast program;establishing, by the EMS, a version-address mapping relationship, wherein the version-address mapping relationship comprises a mapping relationship between an upgrade version number and a multicast program storage address; delivering, by the EMS, the version-address mapping relationship to a terminal, wherein the delivering the version-address mapping relationship includes loading the version-address mapping relationship into an XML configuration file, to obtain a target XML configuration file, and delivering the target XML configuration file to the terminal; and delivering, by the EMS, an upgrade start instruction to the terminal, to trigger the terminal to send a multicast program on-demand request to the multicast server according to the multicast program storage address in the version-address mapping relationship, to enable the terminal to receive the multicast program that is stored in the multicast program storage address of the terminal and sent by the multicast server, and to enable the terminal to perform a version upgrade operation according to the received multicast program; wherein a CRC check value is added to the target XML configuration file, and the delivering, by the EMS, the target XML configuration file to the terminal comprises; receiving, by the EMS, a CRC check value that is added to a remote XML configuration file and reported by the terminal, wherein the remote XML configuration file is used to load a remote mapping relationship, and the remote mapping relationship is a mapping relationship between the current version number supported by the type of terminal and a storage address of a multicast program obtained by encapsulating a current version; and comparing, by the EMS, the CRC check value added to the remote XML configuration file with the CRC check value added to the target XML configuration file, and when the CRC check values are inconsistent, delivering a protocol message comprising the target XML configuration file to the terminal. - View Dependent Claims (2)
-
-
3. A terminal upgrade method, comprising:
-
encapsulating, by an element management system (EMS), an upgrade version file supported by a type of terminal as a multicast program, and storing the multicast program in a multicast server;
or sending, by the EMS, an upgrade version file supported by a type of terminal to a multicast server, to enable the multicast server to encapsulate the upgrade version file as a multicast program and to store the multicast program;establishing, by the EMS, a version-address mapping relationship, wherein the version-address mapping relationship comprises a mapping relationship between an upgrade version number and a multicast program storage address; delivering, by the EMS, the version-address mapping relationship to a terminal, wherein the delivering the version-address mapping relationship includes loading the version-address mapping relationship into an XML configuration file, to obtain a target XML configuration file, and delivering the target XML configuration file to the terminal; and delivering, by the EMS, an upgrade start instruction to the terminal, to trigger the terminal to send a multicast program on-demand request to the multicast server according to the multicast program storage address in the version-address mapping relationship, to enable the terminal to receive the multicast program that is stored in the multicast program storage address of the terminal and sent by the multicast server, and to enable the terminal to perform a version upgrade operation according to the received multicast program, wherein after the delivering, by the EMS, the target XML configuration file to the terminal and before the delivering, by the EMS, an upgrade start instruction to the terminal, the method further comprises; delivering, by the EMS, an upgrade test instruction to the terminal, wherein the upgrade test instruction comprises an upgrade check parameter, and the upgrade check parameter comprises at least a current version number and an upgrade version number that are supported by the type of terminal; receiving, by the EMS, a check result, reported by the terminal, of checking the upgrade check parameter by the terminal; and determining, by the EMS, whether the check result is that the upgrade check parameter passes the check, and when the upgrade check parameter passes the check, performing the delivering an upgrade start instruction to the terminal.
-
-
4. A terminal upgrade method, comprising:
-
receiving, by a terminal, a version-address mapping relationship delivered by an element management system (EMS), wherein the version-address mapping relationship comprises a mapping relationship between an upgrade version number and a multicast program storage address, and a multicast program stored in the multicast program storage address is a multicast program obtained by encapsulating an upgrade version file supported by a type of terminal, wherein the receiving a version-address mapping relationship delivered by an element management system (EMS) includes receiving a target XML configuration file delivered by the EMS, wherein the version-address mapping relationship is loaded into the target XML configuration file; receiving, by the terminal, an upgrade start instruction delivered by the EMS; sending, by the terminal in response to the upgrade start instruction, a multicast program on-demand request to a multicast server according to the multicast program storage address in the version-address mapping relationship; receiving, by the terminal, the multicast program that is stored in the multicast program storage address and sent by the multicast server; and performing, by the terminal, a version upgrade operation according to the received multicast program; wherein a CRC check value is added to the target XML configuration file, and the receiving, by the terminal, a target XML configuration file delivered by the EMS comprises; reporting, by the terminal, a CRC check value added to a remote XML configuration file to the EMS, wherein the remote XML configuration file is used to load a remote mapping relationship, and the remote mapping relationship is a mapping relationship between the current version number supported by the type of terminal and a storage address of a multicast program obtained by encapsulating a current version; and receiving, by the terminal, a protocol message that comprises the target XML configuration file and that is delivered by the EMS after the EMS determines, by means of comparison, that the CRC check value added to the remote XML configuration file and the CRC check value added to the target XML configuration file are inconsistent. - View Dependent Claims (5)
-
-
6. A terminal upgrade method, comprising:
-
receiving, by a terminal, a version-address mapping relationship delivered by an element management system (EMS), wherein the version-address mapping relationship comprises a mapping relationship between an upgrade version number and a multicast program storage address, and a multicast program stored in the multicast program storage address is a multicast program obtained by encapsulating an upgrade version file supported by a type of terminal, wherein the receiving a version-address mapping relationship delivered by an element management system (EMS) includes receiving a target XML configuration file delivered by the EMS, wherein the version-address mapping relationship is loaded into the target XML configuration file; receiving, by the terminal, an upgrade start instruction delivered by the EMS; sending, by the terminal in response to the upgrade start instruction, a multicast program on-demand request to a multicast server according to the multicast program storage address in the version-address mapping relationship; receiving, by the terminal, the multicast program that is stored in the multicast program storage address and sent by the multicast server; and performing, by the terminal, a version upgrade operation according to the received multicast program, wherein after the receiving, by the terminal, a target XML configuration file delivered by the EMS and before the receiving, by the terminal, an upgrade start instruction delivered by the EMS, the method further comprises; receiving, by the terminal, an upgrade test instruction delivered by the EMS, wherein the upgrade test instruction comprises an upgrade check parameter, and the upgrade check parameter comprises at least a current version number and an upgrade version number that are supported by the type of terminal; checking, by the terminal, the upgrade check parameter, to obtain a check result of checking the upgrade check parameter by the terminal; and reporting, by the terminal, the check result to the EMS, to trigger the EMS to deliver the upgrade start instruction to the terminal when the EMS determines that the check result is that the upgrade check parameter passes the check.
-
-
7. A terminal upgrade method, comprising:
-
receiving, by a terminal, a version-address mapping relationship delivered by an element management system (EMS), wherein the version-address mapping relationship comprises a mapping relationship between an upgrade version number and a multicast program storage address, and a multicast program stored in the multicast program storage address is a multicast program obtained by encapsulating an upgrade version file supported by a type of terminal; receiving, by the terminal, an upgrade start instruction delivered by the EMS; sending, by the terminal in response to the upgrade start instruction, a multicast program on-demand request to a multicast server according to the multicast program storage address in the version-address mapping relationship; receiving, by the terminal, the multicast program that is stored in the multicast program storage address and sent by the multicast server; and performing, by the terminal, a version upgrade operation according to the received multicast program, wherein after the receiving, by the terminal, an upgrade start instruction delivered by the EMS, and before the sending, by the terminal in response to the upgrade start instruction, a multicast program on-demand request to a multicast server according to the multicast program storage address in the version-address mapping relationship, the method further comprises; determining, by the terminal, whether a terminal upgrade policy is met, and when the terminal upgrade policy is met, performing the sending, in response to the upgrade start instruction, a multicast program on-demand request to a multicast server according to the multicast program storage address in the version-address mapping relationship, wherein the terminal upgrade policy comprises any one of or a combination of the following;
there is no on-demand service or voice service on the terminal, or a current load of the terminal is less than a preset load value.
-
-
8. An element management system, comprising a receiver, a processor, a memory, and a transmitter, wherein the receiver, the processor, the memory, and the transmitter are separately connected to a bus, the memory stores a group of terminal upgrade program code, and the processor is configured to invoke the terminal upgrade program code stored in the memory, so as to:
-
receive, using the receiver, an upgrade version file supported by a type of terminal; encapsulate the upgrade version file supported by the type of terminal as a multicast program, and transmit, using the transmitter, the multicast program to a multicast server for storing; or send, using the transmitter, the upgrade version file supported by the type of terminal to a multicast server, to enable the multicast server to encapsulate the upgrade version file as a multicast program and to store the multicast program; establish a version-address mapping relationship, wherein the version-address mapping relationship comprises a mapping relationship between an upgrade version number and a multicast program storage address; load the version-address mapping relationship into an XML configuration file, to obtain a target XML configuration file; deliver the target XML configuration file to the terminal using the transmitter; and deliver an upgrade start instruction to the terminal using the transmitter, to trigger the terminal to send a multicast program on-demand request to the multicast server according to the multicast program storage address in the version-address mapping relationship, to enable the terminal to receive the multicast program that is stored in the multicast program storage address of the terminal and sent by the multicast server, and to perform a version upgrade operation according to the received multicast program; wherein a CRC check value is added to the target XML configuration file, and the processor is configured to; receive, using the receiver, a CRC check value that is added to a remote XML configuration file and reported by the terminal, wherein the remote XML configuration file is used to load a remote mapping relationship, and the remote mapping relationship is a mapping relationship between the current version number supported by the type of terminal and a storage address of a multicast program obtained by encapsulating a current version; and compare the CRC check value added to the remote XML configuration file with the CRC check value added to the target XML configuration file, and when the CRC check values are inconsistent, deliver a protocol message comprising the target XML configuration file to the terminal by using the transmitter. - View Dependent Claims (9)
-
-
10. An element management system, comprising a receiver, a processor, a memory, and a transmitter, wherein the receiver, the processor, the memory, and the transmitter are separately connected to a bus, the memory stores a group of terminal upgrade program code, and the processor is configured to invoke the terminal upgrade program code stored in the memory, so as to:
-
receive, using the receiver, an upgrade version file supported by a type of terminal; encapsulate the upgrade version file supported by the type of terminal as a multicast program, and transmit, using the transmitter, the multicast program to a multicast server for storing;
or send, using the transmitter, the upgrade version file supported by the type of terminal to a multicast server, to enable the multicast server to encapsulate the upgrade version file as a multicast program and to store the multicast program;establish a version-address mapping relationship, wherein the version-address mapping relationship comprises a mapping relationship between an upgrade version number and a multicast program storage address; load the version-address mapping relationship into an XML configuration file, to obtain a target XML configuration file; deliver the target XML configuration file to the terminal using the transmitter; and deliver an upgrade start instruction to the terminal using the transmitter, to trigger the terminal to send a multicast program on-demand request to the multicast server according to the multicast program storage address in the version-address mapping relationship, to enable the terminal to receive the multicast program that is stored in the multicast program storage address of the terminal and sent by the multicast server, and to perform a version upgrade operation according to the received multicast program, wherein after the delivering, by the processor, the target XML configuration file to the terminal using the transmitter and before the delivering, by the processor, an upgrade start instruction to the terminal using the transmitter, the processor is further configured to; deliver an upgrade test instruction to the terminal using the transmitter, wherein the upgrade test instruction comprises an upgrade check parameter, and the upgrade check parameter comprises at least a current version number and an upgrade version number that are supported by the type of terminal; receive, using the receiver, a check result, reported by the terminal, of checking the upgrade check parameter by the terminal; and determine whether the check result is that the upgrade check parameter passes the check, and when the upgrade check parameter passes the check, perform the operation of delivering an upgrade start instruction to the terminal by using the transmitter.
-
-
11. A terminal, comprising a receiver, a processor, a memory, and a transmitter, wherein the receiver, the processor, the memory, and the transmitter are separately connected to a bus, the memory stores a group of terminal upgrade program code, and the processor is configured to invoke the terminal upgrade program code stored in the memory, so as to:
-
receive, using the receiver, a target XML configuration file delivered by an element management system (EMS), wherein a version-address mapping relationship is loaded into the target XML configuration file, and wherein the version-address mapping relationship comprises a mapping relationship between an upgrade version number and a multicast program storage address, and a multicast program stored in the multicast program storage address is a multicast program obtained by encapsulating an upgrade version file supported by a type of terminal; receive, using the receiver, an upgrade start instruction delivered by the EMS; send, in response to the upgrade start instruction, a multicast program on-demand request to a multicast server according to the multicast program storage address in the version-address mapping relationship by using the transmitter; receive, using the receiver, the multicast program that is stored in the multicast program storage address and sent by the multicast server; and perform a version upgrade operation according to the received multicast program; wherein after the receiving, by the processor using the receiver, a target XML configuration file delivered by the EMS, and before the receiving, by the processor using the receiver, an upgrade start instruction delivered by the EMS, the processor is further configured to; receive, using the receiver, an upgrade test instruction delivered by the EMS, wherein the upgrade test instruction comprises an upgrade check parameter, and the upgrade check parameter comprises at least a current version number and an upgrade version number that are supported by the type of terminal; check the upgrade check parameter to obtain a check result of checking the upgrade check parameter by the terminal; and report the check result to the EMS using the transmitter, to trigger the EMS to deliver the upgrade start instruction to the terminal when the EMS determines that the check result is that the upgrade check parameter passes the check. - View Dependent Claims (12)
-
Specification