OTA upgrading method and system based on APP interaction, equipment end and APP end
A device-side and device-based technology, applied in the field of communications, can solve problems such as large flow of upgrade packages, no support for incremental upgrades, and a single upgrade method, and achieve the effects of avoiding upgrade exceptions, reducing upgrade complexity, and simplifying upgrade procedures.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment
[0036] Such as figure 2 A schematic flowchart showing an OTA update method based on APP interaction in an embodiment of the present invention.
[0037] Applied to the APP side, the method includes:
[0038] Step S21: requesting the connected server to obtain the device version information corresponding to the device, so as to obtain the device version information.
[0039] In detail, the device version information includes: latest version number, upgrade package download information, upgrade method and gray value. It should be noted that the upgrade package download information includes: the upgrade package URL address and MD5 value; the gray value sent by the server will be deducted after the APP request, and the gray value will be higher than the next request. The current gray value is small.
[0040] Optionally, the upgrade method includes: one of forced upgrade, prompt upgrade, and detection upgrade; wherein, if the forced upgrade is adopted, when the APP enters the de...
Embodiment 1
[0093] Embodiment 1: a kind of OTA upgrade method based on APP interaction; Figure 6 It is a schematic flow chart of OTA update based on APP interaction in this embodiment.
[0094] The upgrade process is as follows:
[0095] 1. The device connects to the Internet, connects to the server, and subscribes to the topic corresponding to MQTT;
[0096] 2. Log in to the APP to obtain device version information, including: the latest firmware version, upgrade package URL&MD5, upgrade method and gray value;
[0097] 3. APP judges whether it can be upgraded
[0098] (1) APP compares the latest version number with the version number reported by Device;
[0099] (2) If it can be upgraded, judge the gray value: the gray value has been exhausted, no prompt for upgrade;
[0100] (3) Determine the upgrade method and make corresponding prompts;
[0101] 4. The user confirms whether to carry out OTA;
[0102] (1) Mandatory upgrade: If the user refuses to upgrade, he will not enter the d...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


