Upgrading method and system, server, and terminal device
AssigneeBoe Technology Group Co., Ltd.
InventorHongjun Du
Life of this patent
Estimating the term…
Abstract
An upgrading method, includes: a server first sends a version check command to a terminal device; then receives feedback data sent by the terminal device based on the version check command; and sends an upgrade command to the terminal device in response to the terminal device being to be upgraded, wherein whether the terminal device is to be upgraded is determined based on the feedback data.
Claims16
An upgrading method applicable to a server, the method comprising:
- sending a version check command to a terminal device;
- receiving feedback data sent by the terminal device based on the version check command;
- and
- sending an upgrade command to the terminal device in response to determining, based on the feedback data, that the terminal device is to be upgraded;
- and the method further comprising:
- generating a first command body based on a first command parameter and identification information of the terminal device;
- generating first signature information based on a predetermined first private key and the first command body;
- and
- generating the version check command comprising a first command name, the first command body, and the first signature information;
- wherein the first command parameter comprises a command parameter in the version check command, the first command body comprises a command body in the version check command, and the first signature information comprises signature information in the version check command, and the first command name is a name of the version check command.
An upgrading method applicable to a terminal device, the method comprising:
- receiving a version check command sent by a server;
- reading information of a candidate upgrade object based on the version check command as feedback data;
- sending the feedback data to the server;
- receiving an upgrade command sent by the server, wherein the upgrade command is sent in response to the server determining, based on the feedback data, that the terminal device is to be upgraded;
- and
- acquiring an upgrade file package based on the upgrade command, and upgrading the candidate upgrade object with the upgrade file package;
- wherein the version check command comprises a first command body and first signature information;
- and upon receiving the version check command sent by the server, the method further comprises:
- verifying, based on a predetermined first public key, whether the first command body is matched with the first signature information;
- wherein reading the information of the candidate upgrade object based on the version check command as the feedback data comprises:
- reading the information of the candidate upgrade object based on the version check command as the feedback data in response to the first command body being matched with the first signature information.
A server comprising a memory, a processor, and a computer program stored in the memory and runnable on the processor, wherein the processor, when running the computer program, is caused to:
- send a version check command to a terminal device;
- receive feedback data sent by the terminal device based on the version check command;
- and
- send an upgrade command to the terminal device in response to determining, based on the feedback data, that the terminal device is to be upgraded;
- the processor, when running the computer program, is further caused to:
- generate a first command body based on a first command parameter and identification information of the terminal device;
- generate first signature information based on a predetermined first private key and the first command body;
- and
- generate the version check command comprising a first command name, the first command body, and the first signature information;
- wherein the first command parameter comprises a command parameter in the version check command, the first command body comprises a command body in the version check command, and the first signature information comprises signature information in the version check command, and the first command name is a name of the version check command.
Dependencies are inferred from the claim text.