CN109982294A - The method that NBIot module is upgraded using bluetooth equipment - Google Patents
The method that NBIot module is upgraded using bluetooth equipment Download PDFInfo
- Publication number
- CN109982294A CN109982294A CN201910174685.4A CN201910174685A CN109982294A CN 109982294 A CN109982294 A CN 109982294A CN 201910174685 A CN201910174685 A CN 201910174685A CN 109982294 A CN109982294 A CN 109982294A
- Authority
- CN
- China
- Prior art keywords
- bluetooth equipment
- nbiot module
- firmware
- bluetooth
- mcu
- 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
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/50—Service provisioning or reconfiguring
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/70—Services for machine-to-machine communication [M2M] or machine type communication [MTC]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention relates to internet of things field, disclose a kind of method upgraded using bluetooth equipment to NBIot module, solve the problems, such as that NBIot module upgrade is slow and upgrading is unstable.In the present invention, first bluetooth equipment end by Wi-Fi network or 4G network channel the difference on upgrade server give out a contract for a project firmware it is locally downloading after, firmware is transferred to by the network of bluetooth connection again the MCU of the second bluetooth equipment, MCU passes through serial communication again and upgrade package is transmitted to NBIot module, to realize the upgrade function of NBIot module.The present invention is suitable for the NBIot module upgrade of bluetooth bracelet.
Description
Technical field
The present invention relates to internet of things field, in particular to the side upgraded using bluetooth equipment to NBIot module
Method.
Background technique
In today of the internet of things era, NBIot technology has been successfully applied to each Internet of Things skill using more and more extensive
Art field.Due to NBIot device end substantial amounts, the maintenance in later period just seems especially important, therefore the OTA of terminal upgrades function
It is perfectly safe must to accomplish.The upgrade function of NBIot module is to obtain upgrading from server by NBIot network admittedly at present
Part is upgraded again after getting off, since NBIot network bandwidth is small and larger by network environment influence, the firmware of general a few K sizes
It downloads completely and also obtains or so half an hour;And in the case where being frequently encountered network environment difference, need multiple breakpoint continuous
The downloading process of whole packet firmware can be just completed after biography.
Summary of the invention
The technical problem to be solved by the present invention is providing a kind of side upgraded using bluetooth equipment to NBIot module
Method solves the problems, such as that NBIot module upgrade is slow and upgrading is unstable.
To solve the above problems, the technical solution adopted by the present invention is that:
The method that NBIot module is upgraded using bluetooth equipment, MCU of first bluetooth equipment to the second bluetooth equipment
The version number for inquiring the current NBIo module of the second bluetooth equipment after MCU receives query information, is looked by serial ports to NBIot module
It askes, the NBIot module current version of firmware number inquired is returned to the first bluetooth equipment by bluetooth;
First bluetooth equipment is compared by the firmware version to be upgraded in network download server with current version number
Compared with to be confirmed whether to carry out updating operation;If the first bluetooth equipment detects that new version needs to upgrade, from server
Newest difference packet firmware is downloaded, while the firmware data received is sent to MCU by bluetooth and is cached;
MCU carries out after verifying successfully the firmware data of downloading, sends the AT for preparing upgrading to NBIot module by serial ports
Instruction;
After NBIot module receives instruction, all movements for reporting and issuing data are interrupted, and receive AT liter from MCU
Grade instruction updates newest version number to complete the firmware upgrade of NBIot module;
After the completion of NBIot module upgrade, newest version number is returned to MCU by serial ports, MCU is the latest edition got
This number returns to the first bluetooth equipment by bluetooth, to complete firmware upgrade.
Further, the first bluetooth equipment can pass through the firmware to be upgraded on 4G network or WIFI network download server
Version.
Further, first bluetooth equipment can be mobile phone or PAD.
Further, second bluetooth equipment can be bracelet.
The beneficial effects of the present invention are: since Wi-Fi connection and the network bandwidth of bluetooth connection are bigger in the present invention, Gu
Part difference packet download time is very short, and whole process should can be completed in several seconds, thus can quickly to individual locators or
The locator of batch carries out updating operation simultaneously, substantially increases the efficiency of product firmware iteration.
Detailed description of the invention
Fig. 1 is the NBIot module upgrade system block diagram of bracelet in embodiment.
Fig. 2 is the upgrading interaction diagrams of NBIot module in bracelet.
Specific embodiment
In order to solve the problems, such as that NBIot module upgrade is slow and upgrading is unstable, bluetooth is utilized the present invention provides a kind of
The method that equipment upgrades NBIot module, this method are related to the first bluetooth equipment and the second bluetooth equipment, wherein described
One bluetooth equipment can be mobile phone or PAD, and second bluetooth equipment can be the bluetooth bracelet with low-power consumption bluetooth function, can
It is flexibly communicated with the first bluetooth equipment very much, the second bluetooth equipment includes MCU and NBIot module.The present invention is to the second indigo plant
Specific step is as follows for the NBIot module upgrade of tooth equipment:
The method upgraded using bluetooth equipment to NBIot module, the first bluetooth equipment inquire current NBIo mould to MCU
The version number of block, it is by serial ports to NBIot module polls, the NBIot module inquired is current after MCU receives query information
Firmware version number returns to the first bluetooth equipment by bluetooth;
First bluetooth equipment by the firmware version to be upgraded in 4G network or WIFI network download server, and with work as
Preceding version number is compared, to be confirmed whether to carry out updating operation;If the first bluetooth equipment detects that new version needs to rise
Grade then downloads from a server newest difference packet firmware, while the firmware data received is sent to MCU by bluetooth and is carried out
Caching;
MCU carries out after verifying successfully the firmware data of downloading, sends the AT for preparing upgrading to NBIot module by serial ports
Instruction;
After NBIot module receives instruction, all movements for reporting and issuing data are interrupted, and receive AT liter from MCU
Grade instruction updates newest version number to complete the firmware upgrade of NBIot module;
After the completion of NBIot module upgrade, newest version number is returned to MCU by serial ports, MCU is the latest edition got
This number returns to the first bluetooth equipment by bluetooth, to complete firmware upgrade.
Below by embodiment, the present invention will be further described.
Embodiment provides a kind of method for carrying out firmware upgrade for NBIot module in bluetooth bracelet, as shown in Figure 1,
Embodiment includes two kinds of upgrading modes, and one is the mode of conventional telecommunications Iot platform, secondly in the way of bluetooth.First
Kind is usual manner, and which is not described herein again, and lower mask body is illustrated the second way.
As shown in Fig. 2, its specific implementation step is as follows in the way of bluetooth:
1, mobile phone terminal gets out network environment, opens Wi-Fi network or 4G network, guarantees the service that can connect to outer net
Device;Opened bluetooth function, to facilitate the pairing of equipment to connect;
2, the updating and management APP application of operation mobile phone terminal exploitation;Its main function be from upgrade server downloading data, with
And the connection management to bluetooth;
3, mobile phone terminal inquires the version number of current NBIot to the MCU at bracelet end, after MCU receives query information, passes through serial ports
To NBIot module polls, the NBIot module current version of firmware number inquired is returned to mobile phone by bluetooth;
4, mobile phone terminal is by the firmware version to be upgraded on 4G network or WIFI network elder generation download server, with current version
This number is compared, to be confirmed whether to carry out updating operation;
If 5, mobile phone terminal detects that new version needs to upgrade, newest difference Bao Gu can be downloaded from a server
Part, while the firmware data received is sent to MCU by bluetooth and is cached;
6, MCU carries out after verifying successfully the firmware data of downloading, can be sent by serial ports to NBIot module and prepare upgrading
AT instruction;After NBIot module receives instruction, all movements for reporting and issuing data can be interrupted, for firmware receive and
Upgrading is prepared;
7, MCU completes the firmware upgrade at the end NBIot by issuing AT upgrade command to NBIot module again;It updates simultaneously
Newest version number;
8, after the completion of NBIot module upgrade, newest version number is returned to bluetooth MCU by serial ports, MCU is getting
Latest edition number returns to mobile phone terminal by bluetooth;User's NBIot module firmware can be prompted to upgrade successfully.
Claims (4)
1. the method upgraded using bluetooth equipment to NBIot module, which comprises the steps of:
Version number of first bluetooth equipment to the MCU of the second bluetooth equipment inquiry current NBIo module of the second bluetooth equipment, MCU receipts
To after query information, by serial ports to NBIot module polls, the NBIot module current version of firmware number inquired is passed through indigo plant
Tooth returns to the first bluetooth equipment;
First bluetooth equipment is compared by the firmware version to be upgraded in network download server with current version number,
To be confirmed whether to carry out updating operation;If the first bluetooth equipment detects that new version needs to upgrade, above and below server
Newest difference packet firmware is carried, while the firmware data received is sent to MCU by bluetooth and is cached;
MCU carries out after verifying successfully the firmware data of downloading, sends the AT for preparing to upgrade to NBIot module by serial ports and refers to
It enables;
After NBIot module receives instruction, all movements for reporting and issuing data are interrupted, and receive AT upgrading from MCU and refer to
It enables to complete the firmware upgrade of NBIot module, while updating newest version number;
After the completion of NBIot module upgrade, newest version number is returned to MCU by serial ports, MCU is the latest edition number got
The first bluetooth equipment is returned to by bluetooth, to complete firmware upgrade.
2. the method upgraded as described in claim 1 using bluetooth equipment to NBIot module, which is characterized in that first
Bluetooth equipment passes through the firmware version to be upgraded on 4G network or WIFI network download server.
3. the method upgraded as described in claim 1 using bluetooth equipment to NBIot module, which is characterized in that described
First bluetooth equipment is mobile phone or PAD.
4. the method upgraded as described in claim 1 using bluetooth equipment to NBIot module, which is characterized in that described
Second bluetooth equipment is bluetooth bracelet.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910174685.4A CN109982294A (en) | 2019-03-08 | 2019-03-08 | The method that NBIot module is upgraded using bluetooth equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910174685.4A CN109982294A (en) | 2019-03-08 | 2019-03-08 | The method that NBIot module is upgraded using bluetooth equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109982294A true CN109982294A (en) | 2019-07-05 |
Family
ID=67078145
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910174685.4A Pending CN109982294A (en) | 2019-03-08 | 2019-03-08 | The method that NBIot module is upgraded using bluetooth equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109982294A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110618830A (en) * | 2019-08-14 | 2019-12-27 | 恒鸿达科技有限公司 | Remote upgrading method and system based on NBIOT network |
CN111459536A (en) * | 2020-03-31 | 2020-07-28 | Tcl移动通信科技(宁波)有限公司 | Mobile terminal Bluetooth firmware updating method and device, terminal equipment and storage medium |
CN111800767A (en) * | 2020-06-15 | 2020-10-20 | 易兆微电子(杭州)股份有限公司 | System and method for realizing OTA (over the air) upgrade of terminal product based on BNEP (Bluetooth technology attachment) |
CN111954207A (en) * | 2020-07-17 | 2020-11-17 | 易兆微电子(杭州)股份有限公司 | System and method for realizing OTA (on-the-fly) upgrade of self-timer based on BNEP (Bluetooth technology attachment) Bluetooth |
CN112230951A (en) * | 2020-09-24 | 2021-01-15 | 易兆微电子(杭州)股份有限公司 | System and method for realizing OTA (over the air) upgrade of mouse based on BNEP (Bluetooth technology attachment) Bluetooth |
CN112306514A (en) * | 2019-07-24 | 2021-02-02 | 深圳市有方科技股份有限公司 | Firmware upgrading method based on narrowband Internet of things, terminal equipment and computer readable storage medium |
CN116456371A (en) * | 2023-04-28 | 2023-07-18 | 天津宜科自动化股份有限公司 | Data upgrading system based on internet of things technology |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105204911A (en) * | 2015-10-15 | 2015-12-30 | 成都艾克尔特医疗科技有限公司 | Method and system for upgrading firmware of vital sign monitoring bracelet |
CN107247604A (en) * | 2017-05-17 | 2017-10-13 | 杭州魔猫科技有限公司 | A kind of charger baby software firmware update system and its update method |
CN207851146U (en) * | 2017-12-22 | 2018-09-11 | 中移物联网有限公司 | A kind of electric energy meter communication device and electric energy meter system |
CN109189433A (en) * | 2018-09-18 | 2019-01-11 | 四川爱联科技有限公司 | Upgrade method for internet of things equipment MCU |
CN109347659A (en) * | 2018-09-17 | 2019-02-15 | 瓴泰科技(上海)有限公司 | Intelligent terminal and mould group remote upgrade method based on NB-IOT |
-
2019
- 2019-03-08 CN CN201910174685.4A patent/CN109982294A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105204911A (en) * | 2015-10-15 | 2015-12-30 | 成都艾克尔特医疗科技有限公司 | Method and system for upgrading firmware of vital sign monitoring bracelet |
CN107247604A (en) * | 2017-05-17 | 2017-10-13 | 杭州魔猫科技有限公司 | A kind of charger baby software firmware update system and its update method |
CN207851146U (en) * | 2017-12-22 | 2018-09-11 | 中移物联网有限公司 | A kind of electric energy meter communication device and electric energy meter system |
CN109347659A (en) * | 2018-09-17 | 2019-02-15 | 瓴泰科技(上海)有限公司 | Intelligent terminal and mould group remote upgrade method based on NB-IOT |
CN109189433A (en) * | 2018-09-18 | 2019-01-11 | 四川爱联科技有限公司 | Upgrade method for internet of things equipment MCU |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112306514A (en) * | 2019-07-24 | 2021-02-02 | 深圳市有方科技股份有限公司 | Firmware upgrading method based on narrowband Internet of things, terminal equipment and computer readable storage medium |
CN110618830A (en) * | 2019-08-14 | 2019-12-27 | 恒鸿达科技有限公司 | Remote upgrading method and system based on NBIOT network |
CN110618830B (en) * | 2019-08-14 | 2022-07-08 | 恒鸿达科技有限公司 | Remote upgrading method and system based on NBIOT network |
CN111459536A (en) * | 2020-03-31 | 2020-07-28 | Tcl移动通信科技(宁波)有限公司 | Mobile terminal Bluetooth firmware updating method and device, terminal equipment and storage medium |
CN111800767A (en) * | 2020-06-15 | 2020-10-20 | 易兆微电子(杭州)股份有限公司 | System and method for realizing OTA (over the air) upgrade of terminal product based on BNEP (Bluetooth technology attachment) |
CN111800767B (en) * | 2020-06-15 | 2024-04-05 | 易兆微电子(杭州)股份有限公司 | System and method for realizing OTA upgrading of terminal product based on BNEP Bluetooth |
CN111954207A (en) * | 2020-07-17 | 2020-11-17 | 易兆微电子(杭州)股份有限公司 | System and method for realizing OTA (on-the-fly) upgrade of self-timer based on BNEP (Bluetooth technology attachment) Bluetooth |
CN111954207B (en) * | 2020-07-17 | 2023-05-05 | 易兆微电子(杭州)股份有限公司 | BNEP Bluetooth-based OTA upgrading system and upgrading method thereof |
CN112230951A (en) * | 2020-09-24 | 2021-01-15 | 易兆微电子(杭州)股份有限公司 | System and method for realizing OTA (over the air) upgrade of mouse based on BNEP (Bluetooth technology attachment) Bluetooth |
CN112230951B (en) * | 2020-09-24 | 2024-05-10 | 易兆微电子(杭州)股份有限公司 | System and method for realizing mouse OTA upgrading based on BNEP Bluetooth |
CN116456371A (en) * | 2023-04-28 | 2023-07-18 | 天津宜科自动化股份有限公司 | Data upgrading system based on internet of things technology |
CN116456371B (en) * | 2023-04-28 | 2024-02-20 | 天津宜科自动化股份有限公司 | Data upgrading system based on internet of things technology |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109982294A (en) | The method that NBIot module is upgraded using bluetooth equipment | |
CN109347659B (en) | Intelligent terminal equipment and module remote upgrading method based on NB-IOT | |
KR100782080B1 (en) | Updating method for mobile communication terminal and system | |
CN103220342B (en) | A kind of method of mobile terminal device group remote synchronization more new procedures | |
CN101577901B (en) | Wireless access platform and equipment upgrading management system and method thereof | |
CN104102501B (en) | A kind of mobile terminal and its upgrade method | |
CN101674590A (en) | Client device and remote updating method and remote updating service system thereof | |
CN108023778A (en) | Firmware upgrade method and its system | |
CN101026850A (en) | Mobileterminal software autmatic upgrading method and system, mobile terminal and software management server | |
RU2005102401A (en) | OPTIMIZATION OF A WIRELESS NETWORK USING DATA OF REMOTE DEVICES | |
WO2003010663A3 (en) | System and method for the management of wireless communications device system software downloads in the field | |
CN103019757A (en) | Method, device and system for synchronizing software among multiple clients | |
KR101528210B1 (en) | Software downloading method and device | |
CN104852971B (en) | Plug-in protocol device and data communication method based on plug-in protocol | |
CN102799448A (en) | Intelligent software upgrading method for vehicle-mounted terminal equipment | |
CN111142905B (en) | OTA upgrading method, OTA server and OTA upgrading system | |
CN110825422A (en) | System for managing MCU version of intelligent household equipment | |
CN104639648A (en) | Remote upgrading method for intelligent cabinet | |
CN101237475B (en) | Information push system, method and device | |
CN101557584A (en) | Method for realizing application authority control of mobile terminal and device | |
CN107181618A (en) | Firmware upgrade method and system | |
CN105208081A (en) | Method and system realizing network communication through subscription mode | |
CN105530630B (en) | A kind of OTA upgrade method and equipment | |
FR2800963B1 (en) | METHOD FOR UPDATING A MAIN PROGRAM EXECUTED BY A RADIOCOMMUNICATION MODULE AND / OR DATA ASSOCIATED WITH THIS MAIN PROGRAM, AND CORRESPONDING RADIOCOMMUNICATION MODULE | |
CN109639842B (en) | NB-IOT equipment software upgrading system and method |
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 | ||
CB02 | Change of applicant information |
Address after: 621000 Sichuan Ailian Technology Co.,Ltd., Anzhou Industrial Park, Mianyang City, Sichuan Province Applicant after: Sichuan Ailian Technology Co.,Ltd. Address before: 621000 Mianyang city of Sichuan Province, Sichuan Industrial Park, love science and Technology Co. Applicant before: SICHUAN AI-LINK TECHNOLOGY Co.,Ltd. |
|
CB02 | Change of applicant information | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190705 |
|
RJ01 | Rejection of invention patent application after publication |