US9271230B2 - Cloud-enabled low power Wi-Fi sensor - Google Patents
Cloud-enabled low power Wi-Fi sensor Download PDFInfo
- Publication number
- US9271230B2 US9271230B2 US14/086,217 US201314086217A US9271230B2 US 9271230 B2 US9271230 B2 US 9271230B2 US 201314086217 A US201314086217 A US 201314086217A US 9271230 B2 US9271230 B2 US 9271230B2
- Authority
- US
- United States
- Prior art keywords
- message
- transceiver
- sensor device
- low power
- wireless device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active, expires
Links
- 238000000034 method Methods 0.000 claims description 40
- 230000005540 biological transmission Effects 0.000 claims description 11
- 238000004891 communication Methods 0.000 claims description 9
- 238000001514 detection method Methods 0.000 claims description 6
- 238000012545 processing Methods 0.000 claims description 4
- 230000000737 periodic effect Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 30
- 230000001960 triggered effect Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 238000005265 energy consumption Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 238000007726 management method Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000001351 cycling effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004134 energy conservation Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000005012 migration Effects 0.000 description 1
- 238000013508 migration Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 230000008092 positive effect Effects 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/325—Power saving in peripheral device
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0225—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
- H04W52/0229—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/143—Termination or inactivation of sessions, e.g. event-controlled end of session
- H04L67/145—Termination or inactivation of sessions, e.g. event-controlled end of session avoiding end of session, e.g. keep-alive, heartbeats, resumption message or wake-up for inactive or interrupted session
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/28—Timers or timing mechanisms used in protocols
-
- H04W4/005—
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/70—Services for machine-to-machine communication [M2M] or machine type communication [MTC]
-
- H04W76/045—
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/20—Manipulation of established connections
- H04W76/27—Transitions between radio resource control [RRC] states
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Definitions
- the present invention relates generally to sensors. More particularly, the present invention relates to a cloud-enabled low power Wi-Fi sensor.
- Wi-Fi enabled security sensors such as, motion sensors
- Wi-Fi routers can enable home owners to leverage their existing in-home communication devices, such as Wi-Fi routers, computers, and tablets, for economic, low-cost development and customization of home security and monitoring systems.
- Low power Wi-Fi sensors are a desired wireless technology for home security and monitoring systems because such sensors consume less battery as compared to traditional Wi-Fi sensors and accordingly, are energy efficient. Low power Wi-Fi sensors are also a desired wireless technology for home security and monitoring systems because such sensors reduce operation costs.
- AP Wi-Fi access point
- a sensor device can link to a cloud server
- information from the sensor device can be integrated, via a browser enabled device, with various user and social networking services and/or web-based portals, such as a security service provider's website, a third party web-based integration and/or automation framework, and/or a homeowner's Facebook account.
- battery life is an issue, and problems arise when attempting to obtain adequate battery replacement intervals while simultaneously providing timely sensor event reports and timely access to the sensor from a remote web client.
- Low power Wi-Fi sensors or other low-power devices can be expected to operate on two AAA or AA batteries for two years without replacement. Accordingly, there is a continuing, ongoing need for an improved low power Wi-Fi sensor.
- FIG. 1A is a block diagram of a system in accordance with disclosed embodiments
- FIG. 1B is a block diagram of a system in accordance with disclosed embodiments.
- FIG. 2A is a state machine diagram of a method for operation of a sensor device in accordance with disclosed embodiments
- FIG. 2B is a state machine diagram of a method for operation of a sensor device in accordance with disclosed embodiments
- FIG. 3A is a state machine diagram of a method for operation of a cloud server in accordance with disclosed embodiments
- FIG. 3B is a state machine diagram of a method for operation of a cloud server in accordance with disclosed embodiments
- FIG. 4 is a flow diagram of a method of a sensor exiting a low power sleep mode to transmit a check-in message in accordance with disclosed embodiments
- FIG. 5 is a flow diagram of a method of a sensor device exiting a low power sleep mode to transmit an event message and remaining out of the low power sleep mode to retransmit the event message under the condition that the acknowledgement message is lost in accordance with disclosed embodiments;
- FIG. 6 is a flow diagram of a method of a sensor device exiting a low power sleep mode to transmit a check-in message and remaining out of the low power sleep mode to retransmit the check-in message under the condition that the check-in message is lost in accordance with disclosed embodiments;
- FIG. 7A is a flow diagram of a method of a sensor device exiting a low power sleep mode to transmit an event message, remaining out of the low power sleep mode to retransmit the event message, and reentering the low power sleep mode after a predetermined number of retransmissions of the event message in accordance with disclosed embodiments;
- FIG. 7B is a continuation of the flow diagram of the method shown in FIG. 7A ;
- FIG. 8 is a flow diagram of a method of a cloud server in the condition of having one or more active reconfiguration requests pending for a sensor device instructing the sensor device to remain out of a low power sleep mode and transmitting a reconfiguration message to the sensor device in accordance with disclosed embodiments;
- FIG. 9A is a flow diagram of a method of a cloud server in the condition of having one or more active reconfiguration requests pending for a sensor device instructing the sensor device to remain out of a low power sleep mode, transmitting a reconfiguration message to the sensor device, and retransmitting the reconfiguration message to the sensor device in accordance with disclosed embodiments;
- FIG. 9B is a continuation of the flow diagram of the method shown in FIG. 9A ;
- FIG. 10A is a flow diagram of a method of a cloud server instructing a sensor device to remain out of a low power sleep mode, transmitting a reconfiguration message to the sensor device, and retransmitting the reconfiguration message to the sensor device in accordance with disclosed embodiments;
- FIG. 10B is a continuation of the flow diagram of the method shown in FIG. 10A ;
- FIG. 11 is a flow diagram of a method of a sensor device exiting a low power sleep mode to transmit a reconfiguration message in accordance with disclosed embodiments.
- FIG. 12 is a block diagram of a system for executing the methods in accordance with disclosed embodiments.
- Embodiments disclosed herein include a cloud-enabled low power Wi-Fi sensor device or other low power wireless device.
- the term sensor device is used herein to discuss embodiments of the present invention. However, it is to be understood that embodiments of the present invention are not so limited.
- embodiments disclosed herein can include any low power device as would be understood by those of ordinary skill in the art, including, but not limited to, an actuator or any combination device that includes sensors, actuators, displays, and computing resources.
- Some embodiments disclosed herein can include a web-based system and method that can cope with the duty-cycled nature of low power Wi-Fi sensors.
- rigorous energy conservation schemes such as duty cycling, are required and can include a sensor triggering an event message whenever a physical event is detected, a sensor triggering a supervisory event once every predetermined period of time to verify the active state of the sensor when no physical event is detected, and/or a sensor transmitting a check-in message once every predetermined period of time for Wi-Fi communication function verification.
- a check-in message can include a periodic time interval report message.
- Some embodiments disclosed herein can manage power consumption by sleeping at ultra-low power, minimizing the amount of time that a transceiver is on, and/or minimizing the number of transmissions from the sensor device. For example, in some embodiments, to minimize the amount of time that a receiver is on, a sensor device in accordance with disclosed embodiments can operate in a low power sleep mode for a majority of time and can only wake up, that is, exit the low power sleep mode, to respond to a check-in clock interrupt and/or a sensor interrupt line. Accordingly, the check-in clock interrupt and/or the sensor interrupt line can act as triggers for the transceiver to be turned on.
- the sensor device when one of these triggers occurs, can exit the low power sleep mode, send a single message to a cloud server, wait, with the ability to receive a message enabled, to receive an acknowledgement message (ACK) from the cloud server, and return to the low power sleep mode. Accordingly, the transceiver can be on only while waiting for an acknowledgement message from the cloud server.
- ACK acknowledgement message
- the cloud server itself can be optimized to respond quickly to a received message with an acknowledgement message that enables the sensor device to return to the low power sleep mode.
- the cloud server can transmit an acknowledgement message response to a received message substantially immediately after receiving the message so as to minimize the period of time that a sensor device remains out of a low power sleep mode and so as to minimize the amount of energy consumed by the sensor device.
- the acknowledgement message transmitted from the cloud server to the sensor device can include a bit instructing the sensor device to stay awake. Accordingly, the cloud server can enable the sensor device to be configured and/or to stay on-line and/or awake, that is, out of the low power sleep mode.
- the sensor device can re-transmit its message to the cloud server.
- the sensor device can limit the number of attempts to retransmit its message and return to the low power sleep mode to avoid excessive energy consumption under conditions in which the cloud server may not be available.
- the predetermined period of time can include a time period slightly longer than a round trip time period.
- the round trip time period can include a time for transmission of the message from the sensor device to the cloud server, plus the time for cloud server processing, plus the time for transmission of the acknowledgement receipt from the cloud server to the sensor device.
- the sensor device upon initial power up, can temporarily behave as an AP to provide a web interface for configuring the device.
- a user can temporarily associate a user device, for example, a smart phone, laptop computer or tablet computer, with the sensor device while the sensor device is temporarily behaving as an AP.
- the smart phone or other device can configure the sensor device with information, and, after successful configuration, the sensor device can stop behaving as an AP and instead be associated as a Wi-Fi client with a local AP, for example, the user's home AP.
- the sensor device can function as a Wi-Fi client and periodically and/or upon event detection send messages to a cloud server, for example, a Cirrus User Datagram Protocol (UDP) web server.
- UDP Cirrus User Datagram Protocol
- the sensor device in accordance with disclosed embodiments can periodically and efficiently check in with the cloud server, via the local AP, in a manner as outlined above.
- the period between attempts to check in with the cloud server can be stretched out to a maximum time that a user is willing to wait to get a response directly from the sensor device.
- a server can act as a surrogate for the sensor device while sensor device access is pending.
- the sensor device as disclosed herein can keep its AP association active while sleeping, that is, while in the low power sleep mode.
- the sensor device can maintain a current security key, DHCP allocation, and/or other state information necessary to resume operation following a sleep period.
- the sensor device can send a packet to the access point once every predetermined period of time, for example, once per minute or more than once per minute, to avoid having the access point tear down the association.
- the sensor device can periodically exit the low power sleep mode and transmit a message packet, even a null message packet, to the access point with which it is connected and/or associated in order to maintain the sensor device's association with the access point throughout the duration of the sensor device's low power sleep mode.
- a message packet even a null message packet
- the negative effect of such power consumption can be outweighed by the positive effect of saving power by avoiding the need to reestablish an association with the access point every time the sensor device must send an event message to the cloud server.
- systems and methods disclosed herein can provide for normal operation and interaction between the sensor device and the cloud server to include a two packet exchange. For example, a first packet can be sent from the sensor device to the cloud server, and a second packet, for example, an acknowledgement message, can be sent from the cloud server to the sensor device.
- normal operation and interaction need not include a verbose TCP connection as is the case for normal internet traffic. Instead, for power efficiency, a maximum power savings can be obtained by, responsive to event and check-in conditions, allowing for one UDP packet or message to be sent from the sensor device to the cloud server and for one UDP packet or message (ACK) to be sent from the cloud server to the sensor device.
- systems and methods disclosed herein can support a conversion to a TCP connection with full services.
- security can be maintained by attaching a message authentication code to each message transmitted from the sensor device to the cloud server and/or to each message transmitted from the cloud server to the sensor device.
- the security provided by the message authentication code can span the sleep intervals of the sensor device.
- security can be maintained by encrypting at least some of the data in messages transmitted from the sensor device to the cloud server and/or from the cloud server to the sensor device. In some embodiments, security can be maintained by use of a security key. In some embodiments, once a security relationship is established between the sensor device and the cloud server, the security features, including encrypting message content for privacy and/or authenticating the source and integrity of messages, can remain fully in force, despite long sleep periods and/or the unavailability of the sensor device.
- a sensor device and a cloud server as disclosed herein can communicate data via UDP.
- the UDP service can be structured on the server side as a back end process and a database server device can be used as a gateway to other services.
- FIG. 1A and FIG. 1B are block diagrams of systems 100 and 100 ′, respectively, in accordance with the above.
- each message transmitted from the sensor device to the cloud server and/or from the cloud server to the sensor device can include, for example, 104 bits or 128 bits, although embodiments disclosed herein are not so limited.
- the message such as a UDP message
- transmitted from the sensor device to the cloud server and/or from the cloud server to sensor device can include the following information fields: a message type field, a tag identifier field, a sequence number field, a time stamp field, and an event field.
- the tag identifier field, sequence number field, time stamp field, and event field can be included in the payload of the message.
- the message type field can be included in the header of the message, and in some embodiments, the message type field can include an 8-bit value that defines both the content and meaning of the message payload.
- the message type field can be used by the cloud server to distinguish between types of messages and how message payloads should be parsed.
- the tag identifier field in the payload of the message can include a unique identifier of the sensor device, the status/event of the sensor device, and/or a time stamp.
- the same message structure can be used for both status event messages (triggered by a sensor) and periodic report or check-in messages (signaling that the sensor device is alive and reporting its status).
- a check-in message can include a current tag configuration that can be used as a passive acknowledgement message for reconfiguration requests.
- a globally unique 48-bit MAC address of the sensor device's Wi-Fi radio can be used as the tag identifier.
- the sequence number field in the payload of the message can include a number that can be used by the cloud server to facilitate reliable delivery and/or to monitor a number of missed messages.
- the time stamp field in the payload of the message can be used for keeping events from the same tag identifier in proper temporal order.
- the time stamp field can include a 32-bit integer specifying a number of seconds that elapsed since the device associated with the tag identifier was last powered up.
- the event field in the payload of the message can include an 8-bit number showing a current sensor status.
- the event field in the payload of the message can include a 32-bit number showing a current duty cycle period in seconds.
- each message transmitted from the sensor device to the cloud server and/or from the cloud server to the sensor device can include the following information fields: an IP header and an IP payload.
- the IP payload can include a UDP header and a UDP payload
- the UDP payload can include a CALP header, a CALP payload, and a message integrity code.
- the UDP payload can include a 128-bit, keyed hash or message integrity code that is computed over the payload.
- the CALP header can include a device identifier field, a CALP version identifier field, a CALP sequence number field, a CALP attributes field, and a CALP message identifier field.
- the device identifier field in the CALP header can include a globally unique 48-bit MAC address of the sensor device's Wi-Fi radio, which can act as the identifier for the sensor device.
- the CALP version identifier field in the CALP header can include an 8-bit value providing for CALP protocol migration.
- the CALP sequence number field can include a unique 64-bit sequence number that can be used for reliable, in sequence message delivery between the sensor device and the cloud server and to monitor the number of missed communications.
- a retransmission of a message can include the same CALP sequence number as the originally transmitted message.
- the CALP attributes field in the CALP header can include 8 bits defining flags used for communication reliability enhancement. For example, some of the bits in the CALP attributes field of the CALP header can indicate whether the message originated from the cloud server, whether the message is an acknowledgement message, whether the transmitter of the message requests the receiver of the message to stay awake, that is, out of a low power sleep mode, whether parsing and processing of a received message was successful, and/or whether the sensor device is using manufacturer default security keys.
- the CALP message identifier field in the CALP header can indicate the type of message, for example, a physical event message, a check-in message, a supervisory event message, a configuration message, an acknowledgement message, and the like.
- an event message can be triggered by an event or other condition detected by the sensor device.
- An event message can include the status and/or event of the sensor device and a time stamp in the CALP payload.
- the CALP payload field for an event message can include a 32-bit time stamp and an 8-bit event code.
- the time stamp can be used for properly time sequencing events and can specify the number of seconds that have elapsed since the last time the sensor device had its battery replaced.
- a beacon, or check-in, message can be triggered by a timer.
- the check-in message can enable the sensor device to check in with the cloud server.
- the cloud server can adjust the expiration time for the timer via configuration and/or reconfiguration messages transmitted to the sensor device.
- the CALP payload field for a check-in message can include a 32-bit time stamp and an 8-bit event code. The time stamp can mark the time when the timer triggered the check-in message.
- a supervisory event message can be triggered by a timer.
- the CALP payload field for a supervisory event message can include a 32-bit time stamp and an 8-bit event code.
- a configuration message can be used to change the operating parameters of a sensor device.
- the CALP payload field for a configuration message can include an 8-bit configuration parameter identifier, an 8-bit parameter length, a configuration value, and/or additional configuration parameters.
- an acknowledgement message can include the following information fields: a constant 8-bit message type field and an 8-bit sequence number field.
- the 8-bit sequence number field can include the same sequence number from the incoming message the acknowledgement message is acknowledging.
- an acknowledgement message can include a CALP payload field that indicates the success or failure of receiving, parsing, and/or processing the message that the message is acknowledging.
- the cloud server can transmit a reconfiguration message, a stay awake message, and/or an acknowledgement message with an asserted stay awake indication responsive to a received message from a sensor device.
- a reconfiguration message can include the following information fields: a constant 8-bit message type field, an 8-bit sequence number field, and an arbitrary number of configuration identification/configuration value pair fields.
- the 8-bit sequence number field can include the same sequence number from the incoming message the acknowledgement receipt is acknowledging.
- the configuration identification/configuration value pair fields can support a duty cycle reconfiguration by specifying a new duty cycle period in seconds.
- configuration values can be saved in persistent storage on a tag for a sensor device so that the sensor device can resume its latest configuration after any battery replacement.
- the cloud server when the cloud server receives any message from the sensor device, the cloud server can respond to the received message in a quick manner.
- response time is fast, the energy consumption in the sensor device associated with delivering the message to the cloud server can be reduced because, in some embodiments, the sensor device can remain awake and out of the low power sleep mode while waiting for a response message from the cloud server.
- FIG. 2A and FIG. 2B are state machine diagrams of methods 200 and 200 ′, respectively, for operation of a sensor device in accordance with disclosed embodiments.
- a sensor device can exit a low-power sleep mode upon occurrence of a triggering event, for example, a Manchester edge triggering event, and/or upon expiration of a beacon or check-in timer expiration event.
- a supervisory message that is triggered once every predetermined period of time can be considered an event.
- the sensor device When the sensor device detects an event to exit the low power sleep mode and thus, exits the low power sleep mode, the sensor device can construct either an event message or a check-in message that can be formatted according to the message structures explained above and others in accordance with disclosed embodiments. In some embodiments, constructed messages can be filtered to remove and/or suppress duplicate event messages, and filtered messages can be queued, causing the sensor device to enter a queue management mode.
- the sensor device While in the queue management mode, the sensor device can determine the size of its message queue. When the message queue is empty, the sensor device can return to the low power sleep mode. However, when the message queue is not empty, a first message in the queue can be de-queued, and the sensor device can enter a time/wait mode.
- the sensor device can transmit the de-queued message to a cloud server.
- a wait timer can be initialized and set for a predetermined period of time.
- the sensor device can stay in the time/wait mode until it receives an acknowledgement message from the cloud server responsive to the transmitted message and/or for a maximum number of retransmissions of the de-queued message. For example, when the sensor device fails to receive an appropriate acknowledgement message responsive to a transmitted message within the predetermined period of time, the sensor device can re-transmit the message. However, the number of retransmission attempts can be limited in order to limit power consumption.
- the sensor device can return to the queue management mode.
- the sensor device can receive a reconfiguration message from a cloud server. If the sensor device is in the time/wait mode upon receipt of a reconfiguration message, the sensor device can transmit an acknowledgement message responsive to the reconfiguration message and enter a reconfiguration mode.
- the sensor device When in the reconfiguration mode, the sensor device can stay awake, that is, out of the low power sleep mode and cycle through a process of receiving a reconfiguration message and transmitting an acknowledgement message until the sensor device receives a reconfiguration message indicating that reconfiguration is complete. Once reconfiguration is complete, the sensor device can return to the time/wait mode.
- FIG. 3A and FIG. 3B are state machine diagrams of methods 300 and 300 ′, respectively, for operation of a cloud server device in accordance with disclosed embodiments.
- the cloud server can include a UDP server process.
- the cloud server can enter a UDP listing mode and, upon receipt of any message, the cloud server can enter a reconfiguration checking mode.
- the cloud server can consult a database for active reconfiguration requests, and, if there are no active reconfiguration requests for a sensor device from which a message was received, then the cloud server can enter a database commit mode to update the database with the payload in the received message.
- one or more active reconfiguration requests may have been pending as a result of a customer web client interacting with the web server shown in FIG. 1A .
- the web server can adjust the database to record the active reconfiguration request for the particular sensor.
- the cloud server can immediately format and transmit a reconfiguration message to the sensor device.
- the transmitted reconfiguration message can also function as an acknowledgement message for the received message.
- the active reconfiguration request can be marked as sent in the database, although the reconfiguration request can remain active until the cloud server receives an acknowledgement message for the transmitted reconfiguration message.
- the reconfiguration message can be marked as completed and/or inactive in the database.
- the cloud server can enter the database commit mode.
- FIG. 4 is a flow diagram of a method 400 of a sensor device exiting a low power sleep mode to transmit a check-in message in accordance with disclosed embodiments.
- a sensor device can exit a low power sleep mode to transmit a check-in message to a cloud server.
- the sensor device can remain out of the low power sleep mode until the sensor device receives an acknowledgment message from the cloud server and, upon receipt of the acknowledgement message, the sensor device can reenter the low power sleep mode.
- This process can reoccur periodically, for example, upon expiration of a timer set for a predetermined period of time.
- the sensor device can include a wake cycle during which the sensor device remains out of the low power sleep mode for transmission of the check-in message to the cloud server and for transmission of the acknowledgement message from the cloud server.
- the sensor device can include an intermediary mode in which the sensor device out of the low power sleep mode, but is not in a power consumption mode as shown and described herein.
- the sensor device can consume more power than in the low power sleep mode, but less power than a standard operating mode.
- the sensor device can enter the intermediary mode while waiting to receive an acknowledgement message.
- FIG. 5 is a flow diagram of a method 500 of a sensor device exiting a low power sleep mode to transmit an event message and remaining out of the low power sleep mode to retransmit the event message under the condition that the acknowledgement message is lost in accordance with disclosed embodiments.
- a sensor device can exit a low power sleep mode to transmit an event message to a cloud server.
- the sensor device can remain out of the low power sleep mode while waiting for an acknowledgement message from the cloud server, and after a predetermined period of time without receiving the acknowledgement message, the sensor device can retransmit the event message. Then, upon receipt of an acknowledgement message responsive to the retransmitted event message, the sensor device can reenter the low power sleep mode.
- This limited retransmission can provide higher reliability than possible in known systems and methods with UDP messages while enabling the sensor to minimize and limit the amount of energy spent trying to deliver the message to the cloud server.
- FIG. 6 is a flow diagram of a method 600 of a sensor device exiting a low power sleep mode to transmit a check-in message and remaining out of the low power sleep mode to retransmit the check-in message under the condition that the check-in message is lost in accordance with disclosed embodiments.
- a sensor device can exit a low power sleep mode to transmit a check-in message to a cloud server.
- the sensor device can remain out of the low power sleep mode while waiting for an acknowledgement message from the cloud server, and after a predetermined period of time without receiving the acknowledgement message, the sensor device can retransmit the check-in message.
- the sensor device can reenter the low power sleep mode. Accordingly, as seen in FIGS. 5 and 6 , the sensor device can act to minimize energy consumption by waiting to retransmit the event or check-in message slightly longer than the expected or typical round trip time that would occur for the sensor device to receive an acknowledgement message from the cloud server.
- FIG. 7A and FIG. 7B are flow diagrams of a method 700 of a sensor device exiting a low power sleep mode to transmit an event message, remaining out of the low power sleep mode to retransmit the event message, and reentering the low power sleep mode after a predetermined number of retransmissions of the event message in accordance with disclosed embodiments.
- a sensor device can exit a low power sleep mode to transmit an event message to a cloud server.
- the sensor device can remain out of the low power sleep mode while waiting for an acknowledgement message from the cloud server, and after a predetermined period of time without receiving the acknowledgment message, the sensor device can retransmit the event message.
- This process can repeat until the sensor device has retransmitted the event message a predetermined number of times. Then, the sensor device can reenter the low power sleep mode even without receiving an acknowledgement message as a means to control power consumption in the sensor device under conditions where the cloud server may not be accessible. However, the sensor device can continue to function normally. For example, when a new event is detected, the sensor device can exit the low power sleep mode and transmit an event message for the newly detected event. The sensor device can remain out of the low power sleep mode until the sensor device receives an acknowledgment message from the cloud server and, upon receipt of the acknowledgement message, the sensor device can reenter the low power sleep mode.
- FIG. 8 is a flow diagram of a method 800 of a cloud server in the condition of having one or more active reconfiguration requests pending for a sensor device instructing the sensor device to remain out of a low power sleep mode and transmitting a reconfiguration message to the sensor device in accordance with disclosed embodiments.
- a user on the internet can update an associated database in the cloud server to indicate that a sensor device should be reconfigured.
- the sensor device can exit a low power sleep mode and transmit a check-in message to the cloud server.
- the cloud server can consult the database and identify the sensor device that transmitted the check-in message as needing reconfiguration.
- the cloud server can transmit an acknowledgement message to the sensor device and include a bit therein, for example, a stay awake bit, instructing the sensor device to remain out of the low power sleep mode.
- a stay awake bit in the message can be asserted as true.
- the sensor device can alter its normal behavior such that, instead of immediately entering a low power sleep mode after receipt of the acknowledgement message, the sensor device can stay awake.
- the cloud server can obtain reconfiguration information from the database and transmit a reconfiguration message to the sensor device with the expectation that the sensor device will be awake for reception of the reconfiguration message.
- the sensor device can reconfigure itself according to information in the reconfiguration message and transmit an acknowledgement message to the cloud server to indicate successful reconfiguration.
- the cloud server can update the database to indicate that the sensor device has been reconfigured and transmit an acknowledgement message to the sensor device indicating that reconfiguration is complete and/or that the sensor device may return to the low power sleep mode.
- the acknowledgement message can have the stay awake bit de-asserted. Accordingly, upon receipt of such a message, the sensor device can reenter the low power sleep mode. It is to be understood that, in some embodiments, the sensor device can maintain control of its energy consumption and, after a predetermined time out period, return to the low power sleep mode when the cloud server fails to respond in a timely manner with an acknowledgement message that includes a de-asserted stay awake bit.
- FIG. 9A and FIG. 9B are flow diagrams of a method 900 of a cloud server in the condition of having one or more active reconfiguration requests pending for a sensor device instructing the sensor device to remain out of a low power sleep mode, transmitting a reconfiguration message to the sensor device, and retransmitting the reconfiguration message to the sensor device in accordance with disclosed embodiments.
- the retransmission of the reconfiguration message is necessary because of a lost reconfiguration message.
- a user on the internet can update an associated database in the cloud server to indicate that a sensor device should be reconfigured.
- the sensor device can exit a low power sleep mode and transmit a check-in message to the cloud server.
- the cloud server can consult the database and identify the sensor device that transmitted the check-in message as needing reconfiguration. Accordingly, the cloud server can transmit an acknowledgement message to the sensor device and include a bit therein instructing the sensor device to remain out of the low power sleep mode. Then, the cloud server can obtain reconfiguration information from the database and transmit a reconfiguration message to the sensor device.
- the cloud server can retransmit the reconfiguration message to the sensor device.
- the sensor device can reconfigure itself according to information in the message and transmit an acknowledgement message to the cloud server to indicate successful reconfiguration.
- the cloud server can update the database to indicate that the sensor device has been reconfigured and transmit an acknowledgement message to the sensor device indicating that reconfiguration is complete and/or that the sensor device must no longer remain out of the low power sleep mode.
- the sensor device can reenter the low power sleep mode.
- FIG. 10A and FIG. 10B are flow diagrams of a method 1000 of a cloud server instructing a sensor device to remain out of a low power sleep mode, transmitting a reconfiguration message to the sensor device, and retransmitting the reconfiguration message to the sensor device in accordance with disclosed embodiments.
- the retransmission of the reconfiguration message is necessary because of a lost acknowledgement message responsive to the reconfiguration message.
- a cloud server can update an associated database to indicate that a sensor device should be reconfigured.
- the sensor device can exit a low power sleep mode and transmit a check-in message to the cloud server.
- the cloud server can consult the database and identify the sensor device that transmitted the check-in message as needing reconfiguration. Accordingly, the cloud server can transmit an acknowledgement message to the sensor device and include a bit therein instructing the sensor device to remain out of the low power sleep mode. Then, the cloud server can obtain reconfiguration information from the database and transmit a reconfiguration message to the sensor device.
- the cloud server can retransmit the reconfiguration message to the sensor device.
- the sensor device can reconfigure itself according to information in the message and transmit an acknowledgement message to the cloud server to indicate successful reconfiguration.
- the cloud server can update the database to indicate that the sensor device has been reconfigured and transmit an acknowledgement message to the sensor device indicating that reconfiguration is complete and/or that the sensor device must no longer remain out of the low power sleep mode.
- the sensor device can reenter the low power sleep mode.
- FIG. 11 is a flow diagram of a method 1100 of a sensor device exiting a low power sleep mode to transmit a reconfiguration message in accordance with disclosed embodiments.
- a sensor device can receive reconfiguration instructions from a local user and exit a low power sleep mode responsive to receipt of such instructions. Then, the sensor device can transmit a reconfiguration message to a cloud server to advise the cloud server of the sensor device's reconfiguration.
- the cloud server can update an associated database to indicate the sensor device's reconfiguration and transmit an acknowledgement message to the sensor device. Because the cloud server updated the database responsive to the reconfiguration message, the acknowledgement message transmitted by the cloud server can instruct the sensor device to remain out of the low power sleep mode.
- the sensor device can transmit a second reconfiguration message to the cloud server.
- the cloud server can determine that the database need not be updated because the configuration of the sensor device identified in the database matches the configuration of the sensor device identified in the received reconfiguration message. Accordingly, the cloud server can transmit a second acknowledgement message to the sensor device absent instructions to remain out of the low power sleep mode. Then, upon receipt of the second acknowledgement message, the sensor device can reenter the low power sleep mode.
- FIG. 12 is a block diagram of a system 1200 for executing the methods described above and others in accordance with disclosed embodiments.
- the system 1200 can include a sensor device 1210 or other low power wireless device in wireless communication with a cloud server device 1220 .
- the sensor device 1210 can communicate with the cloud server device 1220 via an access point that is local to a region in which the sensor device 1220 is located, via a Wi-Fi network, via the internet, and/or via a UDP connection.
- the sensor device 1210 , the cloud server device 1220 , and/or the access point can be compatible with IEEE 802.11.
- the sensor device 1210 can include one or more sensor 1211 for sensing a condition, such as an ambient condition or a condition of the device 1210 , a transceiver 1218 , for example, a radio, control circuitry 1212 , one or more programmable processors 1214 , a memory device 1215 , and executable control software 1216 as would be understood by those of skill in the art.
- the cloud server device 1220 can include a transceiver 1228 , control circuitry 1222 , one or more programmable processors 1224 , a memory device 1225 , and executable control software 1226 as would be understood by those of skill in the art.
- the executable control software 1216 , 1226 can be stored on a respective transitory or non-transitory local computer readable medium, including, but not limited, to local computer memory, RAM, optical storage media, magnetic storage media, flash memory, and the like.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
Claims (25)
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US14/086,217 US9271230B2 (en) | 2013-11-21 | 2013-11-21 | Cloud-enabled low power Wi-Fi sensor |
EP14190185.0A EP2876946B1 (en) | 2013-11-21 | 2014-10-23 | Cloud-enabled low power wi-fi sensor |
CA2869180A CA2869180C (en) | 2013-11-21 | 2014-10-29 | Cloud-enabled low power wi-fi sensor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US14/086,217 US9271230B2 (en) | 2013-11-21 | 2013-11-21 | Cloud-enabled low power Wi-Fi sensor |
Publications (2)
Publication Number | Publication Date |
---|---|
US20150139051A1 US20150139051A1 (en) | 2015-05-21 |
US9271230B2 true US9271230B2 (en) | 2016-02-23 |
Family
ID=51794776
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/086,217 Active 2034-03-11 US9271230B2 (en) | 2013-11-21 | 2013-11-21 | Cloud-enabled low power Wi-Fi sensor |
Country Status (3)
Country | Link |
---|---|
US (1) | US9271230B2 (en) |
EP (1) | EP2876946B1 (en) |
CA (1) | CA2869180C (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150350303A1 (en) * | 2014-05-29 | 2015-12-03 | Chia-I Lin | Manufacturing optimization platform and method |
US20170277888A1 (en) * | 2014-08-25 | 2017-09-28 | ACCO Brands Corporation | Security device for an electronic apparatus |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9591565B2 (en) * | 2014-05-16 | 2017-03-07 | Intel Corporation | Method, system and apparatus for providing coexistence between low power stations and non-low power stations |
WO2015199933A1 (en) * | 2014-06-28 | 2015-12-30 | Intel Corporation | Sensor bus interface for electronic devices |
DE102014220646A1 (en) * | 2014-10-13 | 2016-04-14 | Bayerische Motoren Werke Aktiengesellschaft | Use of a bus line for transmitting alternative signal codes |
US9690352B2 (en) * | 2014-12-09 | 2017-06-27 | Htc Corporation | Portable electronic device and power control method therefor |
ES2651328T3 (en) | 2014-12-12 | 2018-01-25 | Sensolus Nv | A battery operated device, cloud application and related methods for transmitting / receiving data messages over a poor performance network |
US10075873B2 (en) * | 2015-03-02 | 2018-09-11 | Qualcomm Incorporated | Methods and apparatus for channel state information sounding and feedback |
US9826483B2 (en) | 2015-06-22 | 2017-11-21 | Intel Corporation | Apparatus, system and method of communicating a wakeup packet |
US9736779B2 (en) | 2015-06-26 | 2017-08-15 | Intel Corporation | Techniques for mobile platform power management using low-power wake-up signals |
US9826482B2 (en) | 2015-06-26 | 2017-11-21 | Intel Corporation | Method of fine grained wake-up modes for Wi-Fi/BT utilizing wake-up receiver |
US10631242B2 (en) * | 2015-11-24 | 2020-04-21 | International Business Machines Corporation | On-demand wireless signal |
US10861050B2 (en) | 2017-07-07 | 2020-12-08 | Hand Held Products, Inc. | Low-energy alert beacons and methods of using the same |
TWI656803B (en) * | 2017-11-17 | 2019-04-11 | 財團法人工業技術研究院 | Network sensing device and power consumption control method thereof |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070206535A1 (en) * | 2006-03-02 | 2007-09-06 | Kapil Sood | Mobile station and method for fast roaming with integrity protection and source authentication using a common protocol |
US20070297438A1 (en) | 2006-03-03 | 2007-12-27 | Qualcomm Incorporated | Standby time improvements for stations in a wireless network |
US20120256009A1 (en) * | 2011-02-24 | 2012-10-11 | Nest Labs, Inc. | Power-preserving communications architecture with long-polling persistent cloud channel for wireless network-connected thermostat |
-
2013
- 2013-11-21 US US14/086,217 patent/US9271230B2/en active Active
-
2014
- 2014-10-23 EP EP14190185.0A patent/EP2876946B1/en active Active
- 2014-10-29 CA CA2869180A patent/CA2869180C/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070206535A1 (en) * | 2006-03-02 | 2007-09-06 | Kapil Sood | Mobile station and method for fast roaming with integrity protection and source authentication using a common protocol |
US20070297438A1 (en) | 2006-03-03 | 2007-12-27 | Qualcomm Incorporated | Standby time improvements for stations in a wireless network |
US20120256009A1 (en) * | 2011-02-24 | 2012-10-11 | Nest Labs, Inc. | Power-preserving communications architecture with long-polling persistent cloud channel for wireless network-connected thermostat |
Non-Patent Citations (3)
Title |
---|
Extended European search report for corresponding EP patent application 14190185.0 dated Mar. 24, 2015. |
Oki et al., Evaluating the Energy-Efficiency of Transport Layer Protocols in a Battery-Powered Wireless Mesh Networks, IET International Conference on Wireless Communications and Applications, Oct. 8, 2012, pp. 1-6. |
Transmission Control Protocol, Sep. 1981, RFC 793. * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150350303A1 (en) * | 2014-05-29 | 2015-12-03 | Chia-I Lin | Manufacturing optimization platform and method |
US20170277888A1 (en) * | 2014-08-25 | 2017-09-28 | ACCO Brands Corporation | Security device for an electronic apparatus |
Also Published As
Publication number | Publication date |
---|---|
CA2869180A1 (en) | 2015-05-21 |
CA2869180C (en) | 2017-05-23 |
EP2876946A1 (en) | 2015-05-27 |
EP2876946B1 (en) | 2018-03-28 |
US20150139051A1 (en) | 2015-05-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9271230B2 (en) | Cloud-enabled low power Wi-Fi sensor | |
US11064330B2 (en) | Methods for enabling delay-awareness in the constrained application protocol (CoAP) | |
JP5738432B2 (en) | System and method for communicating data between an application server and an M2M device | |
US10708885B2 (en) | Methods and nodes for enabling context-awareness in CoAP | |
CN103222335B (en) | Via multi-hop, the low-power of heterogeneous communications network, low latency, end to end communication messaging | |
CN108886747B (en) | Method for serving dormant internet of things device and agent device | |
US20090172117A1 (en) | Methods for using message queuing telemetry transport for sensor networks to support sleeping devices | |
EP1525766B1 (en) | Always-on virtual private network access | |
JP2017502545A5 (en) | ||
JP2015505110A (en) | Maintaining connections during low power operation | |
US9420539B2 (en) | Apparatus and method for controlling transmission of sensor data on media access control (MAC) layer of wireless sensor network | |
US11218564B2 (en) | Methods and devices for signalling in a communication network | |
CN106131085B (en) | The communication means of remote intelligent control system | |
CN110493775A (en) | The communication means and system being adapted to by ATT and abnormality processing | |
US10153961B2 (en) | Communication device, communication method, and communication system | |
US20210367881A1 (en) | Dynamic Multihoming Management System for Reliable Data Transmission in a Robotic System | |
CN112806054B (en) | Communication in a wireless network | |
WO2019238226A1 (en) | Gateway policies for internet of things control and data traffic | |
KR20160130622A (en) | Method for processing command in low power sensor network | |
US9338016B2 (en) | Method and apparatus for exchanging messages | |
CN115550431B (en) | A unidirectional data transmission method and system based on power Internet of Things terminal | |
CN118318459A (en) | How to pair sensors and gateways | |
CN116208928A (en) | Low-power consumption communication method for offer type wireless network | |
JP2015180011A (en) | Wireless lan terminal device, wireless lan system, life-and-death monitoring method of wireless lan chip, and program | |
CN114268979A (en) | A secure communication method for northbound interface of network management terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: HONEYWELL INTERNATIONAL INC., NEW JERSEY Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:GONIA, PATRICK S.;LIU, HAIYANG;LARSEN, CHRISTOPHER S.;AND OTHERS;SIGNING DATES FROM 20131106 TO 20131121;REEL/FRAME:031650/0467 |
|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
AS | Assignment |
Owner name: JPMORGAN CHASE BANK, N.A., AS ADMINISTRATIVE AGENT, NEW YORK Free format text: SECURITY INTEREST;ASSIGNOR:ADEMCO INC.;REEL/FRAME:047337/0577 Effective date: 20181025 Owner name: JPMORGAN CHASE BANK, N.A., AS ADMINISTRATIVE AGENT Free format text: SECURITY INTEREST;ASSIGNOR:ADEMCO INC.;REEL/FRAME:047337/0577 Effective date: 20181025 |
|
AS | Assignment |
Owner name: ADEMCO INC., MINNESOTA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:HONEYWELL INTERNATIONAL INC.;REEL/FRAME:047909/0425 Effective date: 20181029 |
|
AS | Assignment |
Owner name: ADEMCO INC., MINNESOTA Free format text: CORRECTIVE ASSIGNMENT TO CORRECT THE PREVIOUS RECORDING BY NULLIFICATION. THE INCORRECTLY RECORDED PATENT NUMBERS 8545483, 8612538 AND 6402691 PREVIOUSLY RECORDED AT REEL: 047909 FRAME: 0425. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT;ASSIGNOR:HONEYWELL INTERNATIONAL INC.;REEL/FRAME:050431/0053 Effective date: 20190215 |
|
MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 4TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1551); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 4 |
|
MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 8TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1552); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 8 |