Cloud communications gateway and protocol
A secure communication protocol between user devices and gateways optimizes power usage and battery life in wearable devices, addressing the issue of frequent service withdrawal due to energy consumption, ensuring continuous data collection and transmission.
Patent Information
- Application Number
- PCT/US2023/081800
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-24
- Filing Date
- 2023-11-30
- Publication Date
- 2024-08-29
AI Technical Summary
Existing user devices, such as wearable health tracking devices, frequently need to be withdrawn from service for charging or replacement due to high energy consumption, leading to disruptions in long-term monitoring data and reduced utility.
A secure communication protocol between user devices and gateways is established using low-power communication protocols and cryptography algorithms, allowing for secure data transmission and updates to optimize device usage, including battery management and data reconciliation, thereby reducing the need for complex components that drain battery life.
The protocol prolongs the battery life of user devices by optimizing power consumption and ensuring continuous data collection and transmission, maintaining the quality and utility of monitoring data without frequent device removal for charging.
Smart Images

Figure US2023081800_29082024_PF_FP_ABST
Abstract
Description
CLOUD COMMUNICATIONS GATEWAY AND PROTOCOLCROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application claims priority to U.S. Provisional Application No. 63 / 486908, filed February 24, 2023, the content of which is incorporated by reference in its entirety.FIELD
[0002] The disclosed technology generally relates to protocols for secure communications between user devices and remote processing devices.BACKGROUND
[0003] User devices may be used to obtain and / or store data associated with one or more users. Examples of such user devices may include, for example, wearable devices such as health tracking wristbands that may collect data associated with a wearer. These user devices generally will accomplish their intended functions only when used as intended and serve little or no function if not in service (e.g.. monitoring the user) substantially continually. There are usually critical moments in which the user device should be in service. However, known devices may be w ithdrawn from sendee at those moments and have features that often motivate patients and users to withdraw the user device from sen ice. For example, existing devices use significant energy in processing data and displaying data and therefore must be withdrawn from service with regularity for charging or replacement. This removal causes disruptions in longterm monitoring data and can thereby impact the utility of the data.SUMMARY
[0004] Various embodiments of systems, methods and devices within the scope of the appended claims each have several aspects, no single one of which is solely responsible for the desirable attributes described herein. Without limiting the scope of the appended claims, some prominent features are described herein.
[0005] In a first aspect, a computer-implemented method for generating a secure connection between a user device and a gateway comprises, by one or more processors of the user device, transmitting an advertisement signal; receiving, from the gateway, a first messagecomprising a public key corresponding to the gateway; transmitting a second message to the gateway; comparing the public key corresponding to the gateway to public keys stored in a memory of the user device to identify a match; in response to identifying the match, signing the first message with a private key corresponding to the user device; transmitting the signed first message to the gateway; receiving, from the gateway, a signed second message comprising the second message signed with a private key corresponding to the gateway; determining whether the signed second message is consistent with content of the transmitted second message and the public key corresponding to the gateway; and in response to determining whether the signed second message is consistent, disconnecting from the gateway or engaging in one or more encrypted communications with the gateway.
[0006] In some embodiments, the method comprises disconnecting from the gateway in response to determining that the signed second message is not consistent with at least one of the content of the transmitted second message and the public key corresponding to the gateway.
[0007] In some embodiments, the method comprises engaging in one or more encrypted communications with the gateway in response to determining that the signed second message is consistent with the content of the transmitted second message and the public key corresponding to the gateway. In some embodiments, the method further comprises, prior to engaging in one or more encrypted communications with the gateway, computing a shared secret with the gateway; and generating, with the gateway, a symmetric key. wherein the one or more encrypted communications are encrypted with the symmetric key.
[0008] In some embodiments, engaging in one or more encrypted communications with the gateway comprises sending, to the gateway, sensor data from one or more sensors of the user device.
[0009] In some embodiments, engaging in one or more encrypted communications with the gateway comprises receiving, from the gateway, an update to software or firmware installed on the user device.
[0010] In a second aspect, a computer-implemented method for generating a secure connection between a user device and a gateway comprises, by one or more processors of the gateway, detecting an advertisement signal sent by the user device; receiving, from the wearable device, an identifier of the user device; comparing the identifier of the user device to identifiers stored in a memory to identify a match; in response to identifying the match, transmitting a first message to the user device, the first message comprising a public key corresponding to the gateway; receiving, from the user device, a second message; signing thesecond message with a private key corresponding to the gateway; transmitting the signed second message to the user device; receiving, from the user device, a signed first message comprising the first message signed with a private key corresponding to the gateway; determining whether the signed first message is consistent with content of the transmitted first message and a public key corresponding to the wearable device; and in response to determining whether the signed first message is consistent, disconnecting from the user device or engaging in one or more encrypted communications with the user device.
[0011] In some embodiments, the method comprises disconnecting from the user device in response to determining that the signed first message is not consistent with at least one of the content of the transmitted first message and the public key corresponding to the wearable device.
[0012] In some embodiments, the method comprises engaging in one or more encry pted communications with the user device in response to determining that the signed first message is consistent with the content of the transmitted first message and the public keycorresponding to the wearable device. In some embodiments, the method further comprises, prior to engaging in one or more encrypted communications with the gateway, computing a shared secret with the wearable device; and generating, with the user device, a symmetric key, wherein the one or more encry pted communications are encrypted with the symmetric key.
[0013] In some embodiments, engaging in one or more encrypted communications with the gateway comprises receiving, from the user device, sensor data from one or more sensors of the user device.
[0014] In some embodiments, engaging in one or more encrypted communications with the gateway comprises sending, to the user device, an update to software or firmware installed on the user device.
[0015] In a third aspect, a computer-implemented method for generating a secure connection between a user device and a gateway comprises, by- one or more processors of the user device, transmitting an advertisement signal; receiving, from the gateway, a first message comprising a public key corresponding to the gateway; comparing the public key corresponding to the gateway to public keys stored in a memory of the user device to identify a match; in response to failing to identify the match, transmitting a second message to the gateway, the second message comprising a request for a public key exchange; receiving, from the gateway, a first certificate corresponding to the gateway; transmitting, to the gateway, a second certificate corresponding to the user device; determining whether the first certificate was signed by a known certificate authority; and in response to determining whether the firstcertificate was signed by the known certificate authority, disconnecting from the gateway or engaging in a private key exchange with the gateway.
[0016] In some embodiments, the method comprises disconnecting from the gateway in response to determining that the first certificate was not signed by the known certificate authority'.
[0017] In some embodiments, the method comprises engaging in a private key exchange with the gateway in response to determining that the that the first certificate was signed by the known certificate authority. In some embodiments, engaging in a private key exchange comprises receiving, from the gateway, a third message comprising a request for a private key exchange; transmitting a fourth message to the gateway; signing the third message with a private key corresponding to the user device; transmitting the signed third message to the gateway; receiving from the gateway, a signed fourth message comprising the fourth message signed with a private key corresponding to the gateway; determining whether the signed fourth message is consistent with content of the transmitted fourth message and the public key corresponding to the gateway; and in response to determining whether the signed fourth message is consistent, disconnecting from the gateway or engaging in one or more encrypted communications with the gateway. In some embodiments, the method comprises disconnecting from the gateway in response to determining that the signed fourth message is not consistent with at least one of the content of the transmitted fourth message and the public key corresponding to the gateway. In some embodiments, the method comprises engaging in one or more encrypted communications with the gateway in response to determining that the signed fourth message is consistent with the content of the transmitted fourth message and the public key corresponding to the gateway. In some embodiments, the method further comprises, prior to engaging in one or more encrypted communications with the gateway, computing a shared secret with the gateway; and generating, with the gateway, a symmetric key; wherein the one or more encrypted communications are encrypted with the symmetric key. In some embodiments, engaging in one or more encrypted communications with the gateway comprises sending, to the gateway, sensor data from one or more sensors of the user device. In some embodiments, engaging in one or more encrypted communications with the gateway comprises receiving, from the gateway, an update to software or firmware installed on the user device.
[0018] In a fourth aspect, a computer-implemented method for generating a secure connection between a user device and a gatew ay comprises, by one or more processors of the gateway, detecting an advertisement signal sent by the user device; receiving, from the user device, an identifier of the user device; comparing the identifier of the user device to identifiersstored in a memory to identify a match; in response to identifying the match, transmitting a first message to the user device, the first message comprising a public key corresponding to the gateway; receiving from the user device, a second message comprising a request for a public key exchange; transmitting, to the user device a first certificate corresponding to the gateway; receiving, from the user device, a second certificate corresponding to the user device; determining the whether the second certificate was signed by a known certificate authority; and in response to determining whether the second certificate was signed by the known certificate authority, disconnecting from the user device or engaging in a private key exchange with the user device.
[0019] In some embodiments, the method comprises disconnecting from the user device in response to determining that the second certificate was not signed by the known certificate authority.
[0020] In some embodiments, the method comprises engaging in a private key exchange with the user device in response to determining that the second certificate was signed by the known certificate authority. In some embodiments, engaging in a private key exchange comprises: transmitting, to the user device, a third message comprising a request for a private key exchange; receiving, from the user device, a fourth message; signing the fourth message with a private key corresponding to the gateway; transmitting the signed fourth message to the user device; receiving, from the user device, a signed third message comprising the third message signed with a private key corresponding to the user device; determining whether the signed third message is consistent with content of the transmitted third message and the public key corresponding with the user device; and in response to determining whether the signed third message is consistent, disconnecting from the user device or engaging in one or more encrypted communications with the user device.
[0021] In some embodiments, the method comprises disconnecting from the user device in response to determining that the signed third message is not consistent with at least one of the content of the transmitted third message and the public key corresponding to the user device.
[0022] In some embodiments, the method comprises engaging in one or more encrypted communications with the user device in response to determining that the signed third message is consistent with the content of the transmitted third message and the public key corresponding to the user device. In some embodiments, the method comprises, prior to engaging in one or more encrypted communications with the user device: computing a sharedsecret with the user device; and generating, with the user device, a symmetric key, wherein the one or more encrypted communications are encrypted with the symmetric key.
[0023] In some embodiments, engaging in one or more encrypted communications with the user device comprises receiving, from the user device, sensor data from one or more sensors of the user device.
[0024] In some embodiments, engaging in one or more encrypted communications with the user device comprises sending, to the user device, an update to software or firmware installed on the user device.
[0025] In a fifth aspect, a method for timeline reconciliation betw een a user device and a gateway comprises, by one or more processors of the gateway, receiving, from the user device, a reset counter associated with the user device, wherein the reset counter comprises a number of times the user device has been reset; receiving, from the user device, data records collected by the user device, wherein each data record comprises a device timestamp corresponding to a time elapsed since a last reset of the user device; generating, for individual data records, a gateway timestamp corresponding to a gateway time for the data record, wherein the gateway timestamp is generated based at least in part on the device timestamp associated with the data record and the reset counter; and generating a reconciled timeline of the data records, wherein ordering of the records in the reconciled timeline is based at least in part on the generated gateway timestamps.
[0026] In some embodiments, the method further comprises, prior to generating the gateway timestamps, determining a status type for each data record, wherein the status type is based on the device timestamp associated with the data record and provides an indication of whether to generate a gateway timestamp for the data record and whether to include the data record in the reconciled timeline. In some embodiments, the method further comprises, when the status type indicates the data record should not be included in the reconciled timeline, saving the record to an unreconciled timeline. In some embodiments, the status type of a record indicates that the record has not been added to a reconciled timeline and falls between two reconciled timelines.
[0027] In a sixth aspect, a gateway configured for timeline reconciliation between a user device and the gateway comprises one or more processors in communication with the user device, the one or more processors configured to connect with the user device; receive, from the user device, a reset counter associated with the user device, wherein the reset counter comprises a number of times the user device has been reset; receive, from the user device, data records collected by the user device, wherein each data record comprises a device timestampcorresponding to a time elapsed since a last reset of the user device; generate, for individual data records, a gateway timestamp corresponding to a gateway time for the data record, wherein the gateway timestamp is generated based at least in part on the device timestamp associated with the data record and the reset counter; and generate a reconciled timeline of the data records, wherein ordering of the records in the reconciled timeline is based at least in part on the generated gateway timestamps.
[0028] In some embodiments, prior to generating timestamps, the one or more processors are configured to determine a status type for each record, wherein the status type is based on the device timestamp associated with the data record and provides an indication of whether to generate a gateway timestamp for the record and whether to include the data record in the reconciled timeline. In some embodiments, when the status type indicates the record should not be included in the reconciled timeline, the record is saved to an unreconciled timeline. In some embodiments, the status type of a record indicates that the record has not been added to a reconciled timeline and falls between two reconciled timelines.
[0029] In a seventh aspect, a system comprises one or more user devices and one or more gateways in communication with a remote data store. Each user device comprises a memory storing data records; a wireless communication device; and one or more processors configured to at least cause transmission of the data records by the wireless communication device. Each gateway comprises one or more processors configured to at least detect an individual user device of the one or more user devices; receive the data records transmitted by the wireless communication device of the individual user device; and cause the data records to be stored in the data store in association with one or more previously stored data records associated with the individual user device.
[0030] In some embodiments, each gateway is configured to recognize and authenticate the individual user during a first connection between the gateway and the individual user device based on matching an identifier of the individual user device with identifiers associated with the one or more user devices and stored in the remote data store. In some embodiments, each gateway is configured to recognize and authenticate the individual user device during subsequent connections between the gateway and the individual user device based on matching the identifier of the individual user device in a local memory of the gateway. In some embodiments, each gateway is configured to recognize and authenticate the individual user device automatically without receiving a user input from a user of the individual user device.
[0031] In some embodiments, each gateway is configured to cause newly received data records associated with an individual user device to be combined with existing data records in the data store associated with the individual user device.
[0032] In some embodiments, the one or more gateways comprise a plurality of gateways, wherein each individual user device is configured to automatically connect to any one of the plurality of gateways, and wherein each individual gateway is configured to automatically connect to any one of the one or more user devices.
[0033] In some embodiments, each user device comprises one or more sensors. In some embodiments, the one or more sensors are configured to periodically monitor one or more physiological parameters of a wearer of the user device. In some embodiments, the one or more processors of each user device are further configured to store the data records in the memory based at least in part on data received from the one or more sensors.
[0034] In some embodiments, each user device is a non-intemet-connected device.
[0035] In an eighth aspect, a method for configuring one or more user devices comprises, by one or more processors of a gateway, transmitting instructions to the one or more user devices that cause the one or more user devices to change a configuration of the one or more user devices.
[0036] In some embodiments, the instructions comprise one or more updates to one or more measurement parameters of the one or more user devices, wherein the one or more measurement parameters comprise at least one of a sampling rate, storage frequency, storage limit, or data aggregation method.
[0037] In some embodiments, the instructions comprise updates to firmware of the one or more user devices.
[0038] In some embodiments, prior to transmitting instructions, the gateway receives data from the one or more user devices and wherein the data received from each individual user device comprises at least a battery level associated with the individual user device. In some embodiments, the instructions for individual user devices are determined in response to the battery level received from the individual user devices.
[0039] In some embodiments, the instructions relate to one user device.
[0040] In some embodiments, the instructions relate to a subset of the one or more user devices.
[0041] In some embodiments, the instructions relate to all of the one or more user devices.BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Various embodiments will be described hereinafter with reference to the accompanying drawings. These embodiments are illustrated and described by example only and are not intended to limit the scope of the disclosure. In the drawings, similar elements may have similar reference numerals.
[0043] FIG. 1 depicts an example system configured for secure communications between one or more user devices, one or more gateways, and remote processing resources.
[0044] FIG. 2 schematically depicts an example user device.
[0045] FIG. 3 schematically depicts an example gateway.
[0046] FIG. 4 depicts an example method for initiating secure communication between a user device and a gateway.
[0047] FIG. 5 depicts an example method for a public key exchange between a user device and gateway.
[0048] FIG. 6 depicts example interactions between a user device and a gateway during the initiation of secure communications between a user device and a gateway when the user device does not recognize the gateway.
[0049] FIG. 7 depicts an example method for a private key exchange between a user device and gateway.
[0050] FIG. 8 depicts example interactions between a user device and a gateway during the initiation of secure communications between the user device and the gateway when the user device and the gateway recognize each other.
[0051] FIG. 9 depicts an example method for communications to reconcile the timeline between a wearable device and a gateway.DETAILED DESCRIPTION
[0052] The present disclosure will now be described with reference to the accompanying figures, wherein like numerals refer to like elements throughout. The following description is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses. It should be understood that steps within a method may be executed in different order without altering the principles of the present disclosure. Furthermore, the devices, systems, and / or methods disclosed herein can include several novel features, no single one of which is solely responsible for its desirable attributes, or which is essential to practicing the devices, systems, and / or methods disclosed herein.
[0053] Generally described, the present application corresponds to management of secure communications between one or more user devices and one or more gateways and subsequent processing of data received from the user device. More specifically, aspects of the present disclosure correspond to systems and methods for establishing secure communications between one or more user devices and one or more gateways. Some aspects provide systems and methods for reducing the power consumption required for such communications, which can prolong the battery life of relatively small, low-power devices, some of which may not be rechargeable.
[0054] V arious aspects of the present disclosure can advantageously provide for the transfer of data to and from relatively “thin"’ devices, such as intemet-of-things (loT) devices, tracking devices, wearable devices, or other computing devices having limited processing and / or memory resources. For example, in some embodiments, user devices may be any type of non-intemet-connected devices configured to interact wirelessly with a local gateway (e.g., using Bluetooth or other local and / or low-energy communication protocols) but may lack the necessary’ components to communicate using one or more standard internet connection protocols (e.g.. Wi-Fi or a mobile network protocol such as LTE. 5G, or the like). As used herein, a “non-intemet-connected” device is a device that lacks the necessary components to communicate via the internet other than via local wired or wireless communications w ith a particular gateway device or set of gateway devices.
[0055] With reference to an illustrative example, a user device may’ be configured to collect data from a user. Such data collection may be disrupted, for example, if the user device is frequently w ithdrawn from use. Disruption may reduce the quality’ and utility’ of the data obtained from the user device. One of the reasons a user device may be removed from use is low battery’ charge. Low battery charge may result from power consumption by components of a user device.
[0056] Some aspects of the present disclosure address some or all of the issues noted above by use of a novel secure communication protocol to transmit data for processing to remote processing devices, such as gateways or other remote computing resources. The remote processing devices may also send updates to the user devices, including updates to optimize use of components on the user device to reduce pow er consumption.
[0057] Use of remote processing devices to perform operations on the data mitigates the need to have more complex components on the user device that would result in higher power drain on the user device’s battery. For example, the user device may collect physiological data over time. A simple clock on the user device may be sufficient to providetimestamps to indicate the order in which the measurements were received. However, in order to extract patterns from this data over a period of months or years (e.g. , for diagnoses of various health conditions), a clinician or administrator may require this data to have timestamps corresponding to a particular time zone (e.g., Coordinated Universal Time (UTC time) or any other time zone). However, applying time stamps that align with a particular time zone requires more complex components (e.g., wireless components to ensure continued compliance with the particular time zone). Sending data from the user device to the remote processing resources to reconcile the data with a particular time zone reduces the complexity of components needed on the user device and thereby reduces power consumption by the user device.
[0058] Communication may also be optimized to reduce power. Some aspects of the present disclosure relate to use of a secure communications protocol between the user devices and remote processing resources. In some embodiments, the establishment of secure communications may make use of low-power communication protocols (e.g., Bluetooth Low Energy (BLE)) and cry ptography algorithms requiring less power (e.g., Elliptic Curve Diffie Hellman (ECDH)). Identification or other information related to the remote processing devices, or the user devices may also be stored or even embedded into the hardware. This may serve to reduce the amount of communication, and thereby power usage, necessary to generate a secure connection to exchange further data. For example, the methods of generating the secure communication vary based on whether a remote processing device (e.g., a gateway) and user device have previously interacted. For example, where the user device or the remote processing device do not recognize each other, the devices may engage in additional steps to exchange each other’s identifiers.
[0059] After secure communication is established, remote processing devices may be used to optimize data collection by the one or more user devices. For example, in some aspects of the disclosure, the remote processing devices (e.g., gateways, other remote computing devices, some combination thereof, etc.) may track the battery charge of one or more user devices and individually or collectively update the devices to adjust parameters (e.g., the frequency of measurement) in order to lengthen the time before the user device must be withdrawn from service.
[0060] Although aspects of some embodiments described in the disclosure will focus, for the purpose of illustration, on communication and processing of data with reference to a user device (e.g., a band or other wearable device), a gateway, and remote computing resources, it will be understood that the present disclosure is not limited to these particularexample implementations. One skilled in the relevant art will appreciate that the examples are illustrative only and are not necessarily intended to be limiting.
[0061] FIG. 1 depicts an example system 100 configured for secure communications between one or more user devices 102, one or more gateways 104, and remote processing resources 106. The one or more user devices 102 may communicate with the one or more gateways 104. The one or more gateways 104 may communicate with remote computing devices 106.
[0062] The user devices 102 may be any type of computing device configured for wireless communication. Each individual user device 102 may be configured to be carried, worn, or otherwise transported by a user. In some embodiments, the user devices 102 are configured to generate and store data periodically, constantly, or during predefined periods of time, regardless of whether the user device 102 is in communication with any gateway 104 at any particular time.
[0063] The gateways 104 can be mobile or can be located in static locations. For example, a gateway may be a stationary device installed in a room or building and connected to a local internet connection (e.g.. via Wi-Fi, LAN. mobile network, or any other wired or wireless internet communication protocol). In some embodiments, multiple gateways 104 may be located within a single building, such as in different rooms of a house or building w here one or more users associated with user devices 102 live and / or work. In addition, multiple gateways 104 may be located in different geographical locations, such as in multiple houses or other buildings (e.g., workplaces, commercial buildings, healthcare facilities, or the like) spread across a town, city, state, or country, or internationally.
[0064] In some embodiments, each user device 102 is configured to be able to communicate with any one of the gateways 104 of the system 100. Similarly, in some embodiments, each gateway 104 is configured to be able to communicate with any one of the user devices 102 of the system 100. Accordingly, a user’s user device 102 may advantageously be able to send its stored data to the remote computing resources 106 via a gateway 104, regardless of which gateway 104 the user device 102 is able to connect to at any particular time.
[0065] As depicted in FIG. 1, in some embodiments, each user device 102 may communicate with any of the gatew ays 104. Of course, communication with one gateway 104 is also possible. Additionally, or alternatively, each gateway 104 may handle communications with one or more user devices 102. For example, in some embodiments, some or all of the userdevices 102 may be flexibly configured to be able to communicate with any of the gateways 104.
[0066] The communication between the one or more user devices 102 and the one or more gateways 104 may utilize any suitable wireless communication protocol, including but not limited to Bluetooth Low Energy' (LE). The communication between the one or more gateways 104 and the remote computing resources 106 may additionally or alternatively utilize Wi-Fi or other network communication protocols (e.g., MQTT. HTTP, etc.)
[0067] The user devices 102 can be configured to transmit data to the gateways 104. The data transmitted from the user devices 102 to the gateways 104 can be any ty pe of data, depending on the ty pe of user device 102. For example, in the case of a wearable device such as a health monitoring device, the user devices 102 may be configured to transmit data associated with physiological parameters of the user, such as temperature data, accelerometer data, heart rate data, or the like.
[0068] The user devices 102 can also be configured to receive instructions and / or information from the gateways 104. The instructions from the gateways 104 may include, for example, configuration changes and / or updates for the user devices 102. The updates may be related to an individual user device 102 or may be applied across all user devices 102. The updates may include updates relating to device security' (e.g., updates related to communication protocols). The updates may include updates to data collection, storage, and / or transmission parameters, such as frequency of sensor measurement. The updates may further be individualized based on data received from each user device 102, for example, regarding battery level, an existing software or firmware version, or other parameters. The gateways 104 may receive updates or other data, to transmit to the user devices 102, from the remote computing resources 106. The gateways 104 may also transmit any data received from the user devices 102 to the remote computing resources 106, for example, for storage and / or analysis.
[0069] In one particular non-limiting example implementation, the user devices 102 are physiological tracking devices, such as wristbands or other wearable devices configured to collect physiological and / or environmental data (e.g., user temperature data, ambient temperature data, pulse or blood pressure data, or other physiological parameters) over time. For example, the wristband may include one or more temperature sensors and may be configured to collect temperature data of a wearer and / or ambient temperature data, recording one or more data points at a consistent periodic interval, such as every' 0.5 seconds, every second, every 5 seconds, every 10 seconds, every 30 seconds, every minute, every 5 minutes, every' 10 minutes, or at a longer interval, or at any interval within a range defined between anyof the preceding values. The gateways 104 can be internet-connected devices placed in the users' homes, places of business, and / or medical facilities associated with the users, such as medical offices or the like.
[0070] As will be described in greater detail, each user’s user device 102 can be configured to automatically connect to a gateway 104 when the user device 102 comes within range of one of the gateways 104. For example, the user devices 102 can be configured to periodically transmit an advertising signal, and each gateway 104 can be configured to establish a connection with a user device 102 when the advertising signal is detected and to transfer any recent tracking data from the user device 102 that has not yet been uploaded to a gateway 104. The received tracking data points can be combined with previous records from the user device 102, either at the gateway 104 or at the remote computing resources 106, to create a combined record of a long-term series of tracking data points associated with each user.Example User Devices.
[0071] FIG. 2 schematically depicts an example user device 102. The general architecture of the user device depicted in FIG. 2 includes an arrangement of computer hardware and software components that may be used to implement aspects of the present disclosure. It will be understood that user devices 102 in accordance with the present disclosure may include more, fewer, and / or different components than those depicted in FIG. 2. As described above, the user device may be embodied in any type of device configured to communicate wirelessly, such as but not limited to, a wristband or other wearable device, such as a health tracking device, a mobile device, a handheld device, or the like.
[0072] As illustrated, the user device 102 includes a measurement unit 202, internal system timer 204, communication interface 206, processing unit 208, and memory 212, all of which may communicate with each other by way of a communication bus. In some embodiments, the user device 102 may have more limited functionality and components, such as inputs and outputs as embedded devices. Additionally, or alternatively, in some embodiments, the user device 102 may include more (or fewer) components than those shown in FIG. 2. For example, in some embodiments the processing functionality performed by the processing unit 208 may be incorporated into the other components, such as the measurement unit 202 and / or the communication interface 206.
[0073] The user devices 102 may incorporate one or more sensors in measurement unit 202. The one or more sensors may be configured to periodically monitor the one or more physiological and / or environmental parameters of a user associated with an individual userdevice 102. In some embodiments, the one or more sensors 202 may include temperature sensors, such as one or more sensors disposed to measure a temperature of the wearer and / or one or more sensors disposed to measure an ambient temperature of the environment around the wearer.
[0074] As discussed above, in some cases the user device 102 may have relatively limited functionality. In some embodiments, the user device 102 may not include user interfacing features (e.g., a display, a touchscreen, status lights, etc.). In some embodiments, the user device 102 may not include internet connectivity features such as mobile network connectivity, Wi-Fi connectivity, or other internet connection protocol capability. However, other embodiments of the user device 102 may have user interfacing features and / or internet connection features.
[0075] The user devices 102 may also include an internal system timer 204, such as an interval timer or oscillator. The internal system timer 204 may keep track of a true time (e.g., a time relative to a particular time zone), or may count seconds or other units of time that have passed since an event such as the last reset of an individual user device 102. In some embodiments, the internal system timer 204 may not be associated any particular time zone (e g., Coordinate Universal Time (UTC), Pacific Standard Time (PST), Eastern Standard Time (EST), Central Standard Time (CST)). In addition, the user device 102 may or may not have location sensing units (e.g., GPS). Some embodiments may use an oscillator as the internal system timer 204 to conserve power required to associate the system clock with a particular time zone.
[0076] Furthermore, the user devices 102 may include a communication interface 206 and a processing unit 208. The communication interface 206 may provide connectivity to one or more networks or computing systems, such as the gateways 104 of FIG. 1. The communications interface 206 may comprise a wireless communication device configured to send and receive signals in accordance with any suitable communication protocol, such as Bluetooth LE or the like. The processing unit 208 may comprise one or more processors and receive information and instructions from other computing systems or services via a network. The processing unit 208 may also communicate to and from a memory 212.
[0077] The connectivity provided by the communication interface 206 may allow for communication between the user devices 102 and the gateways 104. Communication to the gateways 104 may include physiological measurements taken by the wearable device in a processed format and / or in a raw data format. Communication from the gateways 104 may include updates to measurement parameters for sensors on the user devices 102, including, butnot limited to rate of sampling, how to aggregate data, the rate at which to record data to the device’s memory, and the amount of storage to be used over a period of time. For example, in some embodiments the sensors of the measurement unit 202 may sample every 30 seconds and write the measurements ever}760 seconds. Of course, any other sampling and measurement writing times can equally be implemented without departing from the scope of the present disclosure.
[0078] The memory 212 may include computer program instructions that are executed by a processing unit 208 in order to implement one or more embodiments. The memory' 212 generally includes RAM, ROM or other persistent or non-transitory memory7. The memory 212 may store an operating system 220 that provides computer program instructions for use by the processing unit 208 in the general administration and operation of the user device 102. The memory 212 may further include computer program instructions and other information for implementing aspects of the present disclosure. For example, in one embodiment, the memory7212 includes instructions regarding the amount of storage to be used over a period of time.
[0079] In some embodiments, the memory 212 may include a storage for interface software 218. This may include information necessary for communication with one or more network devices by the communication interface 206. For example, in some embodiments the storage for interface software 218 may include identification information for the user device 102. The user device 102 can further include a data store 216 for physiological data and device timestamps, where the device timestamps may be generated by the measurement unit 202 and based at least in part on the internal system timer 204. In one non-limiting embodiment the data store may be configured to store data for approximately 10 days. In some embodiments, the memory 212 may additionally include a circular buffer to be used to when the data store 216 is full. In other embodiments, this data store 216 may be omitted.
[0080] Still further, the user device 102 can include a security component 222 for facilitating the validation and processing of security credentials one or more gateways, such as gateway 104, or the user devices themselves. The security component 222 may communicate with other components of the user device 102 to fulfill this functionality. For example, in some embodiments, the security component 222 may utilize software and data from the storage for interface software 218.
[0081] In some embodiments, the user devices 102 may be w earable devices. For example, in some embodiments, the user devices 102 may be worn around the wrist of the user. Additionally, or alternatively, the user devices 102 can include a strap to releasably secure thedevice around the wrist of the wearer. Additionally, or alternatively, the strap for each user device of the user devices 102 can be custom made for one particular user. The user devices 102 are not limited to being worn around the wrist. In some embodiments, they can be secured to any of a number of locations on a user’s body (e.g., the ear, the waist, the neck, the head, other areas around the arms and legs, etc.).Example Gateway
[0082] FIG. 3 schematically depicts an example gateway 104. The general architecture of the gateway 104 depicted in FIG. 3 includes an arrangement of computer hardware and software components that may be used to implement aspects of the present disclosure. As illustrated, the gateway 104 can include a location detection unit 302. an internal system timer 304, a communication interface 306, processing unit 308, a computer readable medium drive 310, and a memory' 312, all of which may communicate with one another by way of a communication bus. The components of the gateway 104 may be physical hardware components or implemented in a virtualized environment. In some embodiments, the gateway 104 may include more (or fewer) components than those shown in FIG. 3. For example, some embodiments of the gateway 104 may omit internal system timer 304, while obtaining timing information from one or more remote computing resources, such as remote computing resources 106. Additionally, or alternatively, communication between the gateway 104 and one or more user devices may use a different communication unit that communications between the gateway 104 and remote computing resources.
[0083] The location detection unit 302 may provide location of the gateway 104 or of one or more user devices in communication with the gateway, such as user devices 102. The location detection unit 302 may incorporate hardware and software components to determine locations using GPS. Additionally, or alternatively, the location detection unit 302 may include components necessary' to determine location through a communication network (e.g., a Wi-Fi network, a cellular network, etc.).
[0084] The internal system timer 304 may be an oscillator or an interv al timer. Additionally, or alternatively, the internal system timer may be a timer associated with one or more time zones including, but not limited to Coordinated Universal Time (UTC), Eastern Standard Time (EST), Central Standard Time (CST), or Pacific Standard Time (PST). The internal system timer 304 may generate timestamps. These timestamps may be associated with a determined time zone. The determined time zone may be set by the manufacturer.Additionally, or alternatively, the determined time zone may be set by other parties. For example, the determined time zone may be set by a user or an administrator.
[0085] The gateway 104 may receive information and updates from remote computing resources through the communication interface 306. For example, in some embodiments, the internal system timer 304 may adjust the internal system time for the gatewaybased on information received from one or more remote computing resources. This information and / or instructions may include information regarding time zones or adjustments necessary for the internal system timer to align with a determined time zone (e.g., Coordinated Universal Time (UTC), Eastern Standard Time (EST), Central Standard Time (CST), or Pacific Standard Time (PST)).
[0086] The communication interface 306 may provide connectivity to one or more user devices, such as user devices 102 of FIGS. 1-2. For example, the communication interface 306 may sense any user device 102 that enters into a detectable area for the gateway 104 (e.g., by detecting an advertisement signal or other transmission from the user device 102). The communication interface 306 may be configured to receive data such as a set of data points corresponding to physiological and / or environmental measurements taken by one or more user devices 102. The received data may be in raw data format. In some embodiments, the received data may be associated with the user device identification. In some embodiments, the received data may be sent to the memory 312. Additionally, or alternatively, the received data may be sent to the processing unit 308.
[0087] In addition, the communication interface 306 may be configured to allow communication from the gateway 104 to one or more user devices, such as user devices 102. Communication from the gateway 104 to the one or more user devices may include updates to measurement parameters for sensors on the user devices, including, but not limited to recording frequency (e.g., rate of sampling), methods to aggregate data, transmission frequency (e.g., the rate at which to send data to the user device’s memory, and the amount of storage the user device should use over a period of time. In some embodiments, these updates may be configured to improve battery life of the user device such as by reducing power usage by the user device. In further embodiments, updates may be implemented in response to information that an individual user device has low battery life (e.g., the user device has an estimated battery life below a certain threshold). Updates may also be implemented across some or all user devices in communication with the gateway 104. For example, in a non-limiting embodiment the gateway 104 can update firmware for user devices at individual level or for entire population of devices. In the example of an update to be applied to a group of devices, thegateway 104 can individually push the update to individual user devices as those devices come into communication with the gateway 104 for a first time after the update is received at the gateway 104.
[0088] The communication interface 306 may also provide connectivity to one or more networks or computing systems, such as the remote computing resources 106 illustrated in FIG. l. The processing unit 308 may thus receive information and instructions from other computing systems or services via a network. For example, in some embodiments, the processing unit 308 may receive instructions on updates to provide to user devices. These updates may include, but are not limited to, rate of sampling for sensors on the user device, methods to aggregate data on user device, the rate at which to send data to the user device’s memory, and the amount of storage to be used over a period of time. These updates may additionally include updates to make to the gateway 104. For example, the updates could include firmware updates for the gateway 104. Additionally, or alternatively, the updates could be related to the internal system timer.
[0089] In some embodiments, the gateway 104 may comprise a mobile device. In further embodiments, the gateway 104 may be configured to display data to the user of the mobile device. The communications interface 306 may prepare this data for display. Additionally, or alternatively, the data may be prepared for display by the processing unit 308.
[0090] The gateway 104 may also transmit data to remote computing resources. For example, in some embodiments, the remote computing resource may comprise a remote data store and the gateway 104 may transmit data to be stored in the data store. In further embodiments, the gateway 104 may transmit data records recently obtained from a user device to be stored with past records in the data store that are associated with the same user device.
[0091] The processing unit 308 may also communicate to and from memory 312. In some embodiments, data from the memory 312 may be retrieved by the processing unit 308. This data may include physiological data and / or other data received from the one or more user devices, identification information for the one or more user devices, associations between the physiological data and identification, other data, or some combination thereof. In further embodiments, the processing unit 308 may receive or obtain information from the internal system timer 304. In some embodiments, this information may include timestamps for the physiological data that correspond with the internal system time of the gateway 104.
[0092] In some embodiments, the processing unit 308 may receive or obtain information from the location detection unit 302. In some embodiments, this information may include, but is not limited to coordinates for the gateway, coordinates individual user device,coordinates for one or more user devices, other coordinates, or some combination thereof. In some embodiments, the processing unit 308 can use information received or obtained from the location detection unit 302 to leam whether an individual user device will be in a location long enough for an update. For example, the processing unit 302 could use historical location data to determine when a user is sleeping and that therefore the associated user device will be in the same position for a while. In this example, a data upload may be scheduled for such time when the user device is expected to be in the same position based on the historical location data, in order to prevent interruption of the connection during a transfer. Additionally, or alternatively, location information from the location detection unit 302 can be sent to remote computing resources, such as remote computing resources 106. The remote computing resources can use the location information to determine whether an individual user device will be in a location long enough for an update (e.g., by determining a user’s sleep cycles).
[0093] The computer-readable medium drive 310 can be used to provide a direct connection to the gateway 104. This connection can be used to communicate with the gateway 104 and / or provide maintenance for the gateway 104.
[0094] The memory 312 may include computer program instructions that the processing unit 308 executes in order to implement one or more embodiments. The memory 312 generally includes RAM, ROM or other persistent or non-transitory memory7. The memory 312 may store an operating system 318 that provides computer program instructions for use by the processing unit 308 in the general administration and operation of the gateway 104. The memory 312 may further include computer program instructions and other information for implementing aspects of the present disclosure. For example, in one embodiment, the memory7312 includes instructions regarding the amount of storage to be used over a period of time.
[0095] In some embodiments, the memory 312 may include a storage for interface software 316. This may include information necessary^ for communication with one or more network devices by the communication interface 306. For example, in some embodiments the storage for interface software 316 may include identification information for one or more user devices 102. Additionally, or alternatively, the storage for interface software 316 may include identification information for the gateway 104. The gateway 104 can further include a data store 314. The data store 314 may be used to store at least physiological data, user device timestamps, user device identifications, associates between user device identification and physiological data, and gateway timestamps where the gateway timestamps may be generated by the internal system timer 304. Additionally, or alternatively, the gateway timestamps maybe generated by the processing unit 308, based at least in part on the internal system timer 304. In some embodiments, this data store 316 may be omitted.
[0096] The gateway 104 can additionally include a security component 320 for facilitating the validation and processing of security credentials for one or more user devices 102 or the gateways themselves. The security component 320 may communicate with other components of the gateway 104 to fulfill this functionality. For example, in some embodiments, the security component 320 may utilize software and data from the storage for interface software 316. In some embodiments, the security component 320 may be located in the memory 312. Of course, the security component 320 may additionally, or alternatively, be located in other portions of the gateway 104.Secure Communications
[0097] In some embodiments, secure communication may be implemented between the various components of the systems described herein. For example, in some implementations the systems and devices of the present disclosure may be used to collect and / or analyze health-related data of users associated with user devices. Accordingly, it may be desirable to provide communications that do not require significant power usage by user devices, while also maintaining an appropriate level of security for users’ health information. Details of these secure communications will now be described. Throughout the description of FIGS. 4-9, reference will occasionally be made back to components illustrated in FIGS. 103.
[0098] With reference to an illustrative embodiment, there may be a first device and a second device that wish to engage in communications. Each device may have an identifier. Additionally, or alternatively, each device may have a certificate. Certificates are typically signed by a certificate authority known to both parties. This certificate authority with henceforth be referred to as a known certificate authority. Signatures of a known certificate authority may be applied to the certificates of each device to verify that they are both known to the certificate authority' and can trust each other. Signatures are generated to show that data was sent by a specific party and has not changed. Signatures are typically signed through asymmetric cryptography, which involves encrypting and decrypting with different keys. These different keys are public and private keys. Keys may be generated with Rivest-Shamir- Adleman (RS A) encryption, or with any other suitable cr ptography algorithms.
[0099] Public and private keys may be used to compute a shared secret and generate a symmetric key that is used during a communication session and destroyed after the session is complete. The symmetric key may be generated through a key exchange process (e.g., aDiffie Hellman Key Exchange or other suitable key exchange process). Use of the symmetric key generates forward secrecy, where if a key is discovered, only communications for its associated session will be revealed. Future communications may still be secret because each symmetric key is destroyed after the end of its associated session, and a new symmetric key is generated for each future session.
[0100] FIG. 4 illustrates an example method 400 for initiating secure communication between a user device (e.g., a user device 102 of FIGS. 1-2) and a gateway (e.g., a gateway 104 of FIGS. 1 and 3), according to some embodiments. A security layer may be added to handle these communications atop the communication protocol being used, (e.g., Bluetooth Low Energy (BLE), TCP / IP, other communication protocol, or some combination thereof). For example, a security layer may be added above the High-Level Data Link Control (HDLC) layer, corresponding to Layer 2 of the Open Systems Interconnection (OSI) model.
[0101] At block 402, the user device, such as user device 102, begins advertising its presence such as by sending an advertisement signal (e.g., a BLE advertisement or other advertisement signal). In some embodiments, the user device may advertise continuously or periodically. Continuous or periodic advertisement may be advantageous in “thin” devices that do not include a user interface, as this type of advertisement allows the user device to connect to a gateway without requiring any input or activation from a user of the user device. For example, a user device may be configured to begin sending advertisement signals as soon as a battery is installed, or may be manufactured with a battery installed and configured to begin sending advertisement signals upon manufacture or upon some type of activation such as removal of a battery insulating pull tab or other one-time activation process. The advertisement may comprise at least identification for the user device. Identification may include the user device’s public key, the user device’s MAC address, a certificate, other identification, or some combination thereof. In some embodiments, the identification may be derived from a certificate installed onto the user device hardware during a manufacturing process.
[0102] At block 404, a gateway, such as gateway 104, detects the user device’s advertisement. The gateway may be configured to continuously search for advertisements from user devices. In some embodiments, the gateway may be configured to recognize and authenticate an individual user device during a first connection between a gateway and a user device, for example, when a user device has first been activated. However, activation of the user device by a user may not be necessary. Additionally, or alternatively, in some embodiments, each gateway may be configured to recognize and authenticate the individualuser device automatically without receiving a user input from a user of the individual user device.
[0103] At block 406, the gateway checks whether the identifier received for the user device is stored in a memory, such as a memory 312 of the gateway. Additionally, or alternatively, the memory may be intended to temporarily store data (e.g., a cache). The identifier may also be stored in remote computing resources, such as remote computing resources 106. For example, the gateway may communicate with a remote data store containing identifiers associated with the plurality of user devices.
[0104] At block 408, gateway finds a match for the user device’s identifier. Of course, in some embodiments, the gateway may not find a match for the user device's identifier. This embodiment will be discussed in more detail in later sections.
[0105] At block 410, the gateway sends a first message to the user device. The first message may contain at least an identifier corresponding to the gateway (e.g., the gateway’s public key, a certificate, other identification or some combination thereof). In some embodiments, the identification may be derived from a certificate installed onto the gateway’s hardware’s during a manufacturing process. The first message may also serve as a request for a private key exchange with the user device.
[0106] At block 412, the user device checks a memory, such as a memory' 212 of the user device, for the identifier of the gateway (e.g., the gateway’s public key, a certificate, other identification or some combination thereof). Additionally, or alternatively, the memory may be intended to temporarily store data (e.g., a cache). The identifier may also be stored in remote computing resources, such as remote computing resources 106. Additional storage locations are also possible.
[0107] At block 414, the user device checks whether it has found a match to gateway’s identifier in the memory. If it does find a match, the user device a second message to the gateway. The message may comprise at least a request for a private key exchange with the gateway. If either the user device, or the gateway, does not find a match for the other device's identifier, the device that does not find a match may instead initiate a public key exchange with the other device.
[0108] FIG. 5 depicts an example method 500 for a public key exchange between a user device and gateway. FIG. 6 illustrates an exemplary7schematic diagram of the interactions 600 between a user device and a gateway during the initiation of secure communications between the user device and the gateway when the user device does notrecognize the gateway. FIGS. 5 and 6 will be described in parallel as the interactions 600 of FIG. 6 may be implemented in accordance with the method 500 of FIG. 5.
[0109] FIG. 6 depicts communications between a user device 602 and gateway 606 through aether 604. In some embodiments the user device 602 may be equivalent to user devices 102 and 802 (FIG. 8). Similarly, in some embodiments, the gateway 606 may be equivalent to the gateways 104 and 806 (FIG. 8). The aether 604 may represent a communications network, such as a BLE network.
[0110] The communications between the user device 602 and the gateway 606 may begin with BLE advertisement by the user device 602 at 608. As discussed above, with reference to FIG. 4, this advertisement may occur continuously and may comprise at least an identifier of the user device 602. This identifier may comprise the public key of the user device 602. The public key of the user device 602 may correspond with the MAC address of the user device 602. The communications may continue with detection of the advertisement from user device 602 by the gateway 606 at 610. Subsequent to detecting the advertisement from user device 602, the gateway 606 may find a public key corresponding to the user device 602 in a memory at 612. In the non-limiting embodiment of FIG. 6, this memory is a cache stored by the gateway 606. At 614, the gateway 606 sends a first message to the user device 602. The first message may comprise at least the public key of the gateway 606.
[0111] Referring back to the FIG. 5, at block 504, the user device checks a memory for an identifier matching the gateway. At block 506, the user device does not find a match to the gateway’s identifier. In some embodiments, the memory is a cache in the user device’s memory which is also used to store identifiers for devices, such as other gateways. In some embodiments, the identifiers may comprise public keys of the respective devices. In some embodiments the identifiers may comprise public keys stored within certificates. In FIG. 6, this process is represented in block 616 where the user device 602 does not find the public key of the gateway 606 in its cache at block 616.
[0112] Returning to FIG. 5, at block 508 the user device sends a message to request a public key exchange, and at block 510. the user device and gateway exchange certificates which contain public keys. The certificates may be incorporated into the hardware of the user device and gateway by the manufacturer or another entity. In FIG. 6, at 616, the user device 602 determines that the public key of the gateway 606 is not stored in the cache of the user device 602 cache. At block 618, the user device 602 sends a second message to the gateway 606 that a public key exchange is required. As depicted in FIG. 6, this public key exchange involves an exchange of certificates between the user device 602 and the gateway 606.
[0113] At 620, the gateway 606 sends a third message to the user device 602 comprising at least the signed certificate of the gateway 606. Next, at 622, the user device 602 sends a fourth message containing at least the signed certificate of the band 602 to the gateway 606. The certificates described in 620 and 622 may contain at least the respective device’s (user device 602 or gateway 606) public keys. In addition, the certificates may be signed by a known authority. In some embodiments, the known authority might be a manufacturer or another entity.
[0114] Referring back to FIG. 5, at block 512, the user device and gateway each verify that the exchanged certificates were signed by a known certificate authority (e.g., a manufacturer). With reference to FIG. 6, verification of exchanged certificates may comprise the user device 602 verifying that the signature on the signed certificate, received from the gateway at 622, was signed by a known certificate authority (e.g., a manufacturer). The verification of exchanged certificates may additionally comprise the gateway 606 verifying the signature on the signed certificate, received from the user device 602at block 620, was signed by a known certificate authority. Furthermore, the verification of exchanged certificates may comprise the user device 602 and the gateway 606 confirming through the aether 604 that they have verified that the certificates they received at 620 - 622 were signed by the known authority7.
[0115] Subsequent to this confirmation, the handshake between the user device 602 and the gateway 606 may continue at block 630 to allow each device to verify that the other device is safe and to develop a method for further secure communications between the devices. Referring back to FIG. 5, in some embodiments continuing the handshake after the public key exchange may comprise the user device and gateway beginning a private key exchange at block 514. An example private key exchange will be described further with reference to FIGS. 7-8.
[0116] FIG. 7 depicts an example method 700 for a private key exchange between a user device and gateway. FIG. 8 illustrates an exemplary schematic diagram of the interactions 800 between a user device and a gateway during the initiation of secure communications between the user device and the gateway when the user device and the gateway recognize each other. FIGS. 7 and 8 will be described in parallel as the interactions 800 of FIG. 8 may be implemented in accordance w ith the method 700 of FIG. 7.
[0117] In the routine depicted in FIG. 8, a public key exchange as described above may not occur because the gateway and user device both recognize each other. FIG. 8 depicts communications between the user device 802 and gateway 806 through aether 804. In some embodiments, the user device 802 may be equivalent to the user devices 102 and 602.Similarly, in some embodiments the gateway 106 may be equivalent to the gateways 104 and 606. The aether 804 may represent a communications network, such as a BLE network.
[0118] The communications between the user device 802 and the gateway 806 begin with BLE advertisement by the user device 802 at 808. As discussed above, with reference to FIG. 4, this advertisement may occur continuously and may comprise at least an identifier of the user device 802. This identifier may comprise the public key of the user device 802. The public key of the user device 802 may correspond with its MAC address. The communications may continue with detection at 810 by the gateway 806 of the advertisement from the user device 802.
[0119] Referring back to FIG. 7, the private key exchange starts at block 702. At block 704, the gateway determines whether it recognizes a user device for which it has received an identifier. The identifier for the user device may have been received through an advertisement and detection process as described above. At block 704, the gateway can check a memoiy for an identifier matching the user device. In some embodiments, the memory may include at least a cache of certificates. In the example situation in which the gateway and the user device have previously interacted, the gateway finds a match for the identifier of the user device at block 706 and sends a message to the user device to request a private key exchange at block 708. This message may comprise at least the public key of the gateway.
[0120] With corresponding reference to FIG. 8, at 812, subsequent to detecting the advertisement by the user device 802. the gateway may find the public key of the user device 802 in a memory. This memory may be, for example, a cache stored by the gateway 806. At 814, the gateway 806 may send a first message to the user device 802. The first message may comprise at least an identifier of the gateway 806 (e.g., a certificate, a public key, another identifier, some combination thereof, etc.).
[0121] Returning to FIG. 7, at block 710, the user device also checks its memory for an identifier of the gateway. In some embodiments, such as that shown in FIG. 7 the memoiy7is a cache containing certificates for other devices. At block 712 the user device finds a match for the identifier of the gateway in its memory, and at block 714, the user device and the gateway exchange messages signed with their respective private keys.
[0122] Correspondingly, in FIG. 8, an example of this process is shown at 816 - 826. At 816, the user device 802 may generate and send a second message to the gateway 806. The second message may be based, at least in part, on whether the user device 802 has the public key of the gateway 806 in its cache. At 818, the user device 802 may find that it has the public key of the gateway 806 in its cache. Subsequently, at 820, the user device 802 signs thefirst message with its private key. At 826, The user device 802 sends the signed first message to the gateway. At 822, the gateway 806, having previously recognized the user device 802 at 812, signs the second message with its private key at block 822. At 824, the gateway 806 returns the signed second message to the user device 802.
[0123] Returning to FIG. 7, at block 716 the user device and gateway verify that the signatures on the messages are consistent with the public keys of the gateway and user device respectively. At block 718, the user device and gateway generate a shared secret to produce a symmetric key for use in communication, and at block 720, the user device and the gateway begin communication with the shared key.
[0124] FIG. 8 illustrates a corresponding example of this process at 828 - 834. At 828, the user device 802 verifies whether the signature from the gateway 806 on the signed second message matches the public key of the gateway 806. In addition, the user device 802 verifies whether the content of the signed second message matches the content of the second message transmitted by the user device 802 at block 816. Similarly, at 830, the gateway 806 verifies whether that the signature from the user device 802 on the signed first message matches the public key of the user device 802. In addition, the gateway 806 verifies whether the content of the signed first message matches the content of the first message transmitted by the gateway 806 at 814. Subsequently, at 832, the user device 802 and gateway 806 compute a shared secret and generate e a symmetric key for the remainder of the connection. This computation of a shared secret can be carried out using a symmetric cryptography algorithm. In some embodiments, the algorithm could be Elliptic Curve Diffie Helman (ECDH). Of course, other algorithms are also possible. Subsequent to generating the shared secret, the user device 802 and the gateway 806 engage in one or more encrypted communications using the symmetric key. The content of these communications may include, but is not limited to. location information, updates, and log data. The log data may include physiological and / or environmental data from the user device 802 (e.g., from sensors on the user device), error logs, event logs, other logs, or some combination thereof.
[0125] After engaging in one or more encrypted communications, a decision may be made to end communication for a session. This decision may be made by the user device 802, the gateway 806, or some other entity, such as the remote computing resources 106 (FIG. 1). For example, in FIG. 8, a corresponding this process is shown at 836 - 838. At 836, the gateway 806 sends a message indicative of a clean disconnect. At 838, the user device 802 sends an acknowledgement of receipt of this message back to the gateway 806 and communication between the user device 802 and the gateway 806 ceases for the session. Thecommunication between the user device 802 and the gateway 806 can be reinitiated at any time. For example, the user device 802 could resume advertisement as discussed above, and secure communication could be re-established -for a subsequent session.
[0126] FIG. 9 illustrates an example method 900 for communications to reconcile the timeline between a user device (e.g., any of the user devices 102, 602, 802 described herein) and a gateway (e.g., any of the gateways 104. 606, 806 described herein). The routine begins at block 902. At block 904, data is received from a user device, such as user device 102. As discussed above, data may comprise physiological and / or environmental measurements, device timestamps, user device identification, associations between data types, reset counts (e.g., a number resets of the user device), or some combination thereof. For example, data records may comprise timestamps which may be correlated to time since the last reset of the individual user device. In some embodiments, a timeline reconciliation service may request the data from individual user device prior to recording the data.
[0127] Further, according to some embodiments, on connection with a user device, such as user device 102, a gateway, such as gateway 106, may send a time according to a determined time zone (e.g., UTC time) to the user device. The user device may log this time with information relating to a device time including, but not limited to, the number of resets of the band and number of seconds since the last reset. This log data may be sent back to the gateway along other data (e.g., physiological and / or environmental measurements, event data, error data, etc.). The gateway may send all of this information to remote computing resources, such as remote computing resources 106 (FIG. 1). The remote computing resources may implement a timeline reconciliation service, as referenced above, to reconcile the device timestamps to timestamps corresponding to the determined time zone. Of course, timeline reconciliation may occur without implementation of a service, and / or may be implemented at the gateway.
[0128] At block 906, the data may be parsed to obtain events. Events may comprise sensor measurements. For example, events may comprise sensor measurements associated with device timestamps where device timestamps may be correlated with time since an individual user device’s last reset. Events may also comprise errors that have occurred and / or resets of the user device.
[0129] At block 908, these events may be recorded. In some embodiments, these events may be recorded to a memory of the gateway. Additionally, or alternatively, these events may be recorded to remote computing resources, such as remote computing resources 106 (FIG. 1). In some embodiments, a service may be used to write events as records. The recordsmay be added to a data structure. For example, a first service may write the records to a table. Further, subsequent to recording, the first service may submit a message to a second service to provide identification for the records being transmitted, for example, identification related to user devices associated with the records. Additionally, or alternatively, the identification may indicate whether records are associated with gateway timestamps. In some embodiments, records may be associated with only device timestamps. If so, records associated with only device timestamps will be referred to as unreconciled records. Records that are additionally or alternately associated with a gateway timestamp will be referred to as reconciled records. The process for reconciling records will be discussed in greater detail below.
[0130] At decision state 910, it is determined whether the timeline needs to be reconciled. A second service may be used to determine whether the timelines need to be reconciled. The determination may be based on information transmitted by the first sen-ice, for example, that the records are unreconciled. Unreconciled records may be only associated with a device timestamp. However, this is not the only type of unreconciled record. Additionally, or alternatively, unreconciled records may include records that are partly associated with a gateway time, or may be records with an indicator that the records were obtained from an interrupted upload from a user device. For example, the user device may have moved out of range before the upload was completed. More options are also possible.
[0131] In some embodiments, the gateway may have a service that keeps track of information related to the last upload for an individual user device including at least whether the last upload was completed. If the last upload was incomplete, the gateway may try to get the remainder of the upload at a later time. For example, the gateway may use a local buffer to store the incomplete data until the remainder of the upload is obtained. Additionally, or alternately, the gateway may be able to distinguish between whether data from a user device is newly recorded or has already been updated.
[0132] Different processes may be implemented with regards to the records depending on whether the records are reconciled or unreconciled. With reference to a nonlimiting embodiment, if a second service determines that a set of records obtained from a user device are reconciled, then the second service may end timeline reconciliation for those records.
[0133] Alternately, if the second service determines that data obtained from the user device are unreconciled, then the second service may take further action to reconcile the records. For example, the second service may send the set of records to a third service to reconcile time for the set of records. The third service may add a timestamp associated withthe internal system timer of a gateway. However, in some embodiments, the second service may not reconcile the set of records even if the second service determines that the records are unreconciled records. For example, the second service may end timeline reconciliation for the set of records at block 914.
[0134] At block 912, unreconciled records from block 910 may be reconciled. However, as discussed above, some records may remain unreconciled. Reconciling a set of records, hereinafter referred to as reconciliation, may comprise associating the records with timestamps associated with a remote processing device, such as gateway 104 and / or remote computing devices 106. These timestamps may be associated with a determined time zone, as discussed above. Associating records with these timestamps may comprise a calculation, based on at least device timestamps associated with the records, device reset counters associated with the set of records, and timestamps corresponding to the determined time zone.
[0135] Additionally, or alternatively, reconciliation may add recently reconciled records to previously reconciled records. For example, reconciliation may include forming reconciled timeline associated with an individual user device.
[0136] Ending timeline reconciliation may comprise exiting a timeline reconciliation process, such as at block 914. Records that have exited a timeline reconciliation process may be reconciled at a later time by restarting the process. Records that have exited a timeline reconciliation process, may be stored. For example, a set of records that has exited a timeline reconciliation process may be sent to a memory, such as memory 312 of a gateway. Additionally, or alternatively, the set of records may be sent to remote computing resources, such as remote computing resources 106 (FIG. 1).Terminology
[0137] Depending on the embodiment, certain acts, events, or functions of any of the processes or algorithms described herein can be performed in a different sequence, can be added, merged, or left out altogether (e.g., not all described operations or events are necessary for the practice of the algorithm). Moreover, in certain embodiments, operations or events can be performed concurrently, e.g., through multi -threaded processing, interrupt processing, or multiple processors or processor cores or on other parallel architectures, rather than sequentially.
[0138] The various illustrative logical blocks, modules, routines, and algorithm steps described in connection with the embodiments disclosed herein can be implemented as electronic hardware, or as a combination of electronic hardware and executable software. Toclearly illustrate this interchangeability, various illustrative components, blocks, modules, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as specialized hardware, or as specific software instructions executable by one or more hardware devices, depends upon the particular application and design constraints imposed on the overall system. The described functionality' can be implemented in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosure.
[0139] Moreover, the various illustrative logical blocks and modules described in connection with the embodiments disclosed herein can be implemented or performed by a machine, such as a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A secure access control device (e.g., remote access serv er or monitoring device) can be or include a microprocessor, but in the alternative, the secure access control device can be or include a controller, microcontroller, or state machine, combinations of the same, or the like configured to authenticate and authorize remote access for delivery of an item. A secure access control device can include electrical circuitry configured to process computer-executable instructions. Although described herein primarily with respect to digital technology, a secure access control device may also include primarily analog components. For example, some or all of the access control algorithms or interfaces described herein may be implemented in analog circuitry or mixed analog and digital circuitry. A computing environment can include a specialized computer system based on a microprocessor, a mainframe computer, a digital signal processor, a portable computing device, a device controller, or a computational engine within an appliance, to name a few.
[0140] The elements of a method, process, routine, interface, or algorithm described in connection with the embodiments disclosed herein can be embodied directly in specifically tailored hardware, in a specialized software module executed by a secure access control device, or in a combination of the two. A software module can reside in random access memory (RAM) memory, flash memory, read only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disk, a removable disk, a compact disc read-only memoiy (CD- ROM), or other form of a non-transitory computer-readable storage medium. An illustrative storage medium can be coupled to the secure access control device such that the secure access control device can read information from, and write information to, the storage medium. Inthe alternative, the storage medium can be integral to the secure access control device. The secure access control device and the storage medium can reside in an application specific integrated circuit (ASIC). The ASIC can reside in an access device or other secure access control device. In the alternative, the secure access control device and the storage medium can reside as discrete components in an access device or electronic communication device. In some implementations, the method may be a computer-implemented method performed under the control of a computing device, such as an access device or electronic communication device, executing specific computer-executable instructions.
[0141] Conditional language used herein, such as, among others, “can,” “could,” “might,” “may,” “e.g.,” and the like, unless specifically stated otherwise, or otherwise understood within the context as used, is generally intended to convey that certain embodiments include, while other embodiments do not include, certain features, elements and / or steps. Thus, such conditional language is not generally intended to imply that features, elements and / or steps are in any way required for one or more embodiments or that one or more embodiments necessarily include logic for deciding, with or without other input or prompting, whether these features, elements and / or steps are included or are to be performed in any particular embodiment. The terms “comprising,” “including,” “having,” and the like are synonymous and are used inclusively, in an open-ended fashion, and do not exclude additional elements, features, acts, operations, and so forth. Also, the term “or” is used in its inclusive sense (and not in its exclusive sense) so that when used, for example, to connect a list of elements, the term “or” means one, some, or all of the elements in the list.
[0142] Disjunctive language such as the phrase “at least one of X, Y, Z,” unless specifically stated otherwise, is otherwise understood with the context as used in general to present that an item, term, etc., may be either X, Y, or Z, or any combination thereof (e.g., X, Y, and / or Z). Thus, such disjunctive language is not generally intended to, and should not, imply that certain embodiments require at least one of X, at least one of Y, or at least one of Z to each is present.
[0143] Unless otherwise explicitly stated, articles such as “a” or “a” should generally be interpreted to include one or more described items. Accordingly, phrases such as “a device configured to” are intended to include one or more recited devices. Such one or more recited devices can also be collectively configured to cany' out the stated recitations. For example, “a processor configured to carry out recitations A, B and C” can include a first processor configured to carry out recitation A working in conjunction with a second processor configured to cany’ out recitations B and C.
[0144] As used herein, the terms “determine” or “determining” encompass a wide variety of actions. For example, “determining” may include calculating, computing, processing, deriving, looking up (e.g., looking up in a table, a database or another data structure), ascertaining and the like. Also, “determining” may include receiving (e.g., receiving information), accessing (e.g., accessing data in a memory ) and the like. Also, “determining” may include resolving, selecting, choosing, establishing, and the like.
[0145] As used herein, the terms “provide” or “providing” encompass a wide variety of actions. For example, “providing” may include storing a value in a location for subsequent retrieval, transmitting a value directly to the recipient, transmitting or storing a reference to a value, and the like. “Providing” may also include encoding, decoding, encrypting, decrypting, validating, verifying, and the like.
[0146] As used herein, the term “message” encompasses a wide variety of formats for communicating (e.g., transmitting or receiving) information. A message may include a machine-readable aggregation of information such as an XML document, fixed field message, comma separated message, or the like. A message may, in some implementations, include a signal utilized to transmit one or more representations of the information. While recited in the singular, it will be understood that a message may be composed, transmitted, stored, received, etc. in multiple parts.
[0147] While the above detailed description has shown, described, and pointed out novel features as applied to various embodiments, it can be understood that various omissions, substitutions, and changes in the form and details of the devices or algorithms illustrated can be made without departing from the spirit of the disclosure. As can be recognized, certain embodiments described herein can be embodied within a form that does not provide all of the features and benefits set forth herein, as some features can be used or practiced separately from others. The scope of certain embodiments disclosed herein is indicated by the appended claims rather than by the foregoing description. All changes that come within the meaning and range of equivalency of the claims are to be embraced within their scope.
Claims
CLAIMSWHAT IS CLAIMED IS:
1. A computer-implemented method for generating a secure connection between a user device and a gateway, the method comprising, by one or more processors of the user device: transmitting an advertisement signal; receiving, from the gateway, a first message comprising a public key corresponding to the gateway; transmitting a second message to the gateway; comparing the public key corresponding to the gateway to public keys stored in a memory of the user device to identify a match; in response to identifying the match, signing the first message with a private key corresponding to the user device; transmitting the signed first message to the gateway; receiving, from the gateway, a signed second message comprising the second message signed with a private key corresponding to the gateway; determining whether the signed second message is consistent with content of the transmitted second message and the public key corresponding to the gateway; and in response to determining whether the signed second message is consistent, disconnecting from the gateway or engaging in one or more encrypted communications with the gateway.
2. The method of claim 1, wherein the method comprises disconnecting from the gateway in response to determining that the signed second message is not consistent with at least one of the content of the transmitted second message and the public key corresponding to the gateway.
3. The method of claim 1, wherein the method comprises engaging in one or more encrypted communications with the gateway in response to determining that the signed second message is consistent with the content of the transmitted second message and the public key corresponding to the gateway.
4. The method of claim 3, further comprising, prior to engaging in one or more encr pted communications with the gateway:computing a shared secret with the gateway; and generating, with the gateway, a symmetric key; wherein the one or more encrypted communications are encrypted with the symmetric key.
5. The method of claim 1, wherein engaging in one or more encrypted communications with the gateway comprises sending, to the gateway, sensor data from one or more sensors of the user device.
6. The method of claim 1, wherein engaging in one or more encrypted communications with the gateway comprises receiving, from the gateway, an update to software or firmware installed on the user device.
7. A computer-implemented method for generating a secure connection between a user device and a gateway, the method comprising, by one or more processors of the gateway: detecting an advertisement signal sent by the user device; receiving, from the wearable device, an identifier of the user device; comparing the identifier of the user device to identifiers stored in a memory' to identify a match; in response to identifying the match, transmitting a first message to the user device, the first message comprising a public key corresponding to the gateway; receiving, from the user device, a second message; signing the second message with a private key corresponding to the gateway; transmitting the signed second message to the user device; receiving, from the user device, a signed first message comprising the first message signed with a private key corresponding to the gateway; determining whether the signed first message is consistent with content of the transmitted first message and a public key corresponding to the wearable device; and in response to determining whether the signed first message is consistent, disconnecting from the user device or engaging in one or more encrypted communications with the user device.
8. The method of claim 7, wherein the method comprises disconnecting from the user device in response to determining that the signed first message is not consistent with atleast one of the content of the transmitted first message and the public key corresponding to the wearable device.
9. The method of claim 7, wherein the method comprises engaging in one or more encrypted communications with the user device in response to determining that the signed first message is consistent with the content of the transmitted first message and the public key corresponding to the wearable device.
10. The method of claim 9, further comprising, prior to engaging in one or more encrypted communications with the gateway: computing a shared secret with the wearable device; and generating, with the user device, a symmetric key; wherein the one or more encrypted communications are encrypted with the symmetric key.
11. The method of claim 7, wherein engaging in one or more encrypted communications with the gateway comprises receiving, from the user device, sensor data from one or more sensors of the user device.
12. The method of claim 7, wherein engaging in one or more encrypted communications with the gateway comprises sending, to the user device, an update to software or firmware installed on the user device.
13. A computer-implemented method for generating a secure connection between a user device and a gateway, the method comprising, by one or more processors of the user device: transmitting an advertisement signal; receiving, from the gateway, a first message comprising a public key corresponding to the gateway; comparing the public key corresponding to the gateway to public keys stored in a memory of the user device to identify a match; in response to failing to identify the match, transmitting a second message to the gateway, the second message comprising a request for a public key exchange;receiving, from the gateway, a first certificate corresponding to the gateway; transmitting, to the gateway, a second certificate corresponding to the user device; determining whether the first certificate was signed by a known certificate authority; and in response to determining whether the first certificate was signed by the known certificate authority, disconnecting from the gateway or engaging in a private key exchange with the gateway.
14. The method of claim 13, wherein the method comprises disconnecting from the gateway in response to determining that the first certificate was not signed by the known certificate authority.
15. The method of claim 13, wherein the method comprises engaging in a private key exchange with the gateway in response to determining that the that the first certificate was signed by the known certificate authority.
16. The method of claim 15, wherein engaging in aprivate key exchange comprises: receiving, from the gateway, a third message comprising a request for a private key exchange; transmitting a fourth message to the gateway; signing the third message with a private key corresponding to the user device; transmitting the signed third message to the gateway; receiving from the gateway, a signed fourth message comprising the fourth message signed with a private key corresponding to the gateway; determining whether the signed fourth message is consistent with content of the transmitted fourth message and the public key corresponding to the gateway; and in response to determining whether the signed fourth message is consistent, disconnecting from the gateway or engaging in one or more encrypted communications with the gateway.
17. The method of claim 16, wherein the method comprises disconnecting from the gateway in response to determining that the signed fourth message is not consistent with atleast one of the content of the transmitted fourth message and the public key corresponding to the gateway.
18. The method of claim 16, wherein the method comprises engaging in one or more encrypted communications with the gateway in response to determining that the signed fourth message is consistent with the content of the transmitted fourth message and the public key corresponding to the gateway.
19. The method of claim 18, further comprising, prior to engaging in one or more encrypted communications with the gateway: computing a shared secret with the gateway; and generating, with the gateway, a symmetric key; wherein the one or more encrypted communications are encrypted with the symmetric key.
20. The method of claim 16, wherein engaging in one or more encrypted communications with the gateway comprises sending, to the gateway, sensor data from one or more sensors of the user device.
21. The method of claim 16, wherein engaging in one or more encrypted communications with the gateway comprises receiving, from the gateway, an update to software or firmware installed on the user device.
22. A computer-implemented method for generating a secure connection between a user device and a gateway, the method comprising, by one or more processors of the gateway: detecting an advertisement signal sent by the user device; receiving, from the user device, an identifier of the user device; comparing the identifier of the user device to identifiers stored in a memory to identify a match; in response to identifying the match, transmitting a first message to the user device, the first message comprising a public key corresponding to the gateway; receiving from the user device, a second message comprising a request for a public key exchange; transmitting, to the user device a first certificate corresponding to the gateway;receiving, from the user device, a second certificate corresponding to the user device; determining the whether the second certificate was signed by a known certificate authority; and in response to determining whether the second certificate was signed by the known certificate authority, disconnecting from the user device or engaging in a private key exchange with the user device.
23. The method of claim 22, wherein the method comprises disconnecting from the user device in response to determining that the second certificate was not signed by the known certificate authority.
24. The method of claim 22, wherein the method comprises engaging in a private key exchange with the user device in response to determining that the second certificate was signed by the known certificate authority.
25. The method of claim 24, wherein engaging in aprivate key exchange comprises: transmitting, to the user device, a third message comprising a request for a private key exchange; receiving, from the user device, a fourth message; signing the fourth message with a private key corresponding to the gateway; transmitting the signed fourth message to the user device; receiving, from the user device, a signed third message comprising the third message signed with a private key corresponding to the user device; determining whether the signed third message is consistent with content of the transmitted third message and the public key corresponding with the user device; and in response to determining whether the signed third message is consistent, disconnecting from the user device or engaging in one or more encrypted communications with the user device.
26. The method of claim 25, wherein the method comprises disconnecting from the user device in response to determining that the signed third message is not consistent with at least one of the content of the transmitted third message and the public key corresponding to the user device.
27. The method of claim 25, wherein the method comprises engaging in one or more encrypted communications with the user device in response to determining that the signed third message is consistent with the content of the transmitted third message and the public key corresponding to the user device.
28. The method of claim 27. further comprising, prior to engaging in one or more encrypted communications with the user device: computing a shared secret with the user device; and generating, with the user device, a symmetric key; wherein the one or more encrypted communications are encrypted with the symmetric key.
29. The method of claim 25, wherein engaging in one or more encry pted communications with the user device comprises receiving, from the user device, sensor data from one or more sensors of the user device.
30. The method of claim 25, wherein engaging in one or more encrypted communications with the user device comprises sending, to the user device, an update to software or firmware installed on the user device.
31. A method for timeline reconciliation between a user device and a gateway, the method comprising, by one or more processors of the gateway: receiving, from the user device, a reset counter associated with the user device, wherein the reset counter comprises a number of times the user device has been reset; receiving, from the user device, data records collected by the user device, wherein each data record comprises a device timestamp corresponding to a time elapsed since a last reset of the user device; generating, for individual data records, a gateway timestamp corresponding to a gatew ay time for the data record, wherein the gatew ay timestamp is generated based at least in part on the device timestamp associated with the data record and the reset counter; andgenerating a reconciled timeline of the data records, wherein ordering of the records in the reconciled timeline is based at least in part on the generated gateway timestamps.
32. The method of Claim 31, further comprising, prior to generating the gateway timestamps: determining a status type for each data record, wherein the status type is based on the device timestamp associated with the data record and provides an indication of whether to generate a gateway timestamp for the data record and whether to include the data record in the reconciled timeline.
33. The method of claim 32, further comprising, when the status type indicates the data record should not be included in the reconciled timeline, saving the record to an unreconciled timeline.
34. The method of claim 32. wherein the status type of a record indicates that the record has not been added to a reconciled timeline and falls between two reconciled timelines.
35. A gateway configured for timeline reconciliation between a user device and the gateway, the gateway comprising: one or more processors in communication with the user device, the one or more processors configured to: connect with the user device; receive, from the user device, a reset counter associated with the user device, wherein the reset counter comprises a number of times the user device has been reset; receive, from the user device, data records collected by the user device, wherein each data record comprises a device timestamp corresponding to a time elapsed since a last reset of the user device; generate, for individual data records, a gateway timestamp corresponding to a gateway time for the data record, wherein the gateway timestamp is generated based at least in part on the device timestamp associated with the data record and the reset counter; andgenerate a reconciled timeline of the data records, wherein ordering of the records in the reconciled timeline is based at least in part on the generated gateway timestamps.
36. The system of Claim 35, wherein prior to generating timestamps, the one or more processors are configured to: determine a status type for each record, wherein the status type is based on the device timestamp associated with the data record and provides an indication of whether to generate a gateway timestamp for the record and whether to include the data record in the reconciled timeline.
37. The system of Claim 36, wherein when the status type indicates the record should not be included in the reconciled timeline, the record is saved to an unreconciled timeline.
38. The system of Claim 37. wherein the status type of a record indicates that the record has not been added to a reconciled timeline and falls between two reconciled timelines.
39. A system comprising: one or more user devices, each user device comprising: a memory storing data records; a wireless communication device; and one or more processors configured to at least cause transmission of the data records by the wireless communication device; and one or more gateways in communication with a remote data store, each gateway comprising one or more processors configured to at least: detect an individual user device of the one or more user devices; receive the data records transmitted by the wireless communication device of the individual user device; and cause the data records to be stored in the data store in association with one or more previously stored data records associated with the individual user device.
40. The system of claim 39, wherein each gateway is configured to recognize and authenticate the individual user during a first connection between the gateway and the individual user device based on matching an identifier of the individual user device with identifiers associated with the one or more user devices and stored in the remote data store.
41. The system of claim 40, wherein each gateway is configured to recognize and authenticate the individual user device during subsequent connections between the gateway and the individual user device based on matching the identifier of the individual user device in a local memory' of the gateway.
42. The system of claim 40, wherein each gateway is configured to recognize and authenticate the individual user device automatically without receiving a user input from a user of the individual user device.
43. The system of claim 39, wherein each gateway is configured to cause newly received data records associated with an individual user device to be combined with existing data records in the data store associated with the individual user device.
44. The system of claim 39, wherein the one or more gateways comprise a plurality of gateways, wherein each individual user device is configured to automatically connect to any one of the plurality of gateways, and wherein each individual gateway is configured to automatically connect to any one of the one or more user devices.
45. The system of claim 39, wherein each user device comprises one or more sensors.
46. The system of claim 45, wherein the one or more sensors are configured to periodically monitor one or more physiological parameters of a wearer of the user device.
47. The system of claim 45, wherein the one or more processors of each user device are further configured to store the data records in the memory' based at least in part on data received from the one or more sensors.
48. The system of claim 39, wherein each user device is a non-intemet-connected device.
49. A method for configuring one or more user devices, the method comprising, by one or more processors of a gateway, transmitting instructions to the one or more user devices that cause the one or more user devices to change a configuration of the one or more user devices.
50. The method of claim 49, wherein the instructions comprise one or more updates to one or more measurement parameters of the one or more user devices, wherein the one or more measurement parameters comprise at least one of a sampling rate, storage frequency, storage limit, or data aggregation method.
51. The method of claim 49, wherein the instructions comprise updates to firmware of the one or more user devices.
52. The method of claim 49, wherein prior to transmitting instructions, the gateway receives data from the one or more user devices and wherein the data received from each individual user device comprises at least a battery level associated with the individual user device.
53. The method of claim 52, wherein the instructions for individual user devices are determined in response to the battery level received from the individual user devices.
54. The method of claim 49, wherein the instructions relate to one user device.
55. The method of claim 49, wherein the instructions relate to a subset of the one or more user devices.
56. The method of claim 49, wherein the instructions relate to all of the one or more user devices.
Citation Information
Patent Citations
Method to establish an encripted communication channel, program and program medium, and encrypted communication system
JP2002330125A
Data communication method using secure element and electronic system adopting the same
US20160294826A1
US200862634869P
