CN108023778A - Firmware upgrade method and its system - Google Patents
Firmware upgrade method and its system Download PDFInfo
- Publication number
- CN108023778A CN108023778A CN201711342453.2A CN201711342453A CN108023778A CN 108023778 A CN108023778 A CN 108023778A CN 201711342453 A CN201711342453 A CN 201711342453A CN 108023778 A CN108023778 A CN 108023778A
- Authority
- CN
- China
- Prior art keywords
- ota
- files
- firmware
- mobile terminal
- module
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/082—Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
- H04W8/24—Transfer of terminal data
- H04W8/245—Transfer of terminal data from a network towards a terminal
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Information Transfer Between Computers (AREA)
- Stored Programmes (AREA)
Abstract
The present invention relates to firmware upgrade method and its system, this method includes downloading OTA files to local by mobile terminal APP or wireless module;Judge the local OTA files that whether there is new version;If so, then obtaining firmware requests, firmware upgrade is carried out according to firmware requests and OTA files;If it is not, then enter end step.The present invention carries out the download of OTA files by the way that mobile terminal APP and wireless module is respectively adopted, section during idle time, by file download to local, firmware upgrade is carried out using the OTA files of download, multiple equipment can at the same time parallel upgrade, realize that the upgrading mode of two kinds of paths is used in combination, reduce the influence to door lock regular traffic, can be with more door locks of parallel upgrade.
Description
Technical field
The present invention relates to field of communication technology, more specifically refers to firmware upgrade method and its system.
Background technology
With being continuously increased for user demand, the firmware upgrade of electronic equipment becomes more and more frequently, existing at present to set
Standby upgrade procedure, embedded device are once connected to internet, the ability for just possessing online upgrading, bluetooth firmware upgrading be to
Firmware is updated, and bug, the effect of consummating function are repaired to reach.
For the dual-purpose door lock of bluetooth and WIFI, upgrading is carried out to bluetooth, and there are two kinds of passages:
First, using mobile phone agency's upgrading bluetooth, it is DFU (Device FirmwareUpdate- to be currently known upgrading mode
Equipment firmware updates), this mode generally provides SDK by bluetooth module producer, and based on Open Source Code, safe and stable property is uncontrollable,
And it is complicated to implementation procedure, unstable, DFU is that mobile phone actively sends data when in use, and Bluetooth door lock passively receives data, nothing
Method realizes that a mobile phone while can not upgrade more Bluetooth door locks, lacks parallel condition, and must be by mobile phone
It can carry out bluetooth upgrading.
Second, using WIFI module agency's upgrading, firmware is carried out more by the serial ports privatization agreement between WIFI and bluetooth
Newly, it is this to be realized under the pattern of no WIFI, therefore applicability is not strong.
Therefore, it is necessary to be related to a kind of firmware upgrade method, realize that the upgrading mode of two kinds of paths is used in combination, reduce to door lock
The influence of regular traffic, can be with more door locks of parallel upgrade.
The content of the invention
The defects of it is an object of the invention to overcome the prior art, there is provided firmware upgrade method and its system.
To achieve the above object, the present invention uses following technical scheme:Firmware upgrade method, the described method includes:
OTA files are downloaded to local by mobile terminal APP or wireless module;
Judge the local OTA files that whether there is new version;
If so, then obtaining firmware requests, firmware upgrade is carried out according to firmware requests and OTA files;
If it is not, then enter end step.
Its further technical solution is:OTA files are downloaded to local step by mobile terminal APP or wireless module,
Including step in detail below:
Judge whether to download OTA files to local using mobile terminal APP;
If so, then using in mobile terminal APP download OTA files to the local Flash of mobile terminal;
If it is not, then using in wireless module download OTA files to the local Flash of wireless module.
Its further technical solution is:Using in mobile terminal APP download OTA files to the local Flash of mobile terminal
The step of, including step in detail below:
Mobile terminal APP is logged in, obtains equipment state;
The version information of acquisition request firmware file;
Judge high in the clouds with the presence or absence of new version OTA files and the local Flash of mobile terminal in do not have corresponding version
OTA files;
If so, then data are downloaded in the local Flash of mobile terminal using http, and carry out firmware verification;
If it is not, then return to the information of the OTA files without new version.
Its further technical solution is:Step in OTA files to the local Flash of wireless module is downloaded using wireless module
Suddenly, including in detail below step:
Obtain the request for checking high in the clouds file version information;
Package request, forms http request, and sends to high in the clouds;
Judge high in the clouds with the presence or absence of new version OTA files and the Flash of wireless module local in do not have corresponding version
OTA files;
If so, then data are downloaded in the Flash of wireless module local using http, and carry out firmware verification;
If it is not, then return to the information of the OTA files without new version.
Its further technical solution is:Firmware requests are obtained, firmware upgrade is carried out according to firmware requests and OTA files
Step, including step in detail below:
Send notification information;
Obtain firmware requests;
Judge whether firmware needs to upgrade according to firmware requests;
If firmware needs to upgrade, OTA files are obtained;
Judge whether the acquisition of completion OTA files;
If completing the acquisition of OTA files, send request and terminate response, and according to respond request restarting equipment, send and rise
Level information simultaneously updates firmware information;
If not completing the acquisition of OTA files, the step of obtaining OTA files is returned;
If firmware need not upgrade, notice of the feedback without upgrading.
Present invention also offers firmware upgrade system, including file download unit, file judging unit and upgrade unit;
The file download unit, for downloading OTA files to local by mobile terminal APP or wireless module;
The file judging unit, for judging the local OTA files that whether there is new version;
The upgrade unit, for if so, firmware requests are then obtained, according to firmware requests and OTA files progress firmware
Upgrading.
Its further technical solution is:The file download unit includes downloading judgment module, mobile terminal download module
And wireless downloading module;
The download judgment module, for judging whether to download OTA files to local using mobile terminal APP;
The mobile terminal download module, for if so, then downloading OTA files to mobile terminal using mobile terminal APP
Local Flash in;
The wireless downloading module, for if it is not, then downloading OTA files to the local of wireless module using wireless module
In Flash.
Its further technical solution is:The mobile terminal download module includes state acquisition submodule, the first request
Module and the first judging submodule;
The state acquisition submodule, for logging in mobile terminal APP, obtains equipment state;
The first request submodule, the version information for acquisition request firmware file;
First judging submodule, for judging high in the clouds with the presence or absence of the OTA files of new version and the sheet of mobile terminal
There are not the OTA files of corresponding version in ground Flash;If so, data are then downloaded to the local Flash of mobile terminal using http
It is interior, and carry out firmware verification;If it is not, then return to the information of the OTA files without new version.
Its further technical solution is:The wireless downloading module include acquisition request submodule, encapsulation submodule and
Second judgment submodule;
The acquisition request submodule, the request of high in the clouds file version information is checked for obtaining;
The encapsulation submodule, for package request, forms http request, and send to high in the clouds;
The second judgment submodule, for judging that high in the clouds is local with the presence or absence of the OTA files and wireless module of new version
Flash in do not have the OTA files of corresponding version;If so, data are then downloaded to the Flash of wireless module local using http
It is interior, and carry out firmware verification;If it is not, then return to the information of the OTA files without new version.
Its further technical solution is:The upgrade unit includes information sending module, firmware requests acquisition module, upgrading
Judgment module, file acquisition module and acquisition judgment module;
Described information sending module, for sending notification information;
The firmware requests acquisition module, for obtaining firmware requests;
The upgrading judgment module, for judging whether firmware needs to upgrade according to firmware requests;If firmware need not rise
Level, the then notice that feedback need not upgrade;
The file acquisition module, if needing to upgrade for firmware, obtains OTA files;
The acquisition judgment module, for judging whether the acquisition of completion OTA files;If completing the acquisition of OTA files,
Send request and terminate response, and according to respond request restarting equipment, send upgrade information and update firmware information;If do not complete
The acquisition of OTA files, then return and obtain OTA files.
Compared with the prior art, the invention has the advantages that:The firmware upgrade method of the present invention, is moved by being respectively adopted
Dynamic terminal APP and wireless module carry out the download of OTA files, and section, by file download to local, utilizes download during idle time
OTA files carry out firmware upgrade, multiple equipment can at the same time parallel upgrade, realize that the upgrading mode of two kinds of paths is used in combination, reduce
Influence to door lock regular traffic, can be with more door locks of parallel upgrade.
The invention will be further described with specific embodiment below in conjunction with the accompanying drawings.
Brief description of the drawings
Fig. 1 is the flow chart for the firmware upgrade method that the specific embodiment of the invention provides;
Fig. 2 is specific embodiment of the invention offer by mobile terminal APP or Wi-Fi download OTA files to local
Flow chart;
Fig. 3 is specific embodiment of the invention offer using mobile terminal APP download OTA files to the local of mobile terminal
Flow chart one in Flash;
Fig. 4 is specific embodiment of the invention offer using mobile terminal APP download OTA files to the local of mobile terminal
Flowchart 2 in Flash;
Fig. 5 is specific embodiment of the invention offer using in Wi-Fi download OTA files to the Flash of Wi-Fi locals
Flow chart one;
Fig. 6 is specific embodiment of the invention offer using in Wi-Fi download OTA files to the Flash of Wi-Fi locals
Flowchart 2;
Fig. 7 is the acquisition firmware requests that the specific embodiment of the invention provides and is carried out according to firmware requests and OTA files
The flow chart of firmware upgrade;
Fig. 8 is the structure diagram for the firmware upgrade system that the specific embodiment of the invention provides;
Fig. 9 is the structure diagram for the file download unit that the specific embodiment of the invention provides;
Figure 10 is the structure diagram for the mobile terminal download module that the specific embodiment of the invention provides;
Figure 11 is the structure diagram for the wireless downloading module that the specific embodiment of the invention provides;
Figure 12 is the structure diagram for the upgrade unit that the specific embodiment of the invention provides;
Figure 13 is the flow chart for the exchange data that the specific embodiment of the invention provides.
Embodiment
In order to more fully understand the present invention technology contents, with reference to specific embodiment to technical scheme into
One step introduction and explanation, but not limited to this.
Specific embodiment as shown in figs. 1-13, firmware upgrade method provided in this embodiment, can be used in bluetooth intelligence
During the firmware upgrade of energy door lock, product function upgrading, system are repaired, realize that the upgrading mode of two kinds of paths is used in combination, subtract
Few influence to door lock regular traffic, can be with more door locks of parallel upgrade.
As shown in Figure 1, present embodiments providing firmware upgrade method, this method includes:
S1, by mobile terminal APP or wireless module download OTA files to local;
S2, judge the local OTA files that whether there is new version;
If so, then S3, obtain firmware requests, firmware upgrade is carried out according to firmware requests and OTA files;
If it is not, then enter end step.
Further, in certain embodiments, above-mentioned S1 steps, are downloaded by mobile terminal APP or wireless module
OTA files are to local step, including step in detail below:
S11, judge whether to download OTA files to local using mobile terminal APP;
S12, if so, then downloading OTA files in the local Flash of mobile terminal using mobile terminal APP;
S13, if it is not, then downloading OTA files in the local Flash of wireless module using wireless module.
Further, in certain embodiments, above-mentioned S12 steps, OTA files are downloaded extremely using mobile terminal APP
Step in the local Flash of mobile terminal, including step in detail below:
S121, log in mobile terminal APP, obtains equipment state;
The version information of S122, acquisition request firmware file;
S123, judge high in the clouds with the presence or absence of new version OTA files and the local Flash of mobile terminal in do not have corresponding version
This OTA files;
S124, if so, then data are downloaded in the local Flash of mobile terminal using http, and carry out firmware verification;
S125, if it is not, then return the OTA files without new version information.
Further, in certain embodiments, above-mentioned S13 steps, OTA files are downloaded to wireless using wireless module
Step in the local Flash of module, including step in detail below:
S131, obtain the request for checking high in the clouds file version information;
S132, package request, form http request, and send to high in the clouds;
S133, judge high in the clouds with the presence or absence of new version OTA files and the Flash of wireless module local in do not have corresponding version
This OTA files;
S134, if so, then data are downloaded in the Flash of wireless module local using http, and carry out firmware verification;
S135, if it is not, then return the OTA files without new version information.
Above-mentioned wireless module includes WIFI module, 4G modules, Zigbee module, 433 modules, the upgrading side of two kinds of paths
Formula downloads file, and mobile terminal APP and wireless module download firmware to locally, reduce the shadow to door lock regular traffic during idle time
Ring.
For above-mentioned S131 steps, after the MCU wake-ups of door lock, " inspection high in the clouds new edition is carried out to high in the clouds according to business
This " request.Specifically, it is detected or in daily setting time (such as 3 points of morning) in every 12 heart beat cycles of door lock
It is detected.
Further, in certain embodiments, above-mentioned S3 steps, obtain firmware requests, according to firmware requests and
OTA files carry out the step of firmware upgrade, including step in detail below:
S31, send notification information;
S32, obtain firmware requests;
S33, according to firmware requests judge whether firmware needs to upgrade;
If S34, firmware need to upgrade, OTA files are obtained;
S35, judge whether to complete the acquisition of OTA files;
If S36, the acquisition for completing OTA files, send request and terminate response, and according to respond request restarting equipment, hair
Send upgrade information and update firmware information;
If not completing the acquisition of OTA files, S34 steps are returned;
If S37, firmware need not upgrade, notice of the feedback without upgrading.
Above-mentioned mobile terminal APP can be portable equipment terminal.
Specifically, for example:WIFI/APP is having found locally then to notify door lock there are new edition.This message is only to send out
A notice is sent, without any useful information.Door lock sends firmware requests, can after the notification information of WIFI/APP is received
To send this message, alternatively, door lock can send this message at any time, as long as business needs;Door lock is according to WIFI/
The firmware requests response of APP, judges whether to need to upgrade, if desired, and door lock actively sends request of data, request data, if
WIFI/APP carries out request of data response, judges whether data have requested that end, terminates if so, sending request of data, receives
After request terminates response, then according to the requirement of response, if need to restart immediately, if it is, restarting;Send upgrading into
Work(or failure, and firmware information is updated to WIFI/APP.
Data are exchanged using C/S model between bluetooth equipment and mobile terminal, WIFI module, can with parallel upgrade more set
It is standby.
Above-mentioned firmware upgrade method, is carried out under OTA files by the way that mobile terminal APP and wireless module is respectively adopted
Carry, during idle time section, by file download to local, carry out firmware upgrade using the OTA files of download, multiple equipment can be at the same time
Parallel upgrade, realizes that the upgrading mode of two kinds of paths is used in combination, reduces the influence to door lock regular traffic, can be more with parallel upgrade
Door lock.
As shown in figure 8, present embodiments providing firmware upgrade system, it includes file download unit 1, file judging unit
2 and upgrade unit 3.
File download unit 1, for downloading OTA files to local by mobile terminal APP or wireless module.
File judging unit 2, for judging the local OTA files that whether there is new version.
Upgrade unit 3, for if so, firmware requests are then obtained, according to firmware requests and OTA files progress firmware liter
Level.
Further, in certain embodiments, above-mentioned file download unit 1 includes downloading judgment module 11, movement
Terminal downloads module 12 and wireless downloading module 13.
Judgment module 11 is downloaded, for judging whether to download OTA files to local using mobile terminal APP.
Mobile terminal download module 12, for if so, then downloading OTA files to mobile terminal using mobile terminal APP
In local Flash.
Wireless downloading module 13, for if it is not, then downloading OTA files to the local of wireless module using wireless module
In Flash.
Further, in certain embodiments, above-mentioned mobile terminal download module 12 includes state acquisition submodule
121st, the first request 122 and first judging submodule 123 of submodule.
State acquisition submodule 121, for logging in mobile terminal APP, obtains equipment state.
First request submodule 122, the version information for acquisition request firmware file.
First judging submodule 123, for judging high in the clouds with the presence or absence of the OTA files of new version and the local of mobile terminal
There are not the OTA files of corresponding version in Flash;If so, data are then downloaded to the local Flash of mobile terminal using http
It is interior, and carry out firmware verification;If it is not, then return to the information of the OTA files without new version.
Further, in certain embodiments, above-mentioned wireless downloading module 13 include acquisition request submodule 131,
Encapsulate submodule 132 and second judgment submodule 133.
Acquisition request submodule 131, the request of high in the clouds file version information is checked for obtaining.
Submodule 132 is encapsulated, for package request, forms http request, and send to high in the clouds.
Second judgment submodule 133, for judging high in the clouds with the presence or absence of OTA files and the wireless module local of new version
There are not the OTA files of corresponding version in Flash;If so, data are then downloaded to the Flash of wireless module local using http
It is interior, and carry out firmware verification;If it is not, then return to the information of the OTA files without new version.
Above-mentioned wireless module includes WIFI module, 4G modules, Zigbee module, 433 modules, the upgrading side of two kinds of paths
Formula downloads file, and mobile terminal APP and wireless module download firmware to locally, reduce the shadow to door lock regular traffic during idle time
Ring.
For above-mentioned acquisition request submodule 131, after the MCU wake-ups of door lock, carried out according to business to high in the clouds
" checking high in the clouds new version " request.Specifically, it is detected or in daily setting time in every 12 heart beat cycles of door lock
(such as 3 points of morning) is detected.
Further, above-mentioned upgrade unit 3 includes information sending module 31, firmware requests acquisition module 32, upgrading
Judgment module 33, file acquisition module 34 and acquisition judgment module 35.
Information sending module 31, for sending notification information.
Firmware requests acquisition module 32, for obtaining firmware requests.
Upgrade judgment module 33, for judging whether firmware needs to upgrade according to firmware requests;If firmware need not upgrade,
Then notice of the feedback without upgrading.
File acquisition module 34, if needing to upgrade for firmware, obtains OTA files.
Judgment module 35 is obtained, for judging whether the acquisition of completion OTA files;If completing the acquisition of OTA files, send out
Send request to terminate response, and according to respond request restarting equipment, send upgrade information and update firmware information;If OTA is not completed
The acquisition of file, then return and obtain OTA files.
Above-mentioned mobile terminal APP can be portable equipment terminal.
Specifically, for example:WIFI/APP is having found locally then to notify door lock there are new edition.This message is only to send out
A notice is sent, without any useful information.Door lock sends firmware requests, can after the notification information of WIFI/APP is received
To send this message, alternatively, door lock can send this message at any time, as long as business needs;Door lock is according to WIFI/
The firmware requests response of APP, judges whether to need to upgrade, if desired, and door lock actively sends request of data, request data, if
WIFI/APP carries out request of data response, judges whether data have requested that end, terminates if so, sending request of data, receives
After request terminates response, then according to the requirement of response, if need to restart immediately, if it is, restarting;Send upgrading into
Work(or failure, and firmware information is updated to WIFI/APP.
Data are exchanged using C/S model between bluetooth equipment and mobile terminal, WIFI module, can with parallel upgrade more set
It is standby.
Above-mentioned firmware upgrade system, is carried out under OTA files by the way that mobile terminal APP and wireless module is respectively adopted
Carry, during idle time section, by file download to local, carry out firmware upgrade using the OTA files of download, multiple equipment can be at the same time
Parallel upgrade, realizes that the upgrading mode of two kinds of paths is used in combination, reduces the influence to door lock regular traffic, can be more with parallel upgrade
Door lock.
The above-mentioned technology contents that the present invention is only further illustrated with embodiment, in order to which reader is easier to understand, but not
Represent embodiments of the present invention and be only limitted to this, any technology done according to the present invention extends or recreation, by the present invention's
Protection.Protection scope of the present invention is subject to claims.
Claims (10)
1. firmware upgrade method, it is characterised in that the described method includes:
OTA files are downloaded to local by mobile terminal APP or wireless module;
Judge the local OTA files that whether there is new version;
If so, then obtaining firmware requests, firmware upgrade is carried out according to firmware requests and OTA files;
If it is not, then enter end step.
2. firmware upgrade method according to claim 1, it is characterised in that by under mobile terminal APP or wireless module
OTA files are carried to local step, including step in detail below:
Judge whether to download OTA files to local using mobile terminal APP;
If so, then using in mobile terminal APP download OTA files to the local Flash of mobile terminal;
If it is not, then using in wireless module download OTA files to the local Flash of wireless module.
3. firmware upgrade method according to claim 2, it is characterised in that OTA files are downloaded extremely using mobile terminal APP
Step in the local Flash of mobile terminal, including step in detail below:
Mobile terminal APP is logged in, obtains equipment state;
The version information of acquisition request firmware file;
Judge high in the clouds with the presence or absence of the OTA texts for not having corresponding version in the OTA files and the local Flash of mobile terminal of new version
Part;
If so, then data are downloaded in the local Flash of mobile terminal using http, and carry out firmware verification;
If it is not, then return to the information of the OTA files without new version.
4. firmware upgrade method according to claim 2, it is characterised in that OTA files are downloaded to nothing using wireless module
Step in the local Flash of wire module, including step in detail below:
Obtain the request for checking high in the clouds file version information;
Package request, forms http request, and sends to high in the clouds;
Judge high in the clouds with the presence or absence of the OTA texts for not having corresponding version in the OTA files and the Flash of wireless module local of new version
Part;
If so, then data are downloaded in the Flash of wireless module local using http, and carry out firmware verification;
If it is not, then return to the information of the OTA files without new version.
5. firmware upgrade method according to any one of claims 1 to 4, it is characterised in that firmware requests are obtained, according to solid
The step of part is asked and OTA files carry out firmware upgrade, including step in detail below:
Send notification information;
Obtain firmware requests;
Judge whether firmware needs to upgrade according to firmware requests;
If firmware needs to upgrade, OTA files are obtained;
Judge whether the acquisition of completion OTA files;
If completing the acquisition of OTA files, send request and terminate response, and according to respond request restarting equipment, send upgrading letter
Cease and update firmware information;
If not completing the acquisition of OTA files, the step of obtaining OTA files is returned;
If firmware need not upgrade, notice of the feedback without upgrading.
6. firmware upgrade system, it is characterised in that including file download unit, file judging unit and upgrade unit;
The file download unit, for downloading OTA files to local by mobile terminal APP or wireless module;
The file judging unit, for judging the local OTA files that whether there is new version;
The upgrade unit, for if so, firmware requests are then obtained, according to firmware requests and the progress firmware upgrade of OTA files.
7. firmware upgrade system according to claim 6, it is characterised in that the file download unit, which includes downloading, to be judged
Module, mobile terminal download module and wireless downloading module;
The download judgment module, for judging whether to download OTA files to local using mobile terminal APP;
The mobile terminal download module, for if so, then downloading OTA files to the sheet of mobile terminal using mobile terminal APP
In ground Flash;
The wireless downloading module, for if it is not, then downloading OTA files to the local Flash of wireless module using wireless module
It is interior.
8. firmware upgrade system according to claim 7, it is characterised in that the mobile terminal download module includes state
Acquisition submodule, the first request submodule and the first judging submodule;
The state acquisition submodule, for logging in mobile terminal APP, obtains equipment state;
The first request submodule, the version information for acquisition request firmware file;
First judging submodule, for judging high in the clouds with the presence or absence of the OTA files of new version and the local of mobile terminal
There are not the OTA files of corresponding version in Flash;If so, data are then downloaded to the local Flash of mobile terminal using http
It is interior, and carry out firmware verification;If it is not, then return to the information of the OTA files without new version.
9. firmware upgrade system according to claim 8, it is characterised in that the wireless downloading module includes acquisition request
Submodule, encapsulation submodule and second judgment submodule;
The acquisition request submodule, the request of high in the clouds file version information is checked for obtaining;
The encapsulation submodule, for package request, forms http request, and send to high in the clouds;
The second judgment submodule, for judging high in the clouds with the presence or absence of OTA files and the wireless module local of new version
There are not the OTA files of corresponding version in Flash;If so, data are then downloaded to the Flash of wireless module local using http
It is interior, and carry out firmware verification;If it is not, then return to the information of the OTA files without new version.
10. firmware upgrade system according to claim 9, it is characterised in that the upgrade unit includes information and sends mould
Block, firmware requests acquisition module, upgrading judgment module, file acquisition module and acquisition judgment module;
Described information sending module, for sending notification information;
The firmware requests acquisition module, for obtaining firmware requests;
The upgrading judgment module, for judging whether firmware needs to upgrade according to firmware requests;If firmware need not upgrade,
Notice of the feedback without upgrading;
The file acquisition module, if needing to upgrade for firmware, obtains OTA files;
The acquisition judgment module, for judging whether the acquisition of completion OTA files;If completing the acquisition of OTA files, send
Request terminates response, and according to respond request restarting equipment, sends upgrade information and update firmware information;If OTA texts are not completed
The acquisition of part, then return and obtain OTA files.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711342453.2A CN108023778A (en) | 2017-12-14 | 2017-12-14 | Firmware upgrade method and its system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711342453.2A CN108023778A (en) | 2017-12-14 | 2017-12-14 | Firmware upgrade method and its system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108023778A true CN108023778A (en) | 2018-05-11 |
Family
ID=62073507
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711342453.2A Pending CN108023778A (en) | 2017-12-14 | 2017-12-14 | Firmware upgrade method and its system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108023778A (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109062589A (en) * | 2018-06-07 | 2018-12-21 | 深圳市小石安防科技有限公司 | Smart lock Oftware updating method and device |
CN109246205A (en) * | 2018-08-27 | 2019-01-18 | 武汉市国扬科技集团有限公司 | A kind of smart lock upgrade method and device based on mobile Internet and bluetooth |
CN109733244A (en) * | 2019-02-15 | 2019-05-10 | 上海蔚来汽车有限公司 | By the charge control between electric car and charging equipment |
CN109857437A (en) * | 2019-01-22 | 2019-06-07 | 安克创新科技股份有限公司 | A kind of upgrade method and system of bluetooth equipment |
CN110175042A (en) * | 2019-06-04 | 2019-08-27 | 深圳云里物里科技股份有限公司 | A kind of firmware upgrade method, device and its relevant device |
CN110321173A (en) * | 2019-06-18 | 2019-10-11 | 广东汇泰龙科技股份有限公司 | A kind of door lock is switched fast the method and intelligent cloud lock of wireless communication module and firmware |
CN110535954A (en) * | 2019-09-02 | 2019-12-03 | 北京百佑科技有限公司 | Upgrade method, upgrade-system, intelligent gateway and the storage medium of door lock firmware |
CN111225056A (en) * | 2020-01-07 | 2020-06-02 | 杭州涂鸦信息技术有限公司 | OTA-based intelligent door lock upgrading method and system |
CN111416850A (en) * | 2020-03-13 | 2020-07-14 | 上海桑锐电子科技股份有限公司 | NB-IOT meter firmware upgrading system and upgrading method |
CN112230957A (en) * | 2020-10-16 | 2021-01-15 | 深圳市中江天华科技有限公司 | Equipment upgrading method based on cloud and application bridging |
CN112667267A (en) * | 2019-10-15 | 2021-04-16 | 宁波吉德电器有限公司 | Washing machine firmware upgrading method and washing machine |
CN112671591A (en) * | 2021-01-15 | 2021-04-16 | 江苏米塔网络科技服务有限公司 | Remote updating method based on OTA technology |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2076834A1 (en) * | 2006-07-14 | 2009-07-08 | Samsung Electronics Co., Ltd | Program upgrade system and method for ota-capable mobile terminal |
CN104915237A (en) * | 2015-06-24 | 2015-09-16 | 深圳市兰丁科技有限公司 | Upgrading method and upgrading control method of Bluetooth device firmware program, and equipment |
CN105204911A (en) * | 2015-10-15 | 2015-12-30 | 成都艾克尔特医疗科技有限公司 | Method and system for upgrading firmware of vital sign monitoring bracelet |
CN105516751A (en) * | 2015-12-28 | 2016-04-20 | 山东泰信电子股份有限公司 | Set-top-box/television and upgrading method thereof |
CN105847067A (en) * | 2016-05-25 | 2016-08-10 | 北京小米移动软件有限公司 | Method and device for upgrading Zigbee equipment |
CN106507339A (en) * | 2016-09-18 | 2017-03-15 | 深圳市青柠互动科技开发有限公司 | A kind of aerial upgrade system and method for smart machine firmware |
CN107247589A (en) * | 2017-06-02 | 2017-10-13 | 广东汇泰龙科技有限公司 | A kind of door lock firmware upgrade method based on OTA |
CN107301064A (en) * | 2017-05-19 | 2017-10-27 | 深圳Tcl新技术有限公司 | Upgrade method, television terminal and the computer-readable recording medium of bluetooth firmware |
-
2017
- 2017-12-14 CN CN201711342453.2A patent/CN108023778A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2076834A1 (en) * | 2006-07-14 | 2009-07-08 | Samsung Electronics Co., Ltd | Program upgrade system and method for ota-capable mobile terminal |
CN104915237A (en) * | 2015-06-24 | 2015-09-16 | 深圳市兰丁科技有限公司 | Upgrading method and upgrading control method of Bluetooth device firmware program, and equipment |
CN105204911A (en) * | 2015-10-15 | 2015-12-30 | 成都艾克尔特医疗科技有限公司 | Method and system for upgrading firmware of vital sign monitoring bracelet |
CN105516751A (en) * | 2015-12-28 | 2016-04-20 | 山东泰信电子股份有限公司 | Set-top-box/television and upgrading method thereof |
CN105847067A (en) * | 2016-05-25 | 2016-08-10 | 北京小米移动软件有限公司 | Method and device for upgrading Zigbee equipment |
CN106507339A (en) * | 2016-09-18 | 2017-03-15 | 深圳市青柠互动科技开发有限公司 | A kind of aerial upgrade system and method for smart machine firmware |
CN107301064A (en) * | 2017-05-19 | 2017-10-27 | 深圳Tcl新技术有限公司 | Upgrade method, television terminal and the computer-readable recording medium of bluetooth firmware |
CN107247589A (en) * | 2017-06-02 | 2017-10-13 | 广东汇泰龙科技有限公司 | A kind of door lock firmware upgrade method based on OTA |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109062589A (en) * | 2018-06-07 | 2018-12-21 | 深圳市小石安防科技有限公司 | Smart lock Oftware updating method and device |
CN109246205A (en) * | 2018-08-27 | 2019-01-18 | 武汉市国扬科技集团有限公司 | A kind of smart lock upgrade method and device based on mobile Internet and bluetooth |
CN109857437A (en) * | 2019-01-22 | 2019-06-07 | 安克创新科技股份有限公司 | A kind of upgrade method and system of bluetooth equipment |
CN109733244B (en) * | 2019-02-15 | 2022-02-11 | 上海蔚来汽车有限公司 | Charge control between powered vehicle and charging apparatus |
CN109733244A (en) * | 2019-02-15 | 2019-05-10 | 上海蔚来汽车有限公司 | By the charge control between electric car and charging equipment |
CN110175042A (en) * | 2019-06-04 | 2019-08-27 | 深圳云里物里科技股份有限公司 | A kind of firmware upgrade method, device and its relevant device |
CN110321173A (en) * | 2019-06-18 | 2019-10-11 | 广东汇泰龙科技股份有限公司 | A kind of door lock is switched fast the method and intelligent cloud lock of wireless communication module and firmware |
CN110321173B (en) * | 2019-06-18 | 2022-05-27 | 广东汇泰龙科技股份有限公司 | Method for rapidly switching wireless communication module and firmware of door lock and intelligent cloud lock |
CN110535954A (en) * | 2019-09-02 | 2019-12-03 | 北京百佑科技有限公司 | Upgrade method, upgrade-system, intelligent gateway and the storage medium of door lock firmware |
CN110535954B (en) * | 2019-09-02 | 2022-02-01 | 北京百佑科技有限公司 | Door lock firmware upgrading method, upgrading system, intelligent gateway and storage medium |
CN112667267A (en) * | 2019-10-15 | 2021-04-16 | 宁波吉德电器有限公司 | Washing machine firmware upgrading method and washing machine |
CN111225056A (en) * | 2020-01-07 | 2020-06-02 | 杭州涂鸦信息技术有限公司 | OTA-based intelligent door lock upgrading method and system |
CN111416850A (en) * | 2020-03-13 | 2020-07-14 | 上海桑锐电子科技股份有限公司 | NB-IOT meter firmware upgrading system and upgrading method |
CN112230957A (en) * | 2020-10-16 | 2021-01-15 | 深圳市中江天华科技有限公司 | Equipment upgrading method based on cloud and application bridging |
CN112671591A (en) * | 2021-01-15 | 2021-04-16 | 江苏米塔网络科技服务有限公司 | Remote updating method based on OTA technology |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108023778A (en) | Firmware upgrade method and its system | |
CN110225487B (en) | Profile generating and acquiring method, related equipment and storage medium | |
CN110401687B (en) | Configuration file transmission method, related equipment and storage medium | |
CN109981360B (en) | Internet of things equipment site opening method, device and system and storage medium | |
CN101958933A (en) | Method and device for upgrading terminal software | |
CN105933888A (en) | Burning method and device of eSIM (Subscriber Identity Module) card based on NFC | |
CN106339236A (en) | Software upgrading method, client, interphone and soft upgrading system | |
CN104714817A (en) | Method, system and control terminal for upgrading household appliance software through infrared signal | |
CN109257793A (en) | Method for connecting network, device, equipment and storage medium | |
CN110839232B (en) | eSIM profile updating method | |
CN110825422A (en) | System for managing MCU version of intelligent household equipment | |
CN104615464A (en) | Updating method, device and system for wearable equipment | |
CN103825937B (en) | A kind of method, equipment and system for controlling the renewal of embedded device data | |
CN111181752B (en) | Narrowband device upgrading method, mobile terminal and readable storage medium | |
CN107733974A (en) | A kind of upgrade method of mobile terminal | |
EP2905942A1 (en) | Application popularization method, device and system | |
KR20180050001A (en) | Firmware upgrade system and method for IoT | |
CN109151081A (en) | Produce comprehensive survey method and device, intelligent terminal, readable storage medium storing program for executing | |
CN109639842B (en) | NB-IOT equipment software upgrading system and method | |
CN105791361A (en) | Remote assisted setting method, server, terminal and system | |
CN103491557B (en) | The processing method and processing device of upgrading base station data | |
EP3015990A1 (en) | Information processing device, and destination information updating method and program | |
CN106912037A (en) | A kind of OTA upgrade methods and device | |
CN103207790A (en) | Operating system updating method and terminal | |
CN105872106A (en) | Over-the-air upgrade method, over-the-air server and terminal |
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 | ||
AD01 | Patent right deemed abandoned | ||
AD01 | Patent right deemed abandoned |
Effective date of abandoning: 20220315 |