USER INTERFACE DEVICE UPDATING SYSTEM AND METHOD

Information

  • Patent Application
  • 20200371651
  • Publication Number
    20200371651
  • Date Filed
    May 24, 2019
    5 years ago
  • Date Published
    November 26, 2020
    4 years ago
Abstract
In embodiments, a system and method updates data stored on a user interface device using a signature having sub-signatures that represent specific categories of data elements of the data, the categories regarding the operation of one or more actuating devices and possibly other items, the system and method changing the operation of the one or more actuating devices and possibly the other items based on the updated data and changing a display on the user interface device to reflect the changed operation.
Description
BACKGROUND
Field of the Disclosure

The present disclosure relates to a system and method for updating a device such as a mobile or other user interface device, and more particularly to such a system and method that includes categorized elements of data and corresponding signatures to improve update efficiency in a system for controlling actuating or other devices.


Brief Description of Related Art

User interface devices, such as mobile devices, may use applications and associated hardware to communicate with and control other electronic devices in smart control systems. One user interface function is to retrieve data, including stored data from those other devices and display that data to a user. However, stored system data may become out-of-date and not reflect changed statuses or conditions related to those other electronic devices or their control. Therefore, the data may be periodically updated on the user interface devices to be current. Such updating, especially when numerous user interface devices are included in a system, may use significant resources, including bandwidth, to keep the data on all those user interface devices up-to-date.


There may therefore be a need for an updating system and method that efficiently updates data on a user interface device. There may also be a need for an updating system and method that efficiently updates such data to thereby facilitate the accurate communication of the user interface with a gateway that directly or indirectly controls one or more electronic devices. There may also be a need for an update system and method that efficiently updates data on a user interface device to thereby facilitate the change of operation of those electronic devices, such as via the gateway.


SUMMARY OF THE INVENTION

In one embodiment, an updating method includes: storing, on a gateway on a local area network, data that comprises data elements that are each in a different one of a plurality of categories that together regard operation of a plurality of actuating devices on the local area network; storing the data on a user interface device; creating a signature comprising sub-signatures that each represent a different one of the data elements along with the category that data element is in; updating the data stored on the gateway by updating the data elements, such that the updated data elements of the updated data comprise the data elements except that one or more of the data elements in one or more of the plurality of categories are changed; creating an updated signature that comprises updated sub-signatures that each represent a different one of the updated data elements of the updated data stored on the gateway, and thus each represent said different one of the plurality of categories; determining that the updated signature does not match the signature; determining, for each of the categories, whether the updated sub-signature and sub-signature representing that category are different; and copying, from the gateway to the user interface device, for each category in which the updated sub-signature and sub-signature representing that category are different, the updated data element in that category and thereby replacing, with that updated data element, the data element in that category stored on the user interface device.


In another embodiment, an updating system includes a gateway on a local area network, the gateway comprising a processor and a computer readable storage medium, the computer readable storage medium including code executable by the processor to: store, on the gateway on the local area network, data that comprises data elements that are each in a different one of a plurality of categories that together regard operation of a plurality of actuating devices on the local area network; store the data on a user interface device; create a signature comprising sub-signatures that each represent a different one of the data elements along with the category that data element is in; update the data stored on the gateway by updating the data elements, such that the updated data elements of the updated data comprise the data elements except that one or more of the data elements in one or more of the plurality of categories are changed; create an updated signature that comprises updated sub-signatures that each represent a different one of the updated data elements of the updated data stored on the gateway, and thus each represent said different one of the plurality of categories; determine that the updated signature does not match the signature; determine, for each of the categories, whether the updated sub-signature and sub-signature representing that category are different; and copy, from the gateway to the user interface device, for each category in which the updated sub-signature and sub-signature representing that category are different, the updated data element in that category and thereby replace, with that updated data element, the data element in that category stored on the user interface device.


In yet another embodiment, a data updating method includes: storing, on a user interface device: first data that comprises first data elements that are each in a different one of a plurality of categories that together regard operation of a plurality of actuating devices on a local area network; and a first signature comprising first sub-signatures that each represent a different one of the data elements along with the corresponding said different one of the plurality of categories that data element is in. The data updating method in that embodiment may also include storing, on a gateway on the local area network: second data that comprises second data elements that each are in a different one of the plurality of categories regarding the operation of the plurality of actuating devices on the local area network; and a second signature that comprises second sub-signatures that each represent a different one of the second data elements of the second data, and thus each represent said different one of the plurality of categories that second data element is in. The data updating method in that embodiment may also include: determining whether the second signature matches the first signature, and if the second signature does not match the first signature, determine, for each of the plurality of categories, whether the corresponding second sub-signature and first sub-signature representing that category are different; and copying, from the gateway to the user interface device, for each category in which the second sub-signature and first sub-signature representing that category are different, the second data element in that category and thereby replacing, with that second data element, the first data element in that category stored on the user interface device.


In another embodiment, a data updating method includes: storing, on a user interface device: first data that comprises first data elements that are each in a different one of a plurality of categories that together regard operation of a plurality of actuating devices on a local area network; and a first signature comprising first sub-signatures that each represent a different one of the data elements along with the corresponding said different one of the plurality of categories that data element is in. The data updating method in that embodiment may also include: storing, on a gateway on the local area network: second data that comprises second data elements that each are in a different one of the plurality of categories regarding the operation of the plurality of actuating devices on the local area network; and a second signature that comprises second sub-signatures that each represent a different one of the second data elements of the second data, and thus each represent said different one of the plurality of categories that second data element is in. The data updating method in that embodiment also includes: displaying, on a user interface of the user interface device, a display that is associated with the first data elements in a subset of the plurality of categories; for each category in the subset of the plurality of categories, determining whether the second sub-signature of the second signature representing that category matches the first signature, and if the second signature does not match the first signature, determine, for each category in the subset of the plurality of categories, whether the corresponding second sub-signature and first sub-signature representing that category are different; and copying, from the gateway to the user interface device, for each category in the subset of the plurality of categories in which the second sub-signature and first sub-signature representing that category are different, the second data element in that category and thereby replacing, with that second data element, the first data element in that category stored on the user interface device.


Other embodiments, which may include one or more parts of the aforementioned systems and methods or other parts, are also contemplated, and may thus have a broader or otherwise different scope than the aforementioned systems and methods. Thus, the embodiments in this Summary of the Invention are mere examples, and are not intended to limit or define the scope of the invention or claims.





BRIEF DESCRIPTION OF THE DRAWINGS

For the present disclosure to be easily understood and readily practiced, the present disclosure will now be described for purposes of illustration and not limitation, in connection with the following figures.


The accompanying drawings, wherein like reference numerals are employed to designate like components, are included to provide a further understanding of the present inventions, are incorporated in and constitute a part of this specification, and show embodiments of those systems and methods that together with the description serve to explain those systems and methods.


Various other objects, features and advantages of the invention will be readily apparent according to the following description exemplified by the drawings, which are shown by way of example only, wherein:



FIG. 1 illustrates an embodiment of a backup system for a gateway;



FIG. 2 illustrates an embodiment of a gateway that may be included in the backup system;



FIG. 3 illustrates an embodiment of a local area network the backup system for the gateway may operate with or include at least in part;



FIG. 4 illustrates embodiments of data and an associated signature used in the backup system for the gateway;



FIG. 5 is a flow chart of embodiments of a method for backing up data on a gateway;



FIG. 6 is a flow chart of embodiments of a method for restoring data on a gateway;



FIG. 7 illustrates an embodiment of a user interface device that may be included in an updating method and system therefore; and



FIG. 8 is a flow chart of embodiments of a method and corresponding system for updating data on a user interface device.





DETAILED DESCRIPTION OF THE INVENTION

Reference will now be made to embodiments of user interface device updating systems and methods, examples of which are illustrated in the accompanying drawings. Details, features, and advantages of user interface device updating systems and methods therefore will become further apparent in the following detailed description of embodiments thereof. The user interface device updating systems and methods, in embodiments, provide for the efficient updating of data on user interface devices via communication, directly or indirectly, with one or more gateways that are on a local area network. The user interface devices, such as mobile devices, may use that updated data to provide visual and/or other information regarding configurations and operation of controlled network devices in specified zones, such as the lighting in a specific area of a building.


Details, features, and advantages of user interface device updating systems and methods therefore will become further apparent in the following detailed description of embodiments thereof. The user interface device updating systems and methods provide for the efficient updating of data stored on one or more user interface devices. The updated data may provide updated information regarding the operation of networked devices. For example, the updated data may provide current information regarding the conditions of control, such as via a gateway, of networked devices in specified zones, such as the lighting in a specific area of a building.


It is to be understood that the specific systems and methods described in the following specification are simply exemplary embodiments of the present invention and are not to be considered as limiting.


Any reference in the specification to “one embodiment,” “a certain embodiment,” or a similar reference to an embodiment is intended to indicate that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the invention. The appearances of such terms in various places in the specification do not necessarily all refer to the same embodiment. References to “or” are furthermore intended as inclusive, so “or” may indicate one or another of the ored terms or more than one ored term.



FIG. 1 illustrates an embodiment of a backup system 1 for a gateway. The backup system 1 may backup and restore data on the gateway 10. The backup system 1 may include the gateway 10 and a database 100.


The gateway 10 may be in communication with the database 100 as desired. For example, in an embodiment, the database 100 is a remote database on a remote network 110, which may be a network remote from a local area network on which the gateway 10 resides and accessible via the Internet. The network 110, if remote, may be considered one or more networks remote from the local area network, and may be part of a cloud. Such a database 100 may be on or in communication with, such as through the Internet, a remote server 120, which may be a server on the remote network 110. The gateway 10 may be in communication with the database 100, if remote, via another gateway 11, which may communicate with the database 100 via the remote server 120. In another embodiment, the gateway 10 communicates with the database 100 via the remote server 110 directly, without the gateway 11. In an embodiment, the database 100 may be considered one or more databases that together stored the various data and signatures described herein.


The gateway 10 in the system 1 may control one or more networked devices, such as one or more actuating devices 74 over a local area network such as within a building, such as described herein. In an embodiment, the system 1 may also include or operate with one or more sensing devices 75 that sense conditions that trigger certain actions with respect to one or more of the actuating devices 74, such as by way of the gateway 10 sending signals directly or indirectly to those actuating devices 74 to so act when those sensed conditions are met. In embodiments, the one or more actuating devices 74 and one or more sensing devices 75 may be on the local area network, and thus in communication over the local area network directly or indirectly with the gateway 10.


The actuating devices 74 may be, for example, lighting fixtures or other lighting, blinds, HVAC systems and devices, and/or various other powered devices, and/or manually or otherwise operated switches or other controllers for the aforementioned or other powered devices. In an embodiment, one or more of the actuating devices 74 include both the powered devices (e.g., lighting fixtures) and their switches or other controllers. As described herein, operation (or change in operation) of an actuating device 74 that is a switch for a light or lights may operate (or change the operation of) the light or lights in a specified way.


The sensing devices 75 may be, for example, light level sensors, temperature sensors, motion sensors, and/or other ambient or other condition sensors or detectors. In an embodiment, one or more of the sensing devices 75 may included in one or more powered devices, such as one or more powered devices described in the paragraph above.


In one embodiment as shown in FIG. 1, the local area network may include thereon the gateway 10 along with the gateway 11, and one or more actuating devices 74 and one or more sensing devices 75. The gateway 10 may also be in communication with a general purpose computer 76, which may also be a part of the system 1 and local area network. In an embodiment, a user may use the general purpose computer 76 to prompt the gateway 10 to, such as described herein, back up or restore data. In an embodiment, the local area network includes the local area network 70 of FIG. 3 described below or components thereof, and may be or include a mesh network.



FIG. 2 illustrates an embodiment of the gateway 10. The gateway 10 may be a network node that enables communication with other electronic devices, such as one or more other gateways or routers and one or more actuating and sensing devices, and may possibly communicate with one or more other networks via the Internet. In an embodiment, the gateway 10 controls the operation of one or more actuating devices 74, possibly based, at least in part, on conditions one or more sensing devices 75 sense. The gateway 10 may so control that operation by communicating directly with, or indirectly with such as through other gateways or routers, the actuating devices 74, and possibly also the sensing devices 75 to signal to the actuating devices 74 to operate in specific ways and/or at specific times.


The gateway 10 may include a processor 12 and a wireless network communication device 14. The processor 12 and wireless communication device 14 may be combined in a controller 16, which may be a microcontroller. The gateway 10 may include storage thereon, which may be storage in the local area network for the gateway 10. The storage may be memory 20, a data storage device 36, a combination of both memory and the data storage device 36, or another device or devices for local storage of data. Thus, the storage may be considered storage on the gateway 10 whether the data is stored directly on the gateway or on a device or devices accessible by the gateway 10 over a local area network such as network 70 of FIG. 3. In an embodiment, the storage of the gateway may be or include a computer readable storage medium including code executable by the processor 12 of the gateway 10 to, at least in part, operate the backup system 1 and backup methods for the gateway 10 provided herein, and to, at least in part, operate the updating methods and systems herein for updating data on a user interface device 77. The gateway 10 may also include a communication adaptor 18, a communication adaptor port or connector 22, one or more input devices 24, diagnostic output devices 26, and a clock 38.


The wireless communication device 14 may be a radio board or module, such as, for example, a ZigBee® network communication device. The gateway 10 may use the wireless communication device 14 to facilitate communications across one or more networks, including a wireless network 40 and a wired network 42, one or both of which may be part of a local area network (e.g. 70 shown in FIG. 3 and described below) and/or may communicate with one or more other networks.


It should be recognized that the gateway 10 may have fewer components or more components than shown in FIG. 2. For example, if an input device 24 or output device 26 is not desired, such a device may not be included in the gateway 10.


The elements, including the processor 12, communication adaptor 18, memory 20, input device 24, output device 26, and data storage device 36 related to the gateway 10 may communicate by way of one or more communication busses 30. Those busses 30 may include, for example, a system bus or a peripheral component interface bus.


The memory 20 may, for example, include random-access memory (RAM), flash RAM, dynamic RAM, or read only memory (ROM) (e.g., programmable ROM, erasable programmable ROM, or electronically erasable programmable ROM) and may store computer program instructions and information. The memory 20 may furthermore be partitioned into sections including an operating system partition 32 where system operating instructions are stored, and a data partition 39 in which data is stored.


The processor 12 may be any desired processor and may be a part of a controller 16, such as a microcontroller, may be part of or incorporated into another device, or may be a separate device. The processor 12 may, for example, be an Intel® manufactured processor or another processor manufactured by, for example, AMD®, DEC®, or Oracle®. The processor 12 may furthermore execute the program instructions and process the data stored in the memory 20. In one embodiment, the instructions are stored in the memory 20 in a compressed or encrypted format. As used herein the phrase, “executed by a processor,” is intended to encompass instructions stored in a compressed or encrypted format, as well as instructions that may be compiled or installed by an installer before being executed by the processor 12.


The data storage device 36 may be, for example, non-volatile battery backed static random-access memory (RAM), a magnetic disk (e.g., hard drive), optical disk (e.g., CD-ROM) or any other device or signal that can store digital information. The data storage device 36 may furthermore have an associated real-time clock 38, which may be associated with the data storage device 36 directly or through the processor 12 or controller 16. The real-time clock 38 may trigger data from the data storage device 36 to be sent to the processor 12, for example, when the processor 12 polls the data storage device 36. Data from the data storage device 36 that is to be sent across the network 40 or 42 through the processor 12 may be sent in the form of messages in packets if desired. Those messages may furthermore be queued in or by the processor 12.


The communication adaptor 18 permits communication between the gateway 10 and other gateways 11 (depicted in FIG. 3), node 72 (depicted in FIG. 3) such as a router or gateway, devices, or other nodes coupled to the communication adaptor 18 at the communication adaptor connector 22. The communication adaptor 18 may be a network interface that transfers information from a node such as a node 72 that is a router or gateway, a networked device such as an actuating device 74 or sensing device 75 (depicted in FIGS. 1 and 3), a general purpose computer 76 (depicted in FIGS. 1 and 3), a user interface device 77 (depicted in FIG. 3) or another gateway 11 to the gateway 10 or from the gateway 10 to a node 11, 72, 74, 75, 76, or 77. The communication adaptor 18 may be an Ethernet adaptor or another adaptor for another type of network communication. It will be recognized that the gateway 10 may alternately or in addition be coupled directly to one or more other devices through one or more input/output adaptors (not shown).


The input device 24 and output device 26 may couple the gateway 10 to one or more input or output devices such as, for example, one or more pushbuttons and diagnostic lights or displays. It will be recognized, however, that the gateway 10 does not necessarily need to have an input device 24 or an output device 26 to operate. Moreover, the data storage device 36 may also not be necessary for operation of the gateway 10 as data may be stored in memory 20, for example, or otherwise stored on the local area network (e.g., 70 of FIG. 3) as described herein such that this local data storage is considered part of the gateway 10 as connected thereto.


The processor 12 may include or be attached to the real-time clock 38 such that the real-time clock 38 may prompt the processor 12 to read or retrieve data regarding scheduled events when or subsequent to when those scheduled events are to occur. For example, the real-time clock 38 may indicate that it is time for one or more actuating devices 74 (and possibly one or more sensing devices 75 in an embodiment) to operate in a certain way. The data may be read or retrieved by the gateway 10 from local storage, such as the data storage device 36 or memory 20 or other local storage as described above. The retrieved data regarding the scheduled event or events, or a signal related to that data, may then be transmitted across the network 40 or 42, such as to the one or more actuating devices 74, possibly through other nodes, to signal for those devices 74 to so operate. One or more of such scheduled events may trigger messages to be sent at a time or in a cycle and, where more than one message is triggered to be sent across the network 40 or 42, those messages may form a queue. The queue may be created at the microprocessor 16.


Other devices, such as those illustrated in FIG. 1 and/or FIG. 3, including nodes 72 such as routers or gateways, actuating devices 74, sensing devices 75, the general purpose computer 76, FIGS. 1 and 3), and the user interface device 77 may alternately be configured with some or all of the components discussed in connection with FIG. 2. In embodiments, the user interface device 77 may be configured such as discussed below with respect to FIG. 7.



FIG. 3 illustrates an embodiment of a local area network 70, which may be or include a mesh network, for example, and which backup system 1 may operate with or include at least in part. Thus, the local area network 70 may include the gateway 10, and may also include one or any desired number of additional gateways 11, one or more nodes 72 such as routers or gateways, a plurality of actuating devices 74 and sensing devices 75, and one or more general purpose computers 76 and cell phones or other user interface devices 77. The one or more gateways 11 may be configured like the gateway 10 illustrated in FIG. 3, or may be of various configurations.


The gateway 10 may transmit messages across the wireless network 40, wired network 42, or local area network 70 (of which networks 40 and 42 may be a part). Those messages may enter a queue. The queue may be a packet queue where packets making up a message are queued for transmission across one or more of the wireless network 40, wired network 42, and local area network 70. The processor 12 of the gateway 10 may place the packets in that queue.


The messages the gateway 10 transmits across the wireless network 40, wired network 42, and/or local area network 70 may include messages to be used by one or more of the receiving nodes, e.g., one or more nodes 72 such as routers or gateways, actuating devices 74, and/or sensing devices 75 to cause an event with respect to one or more of the actuating devices 74, such as operating a switch to thereby turn a light on or off or energize a motor on a motorized window shade or blind. It should be noted that a node 74, 75, etc. may perform more than one function, including actuating a connected device, receiving a signal from a sensor, performing system operational processes, routing network messages, or other functions performed by network 70 devices.


In an embodiment of the backup system 1 for a gateway, data is stored on the gateway 10, which, as described above, may mean the data is stored in the memory 20, a data storage device 36, a combination of both memory 20 and the data storage device 36, or another device or devices for local storage of data on the local area network 70. The data stored on the gateway 10 may include a plurality of data elements that are each in a different one of a plurality of categories.



FIG. 4 illustrates embodiments of such data 200 that may be stored on the gateway 10 of the system 1, and at least part of the data 200 of which may regard operating a plurality of actuating devices 74 by way of the gateway 10. FIG. 4 also illustrates embodiments of a signature 400 associated with the data 200, and which is addressed below. The data 200 may be apportioned into data elements. The data elements may be portions of a large dataset in RAM, functionally independent data blocks, or a combination of the two, for example.


In an embodiment, the gateway 10 stores on the gateway 10 the data 200 including data elements in a plurality of categories that together regard the operation of a plurality of actuating devices 74 on a local area network, such as the local area network 70 shown and described with respect to FIG. 3. The categories so regard the operation of a plurality of actuating devices 74 by together being used by the gateway 10 and/or another component of the system 1 to trigger the operation in a specified way of those devices 74. In an embodiment, those categories may regard the operation of a plurality of actuating devices 74 at least in some cases based, at least in part, on conditions sensed by one or more sensing devices 75, such as actuating devices 74 that are or control HVAC systems coupled with sensing devices 75 that are temperature sensors. In an embodiment, those categories may further regard the operation of those actuating devices 74 and possibly also the sensing devices 75 by regarding the statuses (e.g., current power consumption, whether on or off, efficiency, etc.) of those devices. Those categories may include, in an embodiment, a category of data element 210 that includes actuating device information, a category of data element 220 that includes scheduled events regarding the actuating devices, a category of data element 230 that includes zones in which the actuating devices are located, and a category of data element 240 that regards groups of actuating devices. In an embodiment, one or more of the data elements 210-240 include information regarding the sensing devices 75 and/or conditions the sensing devices 75 may sense that trigger at least some of the operations of one or more of the actuating devices 74. In an embodiment, one of those categories includes information regarding the aforementioned statuses of the devices 74 and possibly also 75.


The category of the data 200 data element 210 that includes actuating device information may include data that, at least in part, identifies the actuating devices 74 on the local area network (e.g. 70 of FIG. 3) on which the system 1 and its gateway 10 reside. The information may regard one or more of user specified name, manufacturer, model, serial number, software version, type of device, and device capabilities of each actuating device 74 on the local area network. The information may also include user specified names of the devices 74. The information may further include group membership assignments, which may assign the devices 74 into various groups such as zoned-based groups, smart groups, and/or user-specified groups such as described below. In an embodiment, if one or more of the actuating devices 74 are switches or controllers, the aforementioned identification may identify the powered devices to which those actuating devices 74 include or control. In an embodiment, the data element 210 may also include any of the aforementioned information but for one or more sensing devices 75.


The category of the data 200 data element 220 that includes scheduled events regarding the actuating devices may regard rules and schedules of operation of the actuating devices 74. The rules may be configurable behavior of the devices 74 based on sensor states, such as specified conditions to be sensed by one or more sensing devices 75, or timed events. For example, the behavior may be the turning on or off at certain times of certain fixtures or equipment that are, or are controlled by, actuating devices 74, the changing of color or intensity of lighting or equipment that are, or are controlled by, actuating devices 74, and the changing of temperature in a room by operation of actuating devices 74 that are, or control, HVAC devices or systems at certain times or based on temperatures detected by sensing devices 75 that are temperature sensors, etc. The schedules of operation may regard the times in which one or more devices 74 function according to the rules of behavior. In an embodiment, the schedules of operation regard, in part, user-specified holidays that govern rules of behavior of the devices 74 during those holidays. In an embodiment, the backup system 1 may use the clock 38 of the gateway 10 to signal to the gateway 10 the arrival of the times when the devices 74 should function as specified by the rules. In an embodiment, the data element 220 may also regard scheduled events, such as rules and schedules of operation, of the sensing devices 75.


The category of the data 200 data element 230 that includes zones in which the actuating devices 74 are located may include zones, such as areas or locations of a building where devices 74 on the local area network (e.g., 70 in FIG. 3) reside. In an embodiment, the zones are where actuating devices 74 that are powered devices, or where the powered devices associated with actuating devices 74 that are switches or controllers, reside. The zones may include one or more of a listing of user-specified zones, zone occupancy and/or vacancy control options, ambient light sensing control options, and sub-zone configurations. User-specified zones may be areas or locations in a building specified by a user who communicates with the gateway 10 of the backup system 1. Such areas or locations may include, for example, conference rooms, floors, and wings of the building. Zone occupancy and/or vacancy control options may set parameters for operating the actuating devices 74, such as lights and HVAC systems, when sensing devices 75, such as occupancy sensors, detect the presence (or lack thereof) of people within the zones. Ambient light sensing control options may regard parameters for controlling light in various zones, such as areas of a building, that receive sunlight. The ambient light sensing control options may be tied to sensing devices 75 that are light sensors in an embodiment. In an embodiment, ambient light sensing control options may be in the data 200 data element 220 that includes scheduled events regarding actuating devices. The sub-zone configurations may regard areas within zones, such as rooms within a floor. In an embodiment, the data element 230 that includes zones in which the actuating devices 74 are located may include scenes, which may be user-specified zone settings that can be recalled with a single multicast command. In an embodiment, the data element 230 may include other sensing device 75 information, such as areas or locations of a building where the sensing devices 75 on the local area network (e.g., 70 of FIG. 3) reside.


In an embodiment, the category of data element 240 that regards groups of actuating devices 74 may include groupings of specific such devices, such as zone-based groups regarding zones in which the devices are located, smart groups such as groups based on device needs within a zone, and/or user-specified groups. For example, groups of actuating devices 74 may be or include all actuating devices 74 that are, or which control, lights and outlets on a certain floor, all conference room lights, and conference room outlets on a certain floor. In an embodiment, the data element 240 also includes groupings of sensing devices 75.


In an embodiment regarding the backup system 1, the gateway 10 may process data elements (210, 220, 230, and/or 240) of the data 200 to control operation of the one or more actuating devices 74. The gateway 10 may so control those devices by sending instructions through the local area network (e.g., 70 in FIG. 3) directly to the devices 74, or indirectly such as through nodes 72, to prompt those devices 74 to operate in a certain way and/or at a certain time. For example, the gateway 10 may process the data element 210 regarding device information to identify certain actuating devices 74, which may actuate lights or other electrical or mechanical equipment. Thus, the gateway 10 may process data element 220 regarding scheduled events to determine that those lights may be turned off at 8 PM every day. The gateway 10 may process data element 230 to determine a zone of a building, such as a floor, in which those lights should be turned off. The gateway 10 may then, such as upon receiving a signal from its clock 38, send a message through the local area network (e.g., 70 in FIG. 3) to a node or nodes 72 (see FIG. 3) at 8 PM to cause the actuating devices 74 to de-energize associated lights within the specified zone to be turned off. In another embodiment, the gateway 10 may process the data element 240 regarding a group of actuating devices 74 that is all conference room lights, such that the gateway 10 may send a message to the node or nodes 72 to cause all those conference room lights to be turned off, possibly at a certain time by processing the data element 230 regarding scheduled events.


In other embodiments, there may be more or fewer categories of data elements of the data 200 regarding the operation of the actuating devices 74 (and possibly sensing devices 75 in an embodiment) on the local area network (e.g. 70 in FIG. 3), and the data 200 may be differently distributed among those categories. Thus, there may be more or fewer than data elements 210, 220, 230, and 240, such as by combining or dividing those data elements.


In an embodiment of the data 200, in addition to data elements regarding the operation of a plurality of actuating devices 74 (and possibly also sensing devices 75 in an embodiment), the data 200 may further regard other items. Thus, the data 200 may further include a category of data element 250 regarding gateway 10 information. That information may include MAC address, information regarding any cloud with which the gateway 10 directly or indirectly communicates and/or its components, hostname, model, update schedule, enabled feature mask, security settings, network information such as a ZigBee® network the gateway 10 created, and/or other information regarding the gateway 10. That information may, for example, identify the gateway 10 and/or regard settings of the gateway 10.


In an embodiment, the data 200 may further include a category of data element 260 regarding time settings. For example, the data element 260 may regard local time settings and include the time zone and daylight savings adjustment settings. In an embodiment, the gateway 10 may process the data element 260 to change the time of the clock 38 based on those settings.


In embodiments, and as described below, the backup system 1 and gateway 10 may use signatures to efficiently backup and restore data, such as data 200 including one or more of its categorized data elements (210, 220, 230, 240, 250, and 260), stored on the gateway 10 (e.g., memory 20, a data storage device 36, a combination of both memory 20 and the data storage device 36, or another device or devices for local storage of data on the local area network 70). If the data on the gateway 10 local storage changes, such as by being updated or restored, the gateway 10 may send a message through the local area network (e.g., 70 in FIG. 3) to change the operation of one or more actuating devices 74 (and possibly also sensing devices 75 in an embodiment) on that network. In an embodiment, the gateway 10 storage of the backup system 1 is or includes a storage medium including code executable by the processor 12 of the gateway 10 to cause the data 200 backup and restore and to operate, or change the operation of the actuating devices 74, such as described in the methods 300 and 500 of FIGS. 5 and 6, respectively.



FIG. 5 is a flow chart of a method 300 for backing up data on a gateway. In an embodiment, the gateway 10 such as described in embodiments herein performs such a backup method, though in other embodiments the method 300 may be performed, at least in part with the gateway 10, by a general purpose computer 76 or another device or devices. The method 300 is described herein as using the backup system 1 shown and described above, though in other embodiments the method 300 may use other configurations of backup systems and gateways. At 310, the gateway 10 may store thereon (e.g., in or on memory 20, a data storage device 36, a combination of both memory 20 and the data storage device 36, or another device or devices for local storage of data on the local area network (e.g., 70 of FIG. 3)) data 200 comprising data elements that are each in a different one of a plurality of categories that together regard the operation of a plurality of actuating devices 74 on the local area network (e.g., 70 in FIG. 3) on which the gateway 10 resides. The data elements may include, for example, the data element 210 in the category that includes actuating device information that, at least in part, identifies the actuating devices 74 on the local area network (e.g., 70 in FIG. 3), and the data element 220 in the category includes scheduled events regarding the identified devices 74. The data elements may also or alternatively include the data element 230 that includes zones in which the actuating devices 74 are located and/or the data element 240 that regards groups of actuating devices 74. As described above, in an embodiment the gateway 10 may also store in the data elements 210-240 similar sensing device 75 information and/or information associating the sensing devices 75 with the actuating devices 75.


In an embodiment at 310, the gateway 10 of the backup system 1 may further store data 200 comprising the data element 250 in the category regarding gateway information. In an embodiment at 310, the gateway 10 of the backup system 1 may further store data 200 comprising the data element 260 in the category regarding time settings.


At 320, the data 200 may be stored on the database 100 as desired. For example, in an embodiment the gateway 10 may copy the data 200 stored on the gateway 10 to the database 100. As described above, the database 100 may be, in an embodiment, a remote database on a remote network 110 and on, or in communication with such as via the Internet, a remote server 120. In that embodiment, the gateway 10 may copy the data 200 and its data elements (e.g., 210, 220, 230, 240, 250, and 260) to the database 100 via the gateway 11 or otherwise to the database 100 such that the database 100 stores that copy the gateway 10 transmitted thereto. The data 200 may be otherwise stored on the database 100 in other embodiments.


At 330, the backup system 1 stores on the database 100 a signature including sub-signatures that each represent a different one of the data elements (e.g., 210, 220, 230, 240, 250, and 260) of the data 200 along with the corresponding data element category. The storing on the database 100 of the signature may be as desired, such as by first having the gateway 10 or another device create the signature and transmit that signature or a copy thereof to the database 100 for storage, or otherwise as desired. In embodiments, any of the signatures described herein (e.g., signature 400, updated signature, archived signatures, etc.) may be stored other than where described, such as all being stored on the gateway 10 and/or elsewhere on the local area network (e.g., 70 of FIG. 3) or the network 110, for example.


Referring back to FIG. 4, the signature may be or include the signature 400 comprising sub-signatures. Each sub-signature may itself be a separate signature. The sub-signatures may each represent a different one of the data elements of the data 200 along with the corresponding category to which that data element belongs. For example, in an embodiment, the signature 400 comprises sub-signature 410 that represents the actuating device 74 information category of data element 210, sub-signature 420 that represents the scheduled events regarding the devices 74 category of data element 220, sub-signature 430 that represents the category of data element 230 that includes zones in which the devices 74 are located, sub-signature 440 that represents the category of data element 240 that regards groups of devices 74, sub-signature 450 that represents the category of data element 250 that regards gateway 10 information, and sub-signature 460 that represents the category of data element 260 that regards time settings.


The backup system 1 may create the signature 400 as desired. For example, in an embodiment the signature 400 is created by the gateway 10 and/or a general purpose computer 76 or other device by running each data element (e.g., 210, 220, 230, 240, 250, and 260) of the data 200 through a function that converts that data element into a value that is the sub-signature for that data element. The function may be or employ a checksum, cyclic redundancy check (CRC), hash, or other mathematical operation that converts a set of data into a sub-signature that is itself a finite signature. In an embodiment, the function may be one that makes it unlikely that different data elements will produce the same sub-signature. The sub-signatures for the data elements may then be concatenated into the signature 400. In an embodiment, the sub-signatures are fixed lengths such that the sub-signatures may be readily extracted from the signature 400. For example, the sub-signatures may be two units each, such as two letters or numbers. Those sub-signatures may be concatenated into an organized whole such that every two units of the signature 400 represent a known different one of the data elements (e.g., 210, 220, 230, 240, 250, and 260) and its corresponding category.


Referring again to FIG. 5 and the backup method 300, at 340, the data 200 stored on the gateway 10 may be updated by updating the data elements of the data 200. The data elements may be so updated by changing one or more of the data elements. For example, the data elements may include data elements 210, 220, 230, 240, 250, and 260. A user may update that data 200 and those data elements, which may result in changing data elements 210 and 230 by replacing those data elements 210 and 230 with different data, while not altering the categories of data elements 220, 240, 250, and 260. Those updated data elements in that example are thus the data elements (210-260) that still correspond to the same categories, except the data elements 210 and 230 are changed.


At 350, an updated signature is created. The updated signature may be created in the same way the signature was created, as described above, with updated sub-signatures each representing a different updated data element and the category to which that different data element belongs. Thus, referring again to the example in which data elements 210 and 230 of the data 200 were changed to result in the updated data and updated data elements, the updated signature is changed to reflect changes to those updated data elements. Thus, as data elements 210 and 230 were represented by sub-signatures 410 and 430, respectively, of the signature 400, the updated signature and its updated sub-signatures are the same as the signature 400 and sub-signatures 410-460 except the updated sub-signatures corresponding to sub-signatures 410 and 430 are changed. The updated signature with updated sub-signatures may be stored on the gateway 10 as described herein or otherwise stored where desired.


At 360, the backup method 300 may determine that the updated signature does not match the signature 400, such as by having the gateway 10 compare the updated signature and the signature 400 stored on the database 100 to determine that they do not match.


At 370, after determining at 360 that the updated signature does not match the signature 400, the gateway 10 may determine, for each of the plurality of categories of data elements of the data 200 (and thus for each same category of updated data elements of the updated data), whether the corresponding updated sub-signature of the updated signature and sub-signature (e.g., 410, 420, 430, 440, 450, or 460) of the signature 400 representing that category are different.


In an embodiment, at 380, because the data has been updated on the gateway 10 and is to be backed up on the database 100 as described below at 390, the backup system 1 may archive the data 200 stored on the database 100, such as by having the server 120 by prompt from the gateway 10, save another copy of the data 200 on the database 100 along with identifying information, such as meta-data including, as desired, creation date, last updated time such as a date including time, and/or a Universally Unique Identifier (UUID). The backup system 1 may archive the data 200 in association with the signature 400 such that the data 200 and signature 400 are linked. Thus, if the data 200 is to be restored to the gateway as described below in the method 500 of FIG. 6, the backup system 1 may compare the archived signature 400 with the current signature on the gateway 10 as described herein to efficiently determine changes to the data elements of the current data on the gateway 10 as compared to the data elements of the archived data 200.


At 390, for each updated sub-signature of the updated signature that is different than the sub-signature (e.g., 410, 420, 430, 440, 450, or 460) in a corresponding category represented by that sub-signature and updated sub-signature, the gateway 10 may copy to the database 100 the updated data element represented by that updated sub-signature. In so transmitting each such updated data element copy, the updated data element may replace the same category of the data element (e.g., 210, 220, 230, 240, 250, and 260) of the data 200 stored on the database 100.


In an embodiment, at 390 the gateway 10 may further replace the signature 400 on the database 100 with the updated signature. For example, the gateway 10 may transmit a copy of the entire updated signature to the database 100 to replace the entire signature 400 stored on the database 100. Alternatively, the gateway 10 may transmit for replacement on the database 100 only a copy of the updated sub-signatures that are different than the sub-signatures (e.g., 410, 420, 430, 440, 450, and/or 460) of the signature 400 for each represented category.


In an embodiment at 392, the backup system 1, via the updated data and updated data elements stored on the gateway 10, may cause, by way of the gateway 10, a change in operation of one or more of the actuating devices 74 on the local area network (e.g., 70 of FIG. 3). For example, the updated data elements may include an updated version of the data element 220 regarding scheduled events, such as an update to the timing of operation of actuating devices 74 that are or actuate certain lights within the local area network (e.g., 70 in FIG. 3). The gateway 10 may thus transmit a signal, such as to those lights or to a node 72, such as a router or gateway, that controls those lights (or switch therefore), to change the timing of when those lights turn off at night. The updated data elements may also or alternatively include an updated version of the data element 230 regarding zones in which the actuating devices 74 are located. For example, that updated version may include a change in the zone of lights that are to be turned off at the specified time, such as changing the zone from conference room lights of a floor to all lights of the floor. As described above, if desired, the changing in timing of operation of the actuating devices 74 may be triggered by using the clock 38 of the gateway 10 to signal to the gateway 10 that the revised time has been reached. In another example, the updated data elements may change the condition sensed by a sensor device 75 that would trigger an event by an actuating device 74, such as a different temperature sensed by a sensor device 75 that would trigger an HVAC (or controller therefore) actuating device 74 to turn on air conditioning. In an embodiment in which data elements 210-240 include similar information regarding sensing devices 75 as with the actuating devices 74, the gateway 10 may also transmit a signal to change the operation of one or more sensing devices 75.


In an embodiment, the method 300 is repeatedly performed. Thus, for example, after the method 300 has been completed, at least through 390, the current (non-archived) backed up data on the database 100, including updates to that data in the form of the gateway 10 data elements copied to the database 100 as described above at 390, may again be the same data that is on the gateway 10. Thus, the method 300 may be performed again by the system 1 with the current (last-updated) data considered being stored on both the gateway 10 at 310 and database 100 at 320, with a copy of the current (last-updated) signature and its sub-signatures corresponding to that (last-updated) data stored on the database 100 at 330 and possibly also stored on the gateway 10. Further, those current (last-updated) data elements of the (last-updated) data may again be updated on the gateway 10 at 340 and a new signature with sub-signatures may be created at 350 for the newly-updated data and data elements on the gateway 10. The method 300 can continue at 360 through 390, as described in more detail above, by, e.g., comparing the new signature with the (last-updated) signature on the database 100 such that the newly-updated data elements that changed may be determined and then copied from the gateway 10 to the database 100, possibly after archiving the current (last-updated) data and (last-updated) signature on the database 100. Thus, the current data and data elements on the gateway 10 and database 100 may again match. Further, the new signature stored or otherwise associated with the newly-updated data on the gateway 100 may be copied to the database 100.


A user of the system 1 may desire to restore to the gateway 10 one or more updated data elements of the updated data stored on the database 100. For example, one or more categories of updated data elements of the updated data stored on the gateway 10 may have changed again, such as by being corrupted. In such a case, the same one or more categories of updated data elements stored on the database 100 may be copied from the database 100 to the gateway 10, and thereby replace the one or more further changed (e.g., corrupted) updated data elements on the gateway 10. In an embodiment, that restoration may include first creating and comparing a further updated signature and its further updated sub-signatures on the gateway 10 associated with the further changed data with the updated signature and its updated sub-signatures stored on the database 100 to determine which corresponding data elements of the further updated data have changed. The restoration may be similar to that described with respect to the method 500 for restoring data on a gateway described below with respect to FIG. 6.



FIG. 6 is a flow chart of a method 500 for restoring data on a gateway. In an embodiment, the method 500 is part of a backup method including the method 300 of FIG. 5 described above. As with the method 300, in an embodiment the gateway 10 of the backup system 1 performs the method 500 and the system 1 will be referred to when describing the method 500, though in other embodiments the method 500 may be performed, at least in part with the gateway 10, by a general purpose computer 76 or another device or devices.


At 510, the database 100 may store a plurality of sets each of archived data and a corresponding archived signature. Each set of archived data may include archived data elements in the categories of data elements (e.g., 210, 220, 230, 240, 250, and 260) of the data 200 described above. The archived data and archived data elements may be a copy of data that had been transmitted from the gateway 10. For example, each time the data (e.g., 200) on the gateway 10 is backed up to the database 100 such as described above with respect to the method 300 of FIG. 5, the server 120 or another device may first back up the last backed up data (e.g., updated data and its updated data elements in method 300 embodiment of FIG. 5) on the database 100. Thus, there may be many sets of archived data with corresponding archived data elements stored on the database 100, and stored along with that archived data may be meta-data including, for example, one or more identifiers such as the creation date, last updated date, a Universally Unique Identifier (UUID), and/or a counter value that is incremented with each successive set of archived data and corresponding archived signature to indicate archived data version.


For each set of archived data, at 510 an associated archived signature may be stored on the database 100. The archived signature may include archived sub-signatures that each represent a different one of the archived data elements, and thus that each represent a different one of the plurality of categories, such as described above with respect to the signature 400 and the sub-signatures (e.g., 410, 420, 430, 440, 450, and 460). At least some of the plurality of categories may thus together regard the operation of the plurality of actuating devices 74 (and possibly also sensing devices 75 in an embodiment) on the local area network (e.g., 70 of FIG. 3). The archived signature and archived sub-signature may have been created, such as described in the method 300 of FIG. 5 at 330 and 350, to represent data and data elements (original or updated one or more times) stored on the gateway 10 at least for a time.


Because each set of archived data and archived data elements stored at 510 on the database 100 may be a backup of the gateway 10 data at a different time and possibly after a change to that data on the gateway 10, each set of archived data may be different than the previous set such that one or more archived data elements of that set is changed relative to the previous archived set of archived data elements. Thus, also, the associated archived signature in a set may be different than the archived signature in the previous set. Thus, as used herein, sets of archived data and their data elements, along with the associated archived signature, may all be different, or at least may be different compared to the previously backed up set, though successive sets of archived data and signatures may be the same in one or more cases in other embodiments.


At 520, one of the sets of archived data and corresponding archived signature may be selected. For example, one or more of the data elements of the data currently stored on the gateway 10 may be corrupted, and a user may desire to restore a set of data and data elements that was stored on the gateway 10 before that corruption. A user may otherwise desire to restore data that had been stored on the gateway 10 and backed up to the database 100 on a prior date. The gateway 10, such as via a user communication therewith via a general purpose computer 76 or other device, may select the set of archived data and corresponding archived signature such as based on, as described above, one or more identifiers such as the creation date, last updated date, and/or a Universally Unique Identifier (UUID).


At 530, for the set of archived data and corresponding archived signature selected at 520, the system 1, such as via the gateway 10, determines that the archived signature stored on the database 100 does not match the updated signature stored on the gateway 10. The system 1 may make this determination by having the gateway 10 compare the updated signature associated with the updated data (or otherwise current signature associated with the current data) stored on the gateway 10 and the archived signature to determine that they do not match.


At 540, for each of categories represented by the updated sub-signatures of the updated signature stored on the gateway 10 and corresponding archived sub-signatures of the archived signature stored on the database 100, the system 1 may determine whether that updated sub-signature and archived sub-signature are different.


At 550, for each such archived sub-signature that is different from the corresponding updated sub-signature for each represented category, the archived data element represented by that archived sub-signature may be copied to the gateway 10, such as by the gateway 10 issuing a command to retrieve that archived data element. The command may be issued through the gateway 11 and/or server 120 in an embodiment. Each retrieved archived data element may replace on the gateway 10 the corresponding updated data element in the same category. Also at 550, in an embodiment, the archived signature may be copied to the gateway 10 to associate with the current data and data elements on the gateway 10. In that embodiment, the current immediate backup data and corresponding signature stored on the database 100 in the method 300 may also be changed to match the current data and signature now on the gateway 10. That change may be effected by using signatures as described in the method 300 if desired, or may use a similar method to copy over changed data elements of the selected archived data on the database 100 to the latest backup set of data (created in the method 300 above) on the database 100. As described herein, the database 100 may be considered one or more databases such that the copying of the changed data elements from the archive to the latest backup (as described in the method 300) on the database 100 may be a copying between different databases if desired. In an embodiment of the method 500, as discussed above with respect to the method 300, the version of the data that is restored to the gateway 10 may be recognized as the latest data the gateway 10 backed up to the database 100.


At 560, the gateway 10 may send a signal through the local area network (e.g., 70 in FIG. 3), such as through a node 72, such as a router or gateway, to change the operation of at least one of the devices 74 and 75 based on the replacement of the updated data elements on the gateway 10 with the archived data elements.


In an embodiment, a change to data (e.g. 200) by way of change to one or more data elements (e.g. 210, 220, 230, 240, 250, and/or 260) as described herein may occur by gateway 10 replacement or the addition or removal of actuating devices 74 and/or sensing devices 75 reported to that gateway 10. In an embodiment, gateway 10 replacement may be recognized by the system 1 when the gateway 10 has no data stored thereon and/or no associated data signature. In that embodiment, the system 1 may assume that the gateway 10 is a new or replacement device on the local area network (e.g., 70 of FIG. 3) and may restore all data (e.g., 200) last copied to the database 100, including all data elements (e.g., 210, 220, 230, 240, 250, and 260) by copying that data from the backup database 100 to the gateway 10. In another embodiment, the gateway 10 may have a process for periodically backing up the data currently on the gateway 10.


As described in embodiments herein, the gateway backup system 1 and method 300 (and possibly also 500) embodiments herein may conserve bandwidth by efficiently backing up and restoring on the gateway only specific categories of elements of data regarding (possibly among other things) the operation of actuating devices (and possibly sensing devices in an embodiment). By using signatures with sub-signatures that represent those specific categories of data elements, the backup system and method embodiments herein more efficiently determine which categories of data elements should be backed up or restored. Thus, the backup system and method may more economically change the operation of actuating devices (and possibly sensing devices in an embodiment) on a local area network with which the gateway communicates.


In embodiments, a user interface device, such as user interface device 77 referred to above, may be updated from data on the gateway 10. FIG. 7 illustrates an embodiment of the user interface device 77. The user interface device 77 may be a computing device, such as a smartphone, tablet, laptop, or other device, that has storage for data, allows for communication with other electronic devices such as wireless communication, and also includes or uses a user interface. In an embodiment, the elements may include a processor 612 and wireless communication device 614 (612 and 614 of which may be combined in a controller 616 if desired) such as described above regarding corresponding elements 12, 14 (combined in 16), respectively, of the gateway 10 of FIG. 2. The elements may also include storage, which may be memory 620 such as described above regarding memory 20 of the gateway 10 of FIG. 2. In an embodiment, the memory 620 may be partitioned into sections including an operating system partition 632 where system operating instructions are stored, and a data partition 639 in which data is stored, The storage alternatively include a data storage device 636, such as described with respect to data storage device 36 of the gateway 10 of FIG. 2, or may be a combination of memory 620 and a data storage device 636, or other storage. For example, the storage for the user interface device 77 may include a combination of flash storage and RAM in an embodiment. In an embodiment, the storage is or includes a computer readable storage medium including code executable by the processor 612 of the user interface device 77 to, at least in part, operate the updating method 700 and corresponding system as described below with respect to FIG. 8. The user interface device 77 may further include a user interface including an input 624, display 625, and possibly one or more elements. The input 624 may include one or more of, for example, a keyboard, touch screen, mouse, microphone and other input device and technology and may have associated software. The display 625 may be, for example, one or more of a screen, monitor, and other display or displays and may have associated software. As with the gateway 10 and its wireless communication device 14, the user interface device 77 may communicate across one or more networks through its wireless communication device 614, such as across a wireless network 40 and a wired network 42 possibly via a communication adapter 618 and connector 622. One or both of the wireless network 40 and wired network 42 may be part of a local area network (e.g. 70 shown in FIG. 3) and/or may communicate with one or more other networks such as the remote network 110 of FIGS. 1 and 3. In an embodiment, the elements, including the processor 612, communication adaptor 618, memory 620, input device 624, output device 626, and data storage device 636 may communicate by way of one or more communication busses 630. Those busses 630 may include, for example, a system bus or a peripheral component interface bus. In an embodiment, the user interface device 77 includes a clock 638.


In an embodiment, the user interface device 77 is or includes a mobile device, such as a smartphone, tablet, laptop, or other mobile device a user may carry within range of the local area network (e.g., 70 of FIG. 3) on which the gateway 10 resides, and may communicate with the gateway 10 through a remote network (e.g., remote network 110 of FIG. 3) when out of range of the local area network.



FIG. 8 is a flow chart of a method 700 for updating data on a user interface device, such as a user interface device 77 embodiment described herein. That user interface device 77 may be used to access information related to operation of a system of control devices (e.g., one or more of gateways 10 and 11, nodes 72 such as gateways or routers, actuating devices 74, and sensing devices 75) on a network, such as the network 70 illustrated in FIG. 3. The user interface device 77 may be used to display at least a portion of the control system devices (e.g., 74, 75) to a user and for the user to configure or otherwise alter the operation of those devices 74 and 75. The information displayed on the user interface device 77 may be held or stored in memory 620 of the user interface device 77 and may be otherwise stored, for example, in storage device 636.


In an embodiment, the gateway 10 such as described in embodiments herein performs, at least in part, the user interface device 77 updating method 700. In another embodiment, the user interface device 77 performs, at least in part, the updating method 700. In other embodiments the method 700 may be performed, at least in part with the gateway 10 and/or user interface device 77, by a general purpose computer 76 or another device or devices.


The method 700 described herein may be used in conjunction with the backup system 1 shown and described above or at least the networks 70 and 110 of FIGS. 1 and 3 described herein, though in other embodiments the method 700 may use other configurations of backup systems and gateways and networks.


At 710, the gateway 10 may store thereon (e.g., in or on memory 20, a data storage device 36, a combination of both memory 20 and the data storage device 36, or another device or devices for local storage of data on the local area network (e.g., 70 of FIG. 3)) data 200 comprising data elements that are each in a different one of a plurality of categories that together regard the operation of a plurality of actuating devices 74 on the local area network (e.g., 70 in FIG. 3) on which the gateway 10 resides. In embodiments of the method 700, the data 200 may be considered less than all stored data described above with respect to the methods 300 and 500 of FIGS. 5 and 6, respectively. Thus, for example, the data elements of the data 200 of the method 700 to be copied to, and updated on, the user interface device 77 may be a subset of all data elements stored on the gateway 10 regarding, for example, the operation of one or more actuating devices 74. Additionally in that embodiment, the data 200 for the method 700 may not include one or more of the data elements stored on the gateway 10, such as the data element 250 regarding gateway information and/or the data element 260 regarding time settings. Thus, in an embodiment, the data elements of the data 200 for the method 700 may include the data element 210 in the category that includes actuating device information that, at least in part, identifies the actuating devices 74 on the local area network (e.g., 70 in FIG. 3), and the data element 220 in the category that includes scheduled events regarding the identified devices 74, in which those data elements 210 and 220 may be considered a subset of all data in those categories of data elements on the gateway 10. The data elements may also or alternatively include the data element 230 that includes zones in which the actuating devices 74 are located and/or the data element 240 that regards groups of actuating devices 74, in which those data elements 230 and 240 may be considered a subset of all data in those categories of data elements on the gateway 10. In an embodiment the gateway 10 may also store in the data elements 210-240 similar sensing device 75 information and/or information associating the sensing devices 75 with the actuating devices 75, and that data for the method 700 may be a subset of such data stored on the gateway 10 in those categories. In an embodiment at 710, the gateway 10 of the backup system 1 may further store data 200 comprising the data element 250 in the category regarding gateway information and/or the data element 260 in the category regarding time settings, and that data for the method 700 may be a subset of such data stored on the gateway 10 in each category. In another embodiment, the data 200 may be considered the entirety of the data elements described herein stored on the gateway 10.


At 720, the data 200 may be stored on the user interface device 77 as desired, and in an embodiment that stored data may be partially or fully displayed in a desired form on the user interface device 77. For example, in an embodiment the gateway 10 may copy the data 200 and its data elements (e.g., 210, 220, 230, 240, 250, and 260) stored on the gateway 10 to the user interface device 77. In an embodiment of the method 700 at 720, the gateway 10 and user interface device 77 may communicate locally, such as when the user interface device 77 is on the local area network (e.g., 70 of FIG. 3) on which the gateway 10 resides, or remotely, such as through the remote network 110 via the gateway 11 or otherwise through the Internet.


For example, in an embodiment in which the user interface device 77 is a smartphone and is in range to be on (e.g., wirelessly) the local area network, the gateway 10 may copy the data 200 and its data elements through the local area network to the smartphone, possibly via one or more routers or other devices on the local area network. Alternatively, when the smartphone is out of range of the local area network, the gateway 10 may copy the data 200 remotely to the user interface device 77, such as through the remote network 110 via the gateway 11 or otherwise through the Internet. The data 200 may be otherwise stored on the user interface device 77 in other embodiments. In an embodiment, the user interface device 77 has an app or other software thereon that allows interaction with the gateway 10 to view, via a monitor or screen or other display on the user interface device 77, the actuating devices 74 and possibly also sensing devices 75 and their operation on the local area network (e.g., 70 of FIG. 3), and to potentially make changes to the data elements (e.g., 210, 220, 230, 240, 250, and 260) of the data 200 on the gateway 10 to lead to the change in operation of those devices 74 and/or 75. The software may also prompt the initial download of the data 200 and its data elements to the user interface device 77 from the gateway 10.


At 730, a signature including sub-signatures that each represent a different one of the data elements (e.g., 210, 220, 230, 240, 250, and 260) of the data 200 along with the corresponding data element category is stored on the user interface device 77. The storing on the user interface device 77 of the signature may be as desired, such as by first having the gateway 10 or another device create the signature and transmit that signature or a copy thereof, locally or remotely as described above at 720, to the user interface device 77 for storage, or otherwise as desired. In embodiments, any of the signatures described herein (e.g., signature 400, updated signature, archived signatures, etc.) may be stored other than where described, such as all being stored on the gateway 10 and/or elsewhere on the local area network (e.g., 70 of FIG. 3) or the network 110, for example. As described above with respect to embodiments of FIGS. 4 and 5, for example, the signature 400 may include sub-signatures (e.g., 410, 420, 430, 440, 450, and 460) each representing a different category of data element (e.g., 210, 220, 230, 240, 250, 260). In an embodiment as described above with respect to the method 700, the data elements represented by the sub-signatures may each be a subset of the data in its category stored on the gateway 10. Thus, in that embodiment, the signatures described herein with respect to the method 700 may be different than those in the methods 300 and 500. The signature 400 including sub-signatures (e.g., 410, 420, 430, 440, 450, and 460) may be created and be of a content such as described above with respect to FIGS. 4 and 5.


At 740, the data 200 stored on the gateway 10 may be updated by updating the data elements of the data 200. That updating may occur through the user interface device 77 or another device. The data elements may be so updated by changing one or more of the data elements. For example, the data elements may include data elements 210-260, which may for the method 700, as described, be a subset of the data in the respective categories of data elements 210-260. The updating of the data elements of the data 200 may otherwise be as described at 340 of the method 300 of FIG. 5.


At 750, an updated signature is created. The creation and storage of the updated signature may be as described at 350 of the method 300 of FIG. 5, except that the updated signature and its updated sub-signatures may, in an embodiment as described for the method 700, represent a subset of the updated data stored on the gateway 10.


At 760, the method 700 may determine that the updated signature does not match the signature 400, such as by having the gateway 10 compare the updated signature and the signature 400 stored on the user interface device 77 to determine that they do not match.


At 770, after determining at 760 that the updated signature does not match the signature 400, the gateway 10 may determine, for each of the plurality of categories of data elements of the data 200 (and thus for each same category of updated data elements of the updated data), whether the corresponding updated sub-signature of the updated signature and sub-signature (e.g., 410, 420, 430, 440, 450, or 460) of the signature 400 representing that category are different. In an embodiment, the method at 770 may be performed, in whole or part, by the user interface device 77 or another device.


At 780, for each updated sub-signature of the updated signature that is different than the sub-signature (e.g., 410, 420, 430, 440, 450, or 460) in a corresponding category represented by that sub-signature and updated sub-signature, the gateway 10 may copy to the user interface device 77 (e.g., locally or remotely as described herein for the method 700) the updated data element represented by that updated sub-signature. In so transmitting each such updated data element copy, the updated data element may replace the same category of the data element (e.g., 210, 220, 230, 240, 250, and 260) of the data 200 stored on the user interface device 77.


In an embodiment, at 780 the gateway 10 may further replace the signature 400 on the user interface device 77 with the updated signature. For example, the gateway 10 may transmit a copy of the entire updated signature to the user interface device 77 to replace the entire signature 400 stored on the database 100. Alternatively, the gateway 10 may transmit for replacement on the user interface device 77 only a copy of the updated sub-signatures that are different than the sub-signatures (e.g., 410, 420, 430, 440, 450, and/or 460) of the signature 400 for each represented category.


In an embodiment at 790, the updated data and updated data elements stored on the gateway 10 may be processed to cause, by way of the gateway 10, a change in operation of one or more of the actuating devices 74 on the local area network (e.g., 70 of FIG. 3), such as described above with respect to the method 300 of FIG. 5 at 392.


In an embodiment of the method 700, the user interface device 77 includes a monitor, screen, or other display 625. In this embodiment, before the updating of the data elements (e.g., 210, 220, 230, 240, 250, and 260) of the data 200, the display 625 may, as described above, display information regarding the operation of the actuating devices 74 (and possibly also sensing devices 75) on the local area network (e.g., 70 of FIG. 3). For example, the display 625 may provide, via an app or other software, graphical or other information identifying the actuating devices 74 (and possibly also sensing devices 75) on the local area network along with their location and scheduled events as provided by the data elements (e.g., 210, 220, 230, and 240) of the data 200 stored on the user interface device 77. After copying of the updated data elements onto the user interface device at 780 and corresponding change of operation of the actuating devices 74 (and possibly sensing devices 75 in an embodiment) at 790, the app or other program on the user interface device 77 may process the updated data elements to change, at 792, the display 625. The changed display 625 may reflect the change of operation of the actuating devices 74 (and possibly sensing devices 75 in an embodiment), such that the display may now provide operational information regarding those devices including any updates to their identification (such as for new or replaced devices), locations, and scheduled events. For example, the changed display 625 of the user interface device 77 may reflected a change in operation of at least one actuating device 74 in a specified zone. In another example, the display 625 reflects a change to a set condition, sensed by one or more sensing devices 75, that triggers the change in operation of one or more actuating devices 74. The form of such displayed information regarding the operation and changed operation of the actuating devices 74 (and possibly sensing devices 75 in an embodiment) may be as desired.


In an embodiment, and similar to that described with respect to the method 300 of FIG. 5, the method 700 may be repeatedly performed. Thus, for example, after the method 700 has been completed, the current data (or subset as described for the method 700) on the user interface device 77 including updates to that data may be the same data that is on the gateway 10. Thus, the method 700 may be performed again, with a copy of the current (last-updated) signature and its sub-signatures corresponding to that (last-updated) data stored on the user interface device 77 at 730 and possibly also stored on the gateway 10. Further, those current (last-updated) data elements of the (last-updated) data may again be updated on the gateway 10 at 740 and a new signature with sub-signatures may be created at 750 for the newly-updated data and data elements on the gateway 10. The method 700 can continue from 760 through 792 as described above.


As described in embodiments herein, the method 700 and corresponding system for updating data on a user interface device 77 may, as with the gateway backup system 1 and method 300 (and possibly 500) embodiments, create efficiency. Thus, the method 700 and corresponding system may conserve bandwidth by efficiently updating data on the user interface device 77 by using signatures and sub-signatures to only update the specific categories of data elements regarding operation of actuating devices 74 and possibly sensing devices 75 (possibly among other data elements). Thus, the method 700 and corresponding system may update a user interface device 77 efficiently, and thereby provide for the efficient control through the user interface device 77 and gateway 10 it corresponds with of the actuating devices 74 and possibly sensing devices 75. As there may be numerous user interface devices 77 that interact with the gateway 10 and/or at least can view on their display the operation of the actuating devices 74 (and possibly sensing devices 75), the efficiency provided in the method 700 and corresponding system can be significant.


Additionally, the method 700 and corresponding system embodiments update the user interface device 77 data and data elements currently on the gateway 10 as described herein, either locally (via the local area network on which the gateway 10 resides) or remotely (e.g., via the remote server 110 on a cloud). Thus, embodiments of the method 700 and corresponding system may provide an up-to-date, accurate detail on the user interface device 77 and display 625 of the operation of actuating devices 74 (and possibly sensing devices 75) on, and possibly other data relevant to, the local area network (e.g., 70 of FIG. 3) as compared to systems in which data is updated to mobile phones at least partially from cached data on a cloud. Further, updating in other systems, if partially from a cloud and partially from a gateway, can lead to a coherency problem if the data on the cloud is not up-to-date with the data on the gateway.


While the disclosure has been described in detail and with reference to specific embodiments thereof, it will be apparent to one skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the embodiments. Thus, it is intended that the present disclosure cover the modifications and variations of this disclosure provided they come within the scope of the appended claims and their equivalent.

Claims
  • 1. An updating method, comprising: storing, on a gateway on a local area network, data that comprises data elements that are each in a different one of a plurality of categories that together regard operation of a plurality of actuating devices on the local area network;storing the data on a user interface device;creating a signature comprising sub-signatures that each represent a different one of the data elements along with the category that data element is in;updating the data stored on the gateway by updating the data elements, such that the updated data elements of the updated data comprise the data elements except that one or more of the data elements in one or more of the plurality of categories are changed;creating an updated signature that comprises updated sub-signatures that each represent a different one of the updated data elements of the updated data stored on the gateway, and thus each represent said different one of the plurality of categories;determining that the updated signature does not match the signature;determining, for each of the categories, whether the updated sub-signature and sub-signature representing that category are different; andcopying, from the gateway to the user interface device, for each category in which the updated sub-signature and sub-signature representing that category are different, the updated data element in that category and thereby replacing, with that updated data element, the data element in that category stored on the user interface device.
  • 2. The method of claim 1, further comprising causing, by way of the gateway, via the updated data comprising the updated data elements stored on the gateway, a change in operation of one or more of the plurality of actuating devices.
  • 3. The method of claim 2, wherein the change in operation of the one or more of the plurality of actuating devices comprises a change in operation of at least one actuating device in a specified zone.
  • 4. The method of claim 2, wherein the change in operation of the one or more of the plurality of actuating devices comprises a change in operation of at least one actuating device based, at least in part, on a change to a set condition to be sensed by one or more sensing devices.
  • 5. The method of claim 1, further comprising: changing a display on the user interface device to reflect the change in the operation of the one or more of the plurality of actuating devices.
  • 6. An updating system, comprising: a gateway on a local area network, the gateway comprising a processor and a computer readable storage medium, the computer readable storage medium including code executable by the processor to:store, on the gateway on the local area network, data that comprises data elements that are each in a different one of a plurality of categories that together regard operation of a plurality of actuating devices on the local area network;store the data on a user interface device;create a signature comprising sub-signatures that each represent a different one of the data elements along with the category that data element is in;update the data stored on the gateway by updating the data elements, such that the updated data elements of the updated data comprise the data elements except that one or more of the data elements in one or more of the plurality of categories are changed;create an updated signature that comprises updated sub-signatures that each represent a different one of the updated data elements of the updated data stored on the gateway, and thus each represent said different one of the plurality of categories;determine that the updated signature does not match the signature;determine, for each of the categories, whether the updated sub-signature and sub-signature representing that category are different; andcopy, from the gateway to the user interface device, for each category in which the updated sub-signature and sub-signature representing that category are different, the updated data element in that category and thereby replace, with that updated data element, the data element in that category stored on the user interface device.
  • 7. The system of claim 6, the computer readable storage medium including code executable by the processor of the gateway to further: cause, by way of the gateway, via the updated data comprising the updated data elements, a change in operation of one or more of the plurality of actuating devices.
  • 8. The system of claim 7, wherein the change in operation of the one or more of the plurality of actuating devices comprises a change in operation of at least one actuating device in a specified zone.
  • 9. The system of claim 7, wherein the change in operation of the one or more of the plurality of actuating devices is based, at least in part, on a change to a set condition, sensed by one or more sensing devices, that triggers the change in operation.
  • 10. The system of claim 6, wherein the plurality of categories together further regard operation of a plurality of sensing devices on the local area network.
  • 11. The system of claim 10, the computer readable storage medium including code executable by the processor of the gateway to further: cause, by way of the gateway, via the updated data comprising the updated data elements, a change in operation of one or more of the plurality of sensing devices.
  • 12. The system of claim 6, the plurality of categories regarding the operation of the plurality of actuating devices on the local area network comprising one or more categories that together identify the actuating devices and another category that comprises scheduled events regarding the identified actuating devices.
  • 13. The system of claim 6, wherein the user interface device comprises a mobile device.
  • 14. A data updating method, comprising: storing, on a user interface device: first data that comprises first data elements that are each in a different one of a plurality of categories that together regard operation of a plurality of actuating devices on a local area network; anda first signature comprising first sub-signatures that each represent a different one of the data elements along with the corresponding said different one of the plurality of categories that data element is in;storing, on a gateway on the local area network:second data that comprises second data elements that each are in a different one of the plurality of categories regarding the operation of the plurality of actuating devices on the local area network; anda second signature that comprises second sub-signatures that each represent a different one of the second data elements of the second data, and thus each represent said different one of the plurality of categories that second data element is in;displaying, on the user interface device, a display that is associated with the first data elements in a subset of the plurality of categories;for each category in the subset of the plurality of categories, determining whether the second sub-signature of the second signature representing that category matches the first signature, and if the second signature does not match the first signature, determine, for each category in the subset of the plurality of categories, whether the corresponding second sub-signature and first sub-signature representing that category are different; andcopying, from the gateway to the user interface device, for each category in the subset of the plurality of categories in which the second sub-signature and first sub-signature representing that category are different, the second data element in that category and thereby replacing, with that second data element, the first data element in that category stored on the user interface device.
  • 15. The method of claim 14, further comprising, based on said copying, from the gateway to the user interface device, for each said category in the subset of the plurality of categories in which the second sub-signature and first sub-signature representing that category are different, the second data element in that category and thereby replacing, with that second data element, the first data element in that category stored on the user interface device: changing the display on the user interface of the user interface device.
  • 16. The method of claim 15, wherein the changing of the display on the user interface of the user interface device reflects a change in operation of one or more of the plurality of actuating devices.
  • 17. The method of claim 16, wherein the reflected change in operation of the one or more of the plurality of actuating devices comprises a reflected change in operation of at least one actuating device in a specified zone.
  • 18. The method of claim 16, wherein the reflected change in operation of the one or more of the plurality of actuating devices reflects a change to a set condition, sensed by one or more sensing devices, that triggers the change in operation.