CN107896158A - Method for upgrading firmware of wireless Internet of things equipment and Internet of things - Google Patents

Method for upgrading firmware of wireless Internet of things equipment and Internet of things Download PDF

Info

Publication number
CN107896158A
CN107896158A CN201710952261.7A CN201710952261A CN107896158A CN 107896158 A CN107896158 A CN 107896158A CN 201710952261 A CN201710952261 A CN 201710952261A CN 107896158 A CN107896158 A CN 107896158A
Authority
CN
China
Prior art keywords
wireless
firmware
things
upgraded
internet
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
Application number
CN201710952261.7A
Other languages
Chinese (zh)
Inventor
陈长升
李振江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Transtek Medical Electronics Co Ltd
Original Assignee
Guangdong Transtek Medical Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Transtek Medical Electronics Co Ltd filed Critical Guangdong Transtek Medical Electronics Co Ltd
Priority to CN201710952261.7A priority Critical patent/CN107896158A/en
Publication of CN107896158A publication Critical patent/CN107896158A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method for upgrading firmware of wireless Internet of things equipment by utilizing wireless networking and an Internet of things, wherein the method comprises the following steps: the equipment storing the firmware to be upgraded in the wireless network transmits the firmware file data packet to be upgraded to the wireless Internet of things equipment within a communication distance range; and the wireless Internet of things equipment receiving the firmware file data packet transmits the firmware file data packet to be upgraded to other wireless Internet of things equipment adaptive to the firmware in a wireless network in a wireless networking mode. According to the method for upgrading the firmware of the wireless Internet of things equipment by using the wireless networking and the Internet of things, the total time for upgrading the wireless firmware of the wireless Internet of things equipment in the whole wireless network can be shortened, the wireless firmware upgrading efficiency is improved, the synchronism is good, the wireless firmware upgrading efficiency is high, and the limitation of the communication distance can be eliminated.

Description

A kind of method and Internet of Things for realizing wireless internet of things DFU
Technical field
It is real using wireless networking more particularly to one kind the present invention relates to a kind of wireless internet of things DFU method The method and Internet of Things of existing wireless internet of things DFU.
Background technology
With the fast development of " Internet of Things+", wireless internet of things equipment(Such as wearable device, smart home product) To very big popularization, correspondingly radio firmware upgrading is also more and more important.Presently mainly upgraded using point-to-point radio firmware Mode, i.e., firmware to be upgraded is stored in a wireless device A, is wirelessly transferred to another nothing being upgraded In line internet of things equipment B.For having the situation of multiple wireless internet of things equipment, this point-to-point radio firmware upgrading in network Method efficiency is low, the time is long, poor synchronization, distance are near.To solve these problems, the multiple storages of generally use need firmware updating Wireless device, the wireless internet of things equipment in network is upgraded one to one, shorten whole network in Internet of Things set Standby overall update time, synchronous effect is lifted, eliminates the influence of wireless communication distance.But this needs multiple storages to need The wireless device of firmware updating, and need more people respectively storage need firmware updating wireless device be placed on it is point-to-point , it is necessary to increase manpower and materials in the range of communication distance.
Therefore, it is necessary to which a kind of new radio firmware upgrade method, can shorten the wireless internet of things in whole wireless network The total time of the radio firmware upgrading of equipment, radio firmware upgrading efficiency being improved, synchronism is good, radio firmware upgrading efficiency high, And the limitation of communication distance can be eliminated.
The content of the invention
The defects of the invention aims to overcome prior art to exist, there is provided one kind is realized wireless using wireless networking The method and Internet of Things of internet of things equipment firmware upgrade.In order to realize this purpose, the technical solution used in the present invention is such as Under:
According to the first aspect of the embodiment of the present invention, there is provided one kind realizes wireless internet of things DFU using wireless networking Method, wherein the wireless internet of things equipment has relay function and wireless networking function, methods described includes following step Suddenly:The equipment that firmware to be upgraded is deposited in wireless network is sent to firmware file packet to be upgraded in the range of communication distance Wireless internet of things equipment;And the wireless internet of things equipment of firmware file packet is received by wireless networking mode treating The firmware file packet of upgrading is transferred to other in wireless network wireless internet of things equipment with firmware adaptations.
It is described to realize that the method for wireless internet of things DFU is also wrapped using wireless networking according to one embodiment Include following steps:The wireless internet of things equipment not upgraded be linked into internet of things equipment in the wireless network of promoted completion when, The firmware file packet that wireless internet of things equipment by receiving promoted completion one by one is sent, firmware updating file;Or Person, when in the wireless network that the wireless internet of things equipment of firmware upgrade is linked into the wireless internet of things equipment that firmware does not upgrade When, firmware upgrade can be carried out to the wireless internet of things equipment of all and firmware adaptations in wireless network.
According to further embodiment, it is preferred that the wireless internet of things equipment not upgraded is promoted by Asynchronous Reception The firmware bag for the different subpackage sequence numbers that the wireless internet of things equipment of completion is sent, and firmware file point is spliced by firmware bag sequence number Into packet, firmware updating file.
It is described to realize the method for wireless internet of things DFU also using wireless networking according to another embodiment Comprise the following steps:Firmware file to be upgraded is passed in wireless network by wired or wireless way deposit it is to be upgraded solid The equipment of part.
According to another embodiment, it is preferred that wireless internet of things equipment is receiving the wireless of other types or model During the firmware file packet to be upgraded of internet of things equipment, the firmware file relaying data packets are passed by wireless networking mode The defeated wireless internet of things equipment for arriving respective type or model.
According to yet another embodiment, it is preferred that deposit the equipment of firmware to be upgraded firmware file to be upgraded point Into multiple packets, the wireless internet of things equipment being packet-by-packet sent to by wired or wireless way in wireless network.
According to still further embodiment, it is preferred that wireless internet of things equipment first receives whole firmware file packet After the completion of, then firmware file is divided into multiple packets, by wireless networking mode firmware file packet to be upgraded by Individual other wireless internet of things equipment with firmware adaptations being transferred in wireless network.
According to the second aspect of the embodiment of the present invention, also it is to provide one kind and realizes wireless internet of things equipment using wireless networking The method of firmware upgrade, wherein the wireless internet of things equipment has wireless networking function, it the described method comprises the following steps:Nothing The equipment that firmware to be upgraded is deposited in gauze network is sent to firmware file packet to be upgraded nothing in the range of communication distance Line trunking and wireless internet of things equipment;And receive the wireless relay apparatus of firmware file packet and pass through wireless networking Other wireless relay apparatus and/or the wireless internet of things that mode forwards a packet to firmware file data to be upgraded in wireless network Equipment.
It is described to realize that the method for wireless internet of things DFU is also wrapped using wireless networking according to one embodiment Include following steps:Firmware file to be upgraded is passed in wireless network by wired or wireless way and deposits firmware to be upgraded Equipment.
According to further embodiment, it is preferred that the equipment for depositing firmware to be upgraded is divided into firmware file to be upgraded Multiple packets, the wireless relay apparatus and wireless internet of things being packet-by-packet sent in wireless network by wired or wireless way are set It is standby.
According to another embodiment, it is preferred that wireless relay apparatus first finishes receiving whole firmware file packet Afterwards, then firmware file it is divided into multiple packets, firmware file packet to be upgraded is passed one by one by wireless networking mode Defeated other wireless relay apparatus and wireless internet of things equipment in wireless network.
According to the third aspect of the embodiment of the present invention, there is provided a kind of Internet of Things, including the equipment of storage firmware to be upgraded with And wireless internet of things equipment, wherein the wireless internet of things equipment has relay function and wireless networking function;Deposit and wait to rise The equipment of level firmware is used to carry out wired or wireless firmware to the wireless internet of things equipment in communication in wireless networks distance range Upgrading;And receive the wireless internet of things equipment of firmware file packet can be by wireless networking mode firmware to be upgraded Wireless internet of things equipment of the file packet transmission to other in wireless network with firmware adaptations.
According to one embodiment, it is preferred that the wireless internet of things equipment can deposit firmware file to be upgraded.
According to further embodiment, it is preferred that the wireless internet of things equipment can be to being linked into not rising for Internet of Things The wireless internet of things equipment of level sends firmware file packet, with firmware updating file.
According to another embodiment, it is preferred that the wireless internet of things equipment is receiving other types or model During the firmware file packet to be upgraded of wireless internet of things equipment, by wireless networking mode in the firmware file packet After the wireless internet of things equipment for being transferred to respective type or model.
According to another embodiment, it is preferred that wireless internet of things equipment has first received whole firmware file packet Cheng Hou, then firmware file is divided into multiple packets, by wireless networking mode firmware file packet to be upgraded one by one It is transferred to other in wireless network wireless internet of things equipment with firmware adaptations.
According to the fourth aspect of the embodiment of the present invention, or a kind of Internet of Things, including the equipment of storage firmware to be upgraded with And wireless internet of things equipment, additionally include:Wireless relay apparatus;The equipment for wherein depositing firmware to be upgraded is used for be upgraded Firmware file packet be sent to wireless relay apparatus and wireless internet of things equipment in the range of communication distance;And receive Firmware file data to be upgraded are forwarded a packet to nothing by the wireless relay apparatus of firmware file packet by wireless networking mode Other wireless relay apparatus and/or wireless internet of things equipment in gauze network.
According to one embodiment, it is preferred that after wireless relay apparatus first finishes receiving whole firmware file packet, Firmware file is divided into multiple packets again, firmware file packet to be upgraded be transferred to one by one by wireless networking mode Other wireless relay apparatus and wireless internet of things equipment in wireless network.
According to the method and thing that wireless internet of things DFU is realized using wireless networking of the embodiment of the present invention Networking, the total time that the radio firmware of the wireless internet of things equipment in whole wireless network upgrades can be shortened, improved wireless solid Part upgrades efficiency, and synchronism is good, radio firmware upgrading efficiency high, and can eliminate the limitation of communication distance.
It is specifically described below in conjunction with accompanying drawing and by embodiment to the present invention, wherein identical or essentially identical portion Part is indicated using identical reference.
Brief description of the drawings
Fig. 1 is the schematic diagram according to the Internet of Things of one embodiment of the invention;
Fig. 2 is the method that wireless internet of things DFU is realized using wireless networking according to one embodiment of the invention Indicative flowchart;
Fig. 3 is that to be linked into internet of things equipment according to the wireless internet of things equipment not upgraded of one embodiment of the invention promoted The schematic diagram of the wireless network of completion;
Fig. 4 is to include multiple different models or different manufacturers or different types of wireless Internet of Things according to one embodiment of the invention The schematic diagram of the Internet of Things of net equipment;
Fig. 5 is the schematic diagram for firmware file to be upgraded being divided into multiple packets according to another embodiment of the invention;
Fig. 6 is the schematic diagram according to the firmware upgrade flow of another embodiment of the invention;
Fig. 7 is the Internet of Things schematic diagram according to further embodiment of the present invention;And
Fig. 8 is the method that wireless internet of things DFU is realized using wireless networking according to another embodiment of the invention Indicative flowchart.
Embodiment
As shown in figure 1, it is including the storage firmware to be upgraded according to the schematic diagram of the Internet of Things of one embodiment of the invention Equipment(Hexagon frame)With wireless internet of things equipment(Round frame), multiple wireless internet of things equipment that wherein Internet of Things includes respectively have There is relay function;Deposit firmware to be upgraded wireless device be used in wireless network wireless internet of things equipment carry out it is wired or Radio firmware upgrades;Wireless internet of things equipment has wireless networking function, the wireless Internet of Things to meeting same wireless Networking protocol Net equipment can participate in networking, such as WiFi networkings, ZigBee networkings and bluetooth MESH networkings automatically, so as to realize a pair More, multi-to-multi, and the communication mode of relay forwarding.Realized in addition, wireless internet of things equipment alternatively includes by firmware Deposit the function of firmware to be upgraded.
As shown in Fig. 2 it is to realize wireless internet of things equipment firmware using wireless networking according to one embodiment of the invention The indicative flowchart of the method for upgrading, mainly includes:The equipment that firmware to be upgraded is deposited in wireless network consolidates to be upgraded Part file data bag is sent to the step 202 of the wireless internet of things equipment in the range of communication distance;And receive firmware file Firmware file packet to be upgraded is transferred to wireless network by the wireless internet of things equipment of packet by wireless networking mode In other steps 204 with the wireless internet of things equipment of firmware adaptations.In addition, in other embodiments, if to be upgraded Firmware is not passed to the equipment for depositing firmware to be upgraded, then may also include by wired or wireless way firmware to be upgraded It is passed to the step 200 for the equipment that firmware to be upgraded is deposited in wireless network.In another embodiment, docking is also alternatively included The wireless internet of things equipment not upgraded entered into the wireless network of the internet of things equipment of promoted completion carries out firmware upgrade, Or ought the wireless internet of things equipment of firmware upgrade be linked into the wireless network of the wireless internet of things equipment that firmware does not upgrade The step 206 of firmware upgrade is carried out to the wireless internet of things equipment of all and firmware adaptations in wireless network when middle.Lead to below Example is crossed to be specifically described.
In step 200, according to one embodiment, wired mode can be passed through(Such as UART, SPI, USB etc.)To be upgraded Firmware be passed to the equipment that firmware to be upgraded is deposited in wireless network;, can be wirelessly according to further embodiment(Example Such as WiFi, ZigBee, bluetooth)Firmware to be upgraded is passed to the equipment that firmware to be upgraded is deposited in wireless network.
In step 202, the equipment for depositing firmware to be upgraded, realized by the firmware of the equipment firmware text to be upgraded Part is divided into multiple packets, by wired or wireless way, packet-by-packet(Alternatively, the sequence of firmware subpackage to be upgraded is often included Number)The wireless internet of things equipment being sent in wireless network.Specifically, as shown in figure 1, depositing the equipment handle of firmware to be upgraded Firmware file packet to be upgraded be packet-by-packet sent to wireless internet of things equipment 1 in communication in wireless networks distance range, 3, 6, the real-time reception of wireless internet of things equipment 1,3,6 firmware file packet to be upgraded.In yet another embodiment, alternatively, nothing The real-time reception of line internet of things equipment 1,3,6 firmware file packet to be upgraded, and preserve firmware file packet to be upgraded.
In step 204, as shown in figure 1, wireless internet of things equipment 1,3,6 first receives firmware file packet to be upgraded, And after first whole firmware file packet to be upgraded is finished receiving, then firmware file to be upgraded is divided into multiple packets, By wireless networking mode, all wireless internet of things firmware file packet to be upgraded being transferred to one by one in wireless network Equipment.For example, wireless internet of things equipment is treating that firmware to be upgraded is divided into n bags:P1, P2 ..., Pn, then according to P1, P2 ..., Pn packet-by-packet send firmware file packet to be upgraded.By multiple wireless internet of things device forwards, to be upgraded Firmware file packet is sent to wireless internet of things equipment one by one.As wireless internet of things equipment 1,3,6 consolidates to be upgraded in Fig. 1 Part file data forwards a packet to wireless internet of things equipment 2,4,7,10, then is forwarded to wirelessly by wireless internet of things equipment 2,4,7,10 Internet of things equipment 5,8,11, wireless internet of things equipment 9,12,13 is finally forwarded to by wireless internet of things equipment 5,8,11.Thus rise Level whole network in 13 wireless internet of things equipment needed for time be:T+3* Δ t, wherein, t is one wireless Internet of Things of upgrading Time needed for net equipment;Δ t is once to forward required delay time.
As long as the Δ t in this network<4t, then upgrade the time needed for the wireless internet of things equipment in whole wireless network Total time just than point-to-point upgrading one by one is short.
According to one embodiment, in step 206, the wireless internet of things equipment not upgraded is linked into promoted completion When in the wireless network of internet of things equipment, as shown in figure 3, wireless internet of things equipment 1 in wireless network, 2,3,4,5,6,7,8, 9th, 10,11,12 be firmware updating equipment.Wireless internet of things equipment 13 is the equipment of non-firmware updating, and state be from Wireless network is not accessed to accessing into wireless network.Wireless internet of things equipment 13 can be by receiving wireless internet of things equipment one by one 1, and/or wireless internet of things equipment 3, and/or the packet that the firmware file to be upgraded that sends of wireless internet of things equipment 6 is divided into, Firmware updating file.
In another embodiment, wireless internet of things equipment 13 can by Asynchronous Reception wireless internet of things equipment 1, and/ Or wireless internet of things equipment 3, and/or the firmware bag of the different subpackage sequence numbers of the transmission of wireless internet of things equipment 6, pass through firmware Bao Xu Number packet that is divided into of splicing firmware file, carrys out firmware updating file.Wherein wireless internet of things equipment, which has, splits firmware file, And the function of transmission firmware file packet is selected according to subpackage sequence number, specifically, wireless internet of things equipment is to be upgraded Firmware is divided into n bags:P1, P2 ..., Pn, then increase bag sequence number Si before each packet:S1P1、S2P2、……、SnPn; Then, firmware file packet to be upgraded need not can packet-by-packet be sent by the sequence number of bag;Wireless internet of things to be upgraded are set After firmware file packet to be upgraded is received, as long as being stitched together according to bag sequence number Si, a complete firmware is formed File, it is possible to.As firmware file is divided into 3 packets, wireless internet of things equipment 13 receives wireless internet of things equipment 1 and sent out After the firmware data packet 1,3 sent, then the firmware data packet 2 of the transmission of wireless internet of things equipment 3 is received, firmware data packet 1,2,3 It is stitched together, forms a complete firmware file.
In one embodiment, the wireless internet of things equipment of also scalable specific model, as shown in figure 4, wireless networking net Include multiple different models or different manufacturers or different types of wireless internet of things equipment in network, wherein hexagon frame represents to deposit The equipment for putting firmware to be upgraded, square frame represent wireless internet of things unit type I, and round frame represents wireless internet of things unit type II. For example, the firmware upgrade for the wireless internet of things unit type I of specific model in wireless network, can be by wireless network Other models or other producers the relay transmission of wireless internet of things unit type II firmware file packet to be upgraded, complete pair The firmware upgrade of wireless internet of things device type I in whole wireless network.
In yet another embodiment, with said circumstances on the contrary, the wireless internet of things equipment firmware in wireless network does not upgrade, , can be to all in wireless network when the wireless internet of things equipment for having firmware upgrade is linked into wireless network Firmware upgrade is carried out with the wireless internet of things equipment of firmware adaptations.Wireless network is accessed to the wireless internet of things equipment not upgraded Afterwards, can be by the wireless internet of things equipment in wireless network with the firmware updating of firmware adaptations, automated wireless upgrading should Wireless internet of things equipment firmware.Only have a wireless internet of things DFU successful in wireless network, in wireless network Other wireless internet of things equipment with firmware adaptations, can be by having upgraded successfully wireless internet of things equipment, automated wireless liter Level firmware.
In one embodiment, it is above-mentioned firmware file to be upgraded is divided into multiple packets implementation it is as shown in Figure 5. Specifically, firmware to be upgraded is divided into n packet, alternatively, increases a packet sequence number before each packet.
In one embodiment, above-mentioned firmware upgrade flow is as shown in fig. 6, detailed process includes:
(1)Whether wireless internet of things equipment and the equipment of storage firmware to be upgraded are shaken hands, obtain wireless internet of things equipment and The information of firmware upgrade.Wherein handshake method includes following several:A. wireless internet of things equipment first is current device information(Such as The information such as firmware adaptations model, firmware version)The equipment for depositing firmware to be upgraded is sent to, deposits the equipment handle of firmware to be upgraded The current device information of wireless internet of things equipment is compared with firmware information to be upgraded, if it does, just upgrading wireless internet of things Equipment;Otherwise, wireless internet of things equipment is not upgraded;B. the equipment for depositing firmware to be upgraded first sends out firmware information to be upgraded Wireless internet of things equipment is given, wireless internet of things equipment is current device information(Such as firmware adaptations model, firmware version are believed Breath)Compared with the firmware information to be upgraded received, if it does, just upgrading wireless internet of things equipment;Otherwise, do not upgrade Wireless internet of things equipment;
(2) firmware to be upgraded is split into n packet by the equipment for depositing firmware to be upgraded;
(3) equipment for depositing firmware to be upgraded sends the firmware file packet to be upgraded after splitting one by one;
(4) alternatively, deposit firmware to be upgraded equipment sent m bags firmware file packet to be upgraded after, send current m bags The check value of packet notifies to give wireless internet of things equipment;
(5) alternatively, after wireless internet of things equipment receives the check value of current m bags firmware file packet to be upgraded, to current m Firmware file packet to be upgraded is wrapped to be verified;
(6) current m bags firmware file packet to be upgraded verifies successfully, preserves current m bags firmware file packet to be upgraded;
(7) equipment for depositing firmware file to be upgraded is sent completely firmware file to be upgraded;
(8) the whole firmware file to be upgraded of wireless internet of things equipment verification;
(9) wireless internet of things equipment verification entirely firmware file success to be upgraded, into renewal firmware file.
As shown in fig. 7, be the Internet of Things schematic diagram according to further embodiment of the present invention, including storage firmware to be upgraded Equipment(Hexagon frame)With wireless internet of things equipment(Round frame), in addition, also including wireless relay apparatus(Star frame);It is wherein wireless Internet of things equipment does not have relay function.The equipment that firmware to be upgraded is wherein deposited in wireless network is used for firmware to be upgraded File data bag is sent to wireless relay apparatus and wireless internet of things equipment in the range of communication distance;And receive firmware text Firmware file data to be upgraded are forwarded a packet to wireless network by the wireless relay apparatus of part packet by wireless networking mode In other wireless relay apparatus and/or wireless internet of things equipment.
As shown in figure 8, it is to realize that wireless internet of things equipment is consolidated using wireless networking according to another embodiment of the invention The indicative flowchart of the method for part upgrading, mainly includes:The equipment of firmware to be upgraded is deposited in wireless network to be upgraded Firmware file packet is sent to the step 802 of the wireless relay apparatus and wireless internet of things equipment in the range of communication distance;With And the wireless relay apparatus of firmware file packet is received by wireless networking mode firmware file packet to be upgraded Other wireless relay apparatus and/or the step 804 of wireless internet of things equipment being forwarded in wireless network.In addition, in other realities Apply in example, if firmware to be upgraded is not passed to the equipment for depositing firmware to be upgraded, may also include by wired or nothing Line mode is passed to firmware to be upgraded the step 800 for the equipment that firmware to be upgraded is deposited in wireless network.Below by reality Example is specifically described.
In step 800, according to one embodiment, wired mode can be passed through(Such as UART, SPI, USB etc.)To be upgraded Firmware be passed to the equipment that firmware to be upgraded is deposited in wireless network;, can also be wirelessly according to further embodiment (Such as WiFi, ZigBee, bluetooth etc.)Firmware to be upgraded is passed to the equipment that firmware to be upgraded is deposited in wireless network.
In step 802, as shown in fig. 7, the equipment for depositing firmware to be upgraded firmware file to be upgraded is divided into it is multiple Packet, and by wired or wireless way, firmware file packet is packet-by-packet sent to communication in wireless networks distance range Interior wireless relay apparatus 1 and wireless internet of things equipment 1,6.
In step 804, as shown in fig. 7, after the real-time reception firmware file packet of wireless relay apparatus 1, by wireless Networking mode, firmware file data to be upgraded are forwarded a packet to other in wireless network wireless internet of things with firmware adaptations Equipment 2,10 and wireless relay apparatus 2,3.Optionally, in one embodiment, the real-time reception of wireless relay apparatus 1 is to be upgraded Firmware file packet, and preserve firmware file packet to be upgraded.
Also optionally, In yet another embodiment, wireless relay apparatus 1 first receives firmware file data to be upgraded Bag, and after first whole firmware file packet to be upgraded is finished receiving, then firmware file to be upgraded is divided into multiple Packet, by wireless networking mode, firmware file packet to be upgraded be forwarded to one by one in wireless network other with The wireless internet of things equipment and wireless relay apparatus of firmware adaptations.
Forwarded by multiple wireless relay, firmware file packet to be upgraded is sent to wireless internet of things one by one to be set It is standby.As firmware file packet to be upgraded is forwarded to the and of wireless internet of things equipment 1,2,6,10 by wireless relay 1 one by one in Fig. 7 Wireless relay apparatus 2,3, then wireless internet of things equipment 2,3,4,5,9,11 and wireless relay are forwarded to by wireless relay apparatus 2,3 Equipment 4,5, wireless internet of things equipment 7,8,12,13 is finally forwarded to by wireless relay apparatus 4,5.Thus upgrade in whole network 13 wireless internet of things equipment needed for time be:T+3* Δ t, wherein t are needed for one wireless internet of things equipment of upgrading Time, Δ t are once to forward required delay time.As long as the Δ t in this network<4t, then upgrade in whole wireless network Wireless internet of things equipment needed for total time of the time just than point-to-point upgrading one by one it is short.
In superincumbent each embodiment, though it is shown that deposit the equipment of firmware to be upgraded, wireless internet of things equipment and The specific number of wireless relay apparatus, but this is not limitation, can be changed as the case may be.
Using one-to-many, the multi-to-multi of wireless networking, and relay transmission mode, the wireless Internet of Things in whole wireless network It is the time required to the firmware upgrade of net equipment:T+n* Δ t, wherein t are to upgrade the time needed for a wireless internet of things equipment, Δ T is once to forward required delay time, and n is the number forwarded in wireless network.Therefore, the wireless thing in whole wireless network Relevant with the number of relay forwarding in wireless network the time required to the firmware upgrade of networked devices, the number of wireless relay forwarding is got over Few, the required time is shorter, otherwise the required time is longer.
Above by specific embodiment, the present invention is described, but the present invention is not limited to these specific implementations Example.It will be understood by those skilled in the art that various modifications, equivalent substitution, change etc. can also be made to the present invention, such as will be upper State in embodiment step and be divided into two or more steps to realize, or on the contrary, by two in above-described embodiment Or more the function of step put in one step to realize.But these convert the spirit without departing from the present invention, all Should be within protection scope of the present invention.In addition, some terms used in present specification and claims, are not Limitation, it is only for be easy to describe.In addition, " one embodiment ", " another embodiment " described in above many places etc., table Show different embodiments, naturally it is also possible to completely or partially combine it in one embodiment.

Claims (18)

  1. A kind of 1. method that wireless internet of things DFU is realized using wireless networking, wherein the wireless internet of things equipment With relay function and wireless networking function, it is characterised in that comprise the following steps:
    Firmware file packet to be upgraded is sent to communication distance scope by the equipment that firmware to be upgraded is deposited in wireless network Interior wireless internet of things equipment;And
    The wireless internet of things equipment of firmware file packet is received by wireless networking mode firmware file number to be upgraded Other in wireless network wireless internet of things equipment with firmware adaptations are transferred to according to bag.
  2. 2. the method for realizing wireless internet of things DFU using wireless networking as claimed in claim 1, its feature exist In further comprising the steps of:
    The wireless internet of things equipment not upgraded be linked into internet of things equipment in the wireless network of promoted completion when, by one by one Receive the firmware file packet that the wireless internet of things equipment of promoted completion is sent, firmware updating file;Or when , can be right when the wireless internet of things equipment of firmware upgrade is linked into the wireless network for the wireless internet of things equipment that firmware does not upgrade The wireless internet of things equipment of all and firmware adaptations in wireless network carries out firmware upgrade.
  3. 3. the method for realizing wireless internet of things DFU using wireless networking as claimed in claim 2, its feature exist In:The difference point that the wireless internet of things equipment not upgraded is sent by the wireless internet of things equipment of Asynchronous Reception promoted completion The firmware bag of bag sequence number, and the packet being divided into by firmware bag sequence number splicing firmware file, firmware updating file.
  4. 4. the method for realizing wireless internet of things DFU using wireless networking as claimed in claim 1, its feature exist In further comprising the steps of:
    Firmware file to be upgraded is passed to by wired or wireless way by the equipment that firmware to be upgraded is deposited in wireless network.
  5. 5. the method for realizing wireless internet of things DFU using wireless networking as claimed in claim 1, its feature exist In:Wireless internet of things equipment is receiving the firmware file data to be upgraded of the wireless internet of things equipment of other types or model Bao Shi, the wireless internet of things that the firmware file relaying data packets are transferred to respective type or model are set by wireless networking mode It is standby.
  6. 6. the method for realizing wireless internet of things DFU using wireless networking as claimed in claim 1, its feature exist In:Firmware file to be upgraded is divided into multiple packets by the equipment for depositing firmware to be upgraded, by wired or wireless way by Bag is sent to the wireless internet of things equipment in wireless network.
  7. 7. the method for realizing wireless internet of things DFU using wireless networking as claimed in claim 1, its feature exist In:After wireless internet of things equipment first finishes receiving whole firmware file packet, then firmware file is divided into multiple packets, Other and the firmware adaptations firmware file packet to be upgraded being transferred to one by one by wireless networking mode in wireless network Wireless internet of things equipment.
  8. A kind of 8. method that wireless internet of things DFU is realized using wireless networking, wherein the wireless internet of things equipment With wireless networking function, it is characterised in that comprise the following steps:
    Firmware file packet to be upgraded is sent to communication distance scope by the equipment that firmware to be upgraded is deposited in wireless network Interior wireless relay apparatus and wireless internet of things equipment;And
    The wireless relay apparatus of firmware file packet is received by wireless networking mode firmware file data to be upgraded Other wireless relay apparatus and/or wireless internet of things equipment forwarded a packet in wireless network.
  9. 9. the method for realizing wireless internet of things DFU using wireless networking as claimed in claim 8, its feature exist In further comprising the steps of:
    Firmware file to be upgraded is passed to by wired or wireless way by the equipment that firmware to be upgraded is deposited in wireless network.
  10. 10. the method for realizing wireless internet of things DFU using wireless networking as claimed in claim 8, its feature exist In:Firmware file to be upgraded is divided into multiple packets by the equipment for depositing firmware to be upgraded, by wired or wireless way by Bag is sent to wireless relay apparatus and wireless internet of things equipment in wireless network.
  11. 11. the method for realizing wireless internet of things DFU using wireless networking as claimed in claim 8, its feature exist In:After wireless relay apparatus first finishes receiving whole firmware file packet, then firmware file is divided into multiple packets, it is logical Cross other wireless relay apparatus that wireless networking mode is one by one transferred to firmware file packet to be upgraded in wireless network With wireless internet of things equipment.
  12. 12. a kind of Internet of Things, include the equipment and wireless internet of things equipment of storage firmware to be upgraded, it is characterised in that:
    The wireless internet of things equipment has relay function and wireless networking function;
    The equipment for depositing firmware to be upgraded is used to have the wireless internet of things equipment in communication in wireless networks distance range Line or radio firmware upgrading;And
    The wireless internet of things equipment for receiving firmware file packet can be by wireless networking mode firmware file to be upgraded Packet is transferred to other in wireless network wireless internet of things equipment with firmware adaptations.
  13. 13. Internet of Things as claimed in claim 12, it is characterised in that:The wireless internet of things equipment can be deposited to be upgraded solid Part file.
  14. 14. Internet of Things as claimed in claim 12, it is characterised in that:The wireless internet of things equipment can be to being linked into Internet of Things The wireless internet of things equipment not upgraded of net sends firmware file packet, with firmware updating file.
  15. 15. Internet of Things as claimed in claim 12, it is characterised in that:The wireless internet of things equipment is receiving other types Or the wireless internet of things equipment of model firmware file packet to be upgraded when, by wireless networking mode the firmware file Relaying data packets are transferred to the wireless internet of things equipment of respective type or model.
  16. 16. Internet of Things as claimed in claim 12, it is characterised in that:Wireless internet of things equipment is first whole firmware file data Wrap after finishing receiving, then firmware file is divided into multiple packets, by wireless networking mode firmware file number to be upgraded Other in wireless network wireless internet of things equipment with firmware adaptations are transferred to one by one according to bag.
  17. 17. a kind of Internet of Things, include the equipment and wireless internet of things equipment of storage firmware to be upgraded, it is characterised in that also wrap Include:
    Wireless relay apparatus;
    The equipment for depositing firmware to be upgraded is used to firmware file packet to be upgraded is sent to the nothing in the range of communication distance Line trunking and wireless internet of things equipment;And
    The wireless relay apparatus of firmware file packet is received by wireless networking mode firmware file data to be upgraded Other wireless relay apparatus and/or wireless internet of things equipment forwarded a packet in wireless network.
  18. 18. Internet of Things as claimed in claim 17, it is characterised in that:Wireless relay apparatus is first whole firmware file packet After finishing receiving, then firmware file is divided into multiple packets, by wireless networking mode firmware file data to be upgraded Bag is transferred to other wireless relay apparatus and wireless internet of things equipment in wireless network one by one.
CN201710952261.7A 2017-10-13 2017-10-13 Method for upgrading firmware of wireless Internet of things equipment and Internet of things Pending CN107896158A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710952261.7A CN107896158A (en) 2017-10-13 2017-10-13 Method for upgrading firmware of wireless Internet of things equipment and Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710952261.7A CN107896158A (en) 2017-10-13 2017-10-13 Method for upgrading firmware of wireless Internet of things equipment and Internet of things

Publications (1)

Publication Number Publication Date
CN107896158A true CN107896158A (en) 2018-04-10

Family

ID=61803646

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710952261.7A Pending CN107896158A (en) 2017-10-13 2017-10-13 Method for upgrading firmware of wireless Internet of things equipment and Internet of things

Country Status (1)

Country Link
CN (1) CN107896158A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108600892A (en) * 2018-06-15 2018-09-28 歌尔科技有限公司 A kind of upgrade method, device, wireless headset, TWS earphones and charging box
CN109032644A (en) * 2018-07-27 2018-12-18 蔚来汽车有限公司 The upgrade method and device, controller and medium of charging pile, the pile group that charges
CN110138672A (en) * 2019-05-17 2019-08-16 重庆物奇科技有限公司 A kind of internet of things data transmission method and system
CN110531653A (en) * 2019-08-01 2019-12-03 北京搜狗科技发展有限公司 A kind of control method, device and the device for control
CN112769935A (en) * 2021-01-08 2021-05-07 浙江大华技术股份有限公司 Equipment upgrading method and device, storage medium and electronic device
CN112788570A (en) * 2020-12-31 2021-05-11 广州技象科技有限公司 Internet of things equipment management method and device
CN113055216A (en) * 2019-12-27 2021-06-29 广东博智林机器人有限公司 Mesh network upgrading method and system, computer device and storage medium
CN114679439A (en) * 2021-12-31 2022-06-28 诺领科技(南京)有限公司 Bluetooth BLE-based auxiliary upgrade package downloading method for Internet of things

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286867A (en) * 2007-05-29 2008-10-15 深圳市同洲电子股份有限公司 Software updating method and system of network equipment
CN102136934A (en) * 2010-10-21 2011-07-27 华为技术有限公司 Method, device and network system for realizing remote upgrading of Zigbee equipment
CN102143508A (en) * 2010-12-06 2011-08-03 华为终端有限公司 Upgrading method and upgrading device for wireless repeater
CN106453520A (en) * 2016-09-22 2017-02-22 合肥工业大学 Wireless program downloading method of collecting node of Internet of Things monitoring system
CN106843932A (en) * 2016-12-26 2017-06-13 歌尔科技有限公司 The upgrade method and system of virtual reality device firmware
CN106953902A (en) * 2017-03-10 2017-07-14 深圳市金正方科技股份有限公司 The method and apparatus of electric energy meter firmware upgrade
CN107104839A (en) * 2017-05-19 2017-08-29 京信通信技术(广州)有限公司 Firmware upgrade method, device, server, Internet of things system and RF tag

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286867A (en) * 2007-05-29 2008-10-15 深圳市同洲电子股份有限公司 Software updating method and system of network equipment
CN102136934A (en) * 2010-10-21 2011-07-27 华为技术有限公司 Method, device and network system for realizing remote upgrading of Zigbee equipment
CN102143508A (en) * 2010-12-06 2011-08-03 华为终端有限公司 Upgrading method and upgrading device for wireless repeater
CN106453520A (en) * 2016-09-22 2017-02-22 合肥工业大学 Wireless program downloading method of collecting node of Internet of Things monitoring system
CN106843932A (en) * 2016-12-26 2017-06-13 歌尔科技有限公司 The upgrade method and system of virtual reality device firmware
CN106953902A (en) * 2017-03-10 2017-07-14 深圳市金正方科技股份有限公司 The method and apparatus of electric energy meter firmware upgrade
CN107104839A (en) * 2017-05-19 2017-08-29 京信通信技术(广州)有限公司 Firmware upgrade method, device, server, Internet of things system and RF tag

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108600892A (en) * 2018-06-15 2018-09-28 歌尔科技有限公司 A kind of upgrade method, device, wireless headset, TWS earphones and charging box
CN109032644A (en) * 2018-07-27 2018-12-18 蔚来汽车有限公司 The upgrade method and device, controller and medium of charging pile, the pile group that charges
CN110138672A (en) * 2019-05-17 2019-08-16 重庆物奇科技有限公司 A kind of internet of things data transmission method and system
CN110531653A (en) * 2019-08-01 2019-12-03 北京搜狗科技发展有限公司 A kind of control method, device and the device for control
CN113055216A (en) * 2019-12-27 2021-06-29 广东博智林机器人有限公司 Mesh network upgrading method and system, computer device and storage medium
CN113055216B (en) * 2019-12-27 2022-06-03 广东博智林机器人有限公司 Mesh network upgrading method and system, computer device and storage medium
CN112788570A (en) * 2020-12-31 2021-05-11 广州技象科技有限公司 Internet of things equipment management method and device
CN112769935A (en) * 2021-01-08 2021-05-07 浙江大华技术股份有限公司 Equipment upgrading method and device, storage medium and electronic device
CN114679439A (en) * 2021-12-31 2022-06-28 诺领科技(南京)有限公司 Bluetooth BLE-based auxiliary upgrade package downloading method for Internet of things

Similar Documents

Publication Publication Date Title
CN107896158A (en) Method for upgrading firmware of wireless Internet of things equipment and Internet of things
CN104221449B (en) For realizing the method and apparatus that synchronous bluetooth and LTE/WIMAX transmission coexists
CN103902339B (en) A kind of installation method of application program, terminal and server
CN106533883A (en) Network private line establishment method, apparatus and system
CN103702312B (en) Wireless information transfer method and apparatus
CN105872002A (en) Video program obtaining method and system, and device
CN104580376B (en) The methods, devices and systems connected between terminal are established in a local network
CN109688536A (en) Realize method, apparatus, storage medium and the equipment of small opening base station
CN107148018A (en) The collocation method of wireless network, device and system
CN108260183A (en) Wireless handheld electronic device, intelligent electronic device and its pairing connection method
CN108306938A (en) A kind of method, apparatus and gateway of Internet of Things product automatic networking
CN107181618A (en) Firmware upgrade method and system
CN104284366B (en) A kind of communication means and user equipment
CN103780952A (en) Intelligent terminal message sending method and system
CN107332814A (en) A kind of request message transmission method and device
CN105246129B (en) The network-building method and device of a kind of intelligent terminal
CN105245464A (en) Network acceleration method based on Android system
CN106209656A (en) Router upgrade system, method and router
CN106658656A (en) Method and device for connection control of wireless fidelity WiFi hotspot
CN106413130B (en) A kind of Bluetooth connecting method and device
CN107666667B (en) A kind of data transmission method, the first equipment and the second equipment
CN106683214A (en) Method and device for acquiring attendance verification data
CN105721395B (en) Data synchronous configuration method, equipment and system
US20160100021A1 (en) Information processing device, destination information updating method, and record medium
CN107211236A (en) The link resource management of service layer

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180410

RJ01 Rejection of invention patent application after publication