CN109766115B - Fool-proof method and system for intelligent equipment upgrading - Google Patents

Fool-proof method and system for intelligent equipment upgrading Download PDF

Info

Publication number
CN109766115B
CN109766115B CN201910042929.3A CN201910042929A CN109766115B CN 109766115 B CN109766115 B CN 109766115B CN 201910042929 A CN201910042929 A CN 201910042929A CN 109766115 B CN109766115 B CN 109766115B
Authority
CN
China
Prior art keywords
upgrading
package
ota
module
fool
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910042929.3A
Other languages
Chinese (zh)
Other versions
CN109766115A (en
Inventor
庄瑞军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201910042929.3A priority Critical patent/CN109766115B/en
Publication of CN109766115A publication Critical patent/CN109766115A/en
Application granted granted Critical
Publication of CN109766115B publication Critical patent/CN109766115B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a fool-proof method and a fool-proof system for upgrading intelligent equipment, wherein the method comprises the following steps: when the intelligent equipment is detected to need to be upgraded, prompt information is generated; acquiring operation information input by a user aiming at the prompt information; when the operation information is allowed to be upgraded, downloading an upgrade package; when the upgrade package is an OTA full package, reading the matching parameters in the OTA full package; acquiring internal parameters of the intelligent equipment; and when the internal parameters are inconsistent with the matching parameters, triggering fool-proof detection to prevent upgrading. According to the invention, the internal parameters of the intelligent device are matched with the matching parameters in the OTA full-scale package, so that whether fool-proof detection is triggered or not is judged, and the conditions of abnormal functions and unavailability caused by mutual upgrading of different types are prevented.

Description

Fool-proof method and system for intelligent equipment upgrading
Technical Field
The invention relates to the technical field of mobile communication, in particular to a fool-proof method and a fool-proof system for upgrading intelligent equipment.
Background
With the rapid development of network and information technology, intelligent devices in daily life are becoming more and more popular, and the types, models and the like of the intelligent devices are more and more diverse. In addition, since developers of software in the smart device are constantly perfecting functions, the smart device needs to be upgraded.
At present, the smart machine generally all needs to download the upgrade package when upgrading, but when the smart machine carries out OTA full package OTA upgrading, the smart machine that belongs to different branch models of the same type can use each other's OTA full package upgrading to the upgrade is successful, but can lead to some function anomaly.
For example, the models of X1\ X2\ X3 belonging to different branch models of the same type have the corresponding OTA full package of Y1\ Y2\ Y3, the X1 can upgrade the OTA full package of Y1, no problem occurs after upgrade, the X1 can also be upgraded corresponding to the OTA full package of Y2\ Y3, but the application functions are inconsistent, and the signal display is abnormal.
Therefore, a fool-proof method and a fool-proof system for upgrading intelligent devices are needed in the market at present, so that the problem of abnormal functions caused by mutual upgrading of intelligent devices of different branch models of the same type is solved.
Disclosure of Invention
The invention aims to provide a fool-proof method and a fool-proof system for upgrading intelligent equipment, which are used for judging whether fool-proof detection is triggered or not by matching internal parameters of the intelligent equipment with matching parameters in an OTA full-scale package, so that the conditions of abnormal functions and unavailability caused by inconsistent application and modem parameters of different types are prevented.
The technical scheme provided by the invention is as follows:
the invention provides a fool-proof method for upgrading intelligent equipment, which comprises the following steps:
when the intelligent equipment is detected to need to be upgraded, prompt information is generated;
acquiring operation information input by a user aiming at the prompt information;
when the operation information is allowed to be upgraded, downloading an upgrade package;
when the upgrade package is an OTA full package, reading the matching parameters in the OTA full package;
acquiring internal parameters of the intelligent equipment;
and when the internal parameters are inconsistent with the matching parameters, triggering fool-proof detection to prevent upgrading.
Further, the method also comprises the following steps:
and entering Recovery upgrading when the internal parameters are consistent with the matching parameters.
Further, after downloading the upgrade package when the operation information is upgrade-allowed, before reading the matching parameters in the OTA full package when the upgrade package is the OTA full package, the method includes:
and entering Recovery upgrading when the upgrading packet is an OTA differential packet.
Further, the method also comprises the following steps:
and adding the matching parameters in the OTA full-scale package.
Further, when it is detected that the smart device needs to be upgraded, generating the prompt message includes:
acquiring an operation instruction of a user;
and adding the internal parameters in the intelligent equipment according to the operation instruction.
The invention also provides a fool-proof system for upgrading the intelligent equipment, which comprises an intelligent terminal to be upgraded, wherein the intelligent terminal specifically comprises:
the generating module is used for generating prompt information when the intelligent equipment is detected to be required to be upgraded;
the information acquisition module is used for acquiring operation information input by a user aiming at the prompt information generated by the generation module;
the downloading module is used for downloading the upgrading package when the operation information acquired by the information acquisition module is allowed to be upgraded;
the reading module is used for reading the matching parameters in the OTA full package when the upgrade package downloaded by the downloading module is the OTA full package;
the parameter acquisition module is used for acquiring internal parameters of the intelligent equipment;
and the processing module is used for triggering fool-proof detection and preventing upgrading when the internal parameters acquired by the parameter acquisition module are inconsistent with the matching parameters read by the reading module.
Further, the intelligent terminal further comprises:
and the processing module enters Recovery upgrading when the internal parameters acquired by the parameter acquisition module are consistent with the matching parameters read by the reading module.
Further, the intelligent terminal further comprises:
and the control module enters Recovery upgrading when the upgrading packet downloaded by the downloading module is an OTA differential packet.
Further, the system further comprises:
operating a device to add the matching parameters in the OTA full packets.
Further, the intelligent terminal further comprises:
the instruction acquisition module is used for acquiring an operation instruction of a user;
and the parameter setting module is used for increasing the internal parameters in the intelligent equipment according to the operation instruction acquired by the instruction acquisition module.
The fool-proof method and the fool-proof system for upgrading the intelligent equipment can bring at least one of the following beneficial effects:
1. according to the invention, matching parameters in the OTA full packet are compared with internal parameters of the intelligent equipment, so that OTA full packet upgrading is not carried out on intelligent equipment of different branch models of the same type, and the problem caused by different model functions or inconsistent modem parameters is avoided.
2. In the invention, because OTA differential packages of intelligent devices with the same type and different type branches are completely different from each other and can not be upgraded commonly, the OTA differential packages are downloaded preferentially when the upgrade packages are downloaded, and the intelligent devices with the same type and different type branches are prevented from being upgraded mutually.
3. In the invention, the matching parameters are added in the OTA full packet when the OTA full packet is created, and the internal parameters indicating the type of the OTA full packet are added in the intelligent equipment, so that the intelligent equipment can identify the downloaded OTA full packet, and the matching parameters of the OTA full packet are matched with the internal parameters of the intelligent equipment, thereby quickly judging whether the downloaded OTA full packet is proper.
Drawings
The foregoing features, technical features, advantages and implementations of a foolproof method and system for upgrading a smart device will be further described in the following detailed description of preferred embodiments in a clearly understandable manner in conjunction with the accompanying drawings.
FIG. 1 is a flow chart illustrating one embodiment of a fool-proofing method for intelligent device upgrade of the present invention;
FIG. 2 is a flow chart illustrating another embodiment of a fool-proofing method for upgrading a smart device according to the present invention;
FIG. 3 is a flow chart illustrating another embodiment of a fool-proofing method of an intelligent device upgrade of the present invention;
FIG. 4 is a flow chart illustrating another embodiment of a fool-proofing method of an intelligent device upgrade of the present invention;
FIG. 5 is a flow chart illustrating another embodiment of a fool-proofing method of an intelligent device upgrade of the present invention;
FIG. 6 is a flow chart illustrating another embodiment of a fool-proofing method of an intelligent device upgrade of the present invention;
FIG. 7 is a flowchart illustrating a foolproof method for an intelligent device upgrade of the present invention;
FIG. 8 is a flowchart illustrating a foolproof method for an intelligent device upgrade of the present invention;
FIG. 9 is a schematic structural diagram illustrating an embodiment of a fool-proofing system for upgrading a smart device according to the present invention;
fig. 10 is a schematic structural diagram of another embodiment of a fool-proofing system for upgrading a smart device according to the present invention.
The reference numbers illustrate:
fool-proof system for upgrading 100 intelligent equipment
200 intelligent device 210 generating module 220 information acquisition module
230 download module 270 control module
240 reading module 250 parameter obtaining module
260 processing module 280 instruction fetch module
290 parameter setting module
300 operating device
Detailed Description
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description will explain specific embodiments of the present invention with reference to the drawings of the specification. It is obvious that the drawings in the following description are only some examples of the invention, from which other drawings and embodiments can be derived by a person skilled in the art without inventive effort.
For the sake of simplicity, only the parts relevant to the present invention are schematically shown in the drawings, and they do not represent the actual structure as a product. In addition, in order to make the drawings concise and understandable, components having the same structure or function in some of the drawings are only schematically illustrated or only labeled. In this document, "one" means not only "only one" but also a case of "more than one".
In an embodiment of the present invention, as shown in fig. 1, a fool-proof method for upgrading a smart device includes:
s100, when the fact that the intelligent device needs to be upgraded is detected, prompt information is generated.
Specifically, the intelligent device acquires the latest version of the system or software of the intelligent device in real time or periodically, and if the latest version is found to be released and is higher than the current version of the intelligent device, prompt information is generated to remind a user that the system or software is to be updated.
S200, acquiring operation information input by the user aiming at the prompt information.
Specifically, when the user sees the generated prompt information, the user inputs corresponding operation information for the prompt information through the human-computer interaction interface to select updating or not updating, and updating immediately or later.
In addition, the user can also select to automatically update and upgrade without inquiring the user and inputting operation information when finding the new version through the system setting.
S300, when the operation information is that upgrading is allowed, downloading an upgrading package.
Specifically, when the obtained operation information input by the user through the human-computer interaction interface allows the intelligent device to update, the intelligent device initiates an upgrade request to the server, and downloads the latest upgrade package corresponding to the released system or software from the server.
If the user selects to upgrade later or upgrade at a specific time, the request is sent to the server again when the upgrade is allowed to be performed.
S400, when the upgrade package is the OTA full package, reading the matching parameters in the OTA full package.
Specifically, when the downloaded upgrade package is identified to be the OTA full package, the matching parameters in the OTA full package are read.
S500, obtaining internal parameters of the intelligent device.
Specifically, when the downloaded upgrade package is identified to be the OTA full package, the internal parameters of the intelligent device are acquired.
When the downloaded upgrade package is identified to be the OTA full package, the sequence of reading the matching parameters in the OTA full package and obtaining the internal parameters of the intelligent device is not provided, and any one of the steps can be performed firstly or simultaneously.
S600, when the internal parameters are inconsistent with the matching parameters, fool-proofing detection is triggered to prevent upgrading.
Specifically, when the internal parameters of the smart device are inconsistent with the matching parameters in the downloaded OTA full package, it is indicated that the types of the downloaded OTA full package and the smart device are not matched, and therefore fool-proof detection is triggered, and the smart device is prevented from being upgraded through the OTA full package.
In this embodiment, through comparing the matching parameters in the OTA full packet with the internal parameters of the intelligent device, it is ensured that the intelligent devices of different branch models of the same type do not perform OTA full packet upgrade each other, and the problem caused by different model functions or inconsistent modem parameters is avoided.
Another embodiment of the present invention is a preferable embodiment of the above-mentioned embodiment, as shown in fig. 2, including:
s100, when the fact that the intelligent device needs to be upgraded is detected, prompt information is generated.
S200, acquiring operation information input by the user aiming at the prompt information.
S300, when the operation information is that upgrading is allowed, downloading an upgrading package.
S400, when the upgrade package is the OTA full package, reading the matching parameters in the OTA full package.
S500, obtaining internal parameters of the intelligent device.
S600, when the internal parameters are inconsistent with the matching parameters, fool-proof detection is triggered to stop upgrading.
S700, entering Recovery upgrading when the internal parameters are consistent with the matching parameters.
Specifically, the Recovery upgrading process is as follows: after the intelligent equipment downloads the upgrade package, the intelligent equipment is automatically shut down and restarted, and the downloaded upgrade package is called for upgrading.
When the internal parameters of the intelligent device are consistent with the matching parameters in the downloaded OTA full volume packet, the type of the downloaded OTA full volume packet is matched with that of the intelligent device, and therefore Recovery upgrading is directly carried out.
In this embodiment, through comparing the matching parameter in the OTA full package with the internal parameter of the intelligent device, ensure that the upgrade is allowed only when the types of the downloaded OTA full package and the intelligent device are matched, and avoid resulting in the abnormal function after the upgrade through the unmatched OTA full package upgrade.
Another embodiment of the present invention is a preferable embodiment of the above-mentioned embodiment, as shown in fig. 3, including:
s100, when the fact that the intelligent device needs to be upgraded is detected, prompt information is generated.
S200, acquiring operation information input by the user aiming at the prompt information.
S300, when the operation information is that upgrading is allowed, downloading an upgrading package.
S350, when the upgrading packet is the OTA differential packet, the Recovery upgrading is carried out.
Specifically, OTA differential packages of intelligent devices of different types and branches are completely different from one another, so that universal upgrade cannot be performed between the OTA differential packages, and function abnormality after upgrade due to upgrade of unmatched upgrade packages cannot be caused.
Therefore, when the downloaded upgrade package is identified to be the OTA differential package, the Recovery upgrade is directly entered, and the system or software of the intelligent device starts to be upgraded.
In addition, based on the reason that OTA differential packages of intelligent equipment with the same type and different type branches can not be mutually used, when a system or software is upgraded, the OTA differential packages are preferentially selected to be downloaded, and only after the OTA differential packages can not be downloaded or the OTA differential packages are downloaded, the OTA full-scale packages can be selected to be downloaded after the OTA differential packages are abnormally upgraded.
S400, when the upgrade package is the OTA full package, reading the matching parameters in the OTA full package.
S500, obtaining internal parameters of the intelligent device.
S600, when the internal parameters are inconsistent with the matching parameters, fool-proof detection is triggered to stop upgrading.
In this embodiment, when the system or software of the intelligent device needs to be upgraded, since the OTA differential packages of the intelligent devices of the same type and different model branches cannot be mutually used, the OTA differential packages are preferentially downloaded when the upgrade packages are downloaded, so that the Recovery upgrade can be quickly and directly performed.
Another embodiment of the present invention is a preferable embodiment of the above-mentioned embodiment, as shown in fig. 4, including:
and S010 adds matching parameters in the OTA full-scale packet.
Specifically, when a developer creates an OTA full package, a matching parameter corresponding to a specific model of the intelligent device suitable for the OTA full package is added to each OTA full package.
S100, when the fact that the intelligent device needs to be upgraded is detected, prompt information is generated.
S200, acquiring operation information input by the user aiming at the prompt information.
S300, when the operation information is that upgrading is allowed, downloading an upgrading package.
S400, when the upgrade package is the OTA full package, reading the matching parameters in the OTA full package.
S500, obtaining internal parameters of the intelligent device.
S600, when the internal parameters are inconsistent with the matching parameters, fool-proofing detection is triggered to prevent upgrading.
In this embodiment, the matching parameters are added to the OTA full packet when the OTA full packet is created, so that the intelligent device can identify the downloaded OTA full packet and match the matching parameters with the internal parameters of the intelligent device, thereby quickly judging whether the downloaded OTA full packet is suitable.
Another embodiment of the present invention is a preferable embodiment of the above-mentioned embodiment, as shown in fig. 5, including:
s050 the operation instruction of the user is obtained.
S060 increasing the internal parameters in the smart device according to the operation instruction.
Specifically, a user operation instruction is obtained, an internal parameter indicating the type of the user operation instruction is added to the intelligent device according to the operation instruction, and the internal parameter added to the intelligent device corresponds to a matching parameter in an OTA full packet applicable to the intelligent device.
S100, when the fact that the intelligent device needs to be upgraded is detected, prompt information is generated.
S200, acquiring operation information input by the user aiming at the prompt information.
S300, when the operation information is that upgrading is allowed, downloading an upgrading package.
S400, when the upgrade package is the OTA full package, reading the matching parameters in the OTA full package.
S500, obtaining internal parameters of the intelligent device.
S600, when the internal parameters are inconsistent with the matching parameters, fool-proofing detection is triggered to prevent upgrading.
In this embodiment, the internal parameter indicating the type of the intelligent device is added to the intelligent device, so that the intelligent device matches the matching parameter of the downloaded OTA full packet with the internal parameter of the intelligent device, and whether the downloaded OTA full packet is suitable is quickly determined.
Another embodiment of the present invention is a preferable embodiment of the above-mentioned embodiment, as shown in fig. 6, and includes:
s050 the operation instruction of the user is obtained.
S060 increasing the internal parameters in the smart device according to the operation instruction.
S100, when the fact that the intelligent device needs to be upgraded is detected, prompt information is generated.
S200, acquiring operation information input by the user aiming at the prompt information.
S300, when the operation information is that upgrading is allowed, downloading an upgrading package.
S400, when the upgrade package is the OTA full package, reading the matching parameters in the OTA full package.
S500, obtaining internal parameters of the intelligent device.
S600, when the internal parameters are inconsistent with the matching parameters, fool-proofing detection is triggered to prevent upgrading.
S700, when the internal parameters are consistent with the matching parameters, the Recovery upgrading is carried out.
The specific operation modes of the steps in this embodiment have been described in detail in the corresponding method embodiments, and thus are not described in detail again.
Another embodiment of the present invention is a preferable embodiment of the above-mentioned embodiment, as shown in fig. 7, including:
s050 the operation instruction of the user is obtained.
S060 increasing the internal parameters in the smart device according to the operation instruction.
S100, when the fact that the intelligent device needs to be upgraded is detected, prompt information is generated.
S200, acquiring operation information input by the user aiming at the prompt information.
S300, when the operation information is that upgrading is allowed, downloading an upgrading package.
S350, when the upgrading packet is the OTA differential packet, the Recovery upgrading is carried out.
S400, when the upgrade package is the OTA full package, reading the matching parameters in the OTA full package.
S500, obtaining internal parameters of the intelligent device.
S600, when the internal parameters are inconsistent with the matching parameters, fool-proofing detection is triggered to prevent upgrading.
The specific operation modes of the steps in this embodiment have been described in detail in the corresponding method embodiments, and thus are not described in detail again.
Another embodiment of the present invention is a preferable embodiment of the above-mentioned embodiment, as shown in fig. 8, including:
and S010 adds matching parameters in the OTA full-scale packet.
S050 the operation instruction of the user is obtained.
S060 increasing the internal parameters in the smart device according to the operation instruction.
S100, when the fact that the intelligent device needs to be upgraded is detected, prompt information is generated.
S200, acquiring operation information input by the user aiming at the prompt information.
S300, when the operation information is that upgrading is allowed, downloading an upgrading package.
S400, when the upgrade package is the OTA full package, reading the matching parameters in the OTA full package.
S500, obtaining internal parameters of the intelligent device.
S600, when the internal parameters are inconsistent with the matching parameters, fool-proof detection is triggered to stop upgrading.
The specific operation modes of the steps in this embodiment have been described in detail in the corresponding method embodiments, and thus are not described in detail again.
In an embodiment of the present invention, as shown in fig. 9, a fool-proof system 100 for upgrading an intelligent device includes an intelligent terminal 200 to be upgraded, where the intelligent terminal 200 specifically includes:
the generating module 210 generates a prompt message when it is detected that the intelligent device needs to be upgraded.
Specifically, the intelligent device obtains the latest version of the system or software of the intelligent device in real time or periodically, and if a new version is released and is higher than the current version of the intelligent device, the generating module 210 generates a prompt message to remind the user that the system or software is to be updated.
The information obtaining module 220 obtains operation information input by a user for the prompt information generated by the generating module 210.
Specifically, when the user sees the generated prompt information, the corresponding operation information is input for the prompt information through the human-computer interaction interface of the information obtaining module 220 to select updating or not updating, and updating immediately or later.
In addition, the user can also select to automatically update and upgrade without inquiring the user and inputting operation information when finding the new version through the system setting.
The downloading module 230 downloads the upgrade package when the operation information acquired by the information acquiring module 220 is allowed to be upgraded.
Specifically, when the obtained operation information input by the user through the human-computer interaction interface is that the intelligent device is allowed to update, the intelligent device initiates an update request to the server, and the download module 230 downloads the latest update package corresponding to the released system or software from the server.
If the user selects to upgrade later or upgrade at a specific time, the request is sent to the server again when the upgrade is allowed to be performed.
The reading module 240 reads the matching parameters in the OTA full package when the upgrade package downloaded by the downloading module 230 is the OTA full package.
Specifically, when the downloaded upgrade package is identified as the OTA full package, the reading module 240 reads the matching parameter in the OTA full package.
And a parameter obtaining module 250 for obtaining the internal parameters of the intelligent device.
Specifically, when the downloaded upgrade package is identified as an OTA full package, the parameter obtaining module 250 obtains the internal parameters of the smart device itself.
When the downloaded upgrade package is identified to be the OTA full package, the sequence of reading the matching parameters in the OTA full package and obtaining the internal parameters of the intelligent device is not provided, and any one of the steps can be performed firstly or simultaneously.
The processing module 260, when the internal parameter obtained by the parameter obtaining module 250 is inconsistent with the matching parameter read by the reading module 240, triggers a fool-proof detection to prevent upgrading.
Specifically, when the internal parameter of the smart device is inconsistent with the matching parameter in the downloaded OTA full package, it indicates that the types of the downloaded OTA full package and the smart device are not matched, and therefore, the processing module 260 triggers the fool-proof detection to prevent the smart device from being upgraded through the OTA full package.
In this embodiment, through comparing the matching parameters in the OTA full packet with the internal parameters of the intelligent device, it is ensured that the intelligent devices of different branch models of the same type do not perform OTA full packet upgrade each other, and the problem caused by different model functions or inconsistent modem parameters is avoided.
Another embodiment of the present invention is an optimized embodiment of the above-mentioned embodiment, as shown in fig. 10, including an intelligent terminal 200 to be upgraded, an operation device 300:
and the operating equipment adds the matching parameters in the OTA full-volume packet.
Specifically, when a developer creates an OTA full package, matching parameters corresponding to the specific model of the intelligent device suitable for the OTA full package are added to each OTA full package through the operation device. Wherein, the operating device may also be the intelligent terminal to be upgraded.
The intelligent terminal specifically comprises:
the instruction obtaining module 280 obtains an operation instruction of a user.
The parameter obtaining module 250290, configured to add the internal parameter to the smart device according to the operation instruction obtained by the instruction obtaining module 280.
Specifically, the instruction obtaining module 280 obtains a user operation instruction, and the parameter obtaining module 250290 adds an internal parameter indicating its type in the smart device according to the operation instruction, where the internal parameter added by the smart device should correspond to a matching parameter in an OTA full packet applicable to the smart device.
The generating module 210 generates a prompt message when it is detected that the intelligent device needs to be upgraded.
Specifically, the intelligent device obtains the latest version of the system or software of the intelligent device in real time or periodically, and if a new version is released and is higher than the current version of the intelligent device, the generating module 210 generates a prompt message to remind the user that the system or software is to be updated.
The information obtaining module 220 obtains operation information input by the user for the prompt information generated by the generating module 210.
Specifically, when the user sees the generated prompt information, the corresponding operation information is input for the prompt information through the human-computer interaction interface of the information obtaining module 220 to select updating or not updating, and updating immediately or later.
In addition, the user can also select to automatically update and upgrade without inquiring the user and inputting operation information when finding the new version through the system setting.
The downloading module 230 downloads the upgrade package when the operation information acquired by the information acquiring module 220 is allowed to be upgraded.
Specifically, when the obtained operation information input by the user through the human-computer interaction interface is that the intelligent device is allowed to update, the intelligent device initiates an update request to the server, and the download module 230 downloads the latest update package corresponding to the released system or software from the server.
If the user selects to upgrade later or upgrade at a specific time, the request is sent to the server again when the upgrade is allowed to be performed.
The control module 270, when the upgrade package downloaded by the downloading module 230 is an OTA differential package, enters Recovery upgrade.
Specifically, OTA differential packages of intelligent devices of different types and branches are completely different from one another, so that universal upgrade cannot be performed between the OTA differential packages, and function abnormality after upgrade due to upgrade of unmatched upgrade packages cannot be caused.
Therefore, when the downloaded upgrade package is recognized as the OTA differential package, the control module 270 directly enters Recovery upgrade, and the system or software of the smart device starts to be upgraded.
In addition, based on the reason that OTA differential packages of intelligent equipment with the same type and different type branches can not be mutually used, when a system or software is upgraded, the OTA differential packages are preferentially selected to be downloaded, and only after the OTA differential packages can not be downloaded or the OTA differential packages are downloaded, the OTA full-scale packages can be selected to be downloaded after the OTA differential packages are abnormally upgraded.
The reading module 240 reads the matching parameters in the OTA full package when the upgrade package downloaded by the downloading module 230 is the OTA full package.
Specifically, when the downloaded upgrade package is identified as the OTA full package, the reading module 240 reads the matching parameter in the OTA full package.
And a parameter obtaining module 250 for obtaining the internal parameters of the intelligent device.
Specifically, when the downloaded upgrade package is identified as an OTA full package, the parameter obtaining module 250 obtains the internal parameters of the smart device itself.
When the downloaded upgrade package is identified to be the OTA full package, the sequence of reading the matching parameters in the OTA full package and obtaining the internal parameters of the intelligent device is not provided, and any one of the steps can be performed firstly or simultaneously.
The processing module 260, when the internal parameter obtained by the parameter obtaining module 250 is inconsistent with the matching parameter read by the reading module 240, triggers a fool-proof detection to prevent upgrading.
Specifically, when the internal parameter of the smart device is inconsistent with the matching parameter in the downloaded OTA full package, it indicates that the types of the downloaded OTA full package and the smart device are not matched, and therefore, the processing module 260 triggers the fool-proof detection to prevent the smart device from being upgraded through the OTA full package.
The processing module 260 enters Recovery upgrade when the internal parameter obtained by the parameter obtaining module 250 is consistent with the matching parameter read by the reading module 240.
Specifically, the Recovery upgrading process is as follows: and after the intelligent equipment downloads the upgrade package, automatically shutting down and restarting, and calling the downloaded upgrade package to upgrade.
When the internal parameters of the intelligent device are consistent with the matching parameters in the downloaded OTA full package, the downloaded OTA full package is indicated to be matched with the type of the intelligent device, and therefore the Recovery upgrade is directly carried out.
In this embodiment, through comparing the matching parameter in the OTA full package with the internal parameter of the intelligent device, ensure that the upgrade is allowed only when the types of the downloaded OTA full package and the intelligent device are matched, and avoid resulting in the abnormal function after the upgrade through the unmatched OTA full package upgrade.
In addition, matching parameters are added in the OTA full package when the OTA full package is created, and internal parameters indicating the type of the OTA full package are added in the intelligent equipment, so that the intelligent equipment can identify the downloaded OTA full package, and the matching parameters of the OTA full package are matched with the internal parameters of the intelligent equipment, and whether the downloaded OTA full package is suitable or not can be judged quickly.
It should be noted that the above embodiments can be freely combined as necessary. The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (6)

1. A fool-proofing method for upgrading of intelligent equipment is characterized by comprising the following steps:
when the intelligent equipment is detected to be required to be upgraded, prompt information is generated;
acquiring operation information input by a user aiming at the prompt information;
when the operation information is allowed to be upgraded, downloading an upgrade package;
entering Recovery upgrading when the upgrading packet is an OTA differential packet;
when the upgrade package is an OTA full package, reading the matching parameters in the OTA full package;
acquiring internal parameters of the intelligent equipment;
when the internal parameters are inconsistent with the matching parameters, fool-proof detection is triggered to prevent upgrading;
and entering Recovery upgrading when the internal parameters are consistent with the matching parameters.
2. The fool-proofing method for upgrading intelligent equipment according to claim 1, further comprising:
and adding the matching parameters in the OTA full-scale package.
3. The fool-proofing method for intelligent device upgrading according to any one of claims 1-2, wherein before generating the prompt message when it is detected that the intelligent device needs to be upgraded, the method comprises:
acquiring an operation instruction of a user;
and adding the internal parameters in the intelligent equipment according to the operation instruction.
4. The utility model provides a fool-proof system of smart machine upgrading which characterized in that, is including the intelligent terminal who treats the upgrading, intelligent terminal specifically includes:
the generating module is used for generating prompt information when the intelligent equipment is detected to be required to be upgraded;
the information acquisition module is used for acquiring operation information input by a user aiming at the prompt information generated by the generation module;
the downloading module is used for downloading the upgrading package when the operation information acquired by the information acquisition module is allowed to be upgraded;
the control module enters Recovery upgrading when the upgrading packet downloaded by the downloading module is an OTA differential packet;
the reading module is used for reading the matching parameters in the OTA full package when the upgrade package downloaded by the downloading module is the OTA full package;
the parameter acquisition module is used for acquiring internal parameters of the intelligent equipment;
the processing module is used for triggering foolproof detection and preventing upgrading when the internal parameters acquired by the parameter acquisition module are inconsistent with the matching parameters read by the reading module;
and the processing module enters Recovery upgrading when the internal parameters acquired by the parameter acquisition module are consistent with the matching parameters read by the reading module.
5. The smart device upgraded fool-proofing system of claim 4, further comprising:
operating a device to add the matching parameters in the OTA full packets.
6. The fool-proofing system for intelligent device upgrade according to any one of claims 4-5, wherein the intelligent terminal further comprises:
the instruction acquisition module is used for acquiring an operation instruction of a user;
and the parameter setting module is used for increasing the internal parameters in the intelligent equipment according to the operation instruction acquired by the instruction acquisition module.
CN201910042929.3A 2019-01-17 2019-01-17 Fool-proof method and system for intelligent equipment upgrading Active CN109766115B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910042929.3A CN109766115B (en) 2019-01-17 2019-01-17 Fool-proof method and system for intelligent equipment upgrading

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910042929.3A CN109766115B (en) 2019-01-17 2019-01-17 Fool-proof method and system for intelligent equipment upgrading

Publications (2)

Publication Number Publication Date
CN109766115A CN109766115A (en) 2019-05-17
CN109766115B true CN109766115B (en) 2022-06-03

Family

ID=66454088

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910042929.3A Active CN109766115B (en) 2019-01-17 2019-01-17 Fool-proof method and system for intelligent equipment upgrading

Country Status (1)

Country Link
CN (1) CN109766115B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110780913B (en) * 2019-10-24 2023-04-07 东莞市小精灵教育软件有限公司 Cross-machine type differential upgrading method and system, storage medium and electronic equipment
CN113252099A (en) * 2021-06-15 2021-08-13 阳春新钢铁有限责任公司 Automatic detection loop system for optimizing primary meter

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161336A (en) * 2015-03-25 2016-11-23 阿里巴巴集团控股有限公司 A kind of information updating method, Apparatus and system
CN106802814A (en) * 2016-12-14 2017-06-06 智车优行科技(北京)有限公司 For the method and device of software release upgrade
CN108337565A (en) * 2018-01-19 2018-07-27 康佳集团股份有限公司 A kind of method, smart television and the storage medium of smart television upgrade checkout

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102012826A (en) * 2010-11-19 2011-04-13 奇智软件(北京)有限公司 Method and system for intelligently installing/upgrading software

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161336A (en) * 2015-03-25 2016-11-23 阿里巴巴集团控股有限公司 A kind of information updating method, Apparatus and system
CN106802814A (en) * 2016-12-14 2017-06-06 智车优行科技(北京)有限公司 For the method and device of software release upgrade
CN108337565A (en) * 2018-01-19 2018-07-27 康佳集团股份有限公司 A kind of method, smart television and the storage medium of smart television upgrade checkout

Also Published As

Publication number Publication date
CN109766115A (en) 2019-05-17

Similar Documents

Publication Publication Date Title
CN106897086B (en) Method, device and system for upgrading robot operating system
CN107809324B (en) Vehicle-mounted automatic diagnosis system equipment and upgrading method thereof
CN109766115B (en) Fool-proof method and system for intelligent equipment upgrading
CN105517015A (en) Upgrading method, device of wifi product by over the air OTA and terminal
CN108874437B (en) Online cloud updating method for android application program
CN105389183A (en) Method and apparatus for making application version and intelligent sound box software version correspond
CN113242288B (en) Internet of things equipment firmware upgrading method, system and device and storage medium
CN108845824A (en) Using update method and device and computer readable storage medium
CN112181455B (en) Online upgrading method of microcontroller, microcontroller and storage medium
CN110750286A (en) Management method, device, system, equipment and medium for upgrading Mbn through OTA
CN112130875A (en) Vehicle ECU software upgrading method, device and system
CN105045671B (en) The method for upgrading system and device of a kind of intelligent terminal
CN113660317A (en) Vehicle-mounted terminal remote upgrading method based on FTP protocol
CN109240726B (en) Software updating method and system
CN114398048A (en) Method and device for automatically upgrading APP and computer equipment
CN111752577A (en) System version upgrading method and device
CN113094064A (en) Gateway software module upgrading method, device, equipment and storage medium
CN103365672A (en) Method and system for processing description information of application program
CN110764809A (en) OTA APN upgrading method, device, equipment and medium
CN104090805B (en) A kind of method, equipment and system for updating terminal operating system
EP3346642A1 (en) Method and device for managing network element model
CN114978904A (en) Remote firmware upgrading method, system, device, embedded equipment and storage medium
CN112596816B (en) Form processing method and device and electronic equipment
CN106155709B (en) Plug-in loading method, device and equipment
KR20040017461A (en) Software version management method for mobile communication device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant