CN116455744A - WiFi module and MCU upgrading method - Google Patents
WiFi module and MCU upgrading method Download PDFInfo
- Publication number
- CN116455744A CN116455744A CN202310094830.4A CN202310094830A CN116455744A CN 116455744 A CN116455744 A CN 116455744A CN 202310094830 A CN202310094830 A CN 202310094830A CN 116455744 A CN116455744 A CN 116455744A
- Authority
- CN
- China
- Prior art keywords
- mcu
- wifi module
- mobile phone
- terminal
- server
- 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
- 238000000034 method Methods 0.000 title claims abstract description 23
- 102100039424 Polyadenylate-binding protein 4 Human genes 0.000 claims abstract description 17
- 101100055496 Arabidopsis thaliana APP2 gene Proteins 0.000 claims abstract description 16
- 101100016250 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) GYL1 gene Proteins 0.000 claims abstract description 16
- 101150053844 APP1 gene Proteins 0.000 claims abstract description 13
- 101100189105 Homo sapiens PABPC4 gene Proteins 0.000 claims abstract description 13
- 238000009434 installation Methods 0.000 claims description 6
- 230000009286 beneficial effect Effects 0.000 abstract description 10
- 230000003993 interaction Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- 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/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- 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
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Mobile Radio Communication Systems (AREA)
- Stored Programmes (AREA)
Abstract
The invention provides a WiFi module and an MCU upgrading method, comprising the following steps: the server acquires the current version numbers of a Wi F i module and an MCU of the equipment terminal; the method comprises the steps that a server obtains a latest program APP1 of a Wi F i module or a latest program APP2 of an MCU through a back-end management platform, and the server obtains a first updating instruction through the back-end management platform; the mobile phone terminal judges whether the equipment terminal bound with the mobile phone terminal is in an updatable state, and if the equipment terminal is in the updatable state, the current version numbers and the latest version numbers of the Wi-fi module and the MCU of the mobile phone terminal are pulled to the server; the mobile phone terminal judges whether the Wi F i module and the MCU of the equipment terminal bound with the mobile phone terminal need to be updated; the device terminal pulls APP1 or APP2 from the server. The beneficial effects of the invention are as follows: and the remote upgrading of the Wi F i module or the MCU program of the Internet of things system without an upper computer is realized. The whole scheme is simple and reasonable.
Description
Technical Field
The invention relates to the technical field of firmware upgrading, in particular to a WiFi module and an MCU upgrading method.
Background
The internet of things system generally comprises a server and a device terminal, wherein the device terminal at least comprises an MCU and a communication component. The server can upload or change data through the back-end management platform for managing equipment terminals, and part of the internet of things system is also connected with mobile phone terminals for users to remotely control the equipment terminals. The system comprises an Internet of things system, a communication component and a communication component, wherein the Internet of things system also comprises an upper computer, the communication component is positioned on the upper computer, the upper computer generally has better storage performance and calculation performance, and part of the upper computer is provided with a large screen, so that high-quality terminal calculation and interaction are realized; the other type of internet of things system does not comprise an upper computer, and is communicated with the server only through one communication module (for example, a WiFi module), so that the cost is low.
For the second type of internet of things system, the MCU program and the WiFi module program are generally burnt before the equipment terminal leaves the factory, and once the program burnt by the factory has BUG or data loss, the program must be returned to the factory for re-burning.
Disclosure of Invention
The invention aims to provide an MCU upgrading method convenient for remote upgrading.
The invention provides a WiFi module and an MCU upgrading method, wherein the parts related to the method comprise a server, a mobile phone terminal in communication connection with the server and a device terminal in communication connection with the server; the mobile phone terminal and the equipment terminal are mutually bound; the equipment terminal comprises a WiFi module and an MCU, wherein the WiFi module is in communication connection with the server, and the WiFi module is connected with the MCU; the method comprises the following steps:
s1, a server acquires the current version numbers of a WiFi module and an MCU of a device terminal;
s2, a server obtains a latest program APP1 of a WiFi module or a latest program APP2 of an MCU through a rear-end management platform, and the server obtains a first updating instruction through the rear-end management platform;
s3, the mobile phone terminal judges whether the equipment terminal bound with the mobile phone terminal is in an updatable state, and if the equipment terminal is in the updatable state, the current version numbers and the latest version numbers of the WiFi module and the MCU are pulled to the server;
s4, the mobile phone terminal judges whether the WiFi module and the MCU of the equipment terminal bound with the mobile phone terminal need to be updated; if the mobile phone terminal needs to be updated, the mobile phone terminal acquires a second updating instruction and issues an updating instruction to the equipment terminal bound with the second updating instruction; if the second update instruction is not obtained, the program is terminated;
s5, the equipment terminal pulls the APP1 or APP2 from the server.
The beneficial effects of the invention are as follows: if the factory WiFi module or MCU program has BUG, manufacturers can directly issue the WiFi module or MCU program after repairing BUG through the back-end management platform, so that a user can set and update through the mobile phone terminal; the remote upgrading of the WiFi module or MCU program of the Internet of things system without the upper computer is realized. The user may choose to upgrade or not upgrade.
Further, the step S1 is: after the equipment terminal is started up each time, the WiFi module and the MCU report the current version numbers to a server, and the server records the current version numbers of the WiFi module and the MCU of the equipment terminal.
The beneficial effects of the further scheme are as follows: the device terminal is usually in an updatable state when it is just started, and the time reporting machine is proper. The server can update the current version numbers of the WiFi module and the MCU in time conveniently, and the situation that the current version numbers of the WiFi module and the MCU are inconsistent with the server record is avoided.
Further, the step S2 is: the server obtains a new version of installation package APP1 of the WiFi module and/or a new version of installation package APP2 of the MCU through the back-end management platform; the server obtains the equipment unique identifier of the equipment terminal capable of updating the WiFi module and/or the MCU through matching the hardware version information of the equipment terminal, the WiFi module and/or MCU manufacturer information and the current version numbers of the WiFi module and the MCU with APP1 and/or APP2, displays the equipment unique identifier to a back-end management platform, receives a first updating instruction of the back-end management platform for updating the target equipment terminal, issues a version announcement after receiving the first updating instruction and pushes a version updating message to the mobile phone terminal bound with the target equipment terminal.
The beneficial effects of the further scheme are as follows: the method is suitable for upgrading the WiFi module and the MCU of the same hardware version by using WiFi modules and/or MCU configurations of different manufacturers. In addition, the platform can push the update message in a targeted manner, so that customization is convenient to realize.
Further, the step S3 is: the mobile phone terminal judges whether the equipment terminal bound with the mobile phone terminal is in an updatable state; if the equipment terminal bound with the mobile phone terminal is in an updatable state, after the mobile phone terminal is started, the mobile phone terminal binds the equipment terminal or the mobile phone terminal receives an update message, the mobile phone terminal carries the unique identifier of the equipment terminal bound with the mobile phone terminal to pull the current version number and the latest version number of the WiFi module and the MCU of the equipment terminal bound with the mobile phone terminal to the server.
Further, the mobile phone terminal acquires equipment terminal information from a server after being started, wherein the equipment terminal information comprises equipment state information; the equipment terminal reports the information of the equipment terminal to the server after starting and ending operation each time; the server timely transmits the equipment information to the mobile phone terminal bound with the equipment terminal; the updatable state is entered when the device terminal is in an online and non-operational state.
The beneficial effects of the further scheme are as follows: and avoiding the execution interruption caused by updating when the equipment terminal runs.
Further, the step S4 is: the mobile phone terminal respectively judges whether the latest version numbers of the WiFi module and the MCU are larger than the current version number, and if the latest version numbers of the WiFi module and the MCU are not larger than the current version number, the program is terminated; if one of the latest version numbers of the WiFi module and the MCU is larger than the current version number, acquiring a second updating instruction corresponding to program updating; if the latest version numbers of the WiFi module and the MCU are all larger than the current version number, acquiring a second updating instruction of WiFi updating; and the mobile phone terminal sends an upgrade instruction after acquiring the second upgrade instruction.
The beneficial effects of the further scheme are as follows: the beneficial effects of the further scheme are as follows: for the user, when the mobile phone terminal of the user starts or binds the equipment terminal, if the MCU program of the equipment terminal bound with the mobile phone terminal of the user has a new version release, the mobile phone can jump out of the update prompt information, and the user can select to update or not update. When avoiding wiFi module and MCU to update simultaneously, wiFi module no longer carries out the work, and MCU can't acquire APP 2's problem.
Further, the step S5 is: and 3, pulling the APP1 from the server and installing the APP on the local, or pulling the APP2 from the server and installing the APP2 on the local by the MCU, and returning to the step 3.
The beneficial effects of the further scheme are as follows: whether the updating is finished is detected, and the whole scheme is simple and reasonable.
Drawings
FIG. 1 is a flow chart of the present invention.
Detailed Description
The present invention will be further described with reference to the following embodiments.
As shown in fig. 1, the embodiment discloses a WiFi module and an MCU upgrading method, where the components involved in the method include a server, a mobile phone terminal communicatively connected with the server, and an equipment terminal communicatively connected with the server; the mobile phone terminal and the equipment terminal are mutually bound; the equipment terminal comprises a WiFi module and an MCU, wherein the WiFi module is in communication connection with the server, and the WiFi module is connected with the MCU; the method comprises the following steps:
s1, a server acquires the current version numbers of a WiFi module and an MCU of a device terminal.
The step S1 is as follows: after the equipment terminal is started up each time, the WiFi module and the MCU report the current version numbers to a server, and the server records the current version numbers of the WiFi module and the MCU of the equipment terminal. The device terminal is usually in an updatable state when it is just started, and the time reporting machine is proper. The server can update the current version numbers of the WiFi module and the MCU in time conveniently, and the situation that the current version numbers of the WiFi module and the MCU are inconsistent with the server record is avoided.
S2, the server obtains the latest program APP1 of the WiFi module or the latest program APP2 of the MCU through the back-end management platform, and the server obtains the first updating instruction through the back-end management platform.
The step S2 is as follows: the server obtains a new version of installation package APP1 of the WiFi module and/or a new version of installation package APP2 of the MCU through the back-end management platform; the server obtains the equipment unique identifier of the equipment terminal capable of updating the WiFi module and/or the MCU through matching the hardware version information of the equipment terminal, the WiFi module and/or MCU manufacturer information and the current version numbers of the WiFi module and the MCU with APP1 and/or APP2, displays the equipment unique identifier to a back-end management platform, receives a first updating instruction of the back-end management platform for updating the target equipment terminal, issues a version announcement after receiving the first updating instruction and pushes a version updating message to the mobile phone terminal bound with the target equipment terminal. The method is suitable for upgrading the WiFi module and the MCU of the same hardware version by using WiFi modules and/or MCU configurations of different manufacturers. In addition, the platform can push the update message in a targeted manner, so that customization is convenient to realize.
And S3, the mobile phone terminal judges whether the equipment terminal bound with the mobile phone terminal is in an updatable state, and if the equipment terminal is in the updatable state, the current version numbers and the latest version numbers of the WiFi module and the MCU are pulled to the server.
The step S3 is as follows: the mobile phone terminal judges whether the equipment terminal bound with the mobile phone terminal is in an updatable state; if the equipment terminal bound with the mobile phone terminal is in an updatable state, after the mobile phone terminal is started, the mobile phone terminal binds the equipment terminal or the mobile phone terminal receives an update message, the mobile phone terminal carries the unique identifier of the equipment terminal bound with the mobile phone terminal to pull the current version number and the latest version number of the WiFi module and the MCU of the equipment terminal bound with the mobile phone terminal to the server. The mobile phone terminal acquires equipment terminal information from a server after being started, wherein the equipment terminal information comprises equipment state information; the equipment terminal reports the information of the equipment terminal to the server after starting and ending operation each time; the server timely transmits the equipment information to the mobile phone terminal bound with the equipment terminal; the updatable state is entered when the device terminal is in an online and non-operational state. And avoiding the execution interruption caused by updating when the equipment terminal runs.
S4, the mobile phone terminal judges whether the WiFi module and the MCU of the equipment terminal bound with the mobile phone terminal need to be updated; if the mobile phone terminal needs to be updated, the mobile phone terminal acquires a second updating instruction and issues an updating instruction to the equipment terminal bound with the second updating instruction; if the second update instruction is not obtained, the program terminates.
The step S4 is as follows: the mobile phone terminal respectively judges whether the latest version numbers of the WiFi module and the MCU are larger than the current version number, and if the latest version numbers of the WiFi module and the MCU are not larger than the current version number, the program is terminated; if one of the latest version numbers of the WiFi module and the MCU is larger than the current version number, acquiring a second updating instruction corresponding to program updating; if the latest version numbers of the WiFi module and the MCU are all larger than the current version number, acquiring a second updating instruction of WiFi updating; and the mobile phone terminal sends an upgrade instruction after acquiring the second upgrade instruction. The beneficial effects of the further scheme are as follows: for the user, when the mobile phone terminal of the user starts or binds the equipment terminal, if the MCU program of the equipment terminal bound with the mobile phone terminal of the user has a new version release, the mobile phone can jump out of the update prompt information, and the user can select to update or not update. When avoiding wiFi module and MCU to update simultaneously, wiFi module no longer carries out the work, and MCU can't acquire APP 2's problem.
S5, the equipment terminal pulls the APP1 or APP2 from the server.
The step S5 is as follows: and 3, pulling the APP1 from the server and installing the APP on the local, or pulling the APP2 from the server and installing the APP2 on the local by the MCU, and returning to the step 3. Whether the updating is finished is detected, and the whole scheme is simple and reasonable.
The beneficial effects of the invention are as follows: if the factory WiFi module or MCU program has BUG, manufacturers can directly issue the WiFi module or MCU program after repairing BUG through the back-end management platform, so that a user can set and update through the mobile phone terminal; the remote upgrading of the WiFi module or MCU program of the Internet of things system without the upper computer is realized. The user may choose to upgrade or not upgrade. And the whole scheme is simple and reasonable.
Claims (7)
- The WiFi module and MCU upgrading method is characterized in that the parts related to the method comprise a server, a mobile phone terminal in communication connection with the server and a device terminal in communication connection with the server; the mobile phone terminal and the equipment terminal are mutually bound; the equipment terminal comprises a WiFi module and an MCU, wherein the WiFi module is in communication connection with the server, and the WiFi module is connected with the MCU; the method comprises the following steps:s1, a server acquires the current version numbers of a WiFi module and an MCU of a device terminal;s2, a server obtains a latest program APP1 of a WiFi module or a latest program APP2 of an MCU through a rear-end management platform, and the server obtains a first updating instruction through the rear-end management platform;s3, the mobile phone terminal judges whether the equipment terminal bound with the mobile phone terminal is in an updatable state, and if the equipment terminal is in the updatable state, the current version numbers and the latest version numbers of the WiFi module and the MCU are pulled to the server;s4, the mobile phone terminal judges whether the WiFi module and the MCU of the equipment terminal bound with the mobile phone terminal need to be updated; if the mobile phone terminal needs to be updated, the mobile phone terminal acquires a second updating instruction and issues an updating instruction to the equipment terminal bound with the second updating instruction; if the second update instruction is not obtained, the program is terminated;s5, the equipment terminal pulls the APP1 or APP2 from the server.
- 2. The WiFi module and MCU upgrading method according to claim 1, wherein the step S1 is: after the equipment terminal is started up each time, the WiFi module and the MCU report the current version numbers to a server, and the server records the current version numbers of the WiFi module and the MCU of the equipment terminal.
- 3. The WiFi module and MCU upgrading method according to claim 1, wherein the step S2 is: the server obtains a new version of installation package APP1 of the WiFi module and/or a new version of installation package APP2 of the MCU through the back-end management platform; the server obtains the equipment unique identifier of the equipment terminal capable of updating the WiFi module and/or the MCU through matching the hardware version information of the equipment terminal, the WiFi module and/or MCU manufacturer information and the current version numbers of the WiFi module and the MCU with APP1 and/or APP2, displays the equipment unique identifier to a back-end management platform, receives a first updating instruction of the back-end management platform for updating the target equipment terminal, issues a version announcement after receiving the first updating instruction and pushes a version updating message to the mobile phone terminal bound with the target equipment terminal.
- 4. The WiFi module and MCU upgrading method according to claim 1, wherein the step S3 is: the mobile phone terminal judges whether the equipment terminal bound with the mobile phone terminal is in an updatable state; if the equipment terminal bound with the mobile phone terminal is in an updatable state, after the mobile phone terminal is started, the mobile phone terminal binds the equipment terminal or the mobile phone terminal receives an update message, the mobile phone terminal pulls the current version number and the latest version number of the WiFi module and the MCU of the equipment terminal bound with the mobile phone terminal from the server.
- 5. The WiFi module and MCU upgrading method according to claim 4, wherein the mobile phone terminal obtains device terminal information from a server after being started, the device terminal information including device status information; the equipment terminal reports the information of the equipment terminal to the server after starting and ending operation each time; the server timely transmits the equipment information to the mobile phone terminal bound with the equipment terminal; the updatable state is entered when the device terminal is in an online and non-operational state.
- 6. The WiFi module and MCU upgrading method according to claim 1, wherein the step S4 is: the mobile phone terminal respectively judges whether the latest version numbers of the WiFi module and the MCU are larger than the current version number, and if the latest version numbers of the WiFi module and the MCU are not larger than the current version number, the program is terminated; if one of the latest version numbers of the WiFi module and the MCU is larger than the current version number, acquiring a second updating instruction corresponding to program updating; if the latest version numbers of the WiFi module and the MCU are all larger than the current version number, acquiring a second updating instruction of WiFi updating; and the mobile phone terminal sends an upgrade instruction after acquiring the second upgrade instruction.
- 7. The WiFi module and MCU upgrading method according to claim 1, wherein the step S5 is: and 3, pulling the APP1 from the server and installing the APP on the local, or pulling the APP2 from the server and installing the APP2 on the local by the MCU, and returning to the step 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310094830.4A CN116455744A (en) | 2023-02-10 | 2023-02-10 | WiFi module and MCU upgrading method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310094830.4A CN116455744A (en) | 2023-02-10 | 2023-02-10 | WiFi module and MCU upgrading method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116455744A true CN116455744A (en) | 2023-07-18 |
Family
ID=87126286
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310094830.4A Pending CN116455744A (en) | 2023-02-10 | 2023-02-10 | WiFi module and MCU upgrading method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116455744A (en) |
-
2023
- 2023-02-10 CN CN202310094830.4A patent/CN116455744A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8250566B2 (en) | Automated software upgrade and distribution | |
CN101593121B (en) | Method, device and system for software on-line upgrade | |
WO2020107905A1 (en) | Monitoring and managing methods for device, and terminal device | |
CN101958799B (en) | Method, device and system for updating terminal | |
EP2456257B1 (en) | Method and system for upgrading wireless data card | |
CN111367545A (en) | Terminal upgrading method and device, server, terminal equipment and readable storage medium | |
CN102164363B (en) | Base station version updating realization method and base station | |
US20120079100A1 (en) | Electronic device diagnostic systems and methods | |
CN101917567B (en) | Digital television terminal software upgrading method | |
CN103019757A (en) | Method, device and system for synchronizing software among multiple clients | |
CN113946358A (en) | Automatic driving vehicle software remote upgrading method based on vehicle management system | |
CN103634592A (en) | Automatic test method and system for intelligent televisions | |
CN101668081A (en) | Mobile terminal and automatic upgrading method thereof | |
CN111796849A (en) | Firmware remote upgrading method and device | |
CN111142905A (en) | OTA (over-the-air) upgrading method, OTA server and OTA upgrading system | |
CN111966372A (en) | Firmware upgrading method, device and equipment for portable printer | |
JP4576130B2 (en) | Version updating method for communication system application program and program therefor | |
CN108874410B (en) | Patch management method and device | |
CN100428824C (en) | Method for carrying out active inquiry maintenance on mobile terminal | |
CN112527346A (en) | Software upgrading method and device, storage medium and electronic device | |
CN116455744A (en) | WiFi module and MCU upgrading method | |
CN103179016B (en) | Method, system and server that a kind of many example terminal roaming configuration datas upgrade | |
US9207928B2 (en) | Computer-readable medium, apparatus, and methods of automatic capability installation | |
CN101826977A (en) | Remote management method, processing device and network system | |
CN107181629B (en) | Component upgrading method and system |
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 |