CN114422485B - Firmware updating method and device for Zigbee wireless intelligent device - Google Patents

Firmware updating method and device for Zigbee wireless intelligent device Download PDF

Info

Publication number
CN114422485B
CN114422485B CN202210100219.3A CN202210100219A CN114422485B CN 114422485 B CN114422485 B CN 114422485B CN 202210100219 A CN202210100219 A CN 202210100219A CN 114422485 B CN114422485 B CN 114422485B
Authority
CN
China
Prior art keywords
networking
zigbee
equipment
communication mode
firmware
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.)
Active
Application number
CN202210100219.3A
Other languages
Chinese (zh)
Other versions
CN114422485A (en
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.)
Shanghai Shuncom Smart Technology Co ltd
Original Assignee
Shanghai Shuncom Smart Technology 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 Shanghai Shuncom Smart Technology Co ltd filed Critical Shanghai Shuncom Smart Technology Co ltd
Priority to CN202210100219.3A priority Critical patent/CN114422485B/en
Publication of CN114422485A publication Critical patent/CN114422485A/en
Application granted granted Critical
Publication of CN114422485B publication Critical patent/CN114422485B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/656Updates while running
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the invention discloses a firmware updating method and device of Zigbee wireless intelligent equipment, wherein the method comprises the following steps: obtaining networking equipment of the zigbee self-networking; if the fact that the coordinator equipment is not included in the zigbee ad hoc network is determined, acquiring field equipment related to the zigbee ad hoc network, and judging whether the field equipment has a zigbee communication function; if the field device is determined to have the zigbee communication function, sending broadcast information to the networking device through the field device so as to switch the networking device into a standby communication mode; wherein, the transmission rate of the standby communication mode is greater than that of the zigbee communication mode; and sending the firmware to be updated to the networking equipment based on the standby communication mode through the field equipment so as to finish the firmware update of the networking equipment. The technical scheme provided by the embodiment of the invention realizes wireless update of the firmware of the zigbee device, reduces the manpower resources occupied by firmware update, greatly improves the firmware update speed and improves the user experience of the zigbee device.

Description

Firmware updating method and device for Zigbee wireless intelligent device
Technical Field
The embodiment of the invention relates to communication and artificial intelligence technology, in particular to a firmware updating method, a device, a server and a storage medium of Zigbee wireless intelligent equipment.
Background
As a low-power wireless communication method, zigbee (Zigbee) communication is widely used in a plurality of fields such as smart home and smart traffic because of its ad hoc network characteristics.
In the prior art, firmware update of a Zigbee device is usually performed by physical burning, i.e. re-burning new firmware on a Flash chip of a Zigbee module, or by Over-the-Air Technology (OTA).
However, in the above-mentioned physical recording manner, since the Zigbee module is already installed on a specific device, the recording process is complicated, and a large amount of human resources are required to be occupied; when updating firmware through OTA, the updating speed is slow, and a firmware with a size of hundreds of KB needs to occupy a plurality of minutes of updating time.
Disclosure of Invention
The embodiment of the invention provides a firmware updating method, a device, a server and a storage medium of Zigbee wireless intelligent equipment, so as to improve the firmware updating speed of the Zigbee equipment.
In a first aspect, an embodiment of the present invention provides a firmware update method for a Zigbee wireless intelligent device, including:
obtaining networking equipment of a zigbee ad hoc network, and judging whether the zigbee ad hoc network comprises a coordinator equipment or not;
if the fact that the Zigbee ad hoc network does not comprise the coordinator equipment is determined, acquiring field equipment related to the Zigbee ad hoc network, and judging whether the field equipment has a Zigbee communication function or not;
if the field device is determined to have the zigbee communication function, sending broadcast information to the networking device through the field device so as to switch the networking device into a standby communication mode; wherein the transmission rate of the standby communication mode is greater than that of the zigbee communication mode;
and sending firmware to be updated to the networking equipment based on the standby communication mode through the field equipment so as to finish firmware updating of the networking equipment.
In a second aspect, an embodiment of the present invention provides a firmware update apparatus for a Zigbee wireless intelligent device, including:
the networking equipment acquisition module is used for acquiring networking equipment of the zigbee ad hoc network and judging whether the zigbee ad hoc network comprises a coordinator equipment or not;
the device comprises a zigbee communication function judging module, a wireless communication module and a wireless communication module, wherein the zigbee communication function judging module is used for acquiring field devices related to the zigbee ad hoc network and judging whether the field devices have a zigbee communication function if the zigbee ad hoc network does not include a coordinator device;
the switching execution module is used for sending broadcast information to the networking equipment through the field equipment if the field equipment is determined to have the zigbee communication function so as to enable the networking equipment to be switched to a standby communication mode; wherein the transmission rate of the standby communication mode is greater than that of the zigbee communication mode;
and the firmware to be updated sending module is used for sending the firmware to be updated to the networking equipment based on the standby communication mode through the field equipment so as to finish the firmware update of the networking equipment.
In a third aspect, an embodiment of the present invention further provides a server, where the server includes:
one or more processors;
a storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the firmware update method of the Zigbee wireless intelligent device according to any embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a storage medium containing computer executable instructions, where the computer executable instructions when executed by a computer processor implement a firmware update method of a Zigbee wireless smart device according to any embodiment of the present invention.
According to the technical scheme provided by the embodiment of the invention, after the networking equipment of the zigbee ad hoc network is obtained and the fact that the coordinator equipment is not included in the zigbee ad hoc network is determined, if the field equipment is determined to have the zigbee communication function, broadcast information is sent to the networking equipment through the field equipment so that the networking equipment is switched to a standby communication mode with a higher transmission rate, and further, firmware to be updated is sent to the networking equipment through the field equipment based on the standby communication mode so as to complete firmware update of the networking equipment, wireless update of the firmware of the zigbee equipment is realized, manpower resources occupied by firmware update are reduced, meanwhile, the firmware update speed is greatly improved, and the user experience of the zigbee equipment is improved.
Drawings
Fig. 1 is a flowchart of a firmware update method of a Zigbee wireless intelligent device according to an embodiment of the present invention;
fig. 2 is a flowchart of a firmware update method of a Zigbee wireless intelligent device according to a second embodiment of the present invention;
fig. 3 is a block diagram of a firmware update apparatus of a Zigbee wireless intelligent device according to a third embodiment of the present invention;
fig. 4 is a block diagram of a server according to a fourth embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Example 1
Fig. 1 is a flowchart of a firmware update method of a Zigbee wireless intelligent device according to a first embodiment of the present invention, where the method may be applicable to fast update firmware of a Zigbee wireless intelligent device, and the method may be performed by a firmware update apparatus of a Zigbee wireless intelligent device according to the embodiment of the present invention, where the apparatus may be implemented by software and/or hardware and integrated on a server, and the method specifically includes the following steps:
s110, acquiring networking equipment of the zigbee self-networking, and judging whether the zigbee self-networking comprises a coordinator equipment or not.
When the Zigbee network is established, a network coordinator initiates networking, and each node device is connected to the network through the network coordinator; the network coordinator is not only a convergence point of information of each node in the network, but also a core node of the network and is responsible for building, maintaining and managing the Zigbee network; the network coordinator can realize data transmission between each node and the upper computer through the serial port, and can also send data to the remote control end. After the Zigbee network is built, if the reporting of the data is not needed, in order to reduce the occupied hardware resources, the entity device carrying the network coordinator, i.e., the coordinator device (e.g., gateway device), may be moved out of the built Zigbee network, i.e., the Zigbee network only includes each node device, and does not include the coordinator device; therefore, after the networking device of the Zigbee ad hoc network is obtained, whether the Zigbee network includes the coordinator device is determined according to the device information that forms the Zigbee network.
S120, if the fact that the Zigbee ad hoc network does not comprise a coordinator device is determined, acquiring field devices related to the Zigbee ad hoc network, and judging whether the field devices have a Zigbee communication function or not.
The field device can be a mobile device carried by a maintainer, such as a mobile phone, a tablet computer and other terminal devices, or a fixed device in an area where the Zigbee ad hoc network is located, for example, the Zigbee ad hoc network is a Zigbee network formed by a plurality of intelligent illumination lamps in a teaching room, and the field device is a terminal device in the teaching room; the field device and the server are pre-established with communication connection through a mobile communication network, the Internet or the Internet of things; after the server acquires the communication function identifier reported by the field device, the server can judge whether the field device has a Zigbee communication function or not; the field device can realize the Zigbee communication function by means of a built-in Zigbee communication module or an external Zigbee communication module.
S130, if the field device is determined to have the zigbee communication function, sending broadcast information to the networking device through the field device so as to switch the networking device into a standby communication mode; wherein, the transmission rate of the standby communication mode is larger than that of the zigbee communication mode.
The networking equipment of the Zigbee ad hoc network has the wireless communication modules in a Zigbee communication mode in a normal operation state, and if the field equipment has a Zigbee communication function, broadcast information is sent to the networking equipment through the field equipment so that the networking equipment is switched from the Zigbee communication mode to a standby communication mode; the transmission rate of the Zigbee communication is slower, and the standby communication mode is a communication mode with a faster transmission rate, for example, WIFI (wireless network communication technology) communication and bluetooth communication, so as to improve the firmware update speed of the Zigbee device.
Optionally, in an embodiment of the present invention, after determining whether the zigbee ad hoc network includes a coordinator device, the method further includes: if the zigbee ad hoc network is determined to comprise a coordinator device, sending broadcast information to the networking device through the coordinator device so as to enable the networking device to be switched into a standby communication mode; and sending firmware to be updated to the networking equipment based on the standby communication mode through the coordinator equipment so as to finish firmware updating of the networking equipment. The coordinator device is usually integrated in the gateway device, if the Zigbee ad hoc network includes the coordinator device, broadcast information is directly sent to the networking device through the coordinator device, so that the networking device is switched to a standby communication mode.
Optionally, in an embodiment of the present invention, the sending, by the field device, broadcast information to the networking device to switch the networking device to a standby communication mode includes: sending broadcast information to the networking equipment through the field equipment so as to set a starting mode of the networking equipment as a standby communication mode and enable the networking equipment to execute restarting operation; or sending, by the coordinator device, broadcast information to the networking device, so that the networking device is switched to a standby communication mode, including: and sending broadcast information to the networking equipment through the coordinator equipment so as to set the starting mode of the networking equipment to be a standby communication mode and enable the networking equipment to execute restarting operation. And sending a starting mode identifier to the networking equipment through the field equipment or the coordinator equipment so that the networking equipment sets the starting mode identifier to be in a standby communication mode, and sending a restarting identifier to the networking equipment so that the networking equipment can finish equipment restarting and can operate in the standby communication mode after restarting, thereby finishing communication mode switching of the networking equipment.
Optionally, in an embodiment of the present invention, after determining whether the field device has a zigbee communication function, the method further includes: and if the field device does not have the zigbee communication function, sending a guide instruction to the field device to guide a user to switch the networking device into a standby communication mode in a physical triggering mode. If the field device does not have the Zigbee communication function, the server cannot directly send out broadcast information through the field device, and at this time, the server sends out a guide instruction to the field device, so as to guide the user to switch the networking device into the standby communication mode through a physical triggering manner, for example, through a physical key on the networking device, through triggering manners such as multiple triggering, continuous triggering, key combination triggering, and the like.
Optionally, in an embodiment of the present invention, the networking device includes a networking control device and a networking execution device; if the field device is determined not to have the zigbee communication function, sending a guide instruction to the field device to guide a user to switch the networking device to a standby communication mode through a physical triggering manner, including: and if the field device does not comprise the zigbee communication function, sending a guide instruction to the field device to guide a user to send broadcast information to the networking execution device through the networking control device based on a physical trigger mode so as to switch the networking execution device into a standby communication mode. Taking a smart classroom as an example, a plurality of intelligent lighting lamps (i.e. networking execution devices) are included in one classroom, and the plurality of intelligent lighting lamps are controlled through one control panel (i.e. networking control device), so that a user is guided to switch the control panel into a standby communication mode in a physical triggering mode, and the control panel can send broadcast information to all lighting lamps through physical triggering of the control panel, for example, physical keys of the control panel are clicked to send a communication mode switching instruction of the control panel; the physical key of the control panel is a command for sending broadcast information through the control panel; and further, the communication mode of the lighting lamp is changed, so that the mode changing efficiency of networking equipment is improved, the manual operation cost is reduced, and the firmware updating efficiency is improved.
Optionally, in an embodiment of the present invention, the sending, by the field device, firmware to be updated to the networking device based on the standby communication mode to complete firmware update of the networking device further includes: and sequentially sending firmware to be updated to the networking execution device and the networking control device based on the standby communication mode through the field device so as to complete firmware update of the networking execution device and the networking control device. Because the firmware of the networking control equipment and the firmware of the networking execution equipment are different, after the communication modes of the networking control equipment and the networking execution equipment are switched, the matched firmware to be updated is sequentially sent to the networking execution equipment and the networking control equipment, after the firmware is updated, the starting identification of the networking control equipment and the networking execution equipment is set to be in a Zigbee communication mode, and the networking control equipment and the networking execution equipment execute restarting operation.
And S140, transmitting firmware to be updated to the networking equipment based on the standby communication mode through the field equipment so as to finish firmware updating of the networking equipment.
Because the transmission rate of the standby communication mode is greater than that of the Zigbee communication mode, the transmission rate of the firmware to be updated is higher in the standby communication mode, and the firmware updating speed of the networking equipment is improved.
Optionally, in an embodiment of the present invention, the sending, by the field device, firmware to be updated to the networking device based on the standby communication mode to complete firmware update of the networking device further includes: and acquiring a node list in the standby communication mode through the field device, and establishing communication connection in the standby communication mode through the field device and the networking device based on the node list. Taking the above technical solution as an example, the standby communication mode may be a Mesh network of bluetooth low energy (Bluetooth Low Energy, BLE); since the networking device has been switched to the standby communication mode. Therefore, after acquiring node information under the BLE Mesh network, the field device reports the node information to the server, and the server establishes communication connection under the BLE Mesh network with each networking device through the field device based on a node list under the BLE Mesh network, so that transmission of firmware to be updated is completed under the BLE Mesh network.
According to the technical scheme provided by the embodiment of the invention, after the networking equipment of the zigbee ad hoc network is obtained and the fact that the coordinator equipment is not included in the zigbee ad hoc network is determined, if the field equipment is determined to have the zigbee communication function, broadcast information is sent to the networking equipment through the field equipment so that the networking equipment is switched to a standby communication mode with a higher transmission rate, and further, firmware to be updated is sent to the networking equipment through the field equipment based on the standby communication mode so as to complete firmware update of the networking equipment, wireless update of the firmware of the zigbee equipment is realized, manpower resources occupied by firmware update are reduced, meanwhile, the firmware update speed is greatly improved, and the user experience of the zigbee equipment is improved.
Example two
Fig. 2 is a flowchart of a firmware update method of a Zigbee wireless intelligent device according to a second embodiment of the present invention, where the embodiment of the present invention is embodied on the basis of the foregoing technical solution, and specifically the method includes the following steps:
s201, obtaining networking equipment of a zigbee self-networking; s202 is performed.
S202, judging whether the zigbee ad hoc network comprises a coordinator device or not; if yes, executing S203; if not, S205 is performed.
S203, sending broadcast information to the networking equipment through the coordinator equipment so as to enable the networking equipment to be switched into a standby communication mode; s204 is performed.
S204, sending firmware to be updated to the networking equipment based on the standby communication mode through the coordinator equipment so as to complete firmware update of the networking equipment; s210 is performed.
S205, acquiring field devices related to the zigbee ad hoc network; s206 is performed.
S206, judging whether the field device has a zigbee communication function; if yes, executing S207; if not, S208 is performed.
S207, sending broadcast information to the networking equipment through the field equipment so as to enable the networking equipment to be switched into a standby communication mode; wherein the transmission rate of the standby communication mode is greater than that of the zigbee communication mode; s209 is performed.
S208, sending a guide instruction to the field device to guide a user to switch the networking device into a standby communication mode in a physical triggering mode; s209 is performed.
S209, transmitting firmware to be updated to the networking equipment based on the standby communication mode through the field equipment so as to complete firmware update of the networking equipment; s210 is performed.
S210, ending.
According to the technical scheme provided by the embodiment of the invention, after the networking equipment of the zigbee ad hoc network is obtained, the coordinator equipment or the field equipment sends out the broadcast information so that the networking equipment is switched to the standby communication mode with higher transmission rate, and then the firmware to be updated is sent to the networking equipment based on the standby communication mode by the coordinator equipment or the field equipment so as to complete the firmware update of the networking equipment, thereby realizing the wireless update of the firmware of the zigbee equipment, reducing the manpower resources occupied by the firmware update, greatly improving the firmware update speed and improving the user experience of the zigbee equipment.
Example III
Fig. 3 is a block diagram of a firmware update apparatus of a Zigbee wireless intelligent device according to a third embodiment of the present invention, where the apparatus specifically includes: the device comprises a networking device acquisition module 310, a zigbee communication function judgment module 320, a switch execution module 330 and a firmware to be updated sending module 340.
A networking device obtaining module 310, configured to obtain networking devices of the zigbee ad hoc network, and determine whether the zigbee ad hoc network includes a coordinator device;
the zigbee communication function determining module 320 is configured to obtain a field device related to the zigbee ad hoc network if it is determined that the zigbee ad hoc network does not include a coordinator device, and determine whether the field device has a zigbee communication function;
a switching execution module 330, configured to send, if it is determined that the field device has a zigbee communication function, broadcast information to the networking device through the field device, so that the networking device is switched to a standby communication mode; wherein the transmission rate of the standby communication mode is greater than that of the zigbee communication mode;
and the firmware to be updated sending module 340 is configured to send, by the field device, the firmware to be updated to the networking device based on the standby communication mode, so as to complete firmware update of the networking device.
According to the technical scheme provided by the embodiment of the invention, after the networking equipment of the zigbee ad hoc network is obtained and the fact that the coordinator equipment is not included in the zigbee ad hoc network is determined, if the field equipment is determined to have the zigbee communication function, broadcast information is sent to the networking equipment through the field equipment so that the networking equipment is switched to a standby communication mode with a higher transmission rate, and further, firmware to be updated is sent to the networking equipment through the field equipment based on the standby communication mode so as to complete firmware update of the networking equipment, wireless update of the firmware of the zigbee equipment is realized, manpower resources occupied by firmware update are reduced, meanwhile, the firmware update speed is greatly improved, and the user experience of the zigbee equipment is improved.
Optionally, on the basis of the above technical solution, the switching execution module 330 is further configured to send, if it is determined that the zigbee ad hoc network includes a coordinator device, broadcast information to the networking device through the coordinator device, so that the networking device is switched to a standby communication mode.
Optionally, based on the above technical solution, the firmware to be updated sending module 340 is further configured to send, by the coordinator device, the firmware to be updated to the networking device based on the standby communication mode, so as to complete firmware update of the networking device.
Optionally, based on the above technical solution, the switch execution module 330 is specifically configured to send, through the field device, broadcast information to the networking device, so as to set a start mode of the networking device to a standby communication mode, and make the networking device execute a restart operation; or sending broadcast information to the networking equipment through the coordinator equipment so as to set the starting mode of the networking equipment to be a standby communication mode and enable the networking equipment to execute restarting operation.
Optionally, based on the above technical solution, the firmware sending module 340 to be updated is specifically configured to obtain, by using the field device, a node list in the standby communication mode, and establish, based on the node list, communication connection in the standby communication mode with the networking device through the field device.
Optionally, based on the above technical solution, the firmware update apparatus of the Zigbee wireless intelligent device further includes:
and the guide instruction sending module is used for sending a guide instruction to the field device if the field device is determined not to have the zigbee communication function so as to guide a user to switch the networking device into a standby communication mode in a physical triggering mode.
Optionally, on the basis of the above technical solution, the networking device includes a networking control device and a networking execution device;
the guiding instruction sending module is specifically configured to send a guiding instruction to the field device if it is determined that the field device does not include a zigbee communication function, so as to guide a user to send broadcast information to the networking execution device through the networking control device based on a physical triggering manner, so as to switch the networking execution device to a standby communication mode.
Optionally, based on the above technical solution, the firmware to be updated sending module 340 is specifically further configured to send, through the field device, to the networking execution device and the networking control device in turn based on the standby communication mode, the firmware to be updated to complete firmware update of the networking execution device and the networking control device.
The device can execute the firmware updating method of the Zigbee wireless intelligent device provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the executing method. Technical details which are not described in detail in the present embodiment can refer to the firmware updating method of the Zigbee wireless intelligent device provided in any embodiment of the present invention.
Example IV
Fig. 4 is a schematic structural diagram of a server according to a fourth embodiment of the present invention. Fig. 4 illustrates a block diagram of an exemplary server 12 suitable for use in implementing embodiments of the present invention. The server 12 shown in fig. 4 is merely an example, and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 4, the server 12 is in the form of a general purpose computer device. The components of server 12 may include, but are not limited to: one or more processors or processing units 16, a memory 28, and a bus 18 that connects the various system components, including the memory 28 and the processing unit 16.
Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, micro channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Server 12 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by server 12 and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32. The server 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, commonly referred to as a "hard disk drive"). Although not shown in fig. 4, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored in, for example, memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods of the embodiments described herein.
The server 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with the server 12, and/or any devices (e.g., network card, modem, etc.) that enable the server 12 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 22. Also, the server 12 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, via a network adapter 20. As shown, network adapter 20 communicates with the other modules of server 12 via bus 18. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with server 12, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processing unit 16 executes various functional applications and data processing by running a program stored in the memory 28, for example, to implement a firmware update method of the Zigbee wireless smart device provided by the embodiment of the present invention. Namely: obtaining networking equipment of a zigbee ad hoc network, and judging whether the zigbee ad hoc network comprises a coordinator equipment or not; if the fact that the Zigbee ad hoc network does not comprise the coordinator equipment is determined, acquiring field equipment related to the Zigbee ad hoc network, and judging whether the field equipment has a Zigbee communication function or not; if the field device is determined to have the zigbee communication function, sending broadcast information to the networking device through the field device so as to switch the networking device into a standby communication mode; wherein the transmission rate of the standby communication mode is greater than that of the zigbee communication mode; and sending firmware to be updated to the networking equipment based on the standby communication mode through the field equipment so as to finish firmware updating of the networking equipment.
Example five
The fifth embodiment of the present invention further provides a computer readable storage medium, on which a computer program is stored, where the program when executed by a processor implements a firmware update method of a Zigbee wireless intelligent device according to any embodiment of the present invention; the method comprises the following steps:
obtaining networking equipment of a zigbee ad hoc network, and judging whether the zigbee ad hoc network comprises a coordinator equipment or not;
if the fact that the Zigbee ad hoc network does not comprise the coordinator equipment is determined, acquiring field equipment related to the Zigbee ad hoc network, and judging whether the field equipment has a Zigbee communication function or not;
if the field device is determined to have the zigbee communication function, sending broadcast information to the networking device through the field device so as to switch the networking device into a standby communication mode; wherein the transmission rate of the standby communication mode is greater than that of the zigbee communication mode;
and sending firmware to be updated to the networking equipment based on the standby communication mode through the field equipment so as to finish firmware updating of the networking equipment.
The computer storage media of embodiments of the invention may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (9)

1. The firmware updating method of the Zigbee wireless intelligent device is characterized by comprising the following steps of:
obtaining networking equipment of a zigbee ad hoc network, and judging whether the zigbee ad hoc network comprises a coordinator equipment or not;
if the fact that the Zigbee ad hoc network does not comprise the coordinator equipment is determined, acquiring field equipment related to the Zigbee ad hoc network, and judging whether the field equipment has a Zigbee communication function or not;
if the field device is determined to have the zigbee communication function, sending broadcast information to the networking device through the field device so as to switch the networking device into a standby communication mode; wherein the transmission rate of the standby communication mode is greater than that of the zigbee communication mode;
transmitting firmware to be updated to the networking equipment based on the standby communication mode through the field equipment so as to complete firmware update of the networking equipment;
after judging whether the zigbee ad hoc network includes a coordinator device, the method further includes:
if the zigbee ad hoc network is determined to comprise a coordinator device, sending broadcast information to the networking device through the coordinator device so as to enable the networking device to be switched into a standby communication mode;
and sending firmware to be updated to the networking equipment based on the standby communication mode through the coordinator equipment so as to finish firmware updating of the networking equipment.
2. The method of claim 1, wherein said sending, by the field device, broadcast information to the networking device to cause the networking device to switch to a standby communication mode comprises:
sending broadcast information to the networking equipment through the field equipment so as to set a starting mode of the networking equipment as a standby communication mode and enable the networking equipment to execute restarting operation;
or sending, by the coordinator device, broadcast information to the networking device, so that the networking device is switched to a standby communication mode, including:
and sending broadcast information to the networking equipment through the coordinator equipment so as to set the starting mode of the networking equipment to be a standby communication mode and enable the networking equipment to execute restarting operation.
3. The method of claim 1, wherein the sending, by the field device, firmware to be updated to the networking device based on the standby communication mode to complete the firmware update of the networking device, further comprises:
and acquiring a node list in the standby communication mode through the field device, and establishing communication connection in the standby communication mode through the field device and the networking device based on the node list.
4. The method of claim 1, further comprising, after determining whether the field device is zigbee communication enabled:
and if the field device does not have the zigbee communication function, sending a guide instruction to the field device to guide a user to switch the networking device into a standby communication mode in a physical triggering mode.
5. The method of claim 4, wherein the networking device comprises a networking control device and a networking execution device;
if the field device is determined not to have the zigbee communication function, sending a guide instruction to the field device to guide a user to switch the networking device to a standby communication mode through a physical triggering manner, including:
and if the field device does not comprise the zigbee communication function, sending a guide instruction to the field device to guide a user to send broadcast information to the networking execution device through the networking control device based on a physical trigger mode so as to switch the networking execution device into a standby communication mode.
6. The method of claim 5, wherein the sending, by the field device, firmware to be updated to the networking device based on the standby communication mode to complete the firmware update of the networking device, further comprises:
and sequentially sending firmware to be updated to the networking execution device and the networking control device based on the standby communication mode through the field device so as to complete firmware update of the networking execution device and the networking control device.
7. A firmware update apparatus for a Zigbee wireless intelligent device, comprising:
the networking equipment acquisition module is used for acquiring networking equipment of the zigbee ad hoc network and judging whether the zigbee ad hoc network comprises a coordinator equipment or not;
the device comprises a zigbee communication function judging module, a wireless communication module and a wireless communication module, wherein the zigbee communication function judging module is used for acquiring field devices related to the zigbee ad hoc network and judging whether the field devices have a zigbee communication function if the zigbee ad hoc network does not include a coordinator device;
the switching execution module is used for sending broadcast information to the networking equipment through the field equipment if the field equipment is determined to have the zigbee communication function so as to enable the networking equipment to be switched to a standby communication mode; wherein the transmission rate of the standby communication mode is greater than that of the zigbee communication mode;
the firmware to be updated sending module is used for sending the firmware to be updated to the networking equipment based on the standby communication mode through the field equipment so as to complete the firmware update of the networking equipment;
the switching execution module is further configured to, if it is determined that the zigbee ad hoc network includes a coordinator device, send broadcast information to the networking device through the coordinator device, so that the networking device is switched to a standby communication mode;
the firmware to be updated sending module is further configured to send, through the coordinator device, firmware to be updated to the networking device based on the standby communication mode, so as to complete firmware update of the networking device.
8. A server, the server comprising:
one or more processors;
a storage means for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the firmware update method of a Zigbee wireless smart device as in any of claims 1-6.
9. A storage medium containing computer executable instructions which when executed by a computer processor are for performing the firmware update method of a Zigbee wireless smart device of any of claims 1-6.
CN202210100219.3A 2022-01-27 2022-01-27 Firmware updating method and device for Zigbee wireless intelligent device Active CN114422485B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210100219.3A CN114422485B (en) 2022-01-27 2022-01-27 Firmware updating method and device for Zigbee wireless intelligent device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210100219.3A CN114422485B (en) 2022-01-27 2022-01-27 Firmware updating method and device for Zigbee wireless intelligent device

Publications (2)

Publication Number Publication Date
CN114422485A CN114422485A (en) 2022-04-29
CN114422485B true CN114422485B (en) 2023-11-24

Family

ID=81279192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210100219.3A Active CN114422485B (en) 2022-01-27 2022-01-27 Firmware updating method and device for Zigbee wireless intelligent device

Country Status (1)

Country Link
CN (1) CN114422485B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102769973A (en) * 2012-07-16 2012-11-07 东南大学 Light-controlled autonomous street lamp system and control method thereof
CN202677604U (en) * 2012-07-12 2013-01-16 重庆东电通信技术有限公司 Wireless networking control system
EP2644001A1 (en) * 2010-11-26 2013-10-02 Koninklijke Philips N.V. Method for determining an operational channel in a communication network, energy -restricted device and proxy device
CN104580360A (en) * 2014-11-28 2015-04-29 英业达科技有限公司 System and method for updating firmware through heterogeneous network
CN204634055U (en) * 2015-05-27 2015-09-09 苏州麦杰智能科技有限公司 A kind of portable group network system based on wireless ZigBee
CN105657639A (en) * 2015-12-25 2016-06-08 泰凌微电子(上海)有限公司 Dual-mode device and synchronous communication realizing method thereof
CN105847067A (en) * 2016-05-25 2016-08-10 北京小米移动软件有限公司 Method and device for upgrading Zigbee equipment
CN107872810A (en) * 2017-11-16 2018-04-03 广东创达自动化装备有限公司 A kind of ZigBee intelligent networkings method
CN108600892A (en) * 2018-06-15 2018-09-28 歌尔科技有限公司 A kind of upgrade method, device, wireless headset, TWS earphones and charging box
CN108616382A (en) * 2018-03-07 2018-10-02 华为技术有限公司 Upgrade method, apparatus, network interface card and the equipment of network interface card firmware
CA3069348A1 (en) * 2017-08-15 2019-02-21 General Electric Company Smart equipment, method used by smart equipment, smart lamp, and method therefore for use in a bluetooth low energy mesh network
CN110688133A (en) * 2019-08-28 2020-01-14 深圳绿米联创科技有限公司 Method, system and device for upgrading distributed firmware and electronic equipment
CN112188536A (en) * 2020-09-24 2021-01-05 杭州萤石软件有限公司 Zigbee network disaster recovery backup system, method, device and storage medium
CN113645301A (en) * 2021-08-10 2021-11-12 生迪智慧科技有限公司 Communication method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI414163B (en) * 2009-12-04 2013-11-01 Ind Tech Res Inst Heterogeneous wireless sensor network bridge device and control method and flow balancing method for the same

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2644001A1 (en) * 2010-11-26 2013-10-02 Koninklijke Philips N.V. Method for determining an operational channel in a communication network, energy -restricted device and proxy device
CN202677604U (en) * 2012-07-12 2013-01-16 重庆东电通信技术有限公司 Wireless networking control system
CN102769973A (en) * 2012-07-16 2012-11-07 东南大学 Light-controlled autonomous street lamp system and control method thereof
CN104580360A (en) * 2014-11-28 2015-04-29 英业达科技有限公司 System and method for updating firmware through heterogeneous network
CN204634055U (en) * 2015-05-27 2015-09-09 苏州麦杰智能科技有限公司 A kind of portable group network system based on wireless ZigBee
CN105657639A (en) * 2015-12-25 2016-06-08 泰凌微电子(上海)有限公司 Dual-mode device and synchronous communication realizing method thereof
CN105847067A (en) * 2016-05-25 2016-08-10 北京小米移动软件有限公司 Method and device for upgrading Zigbee equipment
CA3069348A1 (en) * 2017-08-15 2019-02-21 General Electric Company Smart equipment, method used by smart equipment, smart lamp, and method therefore for use in a bluetooth low energy mesh network
CN107872810A (en) * 2017-11-16 2018-04-03 广东创达自动化装备有限公司 A kind of ZigBee intelligent networkings method
CN108616382A (en) * 2018-03-07 2018-10-02 华为技术有限公司 Upgrade method, apparatus, network interface card and the equipment of network interface card firmware
CN108600892A (en) * 2018-06-15 2018-09-28 歌尔科技有限公司 A kind of upgrade method, device, wireless headset, TWS earphones and charging box
CN110688133A (en) * 2019-08-28 2020-01-14 深圳绿米联创科技有限公司 Method, system and device for upgrading distributed firmware and electronic equipment
CN112188536A (en) * 2020-09-24 2021-01-05 杭州萤石软件有限公司 Zigbee network disaster recovery backup system, method, device and storage medium
CN113645301A (en) * 2021-08-10 2021-11-12 生迪智慧科技有限公司 Communication method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"A nimble decompression algorithm for ZigBee firmware update in smart home environment";Tuo Feng等;《IEEE》;全文 *
"一种基于WiFi及Zigbee技术的智能家居系统";陈文浩;中国优秀硕士学位论文全文数据库 信息科技辑》;全文 *

Also Published As

Publication number Publication date
CN114422485A (en) 2022-04-29

Similar Documents

Publication Publication Date Title
CN108683574A (en) A kind of apparatus control method, server and intelligent domestic system
KR102076280B1 (en) Method and apparatus for performing communication of electronic device in mobile communicatino system
EP2749988B1 (en) Method and device for application program operation, mobile terminal
CN109951538A (en) Data processing method, device, system, electronic equipment and storage medium
CN111028839B (en) Smart home control method and device and electronic equipment
CN105451299A (en) Method for controlling WiFi connection and electronic equipment thereof
CN111830844A (en) Intelligent equipment control method and device and intelligent household control panel
CN112929246A (en) Processing method of operation instruction, storage medium, program product and user terminal
CN103888867A (en) Loudspeaker box and system and method for controlling loudspeaker box
CN113012695B (en) Intelligent control method and device, electronic equipment and computer readable storage medium
CN105578240A (en) Television terminal interaction method and system
CN103634640A (en) Method and system for controlling voice input of smart television terminal by using mobile terminal equipment
CN111309325A (en) Method and device for reference of third-party library and mobile terminal
CN102984568B (en) A kind of remote controller controls the method and system of mobile terminal
CN114422485B (en) Firmware updating method and device for Zigbee wireless intelligent device
CN111435318A (en) Dex optimization method of application program and terminal
CN111916084A (en) Smart home voice control method and device, equipment and storage medium
CN113395667B (en) Lamp control method and system based on mobile terminal
CN111314495A (en) Communication method, device, equipment, storage medium and system based on LoRaWAN of Internet of things
CN115412993A (en) Relay discovery method, system, device and storage medium
CN102096574B (en) Multiwindow montage display method
WO2019024173A1 (en) Batch management method for saving power of internet of things terminal devices, and relay device
CN112020116B (en) Positioning method, device, system and storage medium
CN204887486U (en) System for automatic networking of intelligence hardware equipment
CN114374614A (en) Network topology configuration method and device

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
GR01 Patent grant
GR01 Patent grant