Over-the-air programming of sensor devices

OTA programming allows secure and efficient updates of low-power sensors by using a system with processors and communication modules, addressing limitations in sensor functionality and security through encryption and integrity checks.

JP2024530880APending Publication Date: 2024-08-27ABBOTT DIABETES CARE INC
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2024503663
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-09-29
Filing Date
2022-07-20
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

Low-power sensors, such as analyte sensors, cannot be easily updated or reprogrammed without direct physical access, leading to limitations in functionality, security, and customization, as well as potential memory or software errors.

Method used

Implementing over-the-air (OTA) programming to securely reprogram sensors without direct physical connection, using a system with one or more processors, a communication module, and memory blocks, including both programmable and non-programmable states, with encryption and integrity checks to ensure secure and efficient updates.

Benefits of technology

Enables secure and efficient updates of low-power sensors, allowing for enhanced functionality, security, and customization without physical access, reducing the risk of memory errors and unauthorized tampering.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024530880000001_ABST
    Figure 2024530880000001_ABST
Patent Text Reader

Abstract

Embodiments described herein include a sensor control device configured for secure over-the-air (OTA) programming. The embodiments include a sensor control device including one or more processors, an analyte sensor, a communication module, and a memory. The memory includes a first set of storage blocks in a non-programmable state and a second set of blocks in a programmable state. The processor is configured to receive, using the communication module, instructions to write marking data to the memory marking a first storage block from the first set of storage blocks as inaccessible and instructions to write program data to a second storage block from the second set of storage blocks to place the second storage block in the non-programmable state. The program data written to the second storage block includes instructions to cause the processor to process analyte data received from the analyte sensor.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] (Priority) This application claims the benefit under 35 U.S.C. § 119(e) of U.S. Provisional Patent Application No. 63 / 249,735, filed September 29, 2021, and U.S. Provisional Patent Application No. 63 / 224,088, filed July 21, 2021, which are incorporated herein by reference.

[0002] ( (Field of the Disclosed Subject Matter) The disclosed subject matter relates to a system for programming and reprogramming sensors for collecting and monitoring data. The sensors can include analyte sensors that collect and monitor data directly from a patient. The programming and reprogramming can be performed without a direct physical connection between the sensor and another device in the system that issues the programming and reprogramming commands. [Background technology]

[0003] ( Description of Related Art) Certain sensing devices can wirelessly transmit data to and receive data from other computing devices. Some of these sensing devices are equipped with powerful processors and operate using a permanent power source, while others are designed to operate efficiently without using much power. Furthermore, low-power sensing devices can be designed to be disposable and low-cost, which may involve tradeoffs made during design and manufacturing regarding the complexity and computing resources included in the device. For example, one such tradeoff when designing sensors such as analyte sensors may involve designing these devices without their functionality being updated once the devices are distributed to end users. The inability to update low-power devices may be implemented through the use of memory architectures that can limit the amount of data written to memory or limit the number of writes performed to regions of memory. Thus, the behavior and cost of low-power devices may be fixed at the time of manufacture. However, this tradeoff may reduce or eliminate the ability of manufacturers to implement new features into devices distributed to end users, correct errors in the programming of such devices, and customize or personalize the behavior of such devices.

[0004] In some cases, low-power devices, including low-power detection devices, can be reprogrammed via direct access to the device. For example, the memory architecture may provide the option to rewrite memory, such as when the device hardware is physically or electronically manipulated into a programming mode. However, reprogramming typically involves erasing all programming of the low-power device, which can make modular updates difficult and introduce memory or software errors. Furthermore, direct access to the device to perform such updates may be unavailable or inconvenient for end users, and even if available, may pose security challenges to prevent tampering or unauthorized copying or reverse engineering of the device software.

[0005] Thus, an opportunity exists for methods and systems to be implemented with low power and low cost devices, including detection devices, to enable a safe method of reprogramming low power devices without requiring direct access to the device. [Prior art documents] [Patent documents]

[0006] [Patent Document 1] U.S. Provisional Patent Application No. 63 / 224,088 [Patent Document 2] U.S. Provisional Patent Application No. 63 / 249,735 Summary of the Invention [Problem to be solved by the invention]

[0007] The objects and advantages of the disclosed subject matter will be set forth in and will be apparent from the following description, as well as will be learned by practice of the disclosed subject matter. Additional advantages of the disclosed subject matter will be realized and attained by the methods and systems particularly pointed out in the written description and claims, as well as from the drawings. [Means for solving the problem]

[0008] To achieve these and other advantages and in accordance with the purposes of the disclosed subject matter as embodied and broadly described, the disclosed subject matter includes systems and methods for secure programming of sensors without a direct physical connection to the sensor, such as via over-the-air (OTA) programming. The advantages and applications of the techniques described herein are not exclusively limited to medical devices, but may be implemented and used by other similar types of low power and low cost devices where access to the device is inconvenient or impractical once distributed to an end user. Exemplary systems and methods may include a sensor control device including one or more processors, an analyte sensor, a communications module, and a memory communicatively coupled to the one or more processors, the communications module, and the analyte sensor. The memory may include a storage block, the storage block including a first set of storage blocks in a non-programmable state and a second set of blocks in a programmable state. The one or more processors may use the communications module to receive instructions to write program data to a second storage block from the second set of storage blocks in a programmable state and to receive instructions to write marking data to the memory that places the second storage block in a non-programmable state and marks the first storage block from the first set of storage blocks in a non-programmable state as inaccessible. The program data written to the second storage block may include instructions that, when executed by the one or more processors, cause the one or more processors to process analyte data received from the analyte sensor. In certain embodiments, the storage blocks of the memory are dynamically allocated memory storage blocks. In certain embodiments, the memory may be integrated into the communications module. In certain embodiments, the memory may be separate from the communications module. In certain embodiments, the memory may be a one-time programmable memory that cannot be overwritten once data is written to the memory.In certain embodiments, the program data written to the second storage block may include instructions regarding the characteristics of the sensor control device, detection and calculation algorithms, or calibration data for the analyte sensor. In certain embodiments, prior to writing the marking data to the memory, the sensor control device may receive a signed command using the communication module. The command may be signed using an encryption key. The sensor control device may enter a programming mode. In certain embodiments, the instruction may be received as part of a communication session secured using a shared encryption key. In certain embodiments, the communication module may conform to a first communication protocol, and the sensor control device may further include a second communication module conforming to a second communication protocol. In certain embodiments, the sensor control device may receive a command using the second communication module to enter a programming state prior to the one or more processors writing the marking data to the memory. In certain embodiments, one of the first and second communication protocols may be Bluetooth Low Energy, and one of the first and second communication protocols may be near field wireless communication. In certain embodiments, the one or more processors may perform one or more integrity checks of the memory before executing instructions of the program data written to the second storage block. In certain embodiments, the one or more integrity checks may include performing an integrity check on each storage block of the first set of storage blocks. In certain embodiments, the sensor control device further includes a rewriteable memory communicatively coupled to the one or more processors, the communication module, and the analyte sensor. The program data to be written to the second storage block may first be written to the rewriteable memory.In certain embodiments, the one or more processors may execute instructions of the program data written to the storage blocks of the first set of storage blocks based on the profile stored in the rewritable memory. In certain embodiments, writing marking data to the memory marking the first storage block as inaccessible may include modifying the profile stored in the rewritable memory. In certain embodiments, the sensor control device may reinitialize to an update-compliant state before the one or more processors write marking data to the memory marking the first storage block as inaccessible. In certain embodiments, the analyte sensor may be configured to generate analyte data. The analyte data may indicate a level of an analyte of a bodily fluid of the patient using the analyte sensor. The method may include processing the analyte data received from the analyte sensor, analyzing the analyte data using the program data written to the storage blocks of the first set of storage blocks, and transmitting the analyte data to an external device using the communication module. In certain embodiments, the analytes can include, by way of example and not limitation, glucose, ketones, lactate, oxygen, hemoglobin A1C, albumin, alcohol, alkaline phosphatase, alanine transminase, aspartate aminotransferase, bilirubin, blood urea nitrogen, calcium, carbon dioxide, chloride, creatinine, hematocrit, lactate, magnesium, oxygen, pH, phosphorus, potassium, sodium, total protein, uric acid, etc. In certain embodiments, the analyte data can further include body temperature, heart rate, blood pressure, or exercise data.

[0009] It is to be understood that both the foregoing general description and the following detailed description are exemplary and intended to provide further explanation of the disclosed subject matter.

[0010] The accompanying drawings, which are incorporated in and constitute a part of this specification, are included to illustrate and provide a further understanding of the methods and systems of the disclosed subject matter and together with the specification, the drawings explain the principles of the disclosed subject matter.

[0011] Details of the subject matter described herein may become apparent by examination of the accompanying drawings, in which like reference numerals indicate like elements, both as to their structure and operation. [Brief description of the drawings]

[0012] [Figure 1] FIG. 1 illustrates the operating environment of an exemplary analyte monitoring system for use with the technology described herein. [Diagram 2] FIG. 1 is a block diagram illustrating an example sensor, in accordance with an example embodiment of the disclosed subject matter. [Diagram 3] FIG. 2 is a block diagram illustrating an example data receiving device for communicating with a sensor, in accordance with an example embodiment of the disclosed subject matter. [Figure 4] FIG. 1 illustrates an example of organizing and allocating data in a sensor's memory in accordance with the disclosed subject matter. [Diagram 5] FIG. 13 illustrates an example operation and data flow for over-the-air programming of a sensor in accordance with the disclosed subject matter. [Figure 6] FIG. 2 illustrates an example implementation of memory block management in accordance with the subject matter of this disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] Reference will now be made in detail to various exemplary embodiments of the disclosed subject matter, exemplary embodiments being illustrated in the accompanying drawings. The structure and corresponding method of operation of the disclosed subject matter will now be described in conjunction with the detailed description of the system.

[0014] The systems and methods described herein can be used for secured updates of a sensor control device without direct physical access to the sensor control device. An embodiment of the disclosed subject matter includes so-called over-the-air (OTA) updates. As used herein, a "medical sensor" or "analyte sensor" can refer to any device capable of receiving sensor information from a user that is useful for medical or non-medical purposes, and in particular, for purposes of illustration and not limitation, can refer to small format, low power devices including a temperature sensor, a blood pressure sensor, a pulse or heart rate sensor, a glucose level sensor, an analyte sensor, a physical activity sensor, a physical movement sensor, or any other sensor useful for medical or non-medical monitoring purposes. Analytes measured by the analyte sensors may include, by way of example and not limitation, glucose, ketones, lactate, oxygen, hemoglobin A1C, albumin, alcohol, alkaline phosphatase, alanine transminase, aspartate aminotransferase, bilirubin, blood urea nitrogen, calcium, carbon dioxide, chloride, creatinine, hematocrit, lactate, magnesium, oxygen, pH, phosphorus, potassium, sodium, total protein, uric acid, and the like. Objects and advantages of the disclosed subject matter will be set forth and become apparent from the following description. Additional advantages of the disclosed subject matter will be realized and attained by the methods, apparatus, and devices particularly pointed out in the written description and claims, as well as from the accompanying drawings. Although certain embodiments are described in the context of medical devices and medical sensors, the advantages and applications of the techniques described herein are not limited to medical devices, but may be implemented and used by other similar types of low power and low cost devices where access to the device is inconvenient or impractical once distributed to end users.

[0015] For purposes of illustration and not limitation, the disclosed subject matter includes systems and methods for secured programming of medical and non-medical sensors without a direct physical connection to the sensor, such as via over-the-air (OTA) programming. The advantages and applications of the techniques described herein are not limited to medical devices, but can be implemented and used by other similar types of low power and low cost devices where access to the device is inconvenient or infeasible once distributed to end users. Exemplary systems and methods can include an analyte sensor or other sensor control device including one or more processors, an analyte sensor, a communications module, and a memory communicatively coupled to the one or more processors, the communications module, and the analyte sensor. The memory can include a storage block including a first set of storage blocks in a non-programmable state and a second set of blocks in a programmable state. The one or more processors may use the communications module to receive instructions to write program data to a second storage block from the second set of storage blocks in a programmable state and to receive instructions to write marking data to the memory that places the second storage block in a non-programmable state and marks the first storage block from the first set of storage blocks in a non-programmable state as inaccessible. The program data written to the second storage block may include instructions that, when executed by the one or more processors, cause the one or more processors to process analyte data received from the analyte sensor. In certain embodiments, the storage blocks of the memory are dynamically allocated memory storage blocks. In certain embodiments, the memory may be integral to the communications module. In certain embodiments, the memory may be separate from the communications module. In certain embodiments, the memory may be a one-time programmable memory that does not allow data to be overwritten once written to the memory.In certain embodiments, the program data written to the second storage block may include instructions regarding the characteristics of the analyte sensor or the sensor control device, detection and calculation algorithms, or calibration data for the analyte sensor.

[0016] In certain embodiments, prior to writing the marking data to the memory, the analyte sensor or sensor control device may receive a signed command using the communication module. The command may be signed using an encryption key. The analyte sensor or sensor control device may enter a programming mode. In certain embodiments, the instruction may be received as part of a communication session secured using a shared encryption key. In certain embodiments, the communication module may conform to a first communication protocol, and the analyte sensor or sensor control device may further include a second communication module conforming to a second communication protocol. In certain embodiments, the analyte sensor or sensor control device may receive a command using the second communication module to enter a programming state prior to the one or more processors writing the marking data to the memory. In certain embodiments, one of the first communication protocol and the second communication protocol may be Bluetooth Low Energy, and the other of the first communication protocol and the second communication protocol may be near field communication. In certain embodiments, the one or more processors may perform one or more integrity checks of the memory prior to executing the instructions of the program data written to the second storage block. In certain embodiments, the one or more integrity checks may include performing an integrity check on each storage block of the first set of storage blocks. In certain embodiments, the analyte sensor or sensor control device may further include one or more processors, a communications module, and a rewriteable memory communicatively coupled to the analyte sensor. Program data to be written to the second storage block may be initially written to the rewriteable memory.

[0017] According to aspects of the disclosed subject matter, the one or more processors may execute instructions of the program data written to the storage blocks of the first set of storage blocks based on the profile stored in the rewritable memory. In certain embodiments, writing marking data to the memory marking the first storage block as inaccessible may include modifying the profile stored in the rewritable memory. In certain embodiments, the analyte sensor or sensor control device may be re-initialized to an update-compliant state before the one or more processors write marking data to the memory marking the first storage block as inaccessible. In certain embodiments, the analyte sensor may be configured to generate analyte data. The analyte data may indicate a level of an analyte in a bodily fluid of a patient using the analyte sensor. Processing the analyte data received from the analyte sensor may include analyzing the analyte data using the program data written to the storage blocks of the first set of storage blocks and transmitting the analyte data to an external device using the communication module. In certain embodiments, the analytes can include, by way of example and not limitation, glucose, ketones, lactate, oxygen, hemoglobin A1C, albumin, alcohol, alkaline phosphatase, alanine transminase, aspartate aminotransferase, bilirubin, blood urea nitrogen, calcium, carbon dioxide, chloride, creatinine, hematocrit, lactate, magnesium, oxygen, pH, phosphorus, potassium, sodium, total protein, uric acid, etc. In certain embodiments, the analyte data can further include temperature, heart rate, blood pressure, or exercise data.

[0018] For purposes of illustration and not limitation, see FIG. 1 for an exemplary embodiment of an analyte monitoring system 100 for use with the disclosed subject matter. The analyte monitoring system 100 can be adapted to include sensors and devices for non-medical use instead of or in addition to medical use. FIG. 1 illustrates an operating environment for a low power analyte monitoring system 100 in which the techniques described herein may be implemented. The analyte monitoring system 100 may include a system of components designed to provide monitoring of parameters of a human or animal body, or may provide other operations based on the configuration of various components. For example, the analyte monitoring system 100 may provide continuous glucose monitoring to a user, or may provide administration of medicines and other agents. The systems implemented herein may include a low power detection device 110, also referred to as a sensor, worn by or attached to the user's body from which information is collected. The sensor control device 110 implemented herein may be a sealed, disposable device, which may improve ease of use and reduce the risk of tampering, as discussed further herein. The low power analyte monitoring system 100 may further include a reading device 120 configured as described herein to facilitate retrieval and distribution of data, including analyte data, from the sensor control device 110.

[0019] The analyte monitoring system 100 as embodied herein may additionally or alternatively include software or firmware libraries or applications provided to a third party and embedded in a general purpose hardware device 130, such as a mobile phone, tablet, personal computing device, or other similar computing device capable of communicating with the sensor control device 110 through a communication link. General purpose hardware may further include embedded devices including, but not limited to, an insulin pump or insulin pen having an embedded library configured to communicate with the sensor control device 110. A general purpose device 130 that embeds and executes a software library may refer to a data receiving device for communicating with the sensor control device 110. As used herein, a data receiving device 120 refers to a hardware device that is specially manufactured for communicating with the sensor control device 110 in the analyte monitoring system 100, while a general purpose data receiving device 130 refers to a suitably configured hardware device that embeds a software or firmware library or executes an application. As used herein, a data communication device refers to either or both of the data receiving device 120 or the general purpose data receiving device 130. It will be understood that the security architecture and design principles described herein are equally applicable to any suitably configured system including a sensor control device 110, a suitably configured data receiving device 120 or a general purpose data receiving device 130, and other components similar to those described herein. The role of the sensor control device 110 can be defined by the nature of the detection hardware incorporated into the sensor control device 110.

[0020] The sensor control device 110 embodied herein may include a small, individually packaged, disposable device with a pre-determined active use lifespan (e.g., 1 day, 14 days, 30 days, etc.). The sensor 110 may be attached to the skin of the patient's body and left affixed for the duration of the sensor's lifespan. The sensor 110 embodied herein may be designed to continue to function when selectively removed and reattached.

[0021] Although the illustrated embodiment of the analyte monitoring system 100 includes only one of each of the sensor control device 110, the data receiving device 120, the generic data receiving device 130, the user device 140, and the remote server 150, this disclosure contemplates that the analyte monitoring system 100 may include multiple of each of the components that interact throughout the system. Incorporate For example, the embodiments disclosed herein include multiple sensors 110 that may be associated with multiple patients that are in communication with the remote server 150. Additionally, while the remote server is shown as a single entity 150, it will be understood that the remote server may encompass multiple networked servers that may be geographically distributed to provide intentional redundancy to reduce latency and avoid downtime of the monitoring system.

[0022] For purposes of illustration and not limitation, please refer to an exemplary embodiment of a sensor control device 110 for use with the disclosed subject matter shown in FIG. 2. FIG. 2 illustrates a block diagram of an exemplary sensor control device 110 according to an exemplary embodiment conforming to the security architecture and communication scheme described herein. The sensor control device 110 implemented herein may include an application specific integrated circuit ("ASIC") 200 communicatively coupled to a communication module 240. By way of example only and not by way of limitation, the exemplary communication module 240 may include a Bluetooth Low Energy ("BLE") chipset 241, a Near Field Communication ("NFC") chipset, or other chipset used with similar short-range communication schemes such as IEEE 802.15 protocols, personal area networks according to IEEE 802.11 protocols, infrared communications according to the Infrared Data Association standard (IrDA), etc. The communication module 240 may transmit and receive data and commands via interaction with similarly capable communication modules of the data receiving device 120 or the generic data receiving device 130. Certain communications chipsets embodied herein may be incorporated into the ASIC 200 (eg, the NFC antenna 225).

[0023] If the sensor control device 110 is designed to be power efficient, low cost and disposable as embodied herein, the ASIC 200 may include a microcontroller core 210, an on-board memory 220, and a storage memory 230. The storage memory 230 may store data used in the authentication and encryption security architecture. The data may have various elements and uses, including those described in the embodiments herein. The ASIC 200 may receive power from a power module 250, such as an on-board battery, or from an NFC pulse. The power module 250 may store only a relatively small charge. The sensor control device 110 as embodied herein may be a disposable device with a predefined life span and without wide area communication capabilities. The communication module 240 as embodied herein may provide communication under battery power.

[0024] Although this disclosure is described with respect to an exemplary configuration of the sensor control device 110 and the ASIC 200, other suitable configurations are contemplated. By way of example, the processing hardware of the sensor control device 110 may be implemented as another type of dedicated processor, such as a field programmable gate array (FPGA). The processing hardware of the sensor control device 110 as implemented herein may include a general-purpose processing unit (e.g., a CPU) or another programmable processor that is temporarily configured by software to perform the functions of the sensor control device 110. In general, the processing hardware may be implemented using hardware, firmware, software, or any suitable combination of hardware, firmware, and software. For purposes of example and not limitation, the processing hardware of the sensor control device 110 may be defined by one or more factors including computational power, power capacity, memory capacity, availability of network connectivity, and the like.

[0025] The communication module 240 of the sensor 100 implemented herein may include one or more modules that may assist the sensor control device 110 in communicating with other devices of the analyte monitoring system 100 or that assist the sensor control device. In certain embodiments, the sensor control device 110 may communicate with, for example, the data receiving device 120 or the user device 140. The communication module 240 may include, for example, a cellular radio module. The cellular radio module may include one or more radio transceivers and / or chipsets that communicate using broadband cellular networks, including, but not limited to, third generation (3G), fourth generation (4G), and fifth generation (5G) networks. The sensor control device 110 may use the cellular radio module to communicate with a remote device (e.g., a remote server 150) to provide analyte data (e.g., sensor readings) and may also receive user updates or alerts.

[0026] As another example, the communication module 240 may include a BLE module 241 and / or an NFC module to facilitate communication with the data receiving device 120 or the user device 140 acting as an NFC scanner or BLE endpoint. Bluetooth Low Energy ("BLE"), as used throughout this disclosure, refers to a short-range communication protocol optimized to simplify pairing of Bluetooth devices for end users. The communication module 240 may include additional or alternative chipsets for use with similar short-range communication schemes, such as IEEE 802.15 protocols, personal area networks according to IEEE 802.11 protocols, infrared communications according to the Infrared Data Association standard (IrDA), and the like. The communication module 240 may transmit and receive data and commands via interaction with a similarly functional communication module of the data receiving device 120 or the user device 140. A particular communication chipset may be incorporated into the ASIC 200 (e.g., an NFC antenna loop). Additionally, although not shown, the communications module 240 of the sensor control device 110 may include a radio for communicating using a wireless local area network conforming to one or more of the IEEE 802.11 standards (e.g., 802.11a, 802.11b, 802.11g, 802.11n (aka Wi-Fi 4), 802.11ac (aka Wi-Fi 5), 802.11ax (aka Wi-Fi 6)).

[0027] The communication module 243 may further include a memory 243 specific to the communication module that is coupled to the microcontroller core of the communication module 240 and / or coupled to the microcontroller core 210 of the ASIC 200 of the sensor control device 110. In certain embodiments, and as described herein, one or more of the memory 220 of the ASIC 200 and the memory 243 of the communication module 240 may each include a supporting architecture or be otherwise configured to define the number of times that a particular address or area of ​​the memory may be written to, and the number of times that the memory may subsequently be marked as unusable or otherwise unavailable for programming may be one-time or a maximum defined number of times greater than one-time. The subject matter disclosed herein relates to systems and methods for updating the OTP memory with new information. In particular, the subject matter disclosed herein relates to systems and methods for updating the OTP memory with information using OTA programming.

[0028] The sensor control device 110 implemented herein may use application layer encryption using one or more block ciphers to establish mutual authentication and encryption with other devices in the analyte monitoring system 100. The use of a non-standard encryption design implemented at the application layer has several advantages. One advantage of this approach is that in certain embodiments, a user may complete pairing of the sensor control device 110 with another device with minimal interaction, for example using only an NFC scan and without requiring additional input such as entering a security pin or confirming the pairing.

[0029] To perform analyte monitoring or medical functions, the sensor 100 may further include appropriate detection hardware 260 corresponding to the functions of the sensor 100. Detection hardware 260 as embodied herein may include medical hardware such as, for example, an autoinjector prescribed to a patient to self-administer a drug or other medication. Thus, the detection hardware 260 may include a device that moves a needle or plunger of the syringe to deliver the drug subcutaneously. The syringe may be pre-loaded with the drug and may be operated in response to a trigger event. For example, the device may insert a needle into a patient and move the plunger to deliver the drug subcutaneously through the needle.

[0030] The detection device 110 embodied herein may be configured as an on-body injector that is attachable to tissue (e.g., skin, organ, muscle, etc.) of a patient's body and capable of automatically delivering a subcutaneous injection of a fixed or patient-selected dose of medication over a controlled or selected period of time. In such an embodiment, the detection hardware 260 or detection device may include, for example, an adhesive or other means for temporarily attaching the detection hardware 260 to tissue of the patient's body, a primary container for storing the medication or agent, an inducer configured to induce or permit opening of a plunger to release the medication from the primary container, a trocar (e.g., a solid needle), a flexible cannula disposed about the trocar, an insertion device configured to insert the trocar and / or the flexible cannula into the patient and optionally withdraw the trocar while leaving the flexible cannula in the patient, a fluid pathway connector configured to establish a fluid pathway between the primary container and the flexible cannula upon activation of the device, and an actuator (e.g., a user-movable button) configured to activate the device. On-body syringes embodied herein can be pre-filled and / or pre-loaded.

[0031] In addition to mechanical components, the detection hardware 260 can include electrical and / or electronic components. For example, an electronic switch can be coupled to the device. The detection device 110 can use techniques of this disclosure to establish authenticated communications, receive an encrypted signal, decrypt the signal, determine that the signal includes a command to operate a switch, and further operate the switch to move a hand. Thus, a detection device embodied herein can be configured to use the detection hardware 260 to perform a function in response to a remote command.

[0032] The detection hardware 260 implemented herein may include a movement sensor and an analog-to-digital converter to generate a digital signal indicating the distance the needle or plunger has traveled. During drug delivery, the low power detection device 110 may take readings from the sensor, encrypt the readings using techniques of this disclosure, and securely report the readings to another device. Additionally or alternatively, the detection device 110 may report other measurements or parameters such as the time the drug was delivered, the volume of drug delivered, any issues encountered during drug delivery, etc. The detection device 110 may be configured to provide data regarding the operation of the detection hardware 260 to a remote device.

[0033] The detection hardware 260 may be configured to perform any suitable combination of one or more medical and non-medical functions and may further include one or more detection components. The detection components may be configured to detect an operational state of the detection device 110 (e.g., unpacked / ready for administration, sterile barrier removed, contact with patient's body tissue, cannula and / or needle insertion, drug delivery initiated, actuator or button displacement, drug delivery completed, plunger position, fluid path occlusion, etc.), a state of the detection device 110 or a drug contained therein (e.g., temperature, shock or vibration exposure, exposure to light, drug color, drug turbidity, drug viscosity, geographic location, spatial orientation, time information, ambient pressure, etc.), and / or physiological information about the patient (e.g., body temperature, blood pressure, pulse or heart rate, blood glucose level, physical activity or movement, fingerprint detection, etc.). This detected information may be offloaded from the sensor control device 110 to facilitate storage and analysis, for example, to the data receiving device 120, the generic data receiving device 130, or the remote server 150. A sensor control device 110 implemented herein may be configured to receive encrypted data from other devices and to transmit encrypted data to other devices.

[0034] 2, the ASIC 200 of the sensor control device 110 may be configured to dynamically generate authentication and encryption keys using data held in the storage memory 230. The storage memory 230 may also be preprogrammed with a set of valid authentication and encryption keys for use with a particular class of device. The ASIC 200 may further use the received data to perform authentication procedures (e.g., handshakes, mutual authentication, etc.) with other devices and apply the generated keys to the sensitive data prior to transmission of the sensitive data, such as transmitting the sensitive data to the remote server 150 via the communication module 240. The generated keys may be specific to the sensor control device 110, specific to a pair of devices (e.g., specific to a particular pairing of the sensor control device 110 and the data receiving device 120), specific to a communication session between the sensor control device 110 and the other device, specific to a message sent during the communication session, or specific to a block of data contained within a message. Techniques implemented by the ASIC 200 and the communication module 240 of the sensor control device 110 are described in detail herein.

[0035] For purposes of illustration and not limitation, please refer to the exemplary embodiment of the data receiving device 120 for use with the disclosed subject matter shown in FIG. 3. FIG. 3 illustrates an exemplary data receiving device 120 conforming to the security and computing architecture described herein with respect to the exemplary embodiment. The data receiving device 120 implemented herein may include a small form factor device. The data receiving device 120 may optionally not be memory or processing power constrained as the sensor control device 110, and the data receiving device 120 implemented herein may include sufficient memory for software storage and data storage for operation, and sufficient RAM for execution of software for communicating with the sensor control device 110 described herein. As shown in FIG. 3, the data receiving device 120 includes an ASIC 300 including a microcontroller 310, a memory 320, and a storage 330, and communicatively coupled to a communication module 340. The ASIC 300 implemented herein may be identical to the ASIC 200 of the sensor control device 110. Alternatively, the ASIC 300 may be configured to include additional computing power and functionality. Power for the components of the data receiving device 120 may be provided by a power module 350, which may include a rechargeable battery as implemented herein, allowing for sustained operation and continued use.

[0036] Additionally, the data receiving device 120 may include a display 370 to facilitate viewing of analyte data received from the sensor control device 110 or other devices (e.g., the user device 140 or the remote server 150). The display 370 may be a power-efficient display having a relatively slow screen refresh rate to conserve energy usage and further reduce the cost of the data receiving device 120. The display 370 may be a low-cost touch screen that receives user input via one or more user interfaces. Although not shown, the data receiving device 120 may include separate user interface components (e.g., physical keys, light sensors, microphones, etc.). Power for the components of the data receiving device 120 may be provided by a power module 350, which may include a rechargeable battery as implemented herein, allowing for sustained operation and continued use.

[0037] In certain embodiments, the processor of the communications module 340, although shown as a separate component, may perform processing operations typically performed by the microcontroller 310 of the ASIC 300. Thus, to simplify the hardware required for the data receiving device 120, the ASIC 300 and the memory and other storage added to the communications module may be removed.

[0038] The communication module 340 may include a BLE 341 module and an NFC module 342. The data receiving device 120 may be configured to wirelessly couple to the sensor control device 110 and transmit commands and data to the sensor control device 110. The data receiving device 120 implemented herein may be configured to operate as an NFC scanner and a BLE endpoint via a specific module (e.g., BLE module 342 or NFC module 343) of the communication module 340 for the sensor control device 110 described herein. For example, the data receiving device 120 may issue commands (e.g., OTA programming commands) to the sensor control device 110 using a first module of the communication module 340 and transmit data (e.g., OTA programming data) to the sensor control device 110 using a second module of the communication module 340.

[0039] The data receiving device 120 implemented herein can be configured to communicate via a Universal Serial Bus (USB) module 345 of the communication module 340. The data receiving device 120 can communicate with the user device 140, for example, through the USB module 345. The data receiving device 120 can, for example, receive software or firmware updates via USB, receive bulk data via USB, or upload data to a remote server 150 via the user device 140. The USB connection can be authenticated at each plug event. The authentication can use, for example, a 2, 3, 4, or 5 pass design with different keys. The USB system can support a wide variety of different sets of keys for encryption and authentication. The keys can be aligned with differential roles (clinical, manufacturer, user, etc.). Sensitive commands that may leak security information can trigger authenticated encryption using an additional set of authenticated keys.

[0040] As another example, the communication module 340 can include, for example, a cellular radio module 344. The cellular radio module 344 can include one or more radio transceivers that communicate using a broadband cellular network, including, but not limited to, third generation (3G), fourth generation (4G), and fifth generation (5G) networks. The data receiving device 120 can use the cellular radio module 344 to communicate with a remote server 150 to receive analyte data or provide updates or inputs received from a user (via one or more user interfaces). In addition, although not shown, the communication module 340 of the data receiving device 120 can include a radio that communicates using a wireless local area network according to one or more of the IEEE 802.11 standards (e.g., 802.11a, 802.11b, 802.11g, 802.11n (aka Wi-Fi 4), 802.11ac (aka Wi-Fi 5), 802.11ax (aka Wi-Fi 6)).

[0041] Bluetooth Low Energy ("BLE") as used throughout this disclosure refers to a short-range communication protocol optimized to make pairing of Bluetooth devices easy for end users. The use of BLE in the sensor control device 110 described herein may optionally not rely on the standard BLE implementation of Bluetooth for security, but may instead use application layer encryption using one or more block ciphers to establish mutual authentication and encryption. The use of a non-standard encryption design implemented at the application layer has several advantages. One advantage of this method is that a user can complete pairing of the sensor control device 110 and the data receiving device 120 by NFC scanning alone, and without the need for additional user-provided input such as entering a security pin or confirming BLE pairing between the data receiving device and the sensor control device 110. Another advantage is that it eliminates the possibility of devices not in direct proximity of the sensor control device 110 inadvertently or intentionally pairing, since information used to assist in the pairing process, at least in part, is shared over a backup short-range communication link (e.g., NFC) over a short distance instead of over a long-range BLE channel. Furthermore, since BLE pairing and bonding schemes are not required, pairing of the sensor control device 110 can avoid implementation issues due to chip vendors or vulnerabilities in the BLE specification.

[0042] The on-board storage 330 of the data receiving device 120 as implemented herein can store analyte data received from the sensor control device 110 for an extended period of time. Additionally, the generic data receiving device 130 or the user computing device 140 as implemented herein can be configured to communicate with the remote server 150 over a wide area network. The sensor control device 110 as implemented herein can provide sensitive data to the data receiving device 120 or the generic data receiving device 130. The data receiving device 120 can transmit the sensitive data to the user computing device 140. The user computing device 140 (or the generic data receiving device 130) can in turn transmit the sensitive data to the remote server 150 for processing and analysis. When communicating with the remote server 150, the generic data receiving device 130 and the user computing device 140 can generate a unique user token according to authentication credentials entered by the user and stored on the respective devices. The authentication credentials can be used to establish a secure connection with the remote server 150 and, if necessary, to encrypt any sensitive data provided to the remote server 150. As implemented herein, the generic data receiving device 130 and the user computing device 140 are optionally not restricted in their use of processing power and can therefore use standard data encryption and transmission techniques when transmitted to the remote server 150.

[0043] As implemented herein, the data receiving device 120 may further include detection hardware 360 ​​that is similar to or extends from the detection hardware 260 of the sensor control device 110. By way of example only, and not of limitation, in an embodiment in which the detection hardware 260 of the sensor control device 110 is configured for continuous glucose monitoring, the detection hardware 360 ​​of the data receiving device 120 may be configured with a blood glucose meter compatible for use with blood glucose test strips, and thus extended to the blood glucose monitoring of the sensor control device 110.

[0044] FIG. 4 illustrates an exemplary embodiment for organizing data in a memory such as memory 220 or 243 of sensor control device 110. In a first embodiment, memory 400 is pre-arranged into a number of pre-allocated memory blocks or containers. The containers are pre-allocated to a fixed size. Containers 405a, 405b, and 405c can be considered to be in a non-programmable state if data has been written to them and memory 400 is a one-time programming memory or a memory with otherwise limited programming access. Containers 410a and 410b are the same size as containers 405a, 405b, and 405c, but have not yet been written to. Containers 410a and 410b are therefore currently considered to be in a programmable or writable state. Once containers 410a and 410b have been written to, they can be put into an unprogrammable or non-writable state. The use of fixed size containers can be advantageous, for example, to provide high portability of data blocks. By pre-allocating the size of data blocks, memory 400 can simplify the process of replacing code blocks or capturing new features. Additionally, in this manner, the system can determine the remaining number of times that can be added to memory 400 by counting the number of available containers. Containerizing memory 400 in this manner can improve the transportability of code and data written to memory 400. Containerizing memory 400 can also make memory 400 more resilient to unintentional errors, since code blocks can be written along memory boundaries. Thus, as described herein, software updates of devices stored in memory 400 (e.g., sensor control devices described herein) can be performed by replacing only the code in one or more specific pre-written containers with updated code written in one or more new containers, rather than replacing the entire code of the memory, as described herein.This can reduce or prevent the introduction of software, firmware, or memory errors. Containerization of memory 400 can also prevent data or instructions written to one or more previously written containers from being modified, such as data or instructions unrelated to the data or instructions being updated.

[0045] In a second embodiment, memory 450 is not pre-aligned. Instead, space allocated for data is dynamically allocated or determined as needed. The size of the programmed data can be tightly controlled, optionally speeding up memory usage. The programmed segment of memory 455 can be considered to be in an unprogrammable state. The segment of programmable memory 460 is unallocated and unwritten. To write data to the segment of programmable memory 460, the control unit, memory management unit, or other structure must first request that the control unit allocate a portion of the unallocated memory for writing. The control unit can specify the size of the memory to be allocated, optionally reducing or preventing wasted space, for example, when a code block is not directly aligned to the size of a pre-allocated container of memory. Small incremental updates can be issued, since containers of varying sizes can be defined when updates are expected. However, care must be taken to ensure that an adequate amount of memory is available for allocation when writing to memory, such as to expand device capabilities. If an update being pushed to a device (eg, a sensor control device described herein) is larger in size than the unallocated area 460 of memory 450, then the update may fail or be rejected.

[0046] 5 is a diagram illustrating an example operation and data flow of over-the-air (OTA) programming of memory of a sensor control device and use of the memory after OTA programming in execution of a process by the sensor control device in accordance with the disclosed subject matter. In the example OTA programming 500 shown in FIG. 5, a request is sent from an external device (e.g., data receiving device 130) to initiate OTA programming (or reprogramming). At 511, one or more of the communication modules 510 of the sensor control device (e.g., sensor control device 110) receive the OTA programming command. The communication module 510 transmits the OTA programming command to a control unit 530 of the sensor control device (e.g., microcontroller 210 of ASIC 200).

[0047] 5, at 531, after receiving the OTA programming command, the control unit 530 validates the OTA programming command. The control unit 530 may, for example, determine whether the OTA programming command is signed by a digital signature token associated with the manufacturer of the sensor control device or an agent authorized by the manufacturer. If the control unit 530 determines that the OTA programming command is valid, it may set the sensor control device into an OTA programming mode.

[0048] At 521, a second one or more of the communication modules 520 receives data used to reprogram the sensor control device from an external device. The data can be received from the same external device that sent the OTA programming command, but can additionally or alternatively be received from a different external device. The second communication module 520 transmits the OTA programming data to the control unit 530.

[0049] Referring to FIG. 5 , at 532, the control unit 530 may similarly validate the OTA programming data. Validating the OTA programming data may include determining whether the OTA programming data is signed with a digital signature token associated with the manufacturer of the sensor control device or an agent authorized by the manufacturer. In some embodiments, the digital signature token used to validate the OTA programming data may be the same digital signature token used to validate the OTA programming command. In some embodiments, different digital signature tokens may be used to further increase the security of the OTA programming procedure, for example, by using two digital signatures to secure the device. Additionally or alternatively, the OTA programming data may be encrypted using an encryption token and scheme that is pre-assigned and / or mutually agreed upon between the sensor control device and the external device.

[0050] At 533, after validating the OTA programming data, the control unit 530 may reset the sensor control device to reinitialize the sensor control device to a programming state. Resetting and reinitializing the sensor control device may reduce the occurrence of certain automatically programmed events that may, for example and without limitation, prevent or inhibit unauthorized identification and manipulation of the programming of the sensor control device. As an example, the sensor control device may periodically stop or prevent execution of certain commands when data is retrieved from or transmitted to the sensor control device. As another example, the sensor control device may enforce a communication session timeout such that a communication session that lasts longer than a threshold amount, which may be longer than the expected length of a normal communication session or burst, may be terminated as an error may be encountered, for example and without limitation. When data is provided for OTA programming, an operational or communication timeout may interrupt the writing of programming data that may render the sensor control device inoperable or malfunctioning. Upon completion, the sensor control device has transitioned to an OTA programming state.

[0051] 5 illustrates one embodiment of OTA programming 500 in which OTA programming commands and OTA programming data are received by one or more communication modules 510 and a second one or more communication modules 520, and subsequently relayed to a control unit 530. Additionally or alternatively, as implemented herein, the communication module 520 can be configured to wait to transmit the OTA programming data to the control unit 530 until after the control unit 530 completes verification of the OTA programming command. As another example, in certain embodiments, both the OTA programming data and the OTA programming commands can be received by the same communication module 510. The sensor control device can include a single communication module 510, or if more than one communication module 510 is provided, can be configured to only accept OTA programming commands or OTA programming data from only one or a particular one of the communication modules 510. As described herein, the first communication module can be configured to receive OTA programming commands from an external device, for example and without limitation, and as implemented herein, the first communication module can include an NFC receiver or transceiver. Additionally or alternatively, and as implemented herein, the first communication module can include a receiver or transceiver that complies with a Bluetooth protocol, which can be a BLE protocol. In certain embodiments, as described herein, the first one or more communication modules 510 can be compliant with a first communication protocol and the second one or more communication modules 520 can be compliant with a second communication protocol. For example, when the first communication module includes an NFC receiver or transceiver, the second communication module can include a receiver or transceiver that complies with a Bluetooth or BLE protocol. Similarly, when the first communication module includes a receiver or transceiver that complies with a Bluetooth or BLE protocol, the second communication module can include an NFC receiver or transceiver.

[0052] Once the sensor control device has transitioned to the OTA programming state, the control unit 530 can begin writing data to the rewritable memory 540 of the sensor control device at 534 and writing data to the OTP memory 550 of the sensor control device at 535. As described herein, the term OTP memory can refer to a memory that includes access restrictions and security to facilitate writing to a particular address or segment of the memory a predefined number of times. As described herein, the OTP memory can be configured as a so-called "one-time programmable memory" that can be programmable one time or up to one time or more up to a defined number of times. Additionally or alternatively, other embodiments of the memory that provide predefined instances of reprogramming are envisioned. The data written by the control unit 530 can be based on the enabled OTA programming data. For example, the control unit 530 can also write data to free or unused portions of the OTP memory 550. The control unit 530 can write data to mark one or more programming blocks or areas of the OTP memory 550 as invalid or inaccessible. Data written to free or unused portions of the OTP memory can be used to replace disabled or inaccessible programming blocks of the OTP memory 550.

[0053] In certain embodiments, the rewritable memory 540 of the sensor control device may include a programming manifest or profile of the software of the sensor control device. The programming manifest or profile may include a list of blocks of the OTP memory 550 or a list of blocks written to the OTP memory 550. The list may include an indication of which blocks are valid and which blocks are invalid or inaccessible. Thus, when executing code based on the OTP memory 550, the control unit 530 may refer to the list of blocks to determine which blocks to avoid. In certain embodiments, the programming manifest or profile may additionally or alternatively indicate which programming blocks of the OTP memory 550 follow each programming block. Then, when executing code based on the programming blocks of the OTP, the control unit 530 may use the programming manifest or profile to determine which blocks are used after a particular block or region, effectively skipping the invalidated blocks. In certain embodiments, the programming manifest or profile may additionally or alternatively identify the invalidated programming blocks and further identify the programming blocks that are indicated as replacements for the programming blocks. Such identification can be by reference, such that, for example, if a valid programming block references an invalid programming block, or code stored therein, the control unit 530 can determine that the valid programming block contains an outdated reference, and retrieve a replacement programming block (or code stored therein) instead, by referencing a programming manifest or profile. An illustrative embodiment of invalidating and replacing memory blocks consistent with the disclosed subject matter is shown below in FIG. 6.Identifying, such as by reference, the programming blocks that are replacing or replacing previously written programming blocks that have been overridden facilitates execution of the software instructions contained in both the new and existing programming blocks. When preparing the software instructions, the reference-based method can ensure that references or calls made to other programming blocks are resolved with the appropriate new programming blocks without updating every instance of the location of the now-overridden programming block.

[0054] After the control unit 530 writes the data to the respective memories at 534 and 535, the control unit 530 may perform one or more software integrity checks to ensure that errors in the programming blocks are not introduced during the write process. For example, the integrity checks may be performed on the newly written blocks of memory, the memory as a whole (or a rejected area of ​​memory encompassing multiple programming blocks), or on individual blocks of memory, such as the standard programming flow of the sensor control device (which may be defined in a programming manifest or profile). For example, the programming manifest may define a number of basic unit tests to be performed with the newly written data specifying the operations to be attempted and the expected results. In certain embodiments, the OTA programming data received at 532 may include an integrity check value associated with the OTA programming data, such as an integrity bit or checksum value (described herein). After writing the data to the OTP memory 550 at 535, the control unit 530 may calculate an integrity bit value or checksum value for one or more memory blocks and compare the calculated value to the value provided by the OTA programming data. If the values ​​correspond, then the control unit 530 can allow processing to continue. If the values ​​differ, then the control unit 530 can take one or more remedial actions, which can include, by way of example, attempting to rewrite the data (and invalidating memory blocks believed to contain errors), alerting a user that an error has occurred, or alerting an external device using one of the communication modules 510 and 520 that an error has occurred during the rewrite. Once the control unit 530 can determine that the data was written without error, the control unit 530 can resume standard operation of the sensor control device. For example, and as implemented herein, the control unit 530 can reset the sensor control device to cause the sensor control device to be reinitialized in a standard execution mode (e.g., different from a programming mode).

[0055] In the execution mode, the control unit 530 can retrieve a programming manifest or profile from the rewritable memory 540 at 536. The programming manifest or profile described herein can include a list of valid software programming blocks (or memory blocks in general) and can further include a guide for program execution of the sensor control device. By following the programming manifest or profile, the control unit 530 can determine memory blocks of the OTP memory 550 that are suitable for execution based on the current version of the software, and can further prevent execution of stale or invalid programming blocks or reference of stale data stored in invalid programming blocks. At 537, according to the guide provided in the programming manifest, the control unit 530 can selectively retrieve memory blocks from the OTP memory 550. At 538, the control unit 530 can use the retrieved memory blocks, such as by executing programming code stored in the memory or using variables, such as calibration parameters, stored in the memory during execution. The programming code stored in the memory may include new operations or functions of the sensor control device and components of the sensor control device defined by the OTA programming data and written into the memory blocks of the OTP memory. Executing the code may include using modified or updated algorithms associated with analyte sensors or other sensing hardware (e.g., medical hardware) of the sensor control device. The modified or updated algorithms may also affect the general operation of the sensor control device, such as power level regulation techniques or control software of the communication module. Execution of the retrieved memory blocks may cause the sensor control device to collect analyte data from a patient using sensing hardware, such as the analyte sensors of the sensor control device, analyze or otherwise process the analyte data, and further export, offload, or transmit the analyte data to an external device.In certain embodiments, analytes can include, by way of example and not limitation, glucose, ketones, lactate, oxygen, hemoglobin A1C, albumin, alcohol, alkaline phosphatase, alanine transminase, aspartate aminotransferase, bilirubin, blood urea nitrogen, calcium, carbon dioxide, chloride, creatinine, hematocrit, lactate, magnesium, oxygen, pH, phosphorus, potassium, sodium, total protein, uric acid, etc. In certain embodiments, the analyte data can also include other information about the patient, such as temperature, heart rate, blood pressure, or exercise data.

[0056] Prior to executing the code retrieved from the OTP memory 550 at 538, the control unit 530 may perform one or more integrity checks on the retrieved memory blocks. Similar to the integrity checks performed after writing to the memory blocks when in programming mode, the control unit 530 may perform integrity checks, for example, on individual blocks of memory, on the programming flow defined in the programming manifest or profile, or on the entire OTP memory 550. In certain embodiments, similar integrity checks may be performed on the rewriteable memory and the corresponding memory blocks. The integrity checks may be performed, for example, during a sensor control device initialization sequence, and the control unit 530 may refuse to enter the standard operating mode if an error is detected. The integrity checks may be performed, for example, the first time the memory blocks are retrieved from the rewriteable memory 540 or the OTP memory 550. The integrity checks may occur, for example, before execution of instructions in the memory blocks, may occur only at selected times, such as the first time an instruction is executed, or may occur every time the memory blocks are retrieved or the corresponding instructions are executed. The timing and repetition of the integrity checks may be defined, for example, in a programming manifest or profile, for the control unit 530. The timing and repetition of the integrity checks may be set according to principles that balance the security of the software used to collect, monitor, and export sensitive analyte data with the power consumption of the sensor control device (and thus the sensor control device battery life and overall service life).

[0057] FIG. 6 illustrates an exemplary demonstration of memory block management according to the subject matter of this disclosure. In particular, FIG. 6 illustrates an example of OTA programming according to the subject matter of this disclosure. FIG. 6 illustrates a first diagram 600a of a memory, such as a one-time programmable memory or memory with otherwise limited programming access. The memory includes three memory blocks or containers 605a, 605b, and 605c. As embodied herein, all of the containers 605a, 605b, 605c have been written with data and are therefore in a non-rewriteable or unprogrammable state. Such data may include, for example, operating code executed by the control unit or variables used during execution. The memory 600a further includes an unallocated region or segment 610. Because the segment 610 of the memory 600a is unallocated, the segment 610 is considered to be a programmable memory. A control unit, memory management unit, or other similar structure may issue commands to allocate and write portions of the segments of the programmable memory, and to render the portions of the segments of the programmable memory non-programmable. Figure 6 further shows a second view 600b of the programmable memory after a portion 605d of the segment of memory has become non-programmable. In addition, container 615 has been marked as invalid or inaccessible, indicating that this container or block of memory may be used by the control unit during execution.

[0058] Not shown in FIG. 1 is the manufacture of devices used in the analyte monitoring system 100, including the sensor control device 110, the data receiving device 120, and software or application programming interfaces that can be used by or with the remote server 150, the generic data receiving device 130, and other user devices 140. The manufacturer may choose to provide the necessary information and programming for the devices to communicate securely through secured programming and updates (e.g., one-time programming, encrypted software or firmware updates, etc.). For example, the manufacturer may provide information that can be used to generate encryption keys for each device, including a secure root key for the sensor control device 110 and optionally the data receiving device 120 that can be used in combination with device specific information and operational data (e.g., entropy-based random values) to generate encryption values ​​that are specific to the device, session, or data transmission, as needed. These encryption keys can be used, for example, to enable OTA programming commands and OTA programming data sent to the sensor control device 110 from external devices (e.g., the data receiving device 120, the generic data receiving device 130, the user device 140, etc.).

[0059] The manufacturer may infuse each sensor control device 110 with a unique identifier ("UID") and other identifying information, such as a manufacturer's identifier, a communications module and manufacturer's identifier, or other suitable identifying information of either the sensor or the sensor component. By way of example, the UID may be derived from sensor-specific data, such as a serial number assigned to each ASIC 200 incorporated into the sensor control device 110 by the ASIC vendor, a serial number assigned to the communications module 240 incorporated into the sensor control device 110 by the communications module vendor, a random value generated by the sensor manufacturer, etc. Additionally or alternatively, the UID may also be derived from manufacturing values, including the lot number of the sensor control device 110 or a component of the sensor control device, the date, date, or time of manufacture of the sensor control device 110 or the main component of the sensor control device, the manufacturing location, process, or line of the sensor or the main component of the sensor, and other information that may be used to identify when and how the sensor was manufactured. The UID may be accompanied by an encryption key and some generated random values ​​that are also unique to each sensor control device 110. A similar process can be used to establish the secure identity of the data receiving device 120 .

[0060] Because the data collected by the sensor control device 110 and exchanged between the sensor control device 110 and other devices of the analyte monitoring system 100 pertains to information about the user, the data is highly sensitive and advantageous to protect. Analyte data associated with a patient is at least in part sensitive data because this information can be used for a wide variety of purposes, including health monitoring and medication administration decisions. In addition to patient data, the analyte monitoring system 100 can exercise enhanced security against efforts by external parties to reverse engineer. The security architecture described herein can include various combinations of the control features described herein, including, but not limited to, protecting communications between devices, protecting proprietary information within components and applications, and protecting secrets and primary keying materials. Encryption and authentication as implemented herein can be used as exemplary technical controls to provide the protection features. Various components of the analyte monitoring system 100 as implemented herein can be configured to comply with security interfaces designed to protect the confidentiality, integrity, and availability ("CIA") of this communication and associated data. To address these CIA concerns, security features can be built into the hardware and software design of the analyte monitoring system 100.

[0061] As implemented herein, to promote data confidentiality, a communication connection between any two devices (e.g., the sensor control device 110 and the data receiving device 120) can be mutually authenticated before sensitive data is transmitted by either device. The communication connection can be encrypted with a device-specific or session-specific encryption key. The encryption parameters implemented herein can be configured to change for each data block of a communication.

[0062] As implemented herein, to protect the integrity of the data, encrypted communications between any two devices (e.g., the sensor control device 110 and the data receiving device 120) can be verified by a transmission integrity check built into the communication. By way of example, OTA programming data can be verified or validated by a transmission integrity check as described herein. Furthermore, data written to the memory of the sensor control device 110 can be verified or validated by an integrity check prior to execution. As implemented herein, session key information that can be used to encrypt communications can be exchanged between the two devices after each is authenticated. The integrity check can include, for example, an error detection or correction code, including, by way of example and not by way of limitation, a non-secure error detection code, minimum distance coding, repetition code, parity bit, checksum, cyclic redundancy check, cryptographic hash function, error correction code, and other methods suitable for detecting the presence of an error in a digital message.

[0063] Minimum distance coding as implemented herein includes random error correcting codes that provide strict guarantees on the number of detectable errors. Minimum distance coding includes selecting a codeword to represent a received value that minimizes the Hamming distance between the value and the representation. Minimum distance coding, or nearest neighbor coding, can be assisted using standard arrays. Minimum distance coding is considered useful when the probability of an error occurring is independent of the position of a given symbol and errors are considered to be independent events. These assumptions may be particularly applicable to transmission over binary symmetric channels.

[0064] Additionally or alternatively, a repetition code as embodied herein refers to a coding scheme that repeats bits across a channel to ensure that a communication message is received without error. Given a stream of data to be transmitted, the data is divided into blocks of bits. Each block is transmitted and retransmitted a fixed, pre-determined number of times. An error is detected if the transmissions of any of the repeated blocks are different.

[0065] Additionally or alternatively, a checksum as implemented herein is a value for a message or stored block of data based on the joint arithmetic sum of message code words of a fixed word length. The checksum can be derived from the entire block of data or a subset of the data. The checksum is generated using a checksum function or a cryptographic hash function configured to output a significantly different checksum value (or hash value) for minor changes in the target message. A parity bit is a bit that is added to a group of bits in a transmission to ensure that the count of a particular bit in the result is either even or odd. For example, a parity bit can be used to ensure that the number of bits with value 0 is odd. The parity bit can then detect a single error or a fixed number of repeating errors. Parity bits can be considered a special case of a checksum.

[0066] To further reduce or prevent unauthorized access to the analyte monitoring system 100 devices as embodied herein, the root key (e.g., a key used to generate a device-specific or session-specific key) may optionally not be stored on the sensor control device 110, but may be encrypted in storage by the remote server 150 or on another device with more computing power than the sensor control device 110 (e.g., the data receiving device 120). The root key as embodied herein may be stored in an obfuscated manner such that third parties cannot easily access the root key. The root key may also be stored in different states of encryption based on the storage location where it is stored. To facilitate data availability as embodied herein, the operation of the sensor control device 110 may be protected from unauthorized tampering during its service life, during which the sensor control device 110 may be configured to be disposable, for example, by restricting access to write functions to the memory 220 via the communication interfaces (e.g., BLE and NFC) as embodied herein. The sensor can be configured to allow access only to known devices (e.g., identifiers by MAC address or UID) or only to devices that can provide a predefined code associated with the manufacturer or an otherwise authenticated user. For example, access to the memory 220 read function can also be enforced, including when the read function attempts to access a particular area of ​​the memory 220 designated as secure or sensitive. Additionally, the sensor control device 110 can reject any communication connection request that does not complete authentication within a specified time to protect against certain denial of service attacks on the communication interface, including attempted man-in-the-middle (MITM) style attacks. Furthermore, the general authentication and encryption design described herein can aid in interoperability uses, where data from the sensor control device 110 can be made available to other "trusted" data receiving devices without being permanently bound to a single device.

[0067] As embodied herein, devices including the sensor control device 110 and the data receiving device 120 can each utilize a wide variety of security implementations to ensure confidentiality of data exchanged throughout a communication session and to facilitate associated devices discovering and establishing connections with trusted endpoints. By way of example, the sensor control device 110 can proactively identify and connect to trusted local area, wide area, or cellular broadband networks and further continuously verify the integrity of these connections. The sensor control device 110 can further reject and terminate connection requests if a requester fails to complete a proprietary login procedure through a communication interface within a predefined period of time (e.g., within 4 seconds). For example and without limitation, such configurations can further protect against denial of service attacks.

[0068] The sensor control device 110 and data receiving device 120 implemented herein can assist in the establishment of long-term connection pairs by storing encryption and authentication keys associated with other devices. For example, the sensor control device 110 or data receiving device can associate a connection identifier with the encryption and authentication keys used to establish a connection with another device. In this manner, the devices can quickly re-establish a dropped connection, at least in part because the devices can prevent the establishment of a new authentication pairing and can proceed directly to exchanging information via an encrypted communication protocol. After successful connection establishment, the devices can refrain from broadcasting the connection identifier and other information, establish a new connection, and communicate using an agreed upon channel hopping scheme to reduce the chances of a third party listening in on the communication.

[0069] Data transmission and storage integrity can be actively managed using on-chip hardware features. Encryption can provide a secure means of transmitting data in a tamper-proof manner, but encryption and decryption can be computationally expensive processes. Furthermore, transmission failures can be difficult to distinguish from attacks. As mentioned above, fast hardware-based error detection codes for data integrity can be used. By way of example, as implemented herein, an error detection code of appropriate size relative to the length of the message (e.g., 16-bit CRC) can be used, although other suitable hardware-based error detection codes can be used in accordance with the disclosed subject matter. Programming instructions that access, generate, or manipulate sensitive data can be stored in memory blocks or containers that are further protected by additional security measures, such as encryption.

[0070] The analyte monitoring system 100 implemented herein may utilize periodic key rotation to further reduce the likelihood of key agreement and development. The key rotation method utilized by the analyte monitoring system 100 may be designed to ensure backward compatibility of field-deployed or distributed devices. As an example, the analyte monitoring system 100 may utilize keys for downstream devices (e.g., devices that are in the field or cannot conveniently provide updates) that are designed to be compliant with multiple generations of keys used by the upstream devices. Additionally, and in accordance with the subject matter herein, keys may be securely updated by invalidating memory blocks that contain expired keys that are replaced by data written to new memory. Key rotation may be initiated by the manufacturer or operator of the analyte monitoring system 100. For example, the manufacturer or operator of the analyte monitoring system 100 may generate a new set of keys or define a new set of procedures for generating keys. During the manufacture of sensors 110 that are intended to use a new set of keys, the manufacturer may propagate the new set of keys to the newly manufactured sensors 110. The manufacturer can also push updates to deployed devices in communication with the remote server 150 to extend new sets of keys or sets of procedures for generating keys to deployed devices. As a further alternative, key rotation can be based on an agreed-upon schedule, in which case the devices are configured to adjust the keys used according to some time-driven or event-driven function.

[0071] In addition to the specific embodiments claimed below, the disclosed subject matter is also directed to other embodiments having any other possible combinations of the dependent features claimed below and the features disclosed above and in the accompanying figures. Thus, the specific features disclosed herein can be combined with each other in other ways within the scope of the disclosed subject matter, such that the disclosed subject matter is understood to be specifically directed to other embodiments having any other possible combinations. Thus, the foregoing description of specific embodiments of the disclosed subject matter has been presented for purposes of illustration and description. It is not intended to be exhaustive or to limit the disclosed subject matter to the disclosed embodiments.

[0072] Embodiments disclosed herein include the following.

[0073] Embodiment A. A sensor control device including one or more processors, an analyte sensor, a communications module, and one or more memories communicatively coupled to the one or more processors, the communications module, and the analyte sensor, where the one or more memories include a plurality of storage blocks, the plurality of storage blocks including a first set of storage blocks in a non-programmable state and a second set of blocks in a programmable state, the one or more processors configured to receive instructions using the communications module to write program data to a second storage block from the second set of storage blocks in the programmable state to place the second storage block in a non-programmable state and to write marking data marking the first storage block from the first set of storage blocks in the non-programmable state as inaccessible, the program data written to the second storage block including instructions that, when executed by the one or more processors, cause the one or more processors to process analyte data received from the analyte sensor.

[0074] Embodiment A may have one or more of the following additional elements in any combination: element 1, where the multiple storage blocks of memory are dynamically allocated memory storage blocks; element 2, where the memory is integral to the communications module; element 3, where the memory is separate from the communications module; element 4, where the memory is a one-time programmable memory where data cannot be overwritten once it is written to the memory; element 5, where the program data written to the second storage block further includes instructions related to characteristics of the sensor control device, detection and calculation algorithms, or calibration data for the analyte sensor; and element 6, where prior to writing the marking data to the memory: The sensor control device receives a signed command using the communication module, the command being signed using an encryption key and further entering a programming mode; element 7, where the instruction is received as part of a communication session secured using a shared encryption key; element 8, where the communication module conforms to a first communication protocol and the sensor control device further includes a second communication module conforming to a second communication protocol; element 9, where the sensor control device receives a command to enter a programming state via the second communication module before the one or more processors write the marking data to the memory; element 10, where one of the first communication protocol and the second communication protocol is Bluetooth Low Energy.and wherein one of the first and second communication protocols is near field communication; element 11, wherein the one or more processors are further configured to perform one or more integrity checks of the memory before executing instructions of the program data written to the second storage blocks; element 12, wherein the one or more integrity checks include performing an integrity check on each storage block of the first set of storage blocks; element 13, further comprising a rewriteable memory communicatively coupled to the one or more processors, the communications module, and the analyte sensor, wherein the program data to be written to the second storage blocks is initially written to the rewriteable memory; and element 14, wherein the one or more processors are configured to read the program data written to the storage blocks of the first set of storage blocks based on a profile stored in the rewriteable memory. and executing instructions in the program data, element 15, where the step of writing marking data to memory marking the first storage block as inaccessible includes modifying the profile stored in the rewritable memory; element 16, where the sensor control device is configured to reinitialize to an updated compliant state before the one or more processors write marking data to memory marking the first storage block as inaccessible; and element 17, where the analyte sensor is configured to generate analyte data, the analyte data indicating a level of an analyte in the patient's bodily fluid using the analyte sensor; and processing the analyte data received from the analyte sensor includes analyzing the analyte data using the program data written to the storage blocks of the first set of storage blocks, and transmitting the analyte data to an external device using the communications module.

[0075] Embodiment B. A method comprising: receiving, by one or more processors of the sensor controlling device using a communication module of the sensor controlling device communicatively coupled to the one or more processors, the communication module, and a memory of the sensor controlling device communicatively coupled to the analyte sensor, the memory including a plurality of storage blocks, the plurality of storage blocks including a first set of storage blocks in a non-programmable state and a second set of blocks in a programmable state; writing, by the one or more processors, program data to a second storage block from the second set of storage blocks in the programmable state to place the second storage block in a non-programmable state; writing marking data to the memory marking the first storage block from the first set of storage blocks in the non-programmable state as inaccessible; and processing, by the one or more processors, the analyte data received from the analyte sensor based on execution of instructions stored in the program data written to the second storage block.

[0076] Embodiment C. A computer-readable non-transitory storage medium comprising instructions configured to perform operations when executed by one or more processors of a sensor control device including receiving, by one or more processors using a communication module of the sensor control device communicatively coupled to the one or more processors, instructions to write marking data to a memory of the sensor control device communicatively coupled to the one or more processors of the sensor control device, the communication module, and the analyte sensor, the memory including a plurality of storage blocks, the plurality of storage blocks including a first set of storage blocks in a non-programmable state and a second set of blocks in a programmable state; writing, by the one or more processors, program data to a second storage block from the second set of storage blocks in the programmable state to place the second storage block in a non-programmable state; writing, by the one or more processors, marking data to the memory marking a first storage block from the first set of storage blocks in the non-programmable state as inaccessible; and processing, by the one or more processors, the analyte data received from the analyte sensor based on execution of instructions stored in the program data written to the second storage block.

[0077] It will be apparent to those skilled in the art that various modifications and variations can be made in the methods and systems of the disclosed subject matter without departing from the spirit or scope of the disclosed subject matter, and therefore it is intended that the disclosed subject matter includes modifications and variations that come within the scope of the appended claims and their equivalents. [Explanation of symbols]

[0078] 100 Sample Monitoring System 110 Sensor Control Device 120 Data Receiving Device 130 General-purpose data receiving device 140 User Devices 150 Remote Server

Claims

1. A sensor control device, comprising: one or more processors; an analyte sensor; A communication module; one or more memories communicatively coupled to the one or more processors, the communications module, and the analyte sensor; Equipped with the one or more memories include a plurality of storage blocks, the plurality of storage blocks including a first set of storage blocks in a non-programmable state and a second set of blocks in a programmable state; the one or more processors are configured to receive, using the communications module, instructions to write program data to a second storage block from a second set of storage blocks in the programmable state, place the second storage block in the non-programmable state, and receive instructions to write marking data to the memory to mark a first storage block from the first set of storage blocks in the non-programmable state as inaccessible; the program data written to the second storage block includes instructions that, when executed by the one or more processors, cause the one or more processors to process analyte data received from the analyte sensor. Sensor control device.

2. The sensor control device of claim 1 , wherein the plurality of storage blocks of memory are dynamically allocated memory storage blocks.

3. The sensor control device of claim 1 , wherein the memory is integrated with the communication module.

4. The sensor control device of claim 1 , wherein the memory is separate from the communication module.

5. The sensor control device of claim 1 , wherein the memory is a one-time programmable memory in which once data has been written to the memory, the data cannot be overwritten.

6. The sensor control device of claim 1 , wherein the program data written to the second storage block further includes instructions regarding characteristics of the sensor control device, detection and calculation algorithms, or calibration data for the analyte sensor.

7. Before writing the marking data to the memory, the sensor control device: receiving, using the communications module, a signed command signed using a cryptographic key; Enter programming mode, The sensor control device of claim 1 .

8. The sensor control device of claim 1 , wherein the instructions are received as part of a communications session secured using a shared encryption key.

9. The communication module conforms to a first communication protocol, and the sensor control device further includes a second communication module conforming to a second communication protocol. The sensor control device of claim 1 .

10. The sensor control device of claim 9 , wherein the sensor control device receives a command to enter a programming state via the second communication module before the one or more processors write the marking data to the memory.

11. The sensor control device according to claim 9 , wherein one of the first communication protocol and the second communication protocol is Bluetooth Low Energy, and one of the first communication protocol and the second communication protocol is short-range wireless communication.

12. The sensor control device of claim 1 , wherein the one or more processors are further configured to perform one or more integrity checks of the memory before executing instructions of the program data written to the second storage block.

13. The sensor control device of claim 12 , wherein the one or more consistency checks include performing a consistency check on each storage block of the first set of storage blocks.

14. 2. The sensor control device of claim 1, further comprising a rewritable memory communicatively coupled to the one or more processors, the communications module, and the analyte sensor, wherein program data to be written to the second storage block is first written to the rewritable memory.

15. The sensor control device of claim 14 , wherein the one or more processors execute instructions of the program data written to the storage blocks of the first set of storage blocks based on a profile stored in the rewritable memory.

16. The sensor control device of claim 15 , wherein writing marking data to the memory to mark the first storage block as inaccessible includes modifying the profile stored in the rewritable memory.

17. The sensor control device of claim 1 , wherein the sensor control device is configured to reinitialize to an updated compliant state before the one or more processors write marking data to the memory marking the first storage block as inaccessible.

18. the analyte sensor is configured to generate the analyte data, the analyte data indicative of a level of an analyte in a bodily fluid of a patient using the analyte sensor; Processing the analyte data received from the analyte sensor includes: analyzing the analyte data using the program data written to the storage blocks of the first set of storage blocks; transmitting the analyte data to an external device using the communications module; The sensor control device of claim 1 .

19. receiving, by one or more processors of a sensor control device, using a communication module of the sensor control device communicatively coupled to the one or more processors, instructions to write marking data to a memory of the sensor control device communicatively coupled to the one or more processors of the sensor control device, the communication module, and an analyte sensor, the memory including a plurality of storage blocks including a first set of storage blocks in a non-programmable state and a second set of blocks in a programmable state; writing, by the one or more processors, program data to a second storage block from a second set of storage blocks in the programmable state to place the second storage block in the non-programmable state; writing, by the one or more processors, marking data to the memory to mark a first storage block from the first set of storage blocks in the non-programmable state as inaccessible; processing, by the one or more processors, analyte data received from the analyte sensor based on execution of instructions stored in the program data written to the second storage block; A method comprising:

20. A computer-readable non-transitory storage medium containing instructions configured to perform operations when executed by one or more processors of a sensor control device; The operation, receiving, by the one or more processors, instructions using a communication module of the sensor control device communicatively coupled to the one or more processors, to write marking data to a memory of the sensor control device communicatively coupled to the one or more processors, the communication module, and an analyte sensor of the sensor control device, the memory including a plurality of storage blocks including a first set of storage blocks in a non-programmable state and a second set of blocks in a programmable state; writing, by the one or more processors, program data to a second storage block from a second set of storage blocks in the programmable state to place the second storage block in the non-programmable state; writing, by the one or more processors, marking data to the memory to mark a first storage block from the first set of storage blocks in the non-programmable state as inaccessible; processing, by the one or more processors, analyte data received from the analyte sensor based on execution of instructions stored in the program data written to the second storage block; 1. A computer-readable non-transitory storage medium comprising:

Citation Information

Patent Citations

  • Micro-control unit, control method thereof and firmware upgrading method thereof

    CN113094071A

  • Microcomputer with built-in otp memory for controlling internal combustion engine

    JP1996161223A

  • Apparatus, systems, and methods associated with specimen monitoring devices, as well as devices incorporating them.

    JP2016517601A

  • Patching of Programmable Memory

    US20150046630A1

  • Secure patch updates for programmable memories

    US20170090909A1