WO2007055686A1 - Procede de telechargement en liaison radio (oad) et un dispositif permettant de faciliter la programmation d'applications dans des dispositifs de reseau sans fil de reseaux de communication sans fil ad hoc - Google Patents

Procede de telechargement en liaison radio (oad) et un dispositif permettant de faciliter la programmation d'applications dans des dispositifs de reseau sans fil de reseaux de communication sans fil ad hoc Download PDF

Info

Publication number
WO2007055686A1
WO2007055686A1 PCT/US2005/040617 US2005040617W WO2007055686A1 WO 2007055686 A1 WO2007055686 A1 WO 2007055686A1 US 2005040617 W US2005040617 W US 2005040617W WO 2007055686 A1 WO2007055686 A1 WO 2007055686A1
Authority
WO
WIPO (PCT)
Prior art keywords
wireless network
network device
oad
wireless
application program
Prior art date
Application number
PCT/US2005/040617
Other languages
English (en)
Inventor
Larry Alan Friedman
Original Assignee
Chipcon As
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 Chipcon As filed Critical Chipcon As
Priority to EP05848548A priority Critical patent/EP1955144A4/fr
Priority to PCT/US2005/040617 priority patent/WO2007055686A1/fr
Publication of WO2007055686A1 publication Critical patent/WO2007055686A1/fr

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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • H04W8/245Transfer of terminal data from a network towards a terminal

Definitions

  • the present application relates generally to over-the-air download (OAD) procedures for wireless network devices in ad hoc wireless communication networks.
  • OAD over-the-air download
  • wireless network devices which control and/or communicate with various device components (e.g. sensors, lights, etc.) and form nodes of the wireless network.
  • device components e.g. sensors, lights, etc.
  • wireless network devices may be situated in a variety of different locations and difficult to access once deployed.
  • Such wireless network devices may be added in or taken away from the wireless network at any given time.
  • Each wireless network device has a small microcontroller which operates the wireless network device in accordance with an application program stored in memory.
  • each wireless network device in an ad hoc wireless communication network is adapted to perform an over-the-air download (OAD) procedure as a client to wirelessly receive an updated application program from any other wireless network device operated as a server in the wireless network, and also adapted to perform the OAD procedure as a server to wirelessly send the updated application program to any other wireless network device operated as a client in the wireless network.
  • a commissioner device of the wireless network may coordinate the assignment of client and server roles of the wireless network devices for OAD procedures based on a variety of different heuristic or algorithmic techniques for optimal results.
  • a wireless network device of the present application may include a controller, memory for storing one or more application programs, and a wireless transceiver coupled to the controller and operative for communications in an ad hoc wireless communication network.
  • the controller is adapted to execute an application program for controlling operation of the wireless network device.
  • the controller is further adapted to receive, through the wireless transceiver, an instruction which causes the wireless network device to operate as a client in performing an OAD procedure for receiving the application program from another wireless network device which is operated as a server in the wireless network, and to operate the wireless network device as the client in performing the OAD procedure in response to such instruction.
  • the controller is further adapted to receive, through the wireless transceiver, one or more instructions which cause the wireless network device to operate as a server in performing the OAD procedure for sending the application program to another wireless network device which is operated as a client in the wireless network, and to operate the wireless network device as the server in performing the OAD procedure in response to such instructions.
  • An ad hoc wireless communication network of the present application may include at least a first wireless network device, a second wireless network device, and a third wireless network device.
  • the first wireless network device has a first controller, a first wireless transceiver coupled to the first controller and operative for communications in the wireless network, and a first memory for storing one or more application programs.
  • the first controller is adapted to execute the application program for controlling operation of the first wireless network device.
  • the first controller is further adapted to receive, through the first wireless transceiver, an instruction which causes the first wireless network device to operate as a client in performing an OAD procedure for receiving the application program from the third wireless network device which is operated as a server in the wireless network, and to operate the first wireless network device as the client in performing the OAD procedure in response to such instruction.
  • the first controller is further adapted to receive, through the first wireless transceiver, one or more instructions which cause the first wireless network device to operate as a server in performing the OAD procedure for sending the application program to the second wireless network device which is operated as a client in the wireless network, and to operate the first wireless network device as the server in performing the OAD procedure in response to such instructions.
  • the second wireless network device of the ad hoc wireless network has a second controller, a second wireless transceiver coupled to the second controller and operative for communications in the wireless network, and a second memory for storing one or more application programs.
  • the second controller is adapted to execute the application program for controlling operation of the second wireless network device.
  • the second controller is further adapted to receive, through the second wireless transceiver, an instruction which causes the second wireless network device to operate as a client in performing the OAD procedure to receive the application program from the first wireless network device which is operated as the server in the wireless network, and to operate the second wireless network device as the client in performing the OAD procedure in response to such instruction.
  • the second controller is further adapted to receive, through the second wireless transceiver, one or more instructions which cause the second wireless network device to operate as a server in performing the OAD procedure for sending the application program to another wireless network device which is operated as a client in the wireless network, and to operate the second wireless network device as the server in performing the OAD procedure in response to such instructions.
  • An illustrative method for use in facilitating over-the-air download (OAD) procedures for a plurality of wireless network devices in an ad hoc wireless communication network may involve the acts of receiving, through a wireless transceiver of a wireless network device, an instruction to perform an OAD procedure with another wireless network device in the ad hoc wireless network; causing an instruction to initiate the OAD procedure to be sent to the other wireless network device through the wireless transceiver in response to receiving the instruction to perform the OAD procedure; receiving, through the wireless transceiver, an application program from the other wireless network device in the OAD procedure after causing the instruction to initiate the OAD procedure to be sent; and storing the application program in memory of the wireless network device.
  • OAD over-the-air download
  • the act of receiving the instruction to perform the OAD procedure may comprise the further act of receiving an address which identifies the other wireless network device with which to perform the OAD procedure, and the act of causing the instruction to initiate the OAD procedure to be sent may comprise the further act of causing the instruction to be sent to the address which identifies the other wireless network device.
  • the act of receiving the instruction to perform the OAD procedure may comprise the further act of receiving a version number of the application program to be received in the OAD procedure, and the act of causing the instruction to initiate the OAD procedure to be sent to the other wireless network device may comprise the further act of causing the instruction to be sent along with the version number of the application program to be received in the OAD procedure.
  • a commissioner device of the present application may comprise a controller and a communication interface coupled to the controller.
  • the controller may be operative to cause a status request to be sent to a wireless network device of a wireless communication network . through the communication interface; receive a status reply from the wireless network device through the network interface which includes a version number of an application program of the wireless network device; and cause an instruction to be sent to the wireless network device through the communication interface which causes it to operate as a client in performing an OAD procedure with another wireless network device of the wireless network for receiving an upgraded application program.
  • the controller may be further operative to cause a discovery request to be broadcasted in the wireless network and, in response to the discovery request, receive discovery responses from the wireless network devices through the communication interface which include addresses of the wireless network devices.
  • the communication interface may be a wired communication interface for connecting with a wireless proxy device of the wireless network, such that the status request and the instruction comprise proxy messages sent by the commissioner device through the proxy device to the wireless network.
  • FIG. 1 is an illustration of an ad hoc wireless communication network having a plurality of wireless network devices, each device operating with use of an application program which is downloaded through use of over-the-air downloading (OAD) procedures of the present application;
  • FIG. 2 is a schematic block diagram of a wireless network device of the wireless communication network;
  • FIG. 3 is an illustration of a plurality of functional layers of a wireless network device of the wireless communication network
  • FIG. 4 is a first message flow diagram for an OAD procedure for wirelessly communicating an updated application program from a first wireless network device operating as a server to a second wireless network device operating as a client;
  • FIG. 5 is a second message flow diagram for an OAD procedure for wirelessly communicating the updated application program from the second wireless network device operating as a server to a third wireless network device operating as a client;
  • FIG. 6 is a state flow diagram relating to OAD procedures of a wireless network device;
  • FIG. 7 is an illustration of memory of a wireless network device which stores an (active) application program as well as an updated (downloaded) application program which follows it; D
  • FIG. 8 is an illustration of the memory of the wireless network device of FIG. 7 which reveals that, when the downloaded application program is copied over the active application program, a portion of the original downloaded application may be overwritten which is a concern if a failure occurs while copying;
  • FIGs. 9-10 are illustrations of the memory of the wireless network device which reveals that the downloaded application program may be stored in memory such that no portion of the original downloaded application will be overwritten while copying over the active application program;
  • FIG. 11 is a flowchart for describing a method of updating an application program in memory of a wireless network device.
  • each wireless network device of an ad hoc wireless communication network is adapted to perform an over-the-air download (OAD) procedure as a client to wirelessly receive an updated application program from any other wireless network device operated as a server in the wireless network, and also adapted to perform the OAD procedure as a server to wirelessly send the updated application program to any other wireless network device operated as a client in the wireless network.
  • a commissioner device of the wireless network may coordinate the assignment of client and server roles of the wireless network devices for OAD procedures based on a variety of different heuristic or algorithmic techniques for optimal results.
  • FIG. 1 is an illustration of an ad hoc wireless communication network 100 having a plurality of wireless network devices 104.
  • wireless communication network 100 includes a commissioner device 102 and a wireless network device 106 which serves as a proxy for communications between commissioner device 102 and wireless network devices 104 (and thus may be referred to herein as a proxy device).
  • Each wireless network device 104 of wireless communication network 100 operates with use of an application program which may be downloaded to it through use of an OAD procedure of the present application.
  • Wireless network 100 may be a low data rate wireless personal area network (WPAN) or similar type of network.
  • WPAN wireless personal area network
  • wireless network devices 104 are adapted to perform functions for a low data rate wireless networking application, such as a monitoring and/or control system application.
  • wireless network devices 104 may operate in accordance with the ZigBeeTM standard specification. See e.g. the ZigBeeTM specification, 053474r06, Version 1.0 (2005), made available from the ZigBee Alliance, Inc. Note that ZigBeeTM is a trademark of the ZigBee Alliance, Inc. of San Ramon, California, U.S.A. Essentially, applications that require interoperability and/or RF performance characteristics of the IEEE 802.15.4 standard are well suited for ZigBeeTM applications.
  • Such applications include lighting control; automatic meter reading; wireless smoke and carbon monoxide detectors; heating control; heating ventilation and air conditioning (HVAC) control; home security; environmental control; blind, drapery and shade control; medical sensing and monitoring; universal remote control to a set-top box which includes home control; and industrial and building automation.
  • HVAC heating ventilation and air conditioning
  • wireless network devices 104 may operate as one or more types of small control devices such as sensor, detector, and lighting devices. In ZigBeeTM and similar environments, wireless network devices 104 may be referred to as end devices. Some wireless network devices 104 may be communication routers or serve as communication routers in addition to their primary function. There may be tens (10s) or hundreds (100s) of such wireless network devices 104 in wireless network 100. In FIG. 1, there are a number of wireless networks devices shown which include wireless network devices 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, and 134.
  • wireless network devices 104 may be situated in various scattered (typically fixed) locations depending on the application and may communicate with and through each other. Some of wireless network devices 104 may be collocated, such as wireless network devices 108, 114, 116, 118, 120, 122, 124, 126, 128, and 130 which may be located within the same facility or room, and wireless network devices 110, 132, and 134 which may be located within the same facility or room different from the other facility or room, and wireless network device 112 which may be located within a facility or room different from the others. Wireless network devices 104 may be added on or taken away from wireless network 100 "on the fly.”
  • commissioner device 102 is a computer such as a personal computer (PC).
  • commissioner device 102 may be any other type of comparable device or terminal.
  • commissioner device 102 merely has a controller or processor and computer instructions which are executed on the controller or processor for performing functions as described herein.
  • commissioner device 102 also has a communication interface and is physically connected to wireless network device 106 through a communication connection, such as a standard serial (e.g. RS-232), Universal Serial Bus (USB), or Ethernet connection.
  • a standard serial e.g. RS-232
  • USB Universal Serial Bus
  • Sharing device 102 may be the originating point of the updated application program to be downloaded within wireless network 100 using the OAD procedures.
  • commissioner device 102 communicates with any of wireless network devices 104 through wireless network device 106 with use of proxy commands which wireless network device 106 is equipped to process (e.g. like a gateway).
  • commissioner device 102 does not participate in actual file transfer sessions. Based on its knowledge of the network topology, location of target platforms, and location of platforms that currently hold the upgrade image, commissioner device 102 assigns various wireless network devices as client-server pairs.
  • Commissioner device 102 may coordinate the assignment of client and server roles of wireless network devices 104 for OAD procedures based on a variety of different heuristic or algorithmic techniques for optimal results. Additional details regarding commissioner device 102 and wireless network device 106 (the proxy) are described later below. Note that one of the devices in wireless network 100 may serve as a coordinator device.
  • a coordinator device is typically configured to perform functions such as maintaining global data for devices in wireless network 100, maintaining binding tables for devices in wireless network 100, assigning network identification to devices in wireless network 100, etc.
  • the coordinator device in wireless network 100 may be, for example, wireless network device 110.
  • FIG. 2 is a schematic block diagram of wireless network device 108 of the wireless network of FIG. 1.
  • the schematic block diagram of wireless network device 108 of FIG. 2 may be representative of all other wireless network devices of the wireless network of FIG. 1.
  • Wireless network device 108 includes a controller 202, memory 210, a wireless transceiver 204, an antenna means 206, a device component 208, and battery circuitry and interface 212.
  • Controller 202 is coupled to memory 210, wireless transceiver 204, device component 208, and battery circuitry and interface 212 as shown.
  • Battery circuitry and interface 212 is adapted to receive one or more batteries or battery packs which provide electrical power to most if not all electrical components of wireless network device 108.
  • wireless network device 108 does not include any wired communication interface for data network communications.
  • Controller 202 is a software-program-controlled device such as a microcontroller or microprocessor.
  • controller 202 is an ATmegal28 Atmel microcontroller where memory 210 is an on-chip memory of about 128 kilobytes, made available by the Atmel Corporation of San Jose, California, U.S.A.
  • Memory 212 is adapted to maintain storage of computer application programs for use by controller 202.
  • memory 212 is a Flash memory.
  • memory 212 may retain storage of an active application program 212 and a downloaded application program 216.
  • Application program 212 is designated as "active" because it is the program that controller 202 currently executes for operation of wireless network device 108.
  • Application program 216 is designated as merely "downloaded” because it is the program that wireless network device 108 has downloaded but not currently executing for operation. Application program 216 may be an updated version of application program 212, which will be subsequently updated and written over in memory 212. On the other hand, application program 216 may be held in memory 212 merely for subsequent wireless communication to other wireless network devices and never be utilized as an active application program in wireless network device 108.
  • Controller 202 is operative to send and receive data wirelessly through wireless transceiver 204. Controller 202 is also operative to perform over-the-air download (OAD) procedures with use of wireless transceiver 204 in accordance with an OAD control program stored in memory 210.
  • Wireless transceiver 204 which is coupled to antenna means 206, is a low data rate transceiver which operates in accordance with ZigBeeTM specifications. A ZigBeeTM compliant transceiver operates in accordance with IEEE 802.15.4 physical radio standard.
  • the radio frequency (RF) bands utilized for ZigBeeTM include unlicensed bands worldwide at 2.4 GHz (global), 915 MHz (the Americas), and 868 MHz (Europe).
  • Controller 202 is also operative to interact with and/or control a device component 208 in accordance with application program 214.
  • Device component 208 may be one of a variety of different types of components which will depend on the application (e.g. building automation, industrial, medical control, residential control, monitoring, etc.). Thus, device component 208 may be a sensor, a detector, a light, etc. Note also that some wireless network devices may be communication routers or serve as communication routers in addition to their primary function.
  • Functional layers 300 include a physical layer 302, a medium access control (MAC) layer 304, a network layer 306, and an application layer 308.
  • Application layer 308 includes an application framework 308 for one or more application objects, a ZigBeeTM device object 316, and an application support sublayer 314. Each layer performs a specific set of services for the layer above it, a data transmission service and a management entity provides all other services.
  • Each service entity exposes an interface to the upper layer through a service access point (SAP), and each SAP supports a number of service primitives to achieve the required functionality.
  • SAP service access point
  • the stack architecture of FIG. 3 is based on the standard Open Systems Interconnection (OSI) seven-layer model, but defines only those layers relevant to achieving the desired functionality for the particular application.
  • the IEEE 802.15.4 (2003) standard defines two lower layers: physical layer 302 and MAC layer 304.
  • ZigBeeTM builds on this foundation by providing the network layer 306 and application framework 312 for the application layer, which includes the application support sub-layer (APS) 314, ZigBeeTM device object (ZDO) 316, and manufacturer-defined application objects 312.
  • IEEE 802.15.4 defines two physical layers that operate in two separate frequency ranges, namely the 868/915 MHz band and the 2.4 GHz band.
  • the lower frequency physical layer covers both the 868 MHz European band and the 915 MHz band that is used in countries such as the United States and Australia.
  • the higher frequency physical layer is used virtually worldwide.
  • the IEEE 802.15.4 MAC layer 304 controls access to the radio channel using a Carrier Sense Multiple Access with Collision Avoidance (CSMA-CA) mechanism. Its responsibilities may also include transmitting beacon frames, synchronization, and providing a reliable transmission mechanism.
  • CSMA-CA Carrier Sense Multiple Access with Collision Avoidance
  • the responsibilities of network layer 306 include mechanisms used to join and leave a network, to apply security to frames, and to route frames to their intended destinations.
  • the discovery and maintenance of routes between devices devolve to network layer 306.
  • the discovery of one-hop neighbors and the storing of pertinent neighbor information are performed at network layer 306.
  • the network layer 306 of a coordinator e.g. coordinator device 110 of FIG. 1 is responsible for starting a new network, when appropriate, and assigning addresses to newly-associated devices.
  • the responsibilities of application support sublayer 314 include maintaining tables for binding, which is the ability to match two devices together based on their services and their needs, and forwarding messages between bound devices.
  • the responsibilities of ZDO 316 include defining the role of the device within the network (e.g. coordinator or end device), initiating and/or responding to binding requests, and establishing a secure relationship between network devices. ZDO 316 is also responsible for discovering devices on the network and determining which application services they provide.
  • Network layer 306 supports star, tree, and mesh topologies.
  • the network is controlled by one single device called the coordinator (e.g. coordinator device 110 of FIG. 1).
  • the coordinator is responsible for initiating and maintaining the devices on the network, and all other devices (i.e. end devices) directly communicate with the coordinator.
  • the coordinator is responsible for starting the network and for choosing certain key network parameters; however the network may be extended through use of routers.
  • routers move data and control message through the network using a hierarchical routing strategy.
  • Tree networks may employ beacon-oriented communication as described in the IEEE 802.15.4 specification.
  • Mesh networks allow full peer-to-peer communication. Routers in mesh networks do not emit regular IEEE 802.15.4 type beacons.
  • FIG. 4 is a message flow diagram of an over-the-air download (OAD) procedure for wirelessly communicating an updated application program to wireless network devices of an ad hoc wireless network (e.g. see FIGs. 1-3).
  • OAD over-the-air download
  • an updated application program is wirelessly communicated from a wireless network device operating as a server (e.g. wireless network device 108) to a wireless network device operating as a client (e.g. wireless network device 122) in an OAD procedure.
  • Such instructions are provided and roles are assigned by commissioner device 102 in an overall scheme to update various wireless network devices with the application program.
  • an "updated” or “upgraded” application program may include any suitable revision, version, or variation of the existing application program including any prior versions thereof.
  • the message flow of FIG. 4 is shown to be between commissioner device 102, wireless network device 122, and wireless network device 108. Although communications are shown as being made directly between devices 102, 108, and 122, communications may actually be routed through one or more intermediary wireless network devices which serve as routers (exclusively or additionally) in the wireless network. Further, a proxy device (e.g. wireless network device 106 of FIG. 1) which may be physically connected to commissioner device 102 may serve as an intermediary between commissioner device 102 and the wireless network devices of the wireless network.
  • a computer program product of the present application may include a computer readable medium and computer instructions stored in the computer readable medium which are executable by a processor of a wireless network device or other device for performing techniques described in relation to FIG. 4.
  • commissioner device 102 causes a device discovery request message 402 to be wirelessly broadcasted to devices in the ad hoc wireless network.
  • each wireless network device in the ad hoc wireless network responds with a discovery response message through its wireless transceiver.
  • This discovery procedure allows commissioner device 102 to obtain identifications (addresses) of most all of the wireless network devices in the ad hoc wireless network.
  • wireless network device 122 responds by transmitting a discovery response message 404 to commissioner device 102 through its wireless transceiver
  • wireless network device 108 responds by transmitting a discovery response message 406 to commissioner through its wireless transceiver.
  • wireless network device 108 is associated with an address of "0x8899001122334455" and wireless network device 122 is associated with an address of "0x0011223344556677".
  • commissioner device 102 receives the address of the wireless network devices, it obtains a status of the current version(s) of the application program(s) from each of any of the wireless network devices in the ad hoc wireless network.
  • FIG. 4 it is shown that commissioner device 102 causes a status command message 408 to be wirelessly transmitted to wireless network device 122 and, in response, receives a status reply message 408 transmitted from wireless network device 122.
  • Commissioner 102 also causes a status command message 412 to be wireless transmitted to wireless network device 108 and, in response, receives a status reply message 414 transmitted from wireless network device 108.
  • These status command messages 408 and 412 from commissioner device 102 are addressed directly to the desired wireless network devices, and status reply messages 410 and 414 are addressed directly back to commissioner device 102 (e.g. through the proxy). .
  • each status reply message includes at least three items of information: (1) a version number of an "active" application program of the wireless network device; (2) a version number of a "downloaded” application program of the wireless network device; and (3) a state of the wireless network device.
  • status reply message 410 indicates that wireless network device 122 has an active application program with a version number of "110/OxCOO/Oxl"; a downloaded application program with a version number of "0/0/0" (i.e.
  • status reply message 414 indicates that wireless network device 108 has an active application program with a version number of "110/OxCOO/Oxl”; a downloaded application program with a version number of "111/OxCOO/Oxl”; and a state of "1/0/0/0" which indicates that the device is in the OAD IDLE state (1), there is no error in response to this query (0), no packets have been sent or received (0), and no packets are expected to be transmitted or received (0). .
  • wireless network device 108 has a downloaded application program (i.e. version 111/OxCOO/Oxl) that is an updated version of the active application program (i.e. version 110/OxCOO/Oxl) of wireless network device 122.
  • Wireless network device 108 may have earlier obtained this updated application program through the same type of procedure being described now in relation to FIG. 4. Note that wireless network device 108 itself may or may not require use of the updated application program, and may merely retain such program for communication to one or more other wireless network devices.
  • commissioner device 102 After commissioner device 102 accesses the needs of the wireless network through the discovery procedures and status inquires, commissioner device 102 sends commands to at least some of the wireless network devices which instruct them to operate as clients in performing OAD procedures to receive the updated application program from another wireless network device.
  • commissioner 102 causes an OAD command 416 to be wirelessly transmitted to wireless network device 122 to instruct wireless network device 122 to obtain an updated application program from wireless network device 108.
  • OAD command 416 specifies at least three items of information: (1) the version number of the application program to be downloaded ("111/OxCOO/Oxl"); (2) the IEEE address of wireless network device 108 with which to perform the OAD procedure ("0x8899001122334455”); and (3) the network address of wireless network device 108 with which to perform the OAD procedure ("0x079C/0x20").
  • wireless network device 122 sends an acknowledgement reply 418 to commissioner device 102.
  • wireless network device 122 wirelessly transmits an OAD session start message 420 to wireless network device 108.
  • OAD session start message 420 is directed to the address of the wireless network device specified in the earlier received OAD command 416.
  • OAD session start message 420 provides the version number of the desired application program that it requests to receive ("111/OxCOO/Oxl") and a session number for the OAD procedure ("0x45").
  • wireless network device 108 wirelessly transmits an OAD session start reply message 422 back to wireless network device 122.
  • reply message 422 acknowledges or confirms that wireless network device 108 indeed has the specified application program and is available to perform the OAD procedure with wireless network device 122.
  • the active image may be selected and requested as an alternative.
  • reply message 422 includes a size of the application program ("0xF6B4/8/4") as well as the block size (8 bytes) and the number of blocks (4) per data frame when sent. Through such instruction, wireless network device 108 is engaged to operate as a server in an OAD procedure with wireless network device 122.
  • a copy of the updated application program is wirelessly communicated from wireless network device 108 (i.e. server) to wireless network device 122 (i.e. client) in the OAD procedure. More specifically, wireless network device 122 operates as a client to wirelessly transmit a series of data request commands 424, 432, ..., etc., to wireless network device 108, which are requests to receive particular data blocks of the application program in sequential order. The data blocks are wirelessly received through data reply messages: 426, 434, ..., etc., from wireless network device 108 which operates as a server. Each data request command from wireless network device 122 identifies the particular data block that it needs to receive.
  • wireless network device 122 sends a session terminate command 436 to wireless network device 108.
  • wireless network device 108 sends a session terminate reply 438 to wireless network device 122. This ends the OAD communication session.
  • commissioner device 102 may send one or more status command messages to wireless network device 122 to identify the progress or current state of wireless network device 122. For example, o
  • commissioner device 102 When an application program has been downloaded to a wireless network device, it is not automatically enabled as the active application program of the wireless network device. Sometime after commissioner device 102 identifies that an application program has been completely downloaded, it may enable the downloaded application program as the active application program of a wireless network device. In FIG. 4, commissioner device 102 sends a program enable command 444 to wireless network device 122. Program enable command 444 specifies the version number of the application program which should be made active (e.g. "111/OxCOO/Oxl") in wireless network device 122. In response, wireless network device 122 causes the downloaded application program to serve as the active application program, writing over the current active application program with the downloaded application program. The overwriting procedure may be performed in accordance with the techniques described later in relation to FIGs. 7-11. Wireless network device 122 responds to commissioner device 102 with a program enable reply 446. Preferably, commissioner device 102 waits for all desired wireless network devices to have received the updated application program before instructing the devices to activate the program.
  • commissioner device 102 may send another status command message 428 to wireless network device 122.
  • the OAD procedure between wireless network devices 108 and 122 is complete.
  • FIG. 5 is a second message flow diagram for an OAD procedure for wirelessly communicating the updated application program from a wireless network device operating as a server (e.g. wireless network device 122) to a wireless network device operating as a client (e.g. wireless network device 130).
  • This message flow is substantially the same as that described above in relation to FIG. 5, except that wireless network device 122 operates as a server in an OAD procedure (in contrast to a client) and a new wireless network device 130 operates as a client to download the application program.
  • commission device 102 may be provided and roles are assigned by commissioner device 102 in the overall scheme to update various wireless network devices with the application program.
  • an "updated” or “upgraded” application program may include any suitable revision, version, or variation of the existing application program including any prior versions thereof.
  • the message flow of FIG. 5 is shown to be between commissioner device 102, wireless network device 130, and wireless network device 122. Although communications are shown as being made directly between devices 102, 122, and 130, communications may actually be routed through one or more intermediary wireless network devices which serve as routers (exclusively or additionally) in the wireless network. Further, the proxy device (e.g. wireless network device 106 of FIG. 1) which may be physically connected to commissioner device 102 may serve as an intermediary between commissioner device 102 and the wireless network devices of the wireless network. Note that a computer program product of the Io
  • present application may include a computer readable medium and computer instructions stored in the computer readable medium which are executable by a processor of a wireless network device or other device for performing techniques described in relation to FIG. 5.
  • commissioner device 102 may obtain a status of the current version(s) of the application program(s) from each of any of the wireless network devices in the ad hoc wireless network.
  • FIG. 5 it is shown that commissioner device 102 causes a status command message 502 to be wirelessly transmitted to wireless network device 130 and, in response, receives a status reply message 504 transmitted from wireless network device 130.
  • Sharing 102 also causes a status command message 506 to be wireless transmitted to wireless network device 122 and, in response, receives a status reply message 508 transmitted from wireless network device 122.
  • These status command messages 502 and 506 from commissioner device 102 are addressed directly to the desired wireless network devices, and status reply messages 504 and 508 are addressed directly back to commissioner device 102 (e.g. through the proxy).
  • Each status reply message may include three items of information: (1) a version number of an "active" application program of the wireless network device; (2) a version number of a "downloaded” application program of the wireless network device; and (3) a state of the wireless network device.
  • wireless network device 122 has a downloaded application program (i.e. version 111/OxCOO/Oxl) that is an updated version of the active application program (i.e. version 110/OxCOO/Oxl) of wireless network device 130.
  • Wireless network device 122 has earlier obtained this updated application program through the same type of procedure (see previous description in relation to FIG. 4).
  • commissioner device 102 After commissioner device 102 accesses the needs of the wireless network through the discovery procedures and status inquires, commissioner device 102 sends commands to at least some of the wireless network devices which instruct them to operate as clients in performing OAD procedures to receive the updated application program from one or more other wireless network devices.
  • commissioner 102 causes an OAD command 510 to be wirelessly transmitted to wireless network device 130 to instruct wireless network device 130 to obtain an updated application program from wireless network device 122.
  • OAD command 510 specifies at least three items of information: (1) the version number of the application program to be downloaded ("111/OxCOO/Oxl"); (2) the IEEE address of wireless network device 108 with which to perform the OAD procedure ("0x0011223344556677”); and (3) the network address of wireless network device 108 with which to perform the OAD procedure ("0x019C/0x20").
  • wireless network device 130 sends an acknowledgement reply 512 to commissioner device 102.
  • wireless network device 130 wirelessly transmits an OAD session start message 514 to wireless network device 122. This may be viewed as an OAD procedure request.
  • OAD session start message 514 is directed to the address of the wireless network device specified in the earlier received OAD command 510.
  • OAD session start message 514 provides the version number of the desired application program that it requests to receive ("111/OxCOO/Oxl") and a session number for the OAD procedure ("0x48").
  • wireless network device 122 wirelessly transmits an OAD session start reply message 516 back to wireless network device 130.
  • This reply message 516 acknowledges or confirms that wireless network device 122 indeed has the specified application program and is available to perform the OAD procedure with wireless network device 130.
  • reply message 516 includes a size of the application program ("0xF6B4/8/4") as well as the block size (8 bytes) and the number of blocks (4) per data frame when sent.
  • wireless network device 122 is engaged to operate as a server in an OAD procedure with wireless network device 130.
  • a copy of the updated application program is wirelessly communicated from wireless network device 122 (i.e. server) to wireless network device 130 (i.e. client) in the OAD procedure. More specifically, wireless network device 130 operates as a client to wirelessly transmit a series of data request commands 518, 526, ..., etc., to wireless network device 122, which are requests to receive particular data blocks of the application program in sequential order. The data blocks are wirelessly received through data reply messages 520, 528, ..., etc., from wireless network device 122 which operates as a server. Each data request command from wireless network device 130 identifies the particular data block that it needs to receive.
  • wireless network device 130 sends a session terminate command 530 to wireless network device 122.
  • wireless network device 122 sends a session terminate reply 532 to wireless network device 130. This ends the OAD communication session.
  • commissioner device 102 When an application program has been downloaded to a wireless network device, it is not automatically enabled as the active application program of the wireless network device. Sometime after commissioner device 102 identifies that an application program has been completely downloaded, it may enable the downloaded application program as the active application program of a wireless network device. In FIG. 5, commissioner device 102 sends a program enable command 538 to wireless network device 130. Program enable command 538 specifies the version number of the application program which should be made active (e.g. "111/OxCOO/Oxl") in wireless network device 130. In response, wireless network device 130 causes the downloaded application program to serve as the active application program, writing over the current active application program with the downloaded application program. The overwriting procedure may be performed in accordance with the techniques described later in relation to FIGs. 7-11. Wireless network device 130 responds to commissioner device 102 with a program enable reply 540. Preferably, commissioner device 102 waits for all desired wireless network devices to have received the updated application program before instructing most or all such devices to activate the program.
  • commissioner device 102 may send another status command message 542 to wireless network device 130.
  • the OAD procedure between wireless network devices 122 and 130 is complete.
  • FIG. 6 is a state flow diagram 600 relating to OAD procedures of any one of the wireless network devices 104 of FIG. 1.
  • each wireless network device has an idle state 602, a client state 604 for OAD, a server state 606 for OAD, a session terminate state 608, and a code enable state 610.
  • various events recited in FIG. 6 cause transitions between states 602, 604, 606, 608, and 610. As apparent, these events correspond to message events described earlier in relation to FIGs. 4-5.
  • commissioner device 102 may have the following capabilities. For one, commissioner device 102 may use network infrastructure to discover device types and device capabilities.
  • Certification device 102 may also be the original source for files to be used in the upgrade process. That is, if a particular device type has a new image (e.g. an upgraded application program) to be installed, commissioner device 102 may be the platform from which the image dissemination originates. Since the OAD procedure supports proxy commands, commissioner device 102 need not have native radio capability.
  • Network presence for commissioner device 102 may be provided by any network-complaint device having OAD procedure capability and are adapted to interface with commissioner device 102 (e.g.
  • Commissioner device 102 may communicate with wireless network device 106 (i.e. the proxy) using the standard OAD procedure protocol. This includes communicating the upgraded application program from commissioner device 102 to the proxy using the OAD procedure.
  • commissioner device 102 may determine which devices require upgrades using heuristic or algorithmic means.
  • Certification device 102 may also, using heuristic or algorithmic means, assign paths over which the upgrade image can pass by properly assigning client and server roles in succession.
  • commissioner device 102 may determine network topology and, using heuristic or algorithmic means, assign client-server pairs in such a way as to mitigate network interference of concurrent file transfer transactions between distinct client-server pairs. Because the network infrastructure is in place, file transfer sessions may span multi-hop locations.
  • each wireless network device 104 may continue to perform its intended functionality.
  • Commissioner device 102 maintains OAD procedure discipline by monitoring device status before, during, and after file transfer sessions. When appropriate, the commissioner device 102 instructs a wireless network device to begin activation or execution of the new image.
  • the computer instructions of commissioner device 102 may allow for it to perform the functions described herein (e.g. OAD procedure management functions) automatically and without user intervention.
  • the computer instructions may allow for some or all of the functions to be handled manually by an end user through a user interface (e.g. keyboard and display).
  • the image to be propagated is obtained by commissioner device 102. It may originate from one of three types of places: (1) the image may already exist on a wireless network device in wireless network 100, which may be the case if a newer version of an existing device were added to wireless network 100; (2) the image may be transferred to commissioner device 102 from another host platform, which would likely be a platform on which the new application image was developed; and (3) commissioner device 102 itself may also be a development platform. Second, commissioner device 102 discovers target devices for the new image by using the network infrastructure to find the network address of each candidate device.
  • the ZigBee specification describes methods by which to perform this discovery which may be utilized.
  • commissioner device 102 may determine the current version of each target device and determine whether it needs to be upgraded. This determination is done generally by comparing the version numbers of the latest upgrade version and the existing version numbers. Since some wireless network devices 104 may have different application programs for different device applications altogether, commissioner device 102 also determines which types of application programs exist on each wireless network devices 104 by version number for appropriate OAD programming assignment. That is, commissioner device 102 identifies the type of application program required by the wireless network device by the status reply information and thereafter identifies whether and which upgraded application program should be downloaded to it. Finally, using existing network infrastructure, commissioner device 102 may determine network topology. After these two steps, commissioner device 102 is able to determine the network topology with respect to target devices. Heuristic or algorithmic assignment of client-server roles may then be derived.
  • the image to be propagated must be moved to at least one wireless network device that does have network presence.
  • the new image may be moved to wireless network device 106 which acts as a proxy device in wireless network 100 on behalf of commissioner device 102.
  • the transfer is accomplished through use of the standard OAD procedure, where the proxy is assigned as a client and specifies commissioner device 102 as a server.
  • the physical connectivity to commissioner device 102 may exist between any number of wireless network devices 104.
  • a portable type commissioner device 102 may populate any number of wireless network devices distributed throughout wireless network 100. Thereafter, each of these wireless network devices may act as a server throughout the remainder of wireless network 100.
  • a wireless network device may act as a server to other wireless network devices even if the upgraded application program it is supplying is not relevant for the device itself.
  • any platform may be available to be a server and commissioner device 102 is free to use such devices as "way stations" for upgraded file propagation.
  • commissioner device 102 does not participate in the actual file transfer sessions. Based on its knowledge of the network topology, location of target platforms, and location of platforms that currently hold the upgrade image, commissioner device 102 assigns various wireless network devices 104 as client-server pairs. When an image is transferred to a device, a separate command is required before the image is instantiated or activated on that device. The reason for this is twofold: (1) the image may not be appropriate for the device, which may be the case where the wireless network device is used as a way station; and (2) the updated application program may not be compatible on the network with the previous application programs so that, enabling new code may have to be coordinated across the network.
  • the proxy device is adapted to process two different types of commands: (1) "normal” commands between commissioner device 102 and wireless network device 106; and (2) "proxy” commands for processing communications between commissioner device 102 and another wireless network device.
  • the proxy device is adapted to process two types of status commands that originate over the direct physical connection: the "normal” status command to which the proxy device itself responds, and the "proxy status command that is sent to another wireless network device on behalf of commissioner device 102 to which it is physically attached.
  • Proxy commands are the means by which commissioner device 102 may assign client roles to arbitrary devices on the wireless network without having presence on the wireless network itself.
  • communication between commissioner device 102 and wireless network device 106 is normal. Messages to and from commissioner device 102 appear to wireless network device 106 as any other peer application on wireless network 100.
  • Certification device 102 may download a binary file from the host platform to wireless network device 106 for dissemination throughout wireless network 100.
  • commissioner device 102 instructs wireless network device 106 to act as a client with commissioner device 102 as the server.
  • the transactions on wireless network device 106 are exactly as provided in the OAD procedure, except that they are directed to and from the J physical connection between commissioner device 102 and wireless network device 106 instead of the radio interface.
  • commissioner device 102 In a proxy operating mode, commissioner device 102 is able to direct downloading to and from other wireless network devices by sending and receiving proxy messages to and from such devices through wireless network device 106. In this mode, wireless network device 106 acts as a proxy on behalf of commissioner device 102. Instead of responding itself, wireless network device 106 sends messages from commissioner device 102 out over air and direct replies back commissioner device 102 appropriately (e.g. serving or acting as a gateway).
  • commissioner device 102 is the server, i.e., when a new image is being made available for OAD via wireless network device 106 serving as a proxy, commissioner device 102 supplies a special server address in the Client command. This address may be set as follows:
  • proxy mode messages there are three things that may differentiate proxy mode messages from client-server mode messages: (1) command identifiers; (2) reply identifiers; and (3) command message header content (reply content and format are each the same as the client-server interface).
  • the message header coming from commissioner device 102 will contain a message identifier and the network address and endpoint to which the message should be forwarded.
  • the payload will be the same as the corresponding message.
  • Wireless network device 106 will generate the appropriate message header and forward the payload over air.
  • Proxy commands are identified by having a specific bit set in the message identifier. The remainder of the message identifier may be the same as the non-proxy version.
  • the message identifiers for commands available for both client-server and proxy handling may be provided as follows:
  • ZLMSGID_PROXY_CMD ZLMSGID_PROXY_CMD
  • proxy message header is defined as follows:
  • Replies to proxy messages will have the reply bit set just as the client-server replies.
  • the network address and the endpoint should be set appropriately.
  • the downloaded application program of a wireless network device may be enabled or activated in memory in an advantageous manner.
  • the lengths Ll and L2 and the memory addresses Al, A2, A3, and A4 are specified as appropriate for the underlying memory technology. For example, if the technology is Flash memory, then these data specify flash pages. If the technology is standard serial EEPROM, than these data specify byte addresses. o
  • FIG. 7 an illustration of memory 210 of a wireless network device which stores an application program ("active image”) 702 as well as an updated application program (“downloaded image”) 704 in accordance with conventional techniques is shown.
  • memory 210 is made of a single contiguous memory space.
  • application program 702 is stored in memory 210 beginning at a memory address Al to a memory address A2 - 1.
  • Updated application program 704 is stored in memory 210 beginning at the memory address A2 to a memory address A4 - 1.
  • Application program 702 has a length Ll and updated application program 704 has a length L2 > Ll, which is a longer version or update of application program 702.
  • Memory address Al which is the location of the beginning of application program 702, is typically the address to which a power-on or reset interrupt vector in the processor is directed.
  • the processor will cause updated application program 704 to be copied over application program 702 beginning at memory address Al. See FIG. 8.
  • the copying process is performed so that the beginning of updated application program 704 will be located at Al, typically the address of the power-on or reset interrupt vector.
  • the predetermined condition that triggers the copying process may be the receipt of an instruction through the wireless transceiver to change or update the application program.
  • the copying process is performed by sequentially reading data of updated application program 704 beginning at memory address A2 while sequentially writing the data over application program 702 beginning at memory address Al.
  • the original application program 702 will no longer be needed and is copied over. As the copying process reaches beyond memory address A2, a beginning portion of the original updated application program 704 will be written over by an end portion of the program.
  • a validity check is performed on the updated application program to test the integrity of the data.
  • the validity check may be or include, for example, a cyclical redundancy check (CRC) or a checksum test. If the validity check is successful, then the updated application program is executed by the wireless network device for operation. If the validity check is unsuccessful, however, then the data of the updated application program is identified to be corrupt and the updated application program will need to be recopied at the memory address Al.
  • the validity check may be unsuccessful due to a failure that occurred while the updated application program was being copied over the original application program.
  • the wireless network device may again have to retrieve a copy of the updated application program from another wireless network device. If the beginning portion of the updated application has been overwritten, then this is not possible since there is no longer a complete viable program image that can run.
  • FIG. 11 a flowchart for describing a method of updating an application program in memory of a wireless network device is shown. This method alleviates the concerns noted in the description of FIGs. 7-8 above.
  • This method is performed by a processor of a wireless network device of a wireless communication network.
  • a computer program product of the present application may include a computer readable medium and computer instructions stored in the computer readable medium which are executable by the processor for performing the method.
  • the wireless network device maintains storage of an application program having a length Ll in memory of the wireless network device, beginning at a memory address Al to a memory address A2 — 1 (step 1102 of FIG. 11). See application program 702 having length Ll stored in memory 202 of FIG.
  • Memory address Al which is the location of the beginning of application program 702 of FIG. 9, is typically the address to which a power-on or reset interrupt vector in the processor is directed.
  • An over-the-air download procedure is performed by the processor to receive updated application program 704 which has a length L2 > Ll (step 1104 of FIG. 11).
  • the end of updated application program 704 is stored at memory address A3 - 1. Compare the storage of the updated application program of FIG. 9 with that of FIG. 8.
  • memory 210 of FIG. 9 is made of a single contiguous memory space.
  • Memory 210 may have, for example, about 128 kilobytes of memory.
  • Application programs may have sizes ranging from 43 kilobytes to 70 kilobytes, for example, for storage within memory 210.
  • the available memory space for the concurrent storage of two application programs is less than 2*L2. As apparent, available memory space in memory 210 is limited.
  • the processor will cause updated application program 704 to be copied over application program 702 in a sequential fashion beginning at memory address Al (step 1108 of FIG. 11). See FIG. 10.
  • the predetermined condition that triggers the copying process may be the receipt of an instruction through the wireless transceiver to change or update the application program.
  • the copying process is performed so that the beginning of updated application program 704 will be located at the address (memory address Al) of the power-on or reset interrupt vector.
  • the copying process is performed by sequentially reading data blocks of updated application program 704 beginning at memory address A3, and sequentially writing these data blocks over application program 702 beginning at memory address Al.
  • the writing process may be terminated or ceased at memory address A2 since the appropriate remaining portion of updated application program 704 already remains between memory address A2 and memory address A3 - 1.
  • the copying process of step 1108 of FIG. 11 is then complete.
  • a validity check is performed on the updated application program to test the integrity of the data.
  • the validity check may be or include, for example, a CRC or a checksum test. If the validity check is successful, then the updated application program is executed by the wireless network device for operation. If the validity check is unsuccessful, however, then the data of the updated application program is identified to be corrupt and the updated application program will need to be recopied at the memory address Al using the same process.
  • the validity check may be unsuccessful due to a failure that occurred while the updated application program was being copied over the original application program. Since no portion of the original updated application program is ever written over or lost from the copying process (i.e. as described earlier in relation to FIG. 8), however, the wireless network device needs not again retrieve a copy of the updated application program from another wireless network device for the recopying.
  • an illustrative embodiment of a wireless network device of the present application includes a controller, memory for storing one or more application programs, and a wireless transceiver coupled to the controller and operative for communications in an ad hoc wireless network.
  • the controller is adapted to execute the application program for controlling operation of the wireless network device.
  • the controller is further adapted to receive, through the wireless transceiver, an instruction which causes the wireless network device to operate as a client in performing an over-the-air download (OAD) procedure for receiving the application program from another wireless network device which is operated as a server in the wireless network, and to operate the wireless network device as the client in performing the OAD procedure in response to such instruction.
  • OAD over-the-air download
  • the controller is further adapted to receive, through the wireless transceiver, one or more instructions which cause the wireless network device to operate as a server in performing the OAD procedure for sending the application program to another wireless network device which is operated as a client in the wireless network, and to operate the wireless network device as the server in performing the OAD procedure in response to such instructions.
  • An ad hoc wireless communication network of the present application includes at least a first wireless network device, a second wireless network device, and a third wireless network device.
  • the first wireless network device has a first controller, a first wireless transceiver coupled to the first controller and operative for communications in the wireless network, and a first memory for storing one or more application programs.
  • the first controller is adapted to execute the application program for controlling operation of the first wireless network device.
  • the first controller is further adapted to receive, through the first wireless transceiver, an instruction which causes the first wireless network device to operate as a client in performing an OAD procedure for receiving the application program from the third wireless network device which is operated as a server in the wireless network, and to operate the first wireless network device as the client in performing the OAD procedure in response to such instruction.
  • the first controller is further adapted to receive, through the first wireless transceiver, one or more instructions which causes the first wireless network device to operate as a server in performing the OAD procedure for sending the application program to the second wireless network device which is operated as a client in the wireless network, and to operate the first wireless network device as the server in performing the OAD procedure in response to such instructions.
  • the second wireless network device has a second controller, a second wireless transceiver coupled to the second controller and operative for communications in the wireless network, and a second memory for storing one or more application programs.
  • the second controller is adapted to execute the application program for controlling operation of the second wireless network device.
  • the second controller is further adapted to receive, through the second wireless transceiver, an instruction which causes the second wireless network device to operate as a client in performing the OAD procedure to receive the application program from the first wireless network device which is operated as the server in the wireless network, and to operate the second wireless network device as the client in performing the OAD procedure in response to such instruction.
  • the second controller is further adapted to receive, through the second wireless transceiver, one or more instructions which cause the second wireless network device to operate as a server in performing the OAD procedure for sending the application program to another wireless network device which is operated as a client in the wireless network, and to operate the second wireless network device as the server, in performing the OAD procedure in response to such instructions.
  • An illustrative method for use in facilitating OAD procedures for a plurality of wireless network devices in an ad hoc wireless communication network may involve the acts of receiving, through a wireless transceiver of a wireless network device, an instruction to perform an OAD procedure with another wireless network device in the ad hoc wireless communication network; causing an instruction to initiate the OAD procedure to be sent to the other wireless network device through the wireless transceiver in response to receiving the instruction to perform the OAD procedure; receiving, through the wireless transceiver, an application program from the other wireless network device in the OAD procedure after causing the instruction to initiate the OAD procedure to be sent; and storing the application program in memory of the wireless network device.
  • the act of receiving the instruction to perform the OAD procedure may comprise the further act of receiving an address which identifies the other wireless network device with which to perform the OAD procedure, and the act of causing the instruction to initiate the OAD procedure to be sent may comprise the further act of causing the instruction to be sent to the address which identifies the other wireless network device.
  • the act of receiving the instruction to perform the OAD procedure may comprise the further act of receiving a version number of the application program to be received in the OAD procedure, and the act of causing the instruction to initiate the OAD procedure to be sent to the other wireless network device may comprise the further act of causing the instruction to be sent along with the version number of the application program to be received in the OAD procedure.
  • a commissioner device of the present application may comprise a controller and a communication interface coupled to the controller.
  • the controller may operative to cause a status request to be sent to a wireless network device of a wireless communication network through the communication interface; receive a status reply from the wireless network device through the network interface which includes a version number of an application program of the wireless network device; and cause an instruction to be sent to the wireless network device through the communication interface which causes it to operate as a client in performing an OAD procedure with another wireless network device of the wireless network for receiving an upgraded application program.
  • the controller may be further operative to cause a discovery request to be broadcasted in the wireless network and, in response to the discovery request, receive discovery responses from the wireless network devices through the communication interface which include addresses of the wireless network devices.
  • the communication interface may be a wired communication interface for connecting with a wireless proxy device of the wireless network, such that the status request and the instruction comprise proxy messages sent by the commissioner device.
  • a related method of updating an application program in memory of any type of network device is also described.
  • An application program having a length Ll is stored in memory of the wireless network device from a memory address Al to a memory address A2 - 1.
  • a download procedure is performed by the network device to receive an updated application program having a length L2 > Ll.
  • the application program is then copied over with the updated application program beginning at the memory address Al.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Dans un exemple décrit dans cette invention, un dispositif de réseau sans fil d'un réseau personnel sans à faible débit (WPAN) ou de tout autre réseau similaire, comprend un dispositif de commande, une mémoire permettant de stocker un ou plusieurs programmes d'applications, et un émetteur-récepteur sans fil couplé au dispositif de commande et assurant les communications dans le réseau sans fil. Le dispositif de commande est conçu pour recevoir, par l'intermédiaire de l'émetteur-récepteur sans fil, une instruction qui a pour effet de déclencher le fonctionnement en tant que client du dispositif sans fil lors de l'exécution d'une procédure de téléchargement en liaison radio afin de recevoir le programme transmis par un autre dispositif sans fil fonctionnant en tant que serveur dans le réseau sans fil, et le fonctionnement en tant que client du dispositif sans fil lors de l'exécution de la procédure de téléchargement en liaison radio en réponse à une telle instruction. Le dispositif de commande est également conçu pour recevoir, par l'intermédiaire de l'émetteur-récepteur sans fil, une ou plusieurs instructions de sorte que le dispositif sans fil fonctionne en tant que serveur lors de l'exécution de la procédure de téléchargement en liaison radio pour envoyer le programme à un ou à plusieurs dispositifs sans fil lesquels sont actionnés en tant que clients dans le réseau sans fil, et pour actionner le dispositif sans fil en tant que serveur lors de l'exécution de la procédure de téléchargement en liaison radio en réponse à de telles instructions. Un dispositif coordonateur du réseau sans fil peut coordonner l'attribution des rôles clients et des rôles serveurs aux dispositifs sans fil pour les procédures de téléchargement en liaison radio sur la base d'une large gamme de techniques heuristiques ou algorithmiques pour des résultats optimaux.
PCT/US2005/040617 2005-11-09 2005-11-09 Procede de telechargement en liaison radio (oad) et un dispositif permettant de faciliter la programmation d'applications dans des dispositifs de reseau sans fil de reseaux de communication sans fil ad hoc WO2007055686A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP05848548A EP1955144A4 (fr) 2005-11-09 2005-11-09 Procede de telechargement en liaison radio (oad) et un dispositif permettant de faciliter la programmation d'applications dans des dispositifs de reseau sans fil de reseaux de communication sans fil ad hoc
PCT/US2005/040617 WO2007055686A1 (fr) 2005-11-09 2005-11-09 Procede de telechargement en liaison radio (oad) et un dispositif permettant de faciliter la programmation d'applications dans des dispositifs de reseau sans fil de reseaux de communication sans fil ad hoc

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/US2005/040617 WO2007055686A1 (fr) 2005-11-09 2005-11-09 Procede de telechargement en liaison radio (oad) et un dispositif permettant de faciliter la programmation d'applications dans des dispositifs de reseau sans fil de reseaux de communication sans fil ad hoc

Publications (1)

Publication Number Publication Date
WO2007055686A1 true WO2007055686A1 (fr) 2007-05-18

Family

ID=38023548

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2005/040617 WO2007055686A1 (fr) 2005-11-09 2005-11-09 Procede de telechargement en liaison radio (oad) et un dispositif permettant de faciliter la programmation d'applications dans des dispositifs de reseau sans fil de reseaux de communication sans fil ad hoc

Country Status (2)

Country Link
EP (1) EP1955144A4 (fr)
WO (1) WO2007055686A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018206337A1 (fr) * 2017-05-10 2018-11-15 Tridonic Gmbh & Co Kg Mise à jour par radio d'un micrologiciel (fota) dans les équipements techniques du bâtiment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020073205A1 (en) * 2000-08-02 2002-06-13 Miraj Mostafa Communication service
US20030065738A1 (en) * 2001-10-01 2003-04-03 Thumb Logic, Inc. Wireless information systems and methods
US6560643B1 (en) 1994-06-22 2003-05-06 Ncr Corporation System of self-service terminals and method of distributing software to a plurality of self-service terminals
WO2004017669A1 (fr) * 2002-08-14 2004-02-26 Motorola, Inc. Programmation a distance d'un dispositif portable sans fil de communication
US20040054787A1 (en) * 2002-06-28 2004-03-18 Kjellberg Rikard M. Domain-based management of distribution of digital content from multiple suppliers to multiple wireless services subscribers
US20040068721A1 (en) * 2000-11-17 2004-04-08 O'neill Patrick Network for updating firmware and / or software in wireless communication devices
US20040098715A1 (en) 2002-08-30 2004-05-20 Parixit Aghera Over the air mobile device software management
US20040114690A1 (en) * 2002-12-06 2004-06-17 Stephen Gordon Managing bursts of data
US20050033829A1 (en) * 2003-08-04 2005-02-10 Nokia Corporation System and method for wireless multicast downloading
US20050246702A1 (en) * 2004-04-30 2005-11-03 Hon Hai Precision Industry Co., Ltd. System and method for automatically updating versions of software programs in client computers

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6308061B1 (en) * 1996-08-07 2001-10-23 Telxon Corporation Wireless software upgrades with version control

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6560643B1 (en) 1994-06-22 2003-05-06 Ncr Corporation System of self-service terminals and method of distributing software to a plurality of self-service terminals
US20020073205A1 (en) * 2000-08-02 2002-06-13 Miraj Mostafa Communication service
US20040068721A1 (en) * 2000-11-17 2004-04-08 O'neill Patrick Network for updating firmware and / or software in wireless communication devices
US20030065738A1 (en) * 2001-10-01 2003-04-03 Thumb Logic, Inc. Wireless information systems and methods
US20040054787A1 (en) * 2002-06-28 2004-03-18 Kjellberg Rikard M. Domain-based management of distribution of digital content from multiple suppliers to multiple wireless services subscribers
WO2004017669A1 (fr) * 2002-08-14 2004-02-26 Motorola, Inc. Programmation a distance d'un dispositif portable sans fil de communication
US20040098715A1 (en) 2002-08-30 2004-05-20 Parixit Aghera Over the air mobile device software management
US20040114690A1 (en) * 2002-12-06 2004-06-17 Stephen Gordon Managing bursts of data
US20050033829A1 (en) * 2003-08-04 2005-02-10 Nokia Corporation System and method for wireless multicast downloading
US20050246702A1 (en) * 2004-04-30 2005-11-03 Hon Hai Precision Industry Co., Ltd. System and method for automatically updating versions of software programs in client computers

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP1955144A4

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018206337A1 (fr) * 2017-05-10 2018-11-15 Tridonic Gmbh & Co Kg Mise à jour par radio d'un micrologiciel (fota) dans les équipements techniques du bâtiment
DE102017207871A1 (de) * 2017-05-10 2018-11-15 Tridonic Gmbh & Co Kg Firmware-Update-Over-The Air (FOTA) in der Gebäudetechnik
CN110622132A (zh) * 2017-05-10 2019-12-27 赤多尼科两合股份有限公司 用于建筑服务的固件空中下载(fota)更新
US11093233B2 (en) 2017-05-10 2021-08-17 Tridonic Gmbh & Co Kg Firmware over-the-air (FOTA) update for building services
AT17397U1 (de) * 2017-05-10 2022-03-15 Tridonic Gmbh & Co Kg Firmware-Update-Over-The Air (FOTA) in der Gebäudetechnik

Also Published As

Publication number Publication date
EP1955144A1 (fr) 2008-08-13
EP1955144A4 (fr) 2011-12-14

Similar Documents

Publication Publication Date Title
US7539488B2 (en) Over-the-air download (OAD) methods and apparatus for use in facilitating application programming in wireless network devices of ad hoc wireless communication networks
US7814478B2 (en) Methods and apparatus for use in updating application programs in memory of a network device
US10798702B2 (en) Periodic frames for control plane data to manage multi-band wireless networking system
CN108028786B (zh) 控制网状网络中设备之间的交互和协作的集中控制系统
JP6024280B2 (ja) 無線ネットワークプロトコルを用いて通信するパッシブrfデバイス
US8867508B2 (en) Method and system for wireless access point radios integrated in a cable
WO2013040438A1 (fr) Transmission de trames de données dans des réseaux de communication qui utilisent des protocoles incompatibles d'acheminement des données sur le réseau
CN106411843A (zh) 服务器发起的远程装置注册
CN105191412A (zh) 授权wifi网络发现和流量监测
CN105794135A (zh) 用于数据传输的跨层和跨应用确认
CN105357255A (zh) 一种远程更新方法及系统
Harvan Connecting wireless sensor networks to the internet-a 6lowpan implementation for tinyos 2.0
KR20170029540A (ko) 중앙 하이브리드 무선 자체 구성화 네트워크를 구현하는 방법, 장치 및 시스템
WO2007055686A1 (fr) Procede de telechargement en liaison radio (oad) et un dispositif permettant de faciliter la programmation d'applications dans des dispositifs de reseau sans fil de reseaux de communication sans fil ad hoc
CN105163306A (zh) 通信装置及其控制方法
Flowers et al. Microchip MiWi wireless networking protocol stack
JP4315063B2 (ja) 情報通信装置および情報通信システム
CN114080002A (zh) 实现ZigBee设备批量自动组网的系统和方法
JP2012253769A (ja) 中継器パススルーメッセージング
KR20200021397A (ko) 무선 통신 시스템을 이용한 단말의 소프트웨어 업데이트 방법 및 장치
CN111886845B (zh) 在通信互连装置网络中执行空中下载(ota)升级的方法和装置
Flowers et al. MiWi™ Wireless Networking Protocol Stack
CN114978906B (zh) 基于局域网的智能设备固件升级方法及存储介质
US9736753B2 (en) Control apparatus and communication control method
KR100941952B1 (ko) 무선 개인 영역 네트워크에서의 데이터 송수신 방법 및시스템

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2005848548

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2005848548

Country of ref document: EP