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

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

Info

Publication number
CN114422485A
CN114422485A CN202210100219.3A CN202210100219A CN114422485A CN 114422485 A CN114422485 A CN 114422485A CN 202210100219 A CN202210100219 A CN 202210100219A CN 114422485 A CN114422485 A CN 114422485A
Authority
CN
China
Prior art keywords
equipment
networking
zigbee
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.)
Granted
Application number
CN202210100219.3A
Other languages
Chinese (zh)
Other versions
CN114422485B (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

Images

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 a firmware updating device of Zigbee wireless intelligent equipment, wherein the method comprises the following steps: acquiring networking equipment of a zigbee ad hoc network; if the fact that the zigbee ad hoc network does not comprise the coordinator device is determined, acquiring field devices related to the zigbee ad hoc network, and judging whether the field devices have the zigbee communication function; if the field device is determined to have the function of the zigbee communication, the broadcast information is sent 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 purple-bee communication mode; and sending the firmware to be updated to the networking equipment through the field equipment based on the standby communication mode so as to complete the firmware update of the networking equipment. The technical scheme provided by the embodiment of the invention realizes wireless updating of the firmware of the zigbee equipment, reduces human resources occupied by firmware updating, greatly improves the firmware updating speed and improves the user experience of the zigbee equipment.

Description

Firmware updating method and device for Zigbee wireless intelligent equipment
Technical Field
The embodiment of the invention relates to communication and artificial intelligence technologies, in particular to a firmware updating method, a firmware updating device, a firmware updating server and a firmware updating storage medium for Zigbee wireless intelligent equipment.
Background
The Zigbee (Zigbee) communication, as a low-power wireless communication mode, is widely used in multiple fields such as smart homes and intelligent transportation due to its ad hoc network characteristics.
In the prior art, firmware update of the Zigbee device is usually performed by physical burning, that is, burning new firmware again on a Flash chip of the Zigbee module, or performing firmware update by Over-the-Air Technology (OTA).
However, in the above physical burning method, since the Zigbee module is already installed on a specific device, the burning process is complicated, and a large amount of human resources need to be occupied; when firmware update is performed through OTA, the update rate is slow, and a firmware with a size of several hundred KB takes several minutes of update 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, which are used for improving the firmware updating speed of Zigbee equipment.
In a first aspect, an embodiment of the present invention provides a firmware updating method for a Zigbee wireless intelligent device, including:
acquiring networking equipment of a zigbee ad hoc network, and judging whether the zigbee ad hoc network comprises coordinator equipment;
if the fact that 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 or not;
if the field device is determined to have the function of zigbee communication, broadcast information is sent to the networking device through the field device, so that the networking device is switched to a standby communication mode; wherein a transmission rate of the standby communication mode is greater than a zigbee communication mode;
and sending the firmware to be updated to the networking equipment through the field equipment based on the standby communication mode so as to complete the firmware update of the networking equipment.
In a second aspect, an embodiment of the present invention provides a firmware updating apparatus for a Zigbee wireless intelligent device, including:
the network equipment acquisition module is used for acquiring network equipment of the Zigbee ad hoc network and judging whether the Zigbee ad hoc network comprises coordinator equipment or not;
the zigbee communication function judgment module is used for 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 fact that the zigbee ad hoc network does not include coordinator equipment is determined;
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 function of zigbee communication so as to switch the networking equipment into a standby communication mode; wherein a transmission rate of the standby communication mode is greater than a zigbee communication mode;
and the firmware to be updated sending module is used for sending the firmware to be updated to the networking equipment through the field equipment based on the standby communication mode so as to complete 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;
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 updating 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 the firmware updating method for a Zigbee wireless intelligent 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 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, the field equipment sends broadcast information to the networking equipment so that the networking equipment is switched to the standby communication mode with a higher transmission rate, and then the field equipment sends the firmware to be updated to the networking equipment based on the standby communication mode to complete the firmware update of the networking equipment, so that the wireless update of the zigbee equipment firmware is realized, the human resources occupied by the firmware update are reduced, the firmware update speed is greatly increased, and the user experience of the zigbee equipment is improved.
Drawings
Fig. 1 is a flowchart illustrating a firmware updating method for a Zigbee wireless intelligent device according to an embodiment of the present invention;
fig. 2 is a flowchart of a firmware updating method of a Zigbee wireless intelligent device according to a second embodiment of the present invention;
fig. 3 is a block diagram illustrating a structure of a firmware updating 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 present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a firmware updating method for a Zigbee wireless intelligent device according to an embodiment of the present invention, where the present embodiment is applicable to quickly updating a firmware of a Zigbee device, and the method may be executed by a firmware updating apparatus for a Zigbee wireless intelligent device according to an embodiment of the present invention, where the apparatus may be implemented by software and/or hardware and is integrated on a server, and the method specifically includes the following steps:
s110, acquiring networking equipment of the ZigBee ad hoc network, and judging whether the ZigBee ad hoc network comprises coordinator equipment.
When the Zigbee network is established, a network coordinator initiates networking, and each node device is connected with the network through the network coordinator; the network coordinator is not only a convergent point of information of each node in the network, but also a core node of the network, and is responsible for the establishment, maintenance and management of 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 established, if data reporting is not needed, and in order to reduce occupied hardware resources, an entity device, that is, a coordinator device (e.g., a gateway device), which carries a network coordinator may be moved out of the established Zigbee network, that is, the Zigbee network only has each node device, and does not include the coordinator device; therefore, after the networking device of the Zigbee ad hoc network is acquired, whether the Zigbee network includes the coordinator device is determined according to the device information constituting the Zigbee network.
S120, if the situation that 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 or not.
The field device may be a mobile device carried by a maintainer, for example, a terminal device such as a mobile phone and a tablet personal computer, or a fixed device in an area where a Zigbee ad hoc network is located, for example, the Zigbee ad hoc network is a Zigbee network formed by a plurality of intelligent lighting lamps in a classroom, and the field device is a terminal device in the classroom; the field device and the server are in communication connection in advance 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, whether the field device has the Zigbee communication function or not can be judged; the field device can realize the Zigbee communication function by a built-in Zigbee communication module or an external Zigbee communication module.
S130, if the field device is determined to have the function of zigbee communication, sending broadcast information to the networking device through the field device so as to switch the networking device into a standby communication mode; wherein a transmission rate of the standby communication mode is greater than a zigbee communication mode.
The wireless communication modules of the networking equipment of the Zigbee ad hoc network are all in a Zigbee communication mode in a normal operation state, and if the field equipment has a Zigbee communication function, the field equipment sends broadcast information to the networking 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 relatively low, and the standby communication mode is a communication mode with a relatively high transmission rate, such as WIFI (wireless fidelity) communication and bluetooth communication, so as to improve the firmware update speed of the Zigbee device.
Optionally, in this embodiment of the present invention, after determining whether the zigbee ad hoc network includes the coordinator device, the method further includes: if the ZigBee ad hoc network is determined to comprise coordinator equipment, sending broadcast information to the networking equipment through the coordinator equipment so that the networking equipment is switched to a standby communication mode; and sending the firmware to be updated to the networking equipment through the coordinator equipment based on the standby communication mode so as to complete the firmware update of the networking equipment. The coordinator device is usually integrated in the gateway device, and if the Zigbee ad hoc network includes the coordinator device, the broadcast information is directly sent to the networking device through the coordinator device, so that the networking device is switched to the standby communication mode.
Optionally, in this embodiment of the present invention, the sending broadcast information to the networking device through the field 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 to a standby communication mode and enable the networking equipment to execute restarting operation; or the sending of broadcast information to the networking device by the coordinator device to switch the networking device to a standby communication mode includes: sending broadcast information to the networking equipment through the coordinator equipment so as to set the starting mode of the networking equipment to a standby communication mode and enable the networking equipment to execute restarting operation. The method comprises the steps that a starting mode identification is sent to networking equipment through field equipment or coordinator equipment, so that the networking equipment sets the starting mode identification to be a standby communication mode, a restarting identification is sent to the networking equipment, the networking equipment completes equipment restarting, and the equipment is operated in the standby communication mode after restarting, and therefore communication mode switching of the networking equipment is completed.
Optionally, in this embodiment of the present invention, after determining whether the field device has the zigbee communication function, the method further includes: and if the field device is determined not to have the function of zigbee communication, sending a guiding 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 broadcast information through the field device, and at the moment, the server sends a guide instruction to the field device to guide a user to switch the networking device into a standby communication mode through a physical triggering mode, for example, through a physical key on the networking device, through triggering modes such as multiple triggering, continuous triggering, key combination triggering and the like.
Optionally, in the 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, a guiding instruction is sent to the field device to guide a user to switch the networking device into a standby communication mode through a physical triggering mode, and the method includes the following steps: and if the field device does not comprise the zigbee communication function, sending a guiding 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, one classroom includes a plurality of intelligent illuminating lamps (i.e., networking executing devices), the plurality of intelligent illuminating lamps are controlled by one control panel (i.e., networking control devices), and besides guiding a user to switch the control panel into a standby communication mode in a physical triggering manner, the control panel can also send broadcast information to each illuminating lamp by physical triggering of the control panel, for example, double-clicking a physical key of the control panel to send a communication mode switching instruction of the control panel; three times of clicking the physical keys of the control panel is to send out the instruction of the broadcast information through the control panel; therefore, the communication mode of the illuminating lamp is changed, the mode changing efficiency of the 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 and based on the standby communication mode, the firmware to be updated to the networking device to complete the firmware update of the networking device further includes: and sequentially sending firmware to be updated to the networking execution equipment and the networking control equipment through the field equipment based on the standby communication mode so as to complete the firmware update of the networking execution equipment and the networking control equipment. Because the firmware of the networking control device is different from that of the networking execution device, after the communication mode switching of the networking control device and the networking execution device is completed, the matched firmware to be updated is sequentially sent to the networking execution device and the networking control device, after the firmware updating is completed, the starting identifiers of the networking control device and the networking execution device are set to be in a Zigbee communication mode, and the networking control device and the networking execution device are enabled to execute restarting operation.
S140, sending the firmware to be updated to the networking equipment through the field equipment based on the standby communication mode so as to complete 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 speed of the firmware to be updated is higher in the standby communication mode, and the firmware updating speed of the networking equipment is increased.
Optionally, in an embodiment of the present invention, the sending, by the field device and based on the standby communication mode, the firmware to be updated to the networking device to complete the firmware update of the networking device further includes: and acquiring a node list under the standby communication mode through the field device, and establishing communication connection under 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 (BLE); since the networking device has already been switched to the standby communication mode. Therefore, after the field device acquires the node information under the BLE Mesh network, the node information is reported to the server, 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, and then transmission of the 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 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, the field equipment sends broadcast information to the networking equipment so that the networking equipment is switched to the standby communication mode with a higher transmission rate, and then the field equipment sends the firmware to be updated to the networking equipment based on the standby communication mode to complete the firmware update of the networking equipment, so that the wireless update of the zigbee equipment firmware is realized, the human resources occupied by the firmware update are reduced, the firmware update speed is greatly increased, and the user experience of the zigbee equipment is improved.
Example two
Fig. 2 is a flowchart of a firmware updating method for a Zigbee wireless intelligent device according to a second embodiment of the present invention, which is embodied on the basis of the foregoing technical solution, and specifically, the method includes the following steps:
s201, acquiring networking equipment of the zigbee ad hoc network; s202 is performed.
S202, judging whether the ZigBee ad hoc network comprises coordinator equipment or not; if yes, go to S203; if not, go to S205.
S203, sending broadcast information to the networking equipment through the coordinator equipment so as to switch the networking equipment into a standby communication mode; s204 is performed.
S204, sending the firmware to be updated to the networking equipment through the coordinator equipment based on the standby communication mode so as to complete firmware update of the networking equipment; s210 is performed.
S205, acquiring field equipment related to the zigbee ad hoc network; s206 is performed.
S206, judging whether the field device has the function of zigbee communication; if yes, go to S207; if not, go to step S208.
S207, sending broadcast information to the networking equipment through the field equipment so as to switch the networking equipment into a standby communication mode; wherein a transmission rate of the standby communication mode is greater than a zigbee communication mode; s209 is performed.
S208, sending a guiding 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, sending the firmware to be updated to the networking equipment through the field equipment based on the standby communication mode so as to complete the firmware update of the networking equipment; s210 is performed.
And 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 the broadcast information to switch the networking equipment into the standby communication mode with a higher transmission rate, and then the coordinator equipment or the field equipment sends the firmware to be updated to the networking equipment based on the standby communication mode to complete the firmware update of the networking equipment, so that the wireless update of the zigbee equipment firmware is realized, the human resources occupied by the firmware update are reduced, the firmware update speed is greatly improved, and the user experience of the zigbee equipment is improved.
EXAMPLE III
Fig. 3 is a block diagram of a structure of a firmware updating apparatus of a Zigbee wireless intelligent device according to a third embodiment of the present invention, where the apparatus specifically includes: a networking device obtaining module 310, a zigbee communication function judging module 320, a switching execution module 330, and a to-be-updated firmware sending module 340.
A networking device obtaining module 310, configured to obtain networking devices of a zigbee ad hoc network, and determine whether the zigbee ad hoc network includes coordinator devices;
a zigbee communication function determining module 320, configured to, if it is determined that the zigbee ad hoc network does not include a coordinator device, obtain a field device related to the zigbee ad hoc network, and determine whether the field device has a zigbee communication function;
a switching execution module 330, configured to send broadcast information to the networking device through the field device if it is determined that the field device has a zigbee communication function, so that the networking device is switched to a standby communication mode; wherein a transmission rate of the standby communication mode is greater than a zigbee communication mode;
a firmware to be updated sending module 340, 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 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, the field equipment sends broadcast information to the networking equipment so that the networking equipment is switched to the standby communication mode with a higher transmission rate, and then the field equipment sends the firmware to be updated to the networking equipment based on the standby communication mode to complete the firmware update of the networking equipment, so that the wireless update of the zigbee equipment firmware is realized, the human resources occupied by the firmware update are reduced, the firmware update speed is greatly increased, 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 broadcast information to the networking device through the coordinator device if it is determined that the zigbee ad hoc network includes the coordinator device, so that the networking device is switched to the standby communication mode.
Optionally, on the basis of the foregoing 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, on the basis of the foregoing technical solution, the switching execution module 330 is specifically configured to send broadcast information to the networking device through the field device, so as to set a start mode of the networking device to a standby communication mode, and enable the networking device to 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 a standby communication mode and enable the networking equipment to execute restarting operation.
Optionally, on the basis of the above technical solution, the to-be-updated firmware sending module 340 is specifically configured to obtain the node list in the standby communication mode through the field device, and establish a communication connection in the standby communication mode through the field device and the networking device based on the node list.
Optionally, on the basis of the above technical solution, the firmware updating apparatus of the Zigbee wireless intelligent device further includes:
and the guiding instruction sending module is used for sending a guiding instruction to the field equipment if the field equipment is determined not to have the zigbee communication function so as to guide a user to switch the networking equipment 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 guidance instruction sending module is specifically configured to send a guidance 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 to a standby communication mode if it is determined that the field device does not include a zigbee communication function.
Optionally, on the basis of the above technical solution, the to-be-updated firmware sending module 340 is further specifically configured to send, by the field device, the to-be-updated firmware to the networking execution device and the networking control device in sequence based on the standby communication mode, so as 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 equipment provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For details of the technology that are not described in detail in this embodiment, reference may be made to a firmware updating method of a Zigbee wireless intelligent device provided in any embodiment of the present invention.
Example four
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 only an example, and should not bring any limitation to the function and the scope of use of the embodiment 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 the 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 couples various system components including the memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, 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.
The server 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by server 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The 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 and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are 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, for example, in 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 of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
The server 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with the server 12, and/or with 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 be through an input/output (I/O) interface 22. Also, the server 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 20. As shown, the network adapter 20 communicates with the other modules of the server 12 via the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the server 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes programs stored in the memory 28 to execute various functional applications and data processing, for example, to implement the firmware updating method of the Zigbee wireless intelligent device provided in the embodiment of the present invention. Namely: acquiring networking equipment of a zigbee ad hoc network, and judging whether the zigbee ad hoc network comprises coordinator equipment; if the fact that 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 or not; if the field device is determined to have the function of zigbee communication, broadcast information is sent to the networking device through the field device, so that the networking device is switched to a standby communication mode; wherein a transmission rate of the standby communication mode is greater than a zigbee communication mode; and sending the firmware to be updated to the networking equipment through the field equipment based on the standby communication mode so as to complete the firmware update of the networking equipment.
EXAMPLE five
Fifth, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored thereon, and when the computer program is executed by a processor, the method for updating a firmware of a Zigbee wireless intelligent device according to any embodiment of the present invention is implemented; the method comprises the following steps:
acquiring networking equipment of a zigbee ad hoc network, and judging whether the zigbee ad hoc network comprises coordinator equipment;
if the fact that 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 or not;
if the field device is determined to have the function of zigbee communication, broadcast information is sent to the networking device through the field device, so that the networking device is switched to a standby communication mode; wherein a transmission rate of the standby communication mode is greater than a zigbee communication mode;
and sending the firmware to be updated to the networking equipment through the field equipment based on the standby communication mode so as to complete the firmware update of the networking equipment.
Computer storage media for embodiments of the invention may employ 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. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination 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 the context of 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.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. 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 for aspects 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 + + or the like 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 type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. 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, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A firmware updating method of Zigbee wireless intelligent equipment is characterized by comprising the following steps:
acquiring networking equipment of a zigbee ad hoc network, and judging whether the zigbee ad hoc network comprises coordinator equipment;
if the fact that 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 or not;
if the field device is determined to have the function of zigbee communication, broadcast information is sent to the networking device through the field device, so that the networking device is switched to a standby communication mode; wherein a transmission rate of the standby communication mode is greater than a zigbee communication mode;
and sending the firmware to be updated to the networking equipment through the field equipment based on the standby communication mode so as to complete the firmware update of the networking equipment.
2. The method of claim 1, wherein after determining whether a coordinator device is included in the zigbee ad hoc network, further comprising:
if the ZigBee ad hoc network is determined to comprise coordinator equipment, sending broadcast information to the networking equipment through the coordinator equipment so that the networking equipment is switched to a standby communication mode;
and sending the firmware to be updated to the networking equipment through the coordinator equipment based on the standby communication mode so as to complete the firmware update of the networking equipment.
3. The method of claim 1 or 2, wherein sending a broadcast message to the networking device via the field device to switch the networking device to the 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 to a standby communication mode and enable the networking equipment to execute restarting operation;
or the sending of broadcast information to the networking device by the coordinator device to switch the networking device to a standby communication mode includes:
sending broadcast information to the networking equipment through the coordinator equipment so as to set the starting mode of the networking equipment to a standby communication mode and enable the networking equipment to execute restarting operation.
4. The method of claim 1, wherein 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 under the standby communication mode through the field device, and establishing communication connection under the standby communication mode through the field device and the networking device based on the node list.
5. The method of claim 1, after determining whether the field device is zigbee enabled, further comprising:
and if the field device is determined not to have the function of zigbee communication, sending a guiding instruction to the field device to guide a user to switch the networking device into a standby communication mode in a physical triggering mode.
6. The method according to claim 5, 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, a guiding instruction is sent to the field device to guide a user to switch the networking device into a standby communication mode through a physical triggering mode, and the method includes the following steps:
and if the field device does not comprise the zigbee communication function, sending a guiding 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.
7. The method of claim 6, wherein 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 equipment and the networking control equipment through the field equipment based on the standby communication mode so as to complete the firmware update of the networking execution equipment and the networking control equipment.
8. A firmware updating device of Zigbee wireless intelligent equipment is characterized by comprising:
the network equipment acquisition module is used for acquiring network equipment of the Zigbee ad hoc network and judging whether the Zigbee ad hoc network comprises coordinator equipment or not;
the zigbee communication function judgment module is used for 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 fact that the zigbee ad hoc network does not include coordinator equipment is determined;
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 function of zigbee communication so as to switch the networking equipment into a standby communication mode; wherein a transmission rate of the standby communication mode is greater than a zigbee communication mode;
and the firmware to be updated sending module is used for sending the firmware to be updated to the networking equipment through the field equipment based on the standby communication mode so as to complete the firmware update of the networking equipment.
9. A server, characterized in that the server comprises:
one or more processors;
storage means for storing 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 recited in any one of claims 1-7.
10. 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 as claimed in any one of claims 1-7.
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 true CN114422485A (en) 2022-04-29
CN114422485B 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 (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110136433A1 (en) * 2009-12-04 2011-06-09 Industrial Technology Research Institute Heterogeneous Wireless Sensor Network Bridging Device and Control Method and Flow Balancing Method Thereof
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

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110136433A1 (en) * 2009-12-04 2011-06-09 Industrial Technology Research Institute Heterogeneous Wireless Sensor Network Bridging Device and Control Method and Flow Balancing Method Thereof
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
TUO FENG等: ""A nimble decompression algorithm for ZigBee firmware update in smart home environment"", 《IEEE》 *
陈文浩: ""一种基于WiFi及Zigbee技术的智能家居系统"", 中国优秀硕士学位论文全文数据库 信息科技辑》 *

Also Published As

Publication number Publication date
CN114422485B (en) 2023-11-24

Similar Documents

Publication Publication Date Title
US10560971B2 (en) Wireless communication method and electronic device for providing same
US20170116987A1 (en) Electronic device and method for executing function using speech recognition thereof
CN114375069B (en) Communication method and network equipment
US9826342B2 (en) Method for controlling sound output and an electronic device thereof
CN111028839B (en) Smart home control method and device and electronic equipment
CN110086613B (en) Method and device for burning secret key, digital television board card and storage medium
CN103037195A (en) Method and device used for setting video call parameters and transmission capacity parameters
CN111309325A (en) Method and device for reference of third-party library and mobile terminal
US20190245827A1 (en) Method and apparatus for synchronizing contact information and medium
CN115981798B (en) File analysis method, device, computer equipment and readable storage medium
US11010041B2 (en) Method and apparatus for displaying interface
CN114422485B (en) Firmware updating method and device for Zigbee wireless intelligent device
CN110704188A (en) Memory allocator optimization method, device, equipment and storage medium
CN115412993A (en) Relay discovery method, system, device and storage medium
CN116450347A (en) Video multitasking method, video analysis device, and storage medium
US20180337690A1 (en) Electronic device for compressing data and method for operating the same
CN115422203A (en) Data management method, device, equipment and medium for block chain distributed system
CN106068506B (en) Apparatus and method for increasing loading time in an electronic device
CN113918246A (en) Function control method, function control device, storage medium, and electronic apparatus
CN110996374B (en) Wireless network control method, device, equipment and medium
CN113342501B (en) System fault processing method and device
CN116527486B (en) Device independent function self-adaptive management method, device and medium
US20230206756A1 (en) Method and system of controlling traffic lighting apparatus, electronic device and storage medium
KR102165165B1 (en) Apparatas and method for reducing a current sinking of the time a roaming in an electronic device
CN113518314B (en) Quick connection method for low-power-consumption Bluetooth and low-power-consumption Bluetooth communication system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant