The present methods and systems relate to communications between wireless modules and a network, and more particularly, to efficient methods and systems for supporting secure, efficient, and flexible communications using Internet Protocol networks, where a server can communicate with both a “machine-to-machine” modules and an application.
The combination of “machine-to-machine” (M2M) communications and using low-cost sensors, Internet connections, and processors is a promising and growing field. Among many potential benefits, M2M technologies allow the remote monitoring of people, assets, or a location where manual monitoring is not economic, or costs can be significantly reduced by using automated monitoring as opposed to manual techniques. Prominent examples today include vending machines, automobiles, alarm systems, and remote sensors. Fast growing markets for M2M applications today include tracking devices for shipping containers or pallets, health applications such as the remote monitoring of a person's glucose levels or heartbeat, monitoring of industrial equipment deployed in the field, and security systems. Many M2M applications leverage either wired Internet connections or wireless connections, and both types of connections continue to grow rapidly. M2M applications may also be referred to as “the Internet of things”.
M2M communications can provide remote control over actuators that may be connected to a M2M device, such as turning on or off a power switch, locking or unlocking a door, adjusting a speed of a motor, or similar remote control. A decision to change or adjust an actuator associated with an M2M device can utilize one or a series of sensor measurements. An M2M device may also be referred to as a “wireless module” or also simply a module. As one example, if a building or room is too cold, then temperature can be reported to a central server by an M2M device and the server can instruct the M2M device to turn on a switch that activates heat or adjusts a thermostat. As the costs for computer and networking hardware continue to decline, together with the growing ease of obtaining either wired or wireless Internet access for small form-factor devices, the number of economically favorable applications for M2M communications grows.
Many M2M applications can leverage wireless networking technologies. Wireless technologies such as wireless local area networks and wireless wide area networks have proliferated around the world over the past 15 years, and usage of these wireless networks is also expected to continue to grow. Wireless local area network (LAN) technologies include WiFi and wireless wide area network (WAN) technologies include 3rd Generation Partnership Project's (3GPP) 3rd Generation (3G) Universal Mobile Telecommunications System (UMTS) and 4th Generation (4G) Long-term Evolution (LTE), LTE Advanced, and the Institute of Electrical and Electronics Engineers' (IEEE) 802.16 standard, also known as WiMax. The use of wireless technologies with “machine-to-machine” communications creates new opportunities for the deployment of M2M modules in locations without fixed-wire Internet access, but also creates a significant new class of problems that need to be solved. First, many wireless wide-area networking standards were designed and optimized for mobile phones, which may be continuously connected to the network during the day (i.e. non-sleeping hours for most subscribers while they may charge phones at night), in order to receive inbound phone calls and messages. In this case, the radio may be in an idle state but utilizing discontinuous reception, but the radio is still active and drawing power in order to receive and process incoming signaling from the network such as a Public Land Mobile Network (PLMN). A need exists in the art to make wireless M2M communications efficient in order to conserve battery life and radio-frequency spectrum resources.
Since the packets transmitted and received by a wireless module will likely traverse the public Internet for many applications, a need exists in the art to (i) prevent eavesdropping at intermediate points along the path of packets transmitted and received, (ii) allow endpoints to verify the identity of the source of packets received. A need exists in the art for a wireless module and a monitoring server to leverage established public key infrastructure (PKI) techniques and algorithms. A need exists in the art for communication to be secured without requiring the established, but relatively processing, bandwidth, and energy intensive security protocols, such as IPSec, Transport Layer Security (TLS), and Secure Socket Layer (SSL). The establishment of theses links requires extra overhead in the form of packet handshakes and/or key exchanges at levels including the network and transport layer of the traditional Open Systems Interconnection (OSI) model. M2M applications frequently require small, periodic messages sent between a wireless module and a monitoring server, where the wireless module sleeps between the messages. M2M applications may leverage wired modules as well which also sleep between messages. During relatively long periods of sleep such as 30 minutes or more, the a wireless or wired network with intermediate firewalls will often tear down the network and/or transport layer connections, which means the wireless module would need to re-negotiate or reestablish the secure tunnels each time the wireless module wakes and seeks to send a relatively small message to a server. A need exists in the art for supporting established security protocols with an external application, without requiring them to be implemented on a module due to the relatively long periods of sleep and other complexities from inactivity in the module.
Next, a need exists in the art for the communication between a module and a monitoring server to be highly energy and bandwidth efficient in order to reduce energy consumption over the operating lifetime of a module. A limiting factor for a wireless module for M2M applications deployed or installed into the field is the lifetime of the battery of the wireless module. If the transmission techniques for the wireless module are not energy efficient, the system will require more frequent manual intervention for the replacement or recharging of batteries. If the battery becomes sufficiently low, then communication with the wireless module will be lost, or the frequency would have to be reduced for sensor measurements sent by the wireless module or actuator commands sent by a monitoring server. The energy saving techniques for transmitting and receiving data should leverage established Internet protocols, in order to utilize the public Internet, in addition to the need for secure communications noted above. For wired modules operating for years or decades, a significant cost will be the power consumed from land-line power.
Further, a need exists in the art for the secure, energy efficient communications that support Internet protocols to support intermediate firewalls that may exist along the path of packets sent and received by both a wireless module and a monitoring server. Without support for communication through an intermediate firewall, packets may be blocked by the firewall and the M2M application would not properly function in this case. A need exists in the art for techniques of secure and energy-efficient communications between modules and monitoring servers to support a wide variety of manufacturers of modules and M2M applications. Currently, there are dozens of manufacturers and form-factors of modules, and this diversity will continue to increase for the foreseeable future. By leveraging standards such as the Internet and PKI technologies, an efficient, secure, and highly scalable system of communicating could support the wide variety of modules.
In addition, the utilization of PKI technologies in modules can increase security, but a number of technical challenges must be addressed. These challenges increase if a deployed module required updated private/public key pairs after operation begins. The typical paradigm of “swapping out a SIM card” (which also depend on a pre-shared secret key Ki embedded in the card) with mobile phones may not be applicable or cost effective with modules, where swapping out the SIM card could be burdensome. A need exists in the art to allow for a deployed module to securely and automatically begin using new private and public keys (i.e. without human intervention such as swapping out a SIM card). Newer PKI technologies may offer a wide variety of algorithms for ciphering with public keys, and a need exists in the art for the utilization of new public and private keys to support the wide variety of algorithms, even after a module has been installed. In other words, a system should preferably both be highly secure and also flexible enough to adopt new security keys and standards. A need exists in the art for a scalable and secure method of associating a module identity with a module public key, when the module begins utilizing a new public key. A need exists in the art for a module to efficiently be able to utilize multiple public/private key pairs at the same time, such as with different service providers or different applications simultaneously.
Another desirable feature is for an M2M module to efficiently and securely communicate with applications. Applications can include a web-based interface for users to view status or input settings for a plurality of modules, and the modules may be associated with an M2M service provider. However, a set of PKI algorithms, keys, and communication protocols within used by the module for efficient communications module may not be directly compatible with an application. As one example, the application on a web server may prefer to use a transport layer security (TLS) protocol with transmission control protocol (TCP) datagrams, while for energy efficiency and to conserve battery life, an M2M module may prefer to use user datagram protocol (UDP). A need exists in the art for an intermediate server to securely translate secure communications to/from a module into secure communication from/to an application. As another example, it would be desirable for a module to support elliptic key cryptography (ECC), while the application may support RSA-based cryptography, and therefore a need exists in the art for a server to securely translate between the two cryptographic methods, thereby allowing the M2M module to communicate with the application.
And other needs exist in the art as well, as the list recited above is not meant to be exhaustive but rather illustrative.
Methods and systems are provided for secure and efficient communication using a server to communicate with modules and an application. The modules and application can support “Machine to Machine” communications. The methods and systems contemplated herein can also support other applications as well, including mobile phone handsets connecting to a wireless network. An objective of the invention is to address the challenges noted above for securing the deployment of modules that utilize PKI algorithms and keys, as well as increasing efficiency in order to reduce power consumption, including extending the battery life of a module, if present. More efficient communication can also conserve valuable radio-frequency spectrum, among other benefits. Using a server for secure and reliable communication of data between an application and a module can increase the value and usefulness of modules for a user.
An exemplary embodiment may take the form of methods and systems for a server to securely receive data from a module and forward the data to an application server, and an application may operate on the application server. The application can include a graphical user interface for a user to visually see reports and/or control modules. The module, server, and application can preferably include a set of cryptographic algorithms for use in sending and receiving data. The cryptographic algorithms can include asymmetric ciphering algorithms, symmetric ciphering algorithms, secure hash algorithms, digital signature algorithms, key pair generation algorithms, a key derivation function, and/or a random number generator.
The module can utilize the set of cryptographic algorithms to securely generate or derive a module private key and a module public key. The module private key and module public key can be generated either (i) upon initial use or installation of the module, or (ii) at a subsequent time after initial use such as when a new set of key pairs are required or are useful for continued operation of the module. After deriving the module public key and module private key, the module private key is preferably recorded in a secure or protected location in a nonvolatile memory within the module. The module may then utilize the recorded pre-shared secret key to authenticate with a server that also records or has access to the pre-shared secret key. The authentication could comprise either using message digest with the pre-shared secret key, or using the pre-shared secret key as a symmetric ciphering key, and the authentication may also utilize a second key derived by both the module and the server using the pre-shared secret key. After authentication, the server can authoritatively record the derived module public key with the module identity in a database. Thus, the use of a pre-shared secret key can ensure the submitted module public key is validly associated with the module and module identity. The module can be associated with a monitored unit and the module can use a sensor to collect data regarding the monitored unit. The module may also optionally include an actuator for controlling a state of the monitored unit, although the actuator may optionally be omitted.
The server can include a private key associated with the server and the derived public key associated with the module. The server public key can leverage established public key infrastructure (PKI) standards, such as X.509 v3 certificates and RSA or elliptic curve cryptography (ECC) algorithms and include a digital signature from a certificate authority. The server can use a module controller and an operating system plus a connection to the Internet to monitor a socket for incoming messages from a module. After receiving the module public key, including potentially after a period of sleep or dormancy by the module, the server can receive a message, where the message includes a module identity and a module encrypted data. The module encrypted data can include a server instruction, a security token, and additional data such as a sensor measurement. The server can decrypt the module encrypted data using the received module public key and extract plaintext data from the module encrypted data.
The server can establish a secure connection with the application server using a secure connection setup, which could comprise the initial handshake messages for a transport-layer security protocol such as transport layer security (TLS) or IPSec. The secure connection setup can include the transfer of a server public key and an application server public key. The server can send an application message to the application server using a secure connection data transfer, where the application message includes data received from the module such as a sensor measurement or sensor data. The server can use (i) an RSA-based asymmetric ciphering algorithm and first public key with the application server to securely transfer a first symmetric key to the application server, and (ii) an ECC-based asymmetric ciphering algorithm and second public key with the module to securely transfer a second symmetric key to the module. The server may also preferably use a transmission control protocol (TCP) with the application server and a user datagram protocol (UDP) with the module. The application message to the application server can include a server identity, an encrypted update instruction, and the sensor data. The sensor data may also include a sensor identity. The server can use a first Internet protocol address and port (IP:port) number for receiving the message from the module and a second IP:port number for sending the application message to the application server. The application server can record the sensor data in an application database for subsequent processing and analysis for a user or other business or commercial needs.
In another embodiment, the module may be deployed within a wireless network such as a 4G LTE network or a WiFi network. The module can change state between a sleep state and an active state, wherein the sleep state may utilize a few milliwatts or less and the active state, including transmission of radio signals, may utilize several hundred milliwatts of power or more. After being installed next to a monitored unit, the wireless module can wake from a sleep or dormant state, utilize a sensor to collect data associated with the monitored unit, connect to the wireless network and the Internet, and send the sensor data to a server. During an active period, the module can use a UDP IP:port number to both send a message to the server and receive a response to the server. The message as a UDP datagram can be a UDP Lite datagram and with a checksum only applied to the packet header. A UDP Lite datagram with sensor data can include channel coding for the body of the datagram to mitigate the effect of bit errors. Or, a regular UDP packet could be sent in multiple copies in order to provide forward error correction.
In another embodiment of the present invention, the application server may send an application message to the server using a secure connection data transfer. The application message could be encrypted using a first server public key and could include a module identity and a module instruction. The module instruction can include an actuator setting, and also optionally an actuator identity (since the module may include multiple actuators). The server can decrypt encrypted data within the application message and record the module identity and module instruction in memory or a module database. Since the module can transition between periods of sleep and active states to conserve power, after receiving the application message the server can wait until a next message is received from the module with the module identity before sending the module instruction in a response. After waiting for the next message, the server can send the module instruction to the module in a server encrypted data using a second server public key. The first and second server public keys can use different cryptographic algorithms that are not directly compatible (i.e. the first server public key could be RSA-based and the second server public key could be ECC-based).
In another embodiment, the server can securely send the module a set of parameters, where the set of parameters includes values to define an equation for an elliptic curve. The values could comprise constants and variables such that the module can calculate a new elliptic curve, and the elliptic curve can be different than standard, published curves. The set of parameters could be sent from the server to the module in a server encrypted data, where the server encrypted data was processed using any of (i) a first module public key, (ii) a symmetric key, and (iii) a shared secret key. The module can use the set of parameters, a random number generator, and a key generation function within a cryptographic algorithms in order to generate a new key pair, which could comprise a second module public key and a second module private key. The module can securely and/or authoritatively send the second module public key to the server, where the security includes the use of the first module public key and/or the shared secret key.
Continuing with this embodiment, after the server confirms the proper receipt of the second module public key in a response message, the server and the module can begin secure communications between them using the second module public key. By using this exemplary embodiment, security can be further increased with the server and module using an elliptic curve that can be unique, non-standard, or defined between them and security therefore increased. In this exemplary embodiment, the parameters to define the elliptic curve equation are sent securely to the module, so an observer along the flow of data could not observe the elliptic equation being used with a public key.
In yet another embodiment, the server can receive a first message with a module identity and a module encrypted data, where the first module encrypted data includes a first sensor measurement. The server can use a first module public key associated with a first module public key identity to decrypt the first module encrypted data. As one example, (a) the first module encrypted data could be ciphered with a symmetric key, and (b) the symmetric key could have been communicated using the first module public key (including using the first module public key to verify a module digital signature in a session where the symmetric key was transferred), and therefore (c) the module encrypted data could be encrypted using the first module public key. The server can also use a first server public key to decrypt the first module encrypted data, such as the symmetric key being derived using both the first module public key and the first server public key and a key derivation function within a cryptographic algorithms. The server can extract the first sensor measurement and send the data to an application server in an application message. The application message could be encrypted using a second server public key. The first and second server public keys can be different because they could each be associated with a different algorithm or defining equation.
Continuing with this embodiment, the server can send a module instruction and a set of parameters to the module, where the module is instructed to derive a new set of keys, and the module can subsequently derive a second module public key and a second module private key after receiving the module instruction. The module can then send the second module public key, a second module public key identity, and the module identity to the server. The server can receive a second module encrypted data that includes a second sensor data, where the second sensor data is encrypted using the second module public key. As one example, (a) the second module encrypted data could be ciphered with a symmetric key, and (b) the symmetric key could have been communicated using the second module public key (including using the second module public key to verify a module digital signature in a session where the symmetric key was transferred), and therefore (c) the module encrypted data could be encrypted using the second module public key. The server can extract the second sensor data using the second module public key. The server can use the second server public key to send a second application message with the second sensor data to the application server. Note that the module public key can change, but both (i) the second server public key used with the application server and also (ii) keys associated with the application server did not change. In this manner according to this embodiment, a module can derive a new public and private key while a server and application server can continue to communicate using existing public and private keys.
In another embodiment, the application server can use a module public key and an asymmetric ciphering algorithm to encrypt a module instruction. The application server can also include a digital signature of the module instruction using the application server private key. The encrypted module instruction and digital signature can be sent to a server in an application message, and the application message can also include an identity of the application server. The server can wait until a message is received from a module, and then send the encrypted module instruction and digital signature to the module in a response. The module can read receive the response, read the identity of the application server, select a public key of the application server, verify the digital signature of the module instruction, and decrypt the module instruction using the module private key. The module can then apply the module instruction and send a message with a confirmation. In this manner, the module may receive instructions from the application that are not decrypted by the server.
These as well as other aspects and advantages will become apparent to those of ordinary skill in the art by reading the following detailed description, with reference where appropriate to the accompanying drawings.
Various exemplary embodiments are described herein with reference to the following drawings, wherein like numerals denote like entities.
a is a flow chart illustrating exemplary steps for a server to process a message, including verifying a module's identity and decrypting data, in accordance with exemplary embodiments;
If module 101 operates as a wireless module, module 101 and wireless network 102 can communicate using a base station 103. Module 101 and wireless network 102 can utilize a variety of wireless technologies to communicate, including WiFi, WiMax, a 2nd generation wireless wide area network (WAN) technology such as General Packet Radio Services (GPRS) or Enhanced Data rates for GSM Evolution (EDGE), 3rd Generation Partnership Project (3GPP) technology such as 3G, 4G LTE, or 4G LTE Advanced, and other examples exist as well. A wired module 101 can connect to the Internet 107 via a wired connection such as an Ethernet, a fiber optic, or a Universal Serial Bus (USB) connection (not shown).
Generally, the communication techniques described herein can be independent of the network technologies utilized at the physical and data-link layers, so long as the underlying network provides access to the Internet 107 and supports Internet Protocols (IP). The Internet 107 can be an IPv4 or an IPv6 packet-switched based network that utilizes standards derived from the Internet Engineering Task Force, such as RFC 786 (User Datagram Protocol), RFC 793 (Transmission Control Protocol), and related protocols. The Internet 107 can be the public Internet comprising globally routable IP addresses, or a private network that utilizes private IP addresses. Although Internet 107 is illustrated as the globally routable public Internet in
When operating in a wireless network configuration, module 101 can access the Internet 107 via the wireless network 102. In the wireless network configuration, module 101 can be a wireless handset, a cellular phone, a smartphone, a tablet computer, a laptop, a computer with a radio, a tracking device, or a circuit board with a radio that accesses wireless network 102. Examples of wireless modules that utilize a wireless WAN such as 2G and 3G networking technologies include the Motorola® G24-1 and Huawei® MC323. Example manufacturers of wireless modules in 2012 include Sierra Wireless® and Telit®. In a wired configuration (not shown), module 101 can be a computer, security camera, security monitoring device, networked controller, etc. A more detailed depiction of exemplary components of a module 101 is included in
Wireless network 102 may comprise either a wireless local area network (LAN) such as an 802.11 WLAN, Bluetooth, or Zigbee among other possibilities, and module 101 operating in wireless mode could communicate with a base station 103 of a wireless network 102 using a radio and an antenna. Wireless network 102 could operate as a Mode II device according to FCC Memorandum Opinion and Order (FC-12-36) and related white space regulation documents. If module 101 supports IEEE 802.15.4, then wireless network 102 could be a Zigbee network, an ISA100.11a standards-based network, or a 6LoWPAN network as described by IETF RFC 4944. Other possibilities exist as well for the wireless technology utilized by a wireless network 102 and module 101, operating in a wireless mode, without departing from the scope of the present invention.
Module 101 can collect data regarding a monitored unit 119 and periodically report status to an M2M service provider 108 or a server 105. Examples of a monitored unit 119 can include a vending machine, an alarm system, an automobile or truck, a standard 40-foot or 20-foot shipping container, or industrial equipment such as a transformer on an electrical grid or elevator in a building. Additional examples of a monitored unit 119 include can also include a pallet for shipping or receiving goods, an individual box of pharmaceuticals, a health monitoring device attached to a person such as a pacemaker or glucose monitor, and a gate or door for opening and closing. Other examples exist as well without departing from the scope of the present invention. Module 101 can utilize a sensor to measure and collect data regarding a parameter of monitored unit 119 such as temperature, physical location potentially including geographical coordinates from a Global Positioning System (GPS) receiver, radiation, humidity, surrounding light levels, surrounding RF signals, weight, vibration and/or shock, voltage, current, and/or similar measurements. If monitored unit 119 is a person or a health monitoring device associated with a person, then relevant health data could be recorded by module 101 in order to transmit to a M2M service provider 108, which could be associated with a health service such as a hospital, doctor's office, or a similar health service. Module 101 could also periodically record a picture, image, or video of or around monitored unit 119, using either visible or infrared light.
As illustrated in
According to a preferred exemplary embodiment, module 101 may preferably record a module private key 112. As described in additional figures below, module 112 can generate a key pair comprising a module private key 112 and a module public key 111, where module private key 112 resides within module 101 and may not be shared or transmitted to other parties. Alternatively, the present invention also contemplates that module 101 does not derive its own module private key 112, and rather module private key 112 is securely loaded or transmitted to module 101. Module 101 may also be associated with a module provider 109. Module provider 109 could be a manufacturer or distributor of module 101, or may also be the company that installs and services module 101 or associates module 101 with monitored unit 119. Although not illustrated in
As discussed below, a module 101 may utilize multiple module public keys 111 over the lifetime of module 101 (including multiple corresponding module private keys 112), and module public key identity 111a can be used to select and/or identify the correct module public key 111. Module public key identity 111a could be a string or sequence number uniquely associated with module public key 111. As illustrated in
The module public key 111 can optionally be signed by a certificate authority 118 in order to confirm the identity of module 101 and/or the identity of module provider 109. Alternatively, module provider 109 may have its own provider public key 120 and provider private key 121. Module provider 109 may have its provider public key 120 signed by a certificate authority 118 and recorded in a certificate 122 (with an exemplary certificate 122 illustrated in
Public keys and private keys as contemplated in the present invention, including module public key 111 and module private key 112 and additional keys described herein, may leverage established standards for Public Key Infrastructure (PKI). Public keys may be formatted according to the X.509 series of standards, such as X.509 v3 certificates, and subsequent or future versions, and these keys may be considered cryptographic keys. The keys can support standards such as the International Organization for Standardization (ISO) ISO/IEC 9594 series of standards (herein incorporated by reference) and the Internet Engineering Task Force (IETF) RFC 5280 titled “Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile” (herein incorporated by reference), including future updates to these standards.
Module public key 111 and module private key 112, as well as the other private and public keys described within the present invention, could be generated using standard software tools such as Openssl, and other tools to generate public and private keys exist as well. Public and private keys as contemplated herein could be recorded in a file such as a *.pem file (Privacy-enhanced Electronic Mail), a file formatted according to Basic Encoding Rules (BER), Canonical Encoding Rules (CER), or Distinguished Encoding Rules (DER), or as text or binary file. Other formats for public and private keys may be utilized as well, including proprietary formats, without departing from the scope of the present invention. As contemplated herein, a key may also comprise either a public key or a private key. A public key as contemplated herein may also be considered a certificate or a public certificate. A private key as contemplated herein may also be considered a security key or a secret key.
Other configurations besides the one illustrated in
The physical interface 101a can include associated hardware to provide the connections such as radio-frequency (RF) chipsets, a power amplifier, an antenna, cable connectors, etc., and additional exemplary details regarding these components are described below in
A module program 101i may be an application programmed in a language such as C, C++, Java, and/or Python, and could provide functionality to support M2M applications such as remote monitoring of sensors and remote activation of actuators. Module program 101i could also be a software routine, subroutine, linked library, or software module, according to one preferred embodiment. As contemplated herein, a module program 101i may be an application operating within a smartphone, such as an iPhone® or Android®-based smartphone, and in this case module 101 could comprise the smartphone. The application functioning as a module program 101i could be downloaded from an “app store” associated with the smartphone. Module program 101i can include data reporting steps 101x, which can provide the functionality or CPU 101b instructions for collecting sensor data, sending messages to server 105, and receiving responses from server 105, as described in the present invention.
Many of the logical steps for operation of module 101 can be performed in software and hardware by various combinations of sensor 101f, actuator 101y, physical interface 101a, device driver 101g, operating system 101h, module program 101i, and data reporting steps 101x. When module 101 is described herein as performing various actions such as acquiring an IP address, connecting to the wireless network, monitoring a port, transmitting a packet, sending a message, receiving a response, or encrypting or signing data, specifying herein that module 101 performs an action can refer to software, hardware, and/or firmware operating within module 101 illustrated in
Module 101 may be a computing device that includes computer components for the purposes of collecting data from a sensor 101f or triggering an action by an actuator 101y. Module 101 may include a central processing unit (CPU) 101b, a random access memory (RAM) 101e, and a system bus 101d that couples various system components including the random access memory 101e to the processing unit 101b. The system bus 101d may be any of several types of bus structures including a memory bus or memory controller, a peripheral bus, and a local bus using any of a variety of bus architectures including a data bus. Note that the computer components illustrated for the module 101 in
Module 101 may include a read-only memory (ROM) 101c which can contain a boot loader program. Although ROM 101c is illustrated as “read-only memory”, ROM 101c could comprise long-term memory storage chipsets or physical units that are designed for writing once and reading many times. As contemplated within the present invention, a read-only address could comprise a ROM 101c memory address or another hardware address for read-only operations accessible via bus 101d. Changing data recorded in a ROM 101c can require a technician have physical access to module 101, such as removing a cover or part of an enclosure, where the technician can subsequently connect equipment to a circuit board in module 101, including replacing ROM 101c. ROM 101c could also comprise a nonvolatile memory, such that data is stored within ROM 101c even if no electrical power is provided to ROM 101c. Although not illustrated in
Although the exemplary environment described herein employs ROM 101c and RAM 101e, it should be appreciated by those skilled in the art that other types of computer readable media which can store data that is accessible by a module 101, such as memory cards, subscriber identity module (SIM) cards, local miniaturized hard disks, and the like, may also be used in the exemplary operating environment without departing from the scope of the invention. The memory and associated hardware illustrated in
A number of program modules may be stored in RAM 101e, ROM 101c, or possibly within CPU 101b, including an operating system 101h, device driver 101g, an http client (not shown), a DNS client, and related software. Program modules include routines, sub-routines, programs, objects, components, data structures, etc., which perform particular tasks or implement particular abstract data types. Aspects of the present invention may be implemented in the form of a module program 101i and/or data reporting steps 101x which are executed by the module 101 in order to provide remote monitoring using a sensor 101f and/or remote control using an actuator 101y. In addition, the module program 101i and/or data reporting steps 101x can include routines, sub-routines, and similar components to support secure and bandwidth and radio-frequency (RF) efficient communication with a server 105 utilizing the techniques described in the present invention. Further, the module program 101i and/or data reporting steps 101x can perform the various actions described in the present invention for the module 101 through instructions the module program 101i and/or data reporting steps 101x provide to the CPU 101b.
A user may enter commands and information into module 101 through an optional user interface 101j, such as a keypad, keyboard (possibly miniaturized for a mobile phone form-factor), and a pointing device. Pointing devices may include a trackball, an electronic pen, or a touch screen. A user interface 101j illustrated in
The module 101, comprising a computer, may operate in a networked environment using logical connections to one or more remote computers, such as the server 105 illustrated in
The module program 101i and data reporting steps 101x operating within module 101 illustrated in
The module program 101i and/or data reporting steps 101x, or operating system 101h can include steps to process the data recorded in memory such as encrypting data, selecting a destination address, or encoding sensor data acquired by (i) a sensor 101f or (ii) through a physical interface 101a such as a thermocouple, shock or vibration sensor, light sensor, or global positioning system (GPS) receiver, etc. The module 101 can use the physical interface 101a such as a radio to transmit or send the data from a sensor to a base station 103. For those skilled in the art, other steps are possible as well for a module program 101i or operating system 101h to collect data from a sensor 101f and send the data in a packet without departing from the scope of the present invention.
Conversely, in order for module 101 to receive a packet or response from server 105, the physical interface 101a can use a radio to receive data from a base station 103. The received data can include information from a server 105 and may comprise a datagram, a source IP:port number, a packet or header value, an instruction for module 101, an acknowledgement to a packet that module 101 sent, a digital signature, and/or encrypted data. The operating system 101h or device driver 101g can use a system bus 101d and CPU 101b to record the received data in memory such as RAM 101e, and the module program 101i or operating system 101h may access the memory in order to process the received data and determine the next step for the module 101 after receiving the data. Processing the received data could include deciphering or decrypting received data with a key, verifying a digital signature with a key, reading an instruction from a server 105, or similar transformations of the received data. The steps within this paragraph may also describe the steps a module program 101i or data reporting steps 101x can perform in order to receive a packet. For those skilled in the art, other steps are possible as well for a module program 101i, data reporting steps 101x, or module 101 to receive a packet or response from a server 105 without departing from the scope of the present invention.
Moreover, those skilled in the art will appreciate that the present invention may be implemented in other computer system configurations, including hand-held devices, netbooks, portable computers, multiprocessor systems, microprocessor based or programmable consumer electronics, network personal computers, minicomputers, mainframe computers, and the like. The invention may also be practiced in distributed computing environments, where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote memory storage devices. In addition, the terms “mobile node”, “mobile station”, “mobile device”, “M2M module”, “M2M device”, “networked sensor”, or “industrial controller” can be used to refer to module 101 or its functional capabilities of (i) collecting sensor data regarding a monitored unit 119, (ii) changing state of an actuator 101y associated with monitored unit 119, and/or (iii) communicating the data associated with a monitored unit 119 with a wireless network 102. The function of module 101 and sensor 101f could be integrated, and in this case module 101 could also be referred to as a “sensor”, “intelligent sensor”, or “networked sensor”. Further, the term “module” or “monitoring device” can be used to refer to the module program 101i when module program 101i provides functional capabilities such as reporting data from a sensor 101f to a server 105 or receiving instructions for an actuator 101y from a server 105. The device driver 101i, operating system 101i, and/or module program 101i could optionally be combined into an integrated system for providing the module 101 functionality. Other possibilities exist as well for the configuration or combination of components illustrated in
A module controller 101x and server program 105i may be applications programmed in a language such as C, C++, Java, or Python and could provide functionality to support M2M applications such as remote monitoring of sensors and remote activation of actuators. Module controller 105x and server program 105i could also be software routines, subroutines, linked libraries, or software modules, according to preferred embodiments. Many of the logical steps for operation of server 105, module controller 105x, and/or server program 105i can be performed in software and hardware by various combinations of physical interface 105a, system bus 105d, device driver 105g, and operating system 105h. When server 105 is described herein as performing various actions such as acquiring an IP address, monitoring a port, transmitting or sending a packet, receiving a message, or encrypting or signing a message, specifying herein that server 105 performs an action can refer to software, hardware, and/or firmware operating within server 105 performing the action.
The server 105 may also include a user interface 105j such as a display (not shown) which could also comprise any type of display devices such as a liquid crystal display (LCD), a plasma display, and an organic light-emitting diode (OLED) display, or a cathode ray tube (CRT). A user interface 105j for the server 105 may optionally be provided remotely such as (i) via a web browser or a secure terminal such as secure shell (SSH) with (ii) another computer operated by an administrator (not shown). A user or administrator may enter commands and information into server 105 through a user interface 105j, such as a keypad, keyboard, and a pointing device. Pointing devices may include a trackball, an electronic pen, or a touch screen. In addition, the server 105 may store computer executable instructions such as module controller 105x or server program 105i on storage 105m. Storage 105m may comprise a disk drive, a solid-state drive, an optical drive, or a disk array. Module controller 101x can manage communications with module 101 and may be downloaded and installed on the server 105. As noted previously and elsewhere herein, module program 101i and module controller 105x can preferably interoperate with each other in order to collect sensor data and control an actuator associated with a monitored unit 119.
The server program 105i and/or module controller 101x operating within server 105 illustrated in
The server program 105i can enable (a) the server 105 to send a datagram, packet, or an application message to an application server 171 by (b) recording data associated (i) a with module 101 or (ii) other M2M service control information in memory such as RAM 105e, where the data can include information from module 101, a destination IP:port number, a packet or packet header value, and the information could be processed using an encryption or ciphering algorithm or key, a digital signature algorithm or key, etc. The operating system 105h or the device driver 105g can write the data from RAM 105e to a physical interface 105a using a system bus 105d and an Ethernet connection in order to send the data via the Internet 107 illustrated in
The server 105 can utilize the physical interface 105a to receive data from a module 101 and/or application 171i using a local area network such as Ethernet, although the physical interface 105a of server 105 could also utilize a wireless connection. The server 105 can listen for data from the Internet 107 using port number and/or a TCP/UDP socket. The received data from a module 101 can be a message formatted according to an Internet packet or datagram or series of datagrams inside Ethernet packets and include information from a module 101 such as a source IP address and port number, an identity of the module, sensor data that may be encrypted, and/or a digital signature of the module. The received data from application 171i can comprise a series of datagrams formatted according to Internet Protocol and/or datagrams inside Ethernet packets. The received data or message from application 171i can include information regarding application 171i and/or server 105, such as a source IP address and port number associated with application 171i or application server 171, an identity of the server, actuator instructions or commands for a module 101 that may be encrypted, and a digital signature associated with the application 171i.
When server 105 receives messages or data, the operating system 105h or device driver 105g can record the received data from module 101 or application 171i via physical interface 105a into memory such as RAM 105e. The server program 105i or operating system 105h may subsequently access the memory in order to process the data received. The server program 105i and/or module controller 105x, or operating system 105h can include steps to process the data recorded in memory and received from the module 101 or application 171i, such as parsing the received packet, decrypting data, verifying a digital signature with a key, or decoding sensor data included in a message from the module.
The server 105 and/or server program 105i may communicate with application 171i by sending and receiving packets over a LAN or the Internet 107, using a physical interface 105a and a wired connection such as Ethernet or possibly a wireless connection as well. The server 105 can use the physical interface 105a such as an Ethernet connection to send and receive the data from the Internet 107. For those skilled in the art, other steps are possible as well for a server program 105i or operating system 105h within a server 105 to (i) send/receive a packet or message to/from a module 101 and (ii) send/receive a packet or message to/from an application 171i without departing from the scope of the present invention. Server program 105i and module controller 105x may optionally be combined within a server 105, or alternatively distributed across different physical computers and function in a coordinated manner using a network.
The device drivers 105g, operating systems 105h, and/or module controller 105x could also optionally be combined into an integrated system for providing the server 105 functionality. Although a single physical interface 105a, device-driver set 105g, operating system 105h, module controller 105x, server program 105i, and user interface 105j are illustrated in
Application 171i may be processed by an application server 171 using a CPU 171b. The illustrated components for the application server 171 in
An application 171i and/or service controller 171x may be an application programmed in a language such as C, C++, Java, or Python and could provide functionality to support M2M applications such as remote monitoring of sensors and remote activation of actuators. Application 171i can include a service controller 171x. Application 171i and/or service controller 171x could also be a software routine, subroutine, linked library, or software module, according to one preferred embodiment. Application 171i can include a service controller 171x, which can provide the functionality or CPU 171b instructions for the service controller 171x described in the present invention. Service controller 171x can include (i) logic for processing alarms from a module 101 (such as sending out and email or text message to a user), (ii) logic for adjusting actuator 101y settings based upon data from sensor 101f, (iii) accepting user input (possibly via web portal 171j) and then making an associated change in an actuator 101y setting. Service controller 171x can also accept input from external applications (not shown) in order to make decisions regarding module 101, sensor 101f, and/or actuator 101y.
Service controller 171x could be included within an enterprise resource planning (ERP) solution such as SAP® or Oracle® ERP. An external application (not shown) can communicate with the application server 171. As one example, a group of modules 101 could be installed within a manufacturing plant, and when a customer order was entered into the external application such as ERP, the service controller 171x could provide instructions for a group of modules 101 to server 105, such as changing actuators 101y to operate a production line. Other possibilities for service controller 171x exist as well without departing from the scope of the present invention. In general, service controller 171x can manage the overall function of a group of modules 101 through server 105. Service controller 171x may operate at the “user layer” and/or “application layer” of the traditional OSI model.
Many of the logical steps for operation of application server 171 or application 171i can be performed in software by various combinations of physical interface 171a, device driver 171g, operating system 171h, and module controller 105i, where application 171i communicates with module controller 105i over a network. Application 171i and module controller 105i can communicate using an application message 701 (illustrated in
Application server 171 may also comprise a collection of individual computers, where the individual computers could be either centrally located or geographically dispersed, but the individual computers may function in a coordinated manner over a network to operate as an application server 171. In a similar manner, application 171i may be distributed across a plurality of computers, such as in a cloud computing configuration. Application server 171 may be a “virtualized” server, with computing resources shared with other processes operating on a computer.
The CPU 101b can comprise a general purpose processor appropriate for the low power consumption requirements of a module 101, and may also function as a microcontroller. In a preferred exemplary embodiment, the CPU 101b is responsible for maintaining a state machine for network and transport layer commands with an external network such as the wireless network 102 illustrated in
The CPU 101b wake and dormant or sleep states may be controlled by a CPU wake controller 101u to put the module 101 in a dormant state in order to conserve (i) battery life in battery 101k, or (ii) power consumption if land-line power is available, when sensor measurements, actuator control, or radio communications are not needed. The CPU wake controller 101u could optionally be integrated into CPU 101b. The CPU wake controller 101u can also include a timer to periodically wake the CPU 101b in order to perform sensor measurements or communicate with a wireless network 102 or server 105. The flash memory 101w can be a non-volatile memory and may contain a bootloader program 125 and a module program 101i. Bootloader program 125 can comprise a software program or application that is initially read by CPU 101b upon power up of module 101 in order to configure interfaces and begin operations including loading module program 101i. Module program 101i is depicted and described in connection with
Note that CPU wake controller 101u can monitor sensor 101f in order to determine a wake condition for CPU 101b, wherein the CPU 101b remains dormant until sensor 101f reads a state that requires sending a message to a server 105. An example could be sensor 101f comprising a shock and vibration detector or a temperature measuring device such as a thermocouple, and other examples exist as well. The CPU wake controller 101u can leave CPU 101b in a dormant state until a certain threshold of shock and vibration or temperature is recorded by the sensor 101f, and in this manner battery 101k can be conserved so that CPU 101b wakes when a threshold sensor measurement or an alarm condition is reported. The exemplary certain threshold of shock and vibration or temperature recorded by the sensor 101f can also comprise an alarm condition. When CPU 101b is dormant, CPU wake controller 101u can monitor a voltage level output by sensor 101f, and once a threshold voltage level is read by CPU wake controller 101u, CPU wake controller 101u can change CPU 101b from the dormant state to an active state in order to run a module program 101i.
Even without an alarm condition, CPU wake controller 101u can periodically wake CPU 101b to collect sensor data, connect to an external network such as a wireless network 102, and send sensor data to server 105. CPU 101b can include one or more cores of the processor, where each core is an independent actual central processing unit, and the cores can be the units that read and execute program instructions. The instructions can be ordinary CPU instructions such as add, move data, and branch. The dormant state of CPU 101b can comprise a sleep state where a power level used by a core in the processor is less than 0.010 milliwatts during a one second measurement sample, such as when the power supply is essentially removed from the core but power is supplied to memory 101e in order to allow a rapid waking of the CPU 101b or core.
Sensor 101f could be a device to collect environmental data or data regarding a monitored unit 119. Sensor 101f could collect data such as temperature, humidity, pressure, visible light levels, radiation, shock and/or vibration, voltage, current, weight, pH levels, orientation/motion, or the presence of specific chemicals. Sensor 101f could also be a microphone. Sensor 101f could be a magnetic strip reader for credit cards and similar cards, or an antenna for either near-field RF communications, such as reading an RF identity tag. An antenna for a sensor 101f could also collect longer-range RF signals, such as reading long-range radio frequency identity tags. Sensor 101f could also collect biometric data such as heart rate, glucose levels, body temperature, or other health measurements and in this case monitored unit 119 could be a person. The sensor 101f can provide data to the CPU 101b in the form of analog or digital data, which can be communicated via a system bus 101d or physical interface 101a and other electrical interfaces are possible as well. A sensor measurement can comprise the analog or digital data collected by CPU 101b from sensor 101f. A sensor measurement can include processing of the analog or digital data input CPU 101b by sensor 101f, such as averaging over time, using mathematic formulas to convert the raw data from sensor 101f into a usable form. Module 101 may also collect sensor data or sensor values using a sensor 101f and CPU 101b, where the data or values are derived from electrical signals output by a sensor 101f. A sensor measurement can comprise the sensor data or sensor values. If module 101 comprises a “point of presence” payment terminal, then a sensor measurement could comprise data read from a payment card.
As contemplated herein, the terms “sensor measurement” and “sensor data” can be used interchangeably, and can also be considered functionally equivalent. Although a single sensor 101f is shown in
Note that sensor 101f could also connect to module 101 via a WiFi or similar wireless LAN connection such as Zigbee. Radio 101z within module 101 can operate as a WiFi base station (in addition to radio 101z connecting to a wireless network 102), and sensor 101f could contain its own radio and WiFi chipset, such that sensor 101f could send sensor data to module 101 via the WiFi connection (or other wireless LAN connection). In this manner, by utilizing WiFi to connect with sensor 101f, module 101 could connect with a plurality of sensors 101f located in a vicinity of module 101, such as within an exemplary 50 meters. In addition to the WiFi network described, sensor 101f and/or actuator 101y could connect with module 101 via any suitable wireless local area networking technology including, IEEE 802.11, IEEE 802.15.4, an ISA100.11a standards-based network, Bluetooth, and/or a 6LoWPAN.
Actuator 101y could be a device to control a parameter or state for a monitored unit 119, such as changing a voltage or current, activating a switch or relay, turning on or off a microphone or speaker, activating or deactivating a light, and other examples are well known in the art. Actuator 101y could also be a speaker. Actuator 101y could be controlled by module 101 via a digital or analog output from CPU 101b, which could also be transmitted or sent via system bus 101d or a physical interface 101a. Although actuator 101y is illustrated as external to wireless module 101 in
Although a single actuator 101y is shown in
Module 101 can include a Universal Serial Bus (USB) interface 101v, which could provide a general and standards-based interface for external connection to a wide variety of sensors 101f, actuators 101y, and external computers such as laptops or mobile phones. Module 101 could also obtain power or recharge a battery 101k through the USB interface 101v. Software programs or instructions to wireless module 101 could be provided locally through USB interface 101v, including the initial loading of a pre-shared secret key 129a and/or shared secret key 510 described in
In accordance with an exemplary embodiment, module 101 can comprise a wireless module and include a radio 101z. Note that the use of a radio 101z is not required for module 101, which could also obtain a connection to the Internet 107 via a wired line such as Ethernet. Although not illustrated, radio 101z could include antennas for reception and transmission of RF signals, and even multiple antennas could be used. Although a single radio 101z is illustrated in module 101, module 101 could also contain multiple radios 101z, such that a first radio 101z connects with a WiFi network or functions as a WiFi base station or WiFi client, a second radio 101z connects with a PLMN mobile network such as a wireless network 102, and a third radio 101z connects with a wireless network 102 operating in white-space spectrum, etc. Or, a single radio 101z could be utilized to connect with multiple wireless networks 102 operating in different frequencies with different RF modulation techniques and/or different RF standards.
Radio 101z could also comprise a software defined radio, such that radio 101z could be programmed to change RF protocols and modulation schemes without having to change hardware within a radio 101z. Thus, according to a preferred exemplary embodiment, module 101 can utilize a software defined radio for radio 101z in order allow module 101 to communicate with different wireless networks 102, including new or future standards for a wireless network 102, where the standard was not defined when module 101 was installed. In this manner, module 101 can continue to operate over an extended period such as years by upgrading the software defined radio in a radio 101z as standards used by a wireless network 102 changes, thereby reducing costs for changing a module 101 or a radio 101z within a module in a system 100.
Radio 101z can support wireless LAN standards such as WiFi, Bluetooth, and Zigbee, or similar wireless LAN standards. Radio 101z, if present in a module 101, could also support communication through “white space” spectrum white space spectrum recently approved for use by the Federal Communications Commission (FCC), and in this case radio 101z in module 101 could operate as a Mode I or Mode II device according to FCC Memorandum Opinion and Order (FC-12-36) and related white space regulation documents. Radio 101z illustrated in
Note that module 101 may also operate as a base station in a wireless LAN, such as an 802.11 base station. When module 101 operates a wireless LAN, radio 101z can function as either a client/node or a base station 103 to support communication from other wireless nodes in physical proximity, such as other nodes within an exemplary 50 meters. The other wireless nodes could comprise a sensor 101f and/or actuator 101y, and in this case a sensor could be referred to as a “networked sensor” and an actuator could be referred to as a “networked actuator”. When radio 101z functions as a base station 103, module 101 can operate as a gateway, providing Internet access to these other nodes or modules 101 within the wireless LAN. Radio 101z can simultaneously function (i) as a base station in a wireless LAN, such as WiFi, and (ii) a client/subscriber on a wireless WAN such as a PLMN. Radio 101z can be selected to support multiple different wireless LAN technologies in addition to WiFi, such as the IEEE 802.15.4 standard or Bluetooth. If radio 101z supports IEEE 802.15.4, then wireless network 102 could be a Zigbee network, an ISA100.11a standards-based network, or a 6LoWPAN network as described by IETF RFC 4944.
In accordance with exemplary embodiments, module 101 can store module private key 112, server public key 114, and module identity 110, and a symmetric key 127 in memory/RAM 101e during operation, such as when CPU 101b is active and the module 101 is connected to a network such as a wireless network 102 during data transmissions. Module private key 112 preferably is recorded in nonvolatile memory such as flash memory 101w, so that module 101 has access to its private key 112 after the private key has been derived or loaded, including times when a battery 101k has been fully drained or removed from module 101 (if module 101 does not utilize a persistent power source such as land-line power). Module private key 112 and module identity 110 could be written into ROM 101c upon manufacture or distribution of module 101, although module 101 can also derive module private key 112 in accordance with exemplary embodiments and store the module private key 112 in a flash memory 101w.
The CPU 101b preferably moves module private key 112 and module identity 110 from nonvolatile memory into volatile memory, including possibly a cache memory within CPU 101b, before sending data through an Internet 107 illustrated in
Symmetric key 127 can be a secure, shared private key for use with symmetric encryption or symmetric ciphering algorithms 141b (in
Note that a key derivation function using public keys is not required to generate a shared symmetric key 127, and alternatively a shared symmetric key 127 could be generated by any of module 101, server 105, module provider 109, or M2M service provider 108. If module 101 generates shared symmetric key 127 for symmetric ciphering 141b within a cryptographic algorithms 141, then module 101 can send shared symmetric key 127 to server 105 using an asymmetric ciphering depicted and described in connection with
Module identity 110 is preferably a unique identifier of module 101, and could comprise a number or string such as a serial number, an international mobile subscriber identity number (IMSI), international mobile equipment identity (IMEI), or an Ethernet media access control (MAC) address. According to an exemplary embodiment, module identity 110 can also comprise a serial number or string that is written into hardware of module 101 upon manufacturing or distribution of module 101. In this case, module identity 110 could be recorded in a read only memory 101c, where read only memory 101c could not be easily erased or otherwise tampered with. Or, module 101 could read module identity 110, which could be written into hardware by a manufacturer, distributor, or module provider 109, by using a device driver 101g that reads a hardware address containing the module identity 110 using the bus 101d. Module 101 can read the module identity 110 by accessing a read-only address using the bus 101d. In either case, module identity 110 may preferably be permanently or persistently associated with the physical hardware of module 101, which can be helpful for the security procedures contemplated herein. Module identity 110 can function as a basic identifier for services from M2M service provider 108, server 105, and/or application 171i in order to properly identify module 101 among a plurality of modules. Module private key 112 and module public key 111 could be unique to module 101 and uniquely associated with module identity 110, according to a preferred embodiment.
As contemplated herein, a module identity 110 can also have more than one use. A first module identity 110 could comprise a serial number for the physical hardware of module 101, as described in the paragraph above. A second module identity 110 could also comprise a session identifier, for data sessions between module 101 and server 105, where the session identifier can be uniquely associated by a server 105 to module 101. In the case where module identity 110 has more than one use, format, or representation, the module identity 110 associated with or written into hardware of module 101 (and potentially read from a read-only address in module 101) would preferably comprise the module identity 110 used in a certificate 122. Since a module 101 may utilize multiple module public keys 111 and module private keys 112 over its lifetime, a certificate 122 for module 101 can preferably include both (i) the module identity 110 (such as a serial number for the physical hardware of module 101) and (ii) a module public key identity 111a in order to specify the particular module public key 111 associated with certificate 122. The use of a module public key identity 111a in a certificate 122 is also described in
Further, as contemplated herein, a module identity 110 could also comprise more than one physical string or number, such as a first string when module 101 connects with a first M2M service provider 108 or first wireless network 102, and module identity 110 could comprise a second string when module 101 connects with a second M2M service provider 108 or second wireless network 102. The first M2M service provider 108 or first wireless network 102 may have a first requirement or specification for the format, length, structure, etc. of module identity 110, and the second M2M service provider 108 or second wireless network 102 may have a second requirement or specification for the format, length, structure, etc. of module identity 110.
Server public key 114 in module 101 could be obtained from downloading the key over the Internet 107, or optionally also written into nonvolatile memory of module 101 upon manufacture or distribution. Server public key 114 could be obtained using a domain name or Internet address that is recorded in nonvolatile memory upon the configuration of module 101, such as during installation or distribution, and module 101 could fetch the server public key 114 upon connecting to a wireless network 102 or other connection to the Internet 107. Server public key 114 can be the public key associated with server 105 or M2M service provider 108. Although a single server public key 114 is illustrated in
Module 101 may also contain cryptographic algorithms 141, which may comprise a suite of algorithms or subroutines that can be utilized for (i) deriving a pair of keys comprising a public key and a private key, (ii) encrypting data using public keys, (iii) decrypting data using private keys, (iv) processing secure hash signatures using private keys, and (v) verifying secure hash signatures using public keys, and related software, firmware, or subroutines for implementing a cryptographic system, including symmetric ciphering algorithms. Cryptographic algorithms 141 (also described below in
As illustrated in
In this exemplary embodiment of using a sensor to collect a “noisy” signal for input into a random number generator 128 or seed 129, if sensor 101f comprised a temperature measuring device such as a thermocouple or thermistor with a stated accuracy of 0.1 degrees, module 101 could take a series of measurements with 0.0001 degree resolution and utilize the last two digits appended from a series of measurements for input into a seed 129 in order to generate a random number 128a. Random number generator 128 could also utilize data input from the other components illustrated in
Other possibilities exist as well, such as if sensor 101f was a camera, module 101 could take a series of pictures and process the image to input data from the image into a seed 129. Likewise, module 101 could utilize numerous radio-frequency (RF) measurements from radio 101z in order to populate seed 129, including “noise” measurements on unused frequencies, or other data received by a radio 101z, including apparently random RF data. Although not illustrated in
A plurality of the data as a source for a random number seed 129 could be appended together into a “module random seed file” 139 (illustrated in
Note that the term “public key” as contemplated herein includes a key that may be shared with other elements, where the other elements may not be under the direct control of the same entity that holds the corresponding private key. However, the term “public key” as used herein does not require that the public key is made available to the general public or is publicly disclosed. An additional layer of security may be maintained in the present invention by preferably only sharing public keys on a confidential basis with other entities. For example, module public key 111 may be created by module 101 when generating module private key 112, and module 101 may share module public key 111 with M2M service provider 108 in order to record module public key 111 in server 105, but module 101 could choose to not share module public key 111 with other entities, such as wireless network 102 or make a certificate 122 with module public key 111 available on the Internet 107. The benefits of confidentially sharing module public key 111 with server 105 are also further described in connection with
Although a single public key and private key for (i) module 101 and (ii) server 105 are illustrated in
In addition, module 101 could utilize a first set of keys to communicate with a first server 105 and a second set of keys to communicate with a second server 105. The first set of keys could use or be associated with a first set of parameters 126 and the second set of keys could use or be associated with a second set of parameters 126. Likewise, M2M service provider 108 illustrated in
According to exemplary embodiments, module 101 may also include a pre-shared secret key 129a. Pre-shared secret key 129a can comprise a secret key that is shared between module 101 and server 105 before module 101 begins (i) communicating with server 105 and/or a certificate authority 118, (ii) or utilizing PKI-based encryption and authentication to communicate with M2M service provider 108. As illustrated in
Note that pre-shared secret key 129a can be different than a pre-shared secret key used with conventional technology such as SIM cards in PLMN networks, such as the key Ki, where the pre-shared secret key in a SIM card is designed to not be available for movement or loading into a RAM 101e for processing by CPU 101b. Alternatively, pre-shared secret key 129a could be derived using a second pre-shared secret key Ki within a SIM card, but then server 105 would need to be able to derive the same pre-shared secret key 129a, even though server 105 may not have pre-shared secret key Ki available. Although not shown in
Pre-shared secret key 129a as illustrated in
Pre-shared secret key 129a could be obtained by a distributor, installer, or end user of module 101 by (i) using a local computer to access a web page from a web portal 171j, where the web page can be user password protected, (ii) entering, submitting, or typing information including a module identity 110 into the web page, and subsequently (iii) downloading pre-shared secret key 129a from the web portal 171j. A different web server could be utilized besides the web portal 171j illustrated in
According to a preferred exemplary embodiment, in order to obtain the pre-shared secret key 129a from a web page as described in the above paragraph, the distributor, installer, or end user of module 101 could read a pre-shared secret key code 134. Pre-shared secret key code 134 could be physically printed on module 101, such as next to a serial number printed on the enclosure of the device. Pre-shared secret key code 134 could be a unique and/or randomized string such as an exemplary 8 byte number or 10 character string (and other possibilities exist as well), where upon (a) successful submission to a web page of both the pre-shared secret key code 134 with a module identity 110, then (b) the release of pre-shared secret key 129a would be authorized for the distributor, installer, or end user of module 101. Pre-shared secret key 129a could be transmitted through a secure web session such as SSL or TLS from a web portal 171j to a computer operated by the distributor, installer, or end-user. The distributor, installer, or end-user could then load the pre-shared secret key 129a into the nonvolatile memory of the module using (i) a LAN connection such as WiFi to the module (and in this case radio 101z in module 101 could support an 802.11 type connection) or (ii) a USB interface 101v.
Pre-shared secret key 129a could be utilized by a module 101 (i) as a shared secret key 510 in
Since module 101 may have multiple module identities 110, a first module identity 110 could be used with a pre-shared secret key code 134 and printed on an enclosure of module 101, while a second and more secure (i.e. longer length or more randomized bits) module identity 110 could be used as a module identity 110 in a message 208 as described in
Application server 171 running web portal 171j could (i) record a table of triplets including module identities 110, pre-shared secret key codes 134, and pre-shared secret keys 129a, and (ii) return via a web page the pre-shared secret key 129a upon a successful match and entry of the submitted pre-shared secret key code 134 and module identity 110. Once the pre-shared secret key 129a has been utilized to authenticate or verify a module public key 111 with a server 105 (such as using subsequent steps 517 in
Note that the use of a pre-shared secret key 129a and pre-shared secret key code 134 is also optional, such that a module program 101i could cipher of obfuscate the initial submission of a derived module public key 111 and module identity to a server 105, so that server 105 could be reasonably assured only a valid module 101 submitted the module public key 111. Alternatively, the module manufacturer could load the pre-shared secret key 129a in non-volatile memory such as flash 101w upon manufacturing, and in this case a distributor, installer, or end-user may not need to access or load the pre-shared secret key 129a. However, the steps for a distributor, installer, or end-user to read a pre-shared secret key code 134 and submit the code to a web portal 171j to obtain pre-shared secret key 129a may still be useful, such as if module 101 needs the equivalent of a “factory reset” after deployment, reconfiguration such as loading new firmware, or otherwise reset or returned to a default state.
Although (A) a pre-shared secret key 129a may be useful for sending module public key 111 to server 105 or other entities connected to the Internet 107, such as a certificate authority 118, (B) pre-shared secret key 129a could be used for other purposes as well, such as input into a key derivation function 141f shown in
According to a preferred exemplary embodiment, module 101 can derive its own module private key 112 and module public key 111, and utilize pre-shared secret key 129a in order to securely and/or authoritatively communicate the derived module public key 111 with server 105 and/or a certificate authority 118. The use of pre-shared secret key 129a can be particularly useful if module 101 has already been deployed with a monitored unit 119 and connects to server 105 though the Internet 107 for the very first time. Server 105 could preferably utilize pre-shared secret key 129a in order to confirm that a received module public key 111 and module identity 110 from module 101 authoritatively belong to module 101, as opposed to being an unauthorized or even fraudulent submission of module public key 111 and module identity 110.
Server 105 could utilize a pre-shared secret key 129a and the steps depicted and described in connection with
Although not illustrated in
Message preprocessor 105y can process incoming packets and route them to an appropriate sub-server 105w using information contained in an incoming message, such as a module identity 110, a server identity 206 illustrated in
Sub-server 105w can include a server private key 105c and cryptographic algorithms 141. A plurality of sub-servers 105w can be utilized by a server 105 in order to support communication with a plurality of wireless modules 101. The server private key 105c and module public key 111 can be utilized by server 105 to secure communication with module 101, including the steps depicted and described in connection with
A first sub-server 105w can process messages and responses with a first module 101 using a first set of security keys and algorithms, such as using RSA-based security, and a second sub-server 105w can process messages and responses with a second module 101 using a second set of security keys and algorithms, such as using ECC-based security. Consequently, message pre-processor 105y could route incoming messages to the appropriate sub-server 105w depending on the encryption algorithm used in the incoming message (which could be determined by message pre-processor 105y by querying the module database 105k using a module identity 110 in the incoming message 208). Sub-servers 105w may utilize separate server private keys 105c, or the sub-servers 105w can share a common private key 105c. Sub-servers 105w may utilize separate cryptographic algorithms 141, or the sub-servers 105x can share common cryptographic algorithms 141. Although separate sub-servers 105w are illustrated in
Server 105 may also comprise a collection of individual computers, where the individual computers could be either centrally located or geographically dispersed, but the individual computers may function in a coordinated manner over a network to operate as a server 105. Server 105 may be a “virtualized” server, with computing resources shared with other processes operating on a computer.
In addition, cryptographic algorithms 141 may be implemented in hardware or firmware on any of module 101, server 105, or application 171i. Note that module 101, server 105 and application 171i could each utilize a different set of cryptographic algorithms 141, although the sets of algorithms should preferably be fully interoperable (i.e. ciphering with a first symmetric ciphering algorithm 141b and a symmetric key 127 on module 101 could be deciphered by a second symmetric ciphering algorithm 141b on server 105 using the symmetric key 127, etc.). As illustrated in
Asymmetric ciphering algorithms 141a can comprise algorithms utilizing public key infrastructure (PKI) techniques for both (i) encrypting with a public key and (ii) decrypting with a private key. Example algorithms within asymmetric algorithms 141a include the RSA algorithms 153 and the Elliptic Curve Cryptography (ECC) algorithms 154, and other asymmetric algorithms could be utilized as well. For example, either the ECC algorithms 154 or RSA algorithms 153 can be used for encryption and decryption, including (i) encryption element 503 discussed below, as well as (ii) decryption element 413 discussed below. A set of parameters 126 can include input into asymmetric ciphering algorithms 141a, such as specifying key lengths, elliptic curves to utilize (if ECC), modulus (if RSA) or other parameters or settings required. As contemplated herein and described in additional detail below, the algorithms illustrated in
The use and application of RSA algorithms and cryptography are described within IETF RFC 3447 titled “Public-Key Cryptography Standards (PKCS) #1: RSA Cryptography Specifications Version 2.1”, herein incorporated by reference, among other published standards for the use of RSA algorithms 153. The use of an RSA algorithm 153 for encryption and decryption, including with cryptographic algorithm and other description of encryption or decryption algorithms, can also be processed according to the description of the RSA algorithm according to the Wikipedia entry for “RSA (algorithm)” as of Sep. 9, 2013, which is incorporated by reference herein.
The use and application of ECC algorithms 154 for asymmetric ciphering algorithms 141a within cryptographic algorithms 141 are described within IETF RFC 6090 titled “Fundamental Elliptic Curve Cryptography Algorithms” (herein incorporated by reference), among other published standards using ECC. ECC algorithms 154 can also utilize elliptic curve cryptography algorithms to the Wikipedia entry for “Elliptic curve cryptography” as of Sep. 9, 2013, which is incorporated by reference herein. ECC algorithms 154 may utilized according to exemplary preferred embodiments in order to maintain high security with smaller key lengths, compared to RSA, thereby helping to comparably reduce the message lengths, radio frequency spectrum utilization, and processing power required by module 101. Thus, the use of ECC algorithms 154 within various steps requiring ciphering or digital signatures may help conserve battery life of module 101 while maintaining the objective of securing system 100. Note that as contemplated herein, other algorithms besides with ECC algorithms 154 and RSA algorithms 153 may be also be used in asymmetric algorithms 141a.
Cryptographic algorithms 141 may also include a set of symmetric ciphering algorithms 141b. Symmetric ciphering algorithms 141b can utilize a symmetric key 127 by one node such as a module 101 to encrypt or cipher data, and the encrypted data can be decrypted or deciphered by server 105 also using the symmetric key 127. Examples of symmetric ciphers include Advanced Encryption Standard 155 (AES), as specified in Federal Information Processing Standards (FIPS) Publication 197, and Triple Data Encryption Standard (Triple DES), as described in NIST Special Publication 800-67 Revision 1, “Recommendation for the Triple Data Encryption Algorithm (TDEA) Block Cipher (Revised January 2012)”. Parameters 126 input into symmetric ciphering algorithms 141b can include symmetric key 127 length, such as the selection of 128, 192, or 256 bits with AES 155 symmetric ciphering, and parameters 126 could also select a symmetric ciphering algorithm in a collections of symmetric ciphering algorithms 141b. Other examples of symmetric ciphering algorithms 141b may be utilized as well within cryptographic algorithms 141. Also note that as contemplated herein, the term “symmetric ciphering” contemplates the use of a symmetric ciphering algorithm 141b in order to encrypt or cipher data with a symmetric ciphering algorithm 141b, and “asymmetric ciphering” contemplated the use of an asymmetric ciphering algorithm 141a to encrypt or cipher data with a public key, such as module public key 111 or server public key 114.
Cryptographic algorithms 141 may also include a set of secure hash algorithms 141c in order to compute and output a secure hash value or number based on a string or file input into the secure hash algorithms 141c. Example secure hash algorithms include SHA256 156 (also known as SHA-2) and SHA-3 157. SHA256 156 is specified in the National Institute of Standards and Technology (NIST) Federal Information Processing Standards Publication (FIPS PUB) 180-2 titled “Secure Hash Standard”. SHA-3 157 is scheduled to be published in FIPS PUB 180-5. Parameters 126 input into secure hash algorithms 141c can include the selection of the length of the secure hash, such as using 224, 256, or 512 bits with either SHA-2 or SHA-3, and other possibilities exist as well.
Cryptographic algorithms 141 may also include a set of digital signature algorithms 141d, in order to sign and verify messages between (i) module 101 and server 105 or (ii) server 105 and application 171i. Digital signature algorithms 141d can also verify signatures such as comparing that (i) a first secure hash value in the form of a digital signature in a certificate (not shown) using a certificate authority public key 132 matches (ii) a second secure hash value in the certificate (not shown). Digital signature algorithms 141d can utilize algorithms in National Institute of Standards (NIST) “FIPS 186-4: Digital Signature Standard”, or IETF RFC 6979 titled “Deterministic Usage of the Digital Signature Algorithm (DSA) and Elliptic Curve Digital Signature Algorithm (ECDSA)”. The use of ECDSA algorithm 158 within a set of digital signature algorithms 141d may be preferred if keys such as module public key 111 and server public key 114 are based on elliptic curve cryptography. Other PKI standards or proprietary techniques for securely verifying digital signatures may be utilized as well in digital signature algorithms 141d. Parameters 126 input into digital signature algorithms 141d can include the selection of a secure hash algorithms 141c to utilize with digital signature algorithms 141d, or the algorithm to utilize, such as ECDSA shown or an RSA-based alternative for digital signatures is possible as well. Parameters input into digital signature algorithms 141d can also include a padding scheme for use with a digital signature algorithms 141d. Digital signature algorithms 141d could also include an RSA digital signature algorithm for use with RSA-based public and private keys.
Cryptographic algorithms 141 may also include key pair generation algorithms 141e, a key derivation function 141f, and a random number generator 128. Key pair generation algorithms 141e can be utilized by module 101, server 105, or application 171i to securely generate private and public keys. The key pair generation algorithms 141e can also use input from a parameters 126, such as the desired key lengths, or an ECC curve if the public key will support ECC algorithms 154. According to an exemplary preferred embodiment, module 101 can derive a pair of module public key 111 and module private key 112 using key pair generation algorithms 141e. Software tools such as openssl and libcrypt include libraries for the generation key pairs, and these and similar libraries can be used in a key pair generation algorithm 141e.
Key derivation function 141f can be used by module 101, server 105, and/or application 171i in order to determine a common derived shared secret key 129, using at least two respective public keys as input, and may also include the input of a private key. A key exchange to share a common symmetric key 127 can be performed using a key derivation function 141f and parameters 126. An exemplary algorithm within a key derivation function 141f can be the Diffie-Hellman key exchange, which is used by tools such as secure socket layer (SSL) with RSA algorithms 153. When using ECC algorithms 154, module 101 and server 105 can utilize Elliptic Curve Diffie-Hellman (ECDH) algorithms 159, and a summary of ECDH is included in the Wikipedia article titled “Elliptic Curve Diffie-Hellman” (http://en.wikipedia.org/wiki/Elliptic_curve_Diffie%E2%80%93Hellman” from Sep. 24, 2013, which is herein incorporated by reference. Other algorithms to derive a shared secret key 129b using public keys and a private key may also be utilized in a key derivation function 141f, such as the American National Standards Institute (ANSI) standard X-9.63 160. Parameters 126 used with key derivation function 141f with elliptic curve cryptography can include a common base point G for two node using the key derivation function 141f and public keys. The base point G in a parameters 126 can be transmitted or sent from a module 101 to a server 105 in a message 208, and the base point G can be sent from a server 105 to a module 101 in a response 209, and other possibilities exist as well. Parameters 126 can also include other or additional information for using a key derivation function 141f in order to derive a commonly shared symmetric key 127.
Parameters 126 input into key pair generation algorithms 141e can include the type of asymmetric ciphering algorithms 141a used with the keys, the key length in bits, an elliptic curve utilized for ECC, a time-to-live for a public key that is derived, and similar settings. Additional parameters 126 for a public key can include a supported point formats extension, where the supported point formats extension could comprise uncompressed, compressed prime, or “compressed char2” formats, as specified in ANSI X-9.62. In other words, an ECC public key can have several formats and a set of parameters 126 can be useful to specify the format. Although a set of parameters 126 is illustrated in
According to a preferred exemplary embodiment, parameters 126 can include values to define an elliptic curve and/or use ECC algorithms 154. The values could be constants or variables in a defining equation for an elliptic curve, or the parameters could simply name an existing, defined curve such as the standard named curve illustrated in parameters 126 in
As contemplated herein, a set of cryptographic algorithms 141 may operate using either strings or numbers, and parameters 126 could include either strings or numbers as well. The processing of cryptographic algorithms within a module 101 can take place within a CPU 101b, or module 101 could also process cryptographic algorithms in a cryptographic processing unit (not shown) connected to the system bus 101d. According to an exemplary embodiment, a module 101 or a server 105 could include a cryptographic processing unit (not shown) separate from the CPU 101b in order to speed cryptographic computations and/or reduce energy required for supporting the use of cryptography through a system 100. Alternatively, cryptographic algorithms can be implemented entirely in software within a module 101 and/or server 105.
Certificate 122 could include a signature 123, where signature 123 can be signed using ECC signature techniques, such as the Elliptic Curve Digital Signature Algorithm (ECDSA) 158 with a secure hash such as SHA256 156. In order to generate signature 123, the private key associated with either CA 118 or module provider 109 may also be an ECC-based private key. Note that the public key 111 in a certificate 122 could use a different asymmetric ciphering algorithm 141a than the algorithm used for signing, such that the public key 111 can be an ECC key, while the signature 123 could be generated with RSA algorithm 153 and/or key. Certificate 122 may also include parameters 126, where parameters 126 can specify an elliptic curve utilized with the module public key 111. Parameters 126 could also include the start and end times for the validity of either public key 111 or certificate 122. Other parameters 126 can be utilized in a certificate 122 as well, and a parameters 126 may specify values that are not included or external to a certificate 122.
Certificate 122 illustrated in
In either case of (i) module 101 using multiple module public keys 111 concurrently, or (ii) module 101 using different module public keys 111 in sequence, a certificate 122 can preferably include a module public key identity 111a to specify the module public key 111 utilized in a certificate 122. As illustrated in
Note that the use of a certificate 122 is not required for the format of a public or shared key, and the public keys could optionally omit a signature from a certificate authority 118. In this case, the public keys such as module public key 111 and/or server public key 114 could be recorded in the format of a string, without the additional fields illustrated in
User 183 can comprise an individual, business manager, network engineer, systems administrator, other employee with functional responsibilities for a system 199 (or components within a system 199 or system 100) accessing application 171i using a computer with a user interface such as a web browser 183a. Application 171i could also send an email or text message to user 183 if an alarm condition is detected in system 199, such as if a sensor 101f measurement exceeds a prescribed threshold value. The web browser 183a could use a connection 184 to access a web portal 171j operating on application 171i. Connection 184 could include hypertext markup language (HTML) messages, and could be through a secure connection such as TLS or IPsec, although other possibilities exist as well to those of ordinary skill in the art. Any module 101, such as Module 101 A, could use the Internet 107 and establish a primary connection 181 with server 105 A, and also module 101 A could establish a backup connection 182 with server 105 B if the primary connection 181 is not available. Alternatively, any module 101, such as module 101 A, could communicate with more than one server 105 concurrently or in sequence, such that module 101 A communicates with both server 105 A and server 105 B. According to exemplary embodiments, during an active state between periods of sleep or being dormant, module 101 may communicate with more than one server 105, such as a first server 105 A and a second server 105 B. Other possibilities for a plurality of modules 101 to communicate with a plurality of servers 105 exist without departing from the scope of the present invention.
A wireless module 101 can wake from a dormant state in order perform (i) remote and automated monitoring and (ii) control functions such as collecting a sensor 101f measurement, communicating with server 105, and controlling an actuator 101y. If module 101 is connected to land-line power or a long-lasting external power source such solar power, then module 101 may remain in an active state and bypass a dormant state, although transmitting RF signals 201 may preferably only be utilized when communicating with wireless network 102 or sending data to and receiving data from server 105. Upon waking from the dormant state and starting communication with a server 105, a wireless module 101 can begin transmitting RF signals 201 to base station 103. The wireless module can acquire an IP address 202 from the wireless network 102. IP address 202 is illustrated as being an IPv6 address, but IP address 202 could also be an IPv4 address. IP address 202 could also be a subset of IPv6 addresses such as the last 32 or 64 bits in a full 128 bit IPv6 address, and wireless network 102 could append the beginning 96 or 64 bits, respectively, of the IPv6 address when wireless module 101 sends packets to the Internet 107.
In order to transmit or send data from wireless module 101 to server 105, a wireless module 101 can use module program 101i to collect data from a sensor 101f in order to update server 105. Module program 101i can request a port number 203 from operating system 101h in order to have a source IP:port for sending data using IP protocols such as TCP and UDP. The terminology “IP:port” as described herein refers to combining an IP address with a port number. Wireless module IP address 202 and port number 203 can be combined to form IP:port number 204. IP:port number 204 can be utilized as a source IP:port number for packets transmitted from wireless module 101, as well as a destination IP:port number for packets received by wireless module 101, when communicating with server 105.
In order to utilize Internet 107, module 101 may also need a destination IP address and port number in order to send packets to server 105. Before sending data to server 105, wireless module 101 preferably retrieves server IP address 106 and server port number 205 from RAM 101e. Server IP address 106 could be recorded in RAM 101e via (i) a DNS query using server name 206 or (ii) queries to M2M service provider 108 or wireless network 102. CPU 101b may copy server IP address 106 and server port number 205 from nonvolatile memory into volatile memory such as a register for processing to send a packet to server 105. Server name 206 could also be a server identity. (A) Server IP address 106 or server name 206 and (B) server port number 205 could be recorded in a nonvolatile memory such as flash memory 101w so that wireless module 101 can store the proper destination of packets transmitted or sent even when wireless module is dormant or shutdown, which avoids the processing and bandwidth requirements of obtaining server IP address 106 and server port number 205 every time the wireless module 101 wakes from the dormant or shutdown state. Server IP address 106 and server port number 205 can be combined into a server IP:port number 207.
After collecting data from a sensor, module 101 can send a packet from IP:port 204 to IP:port 207, and the packet could comprise a message 208 that may include the data from a sensor 101f. Note that message 208 does not need to include sensor data, and message could potentially be a periodic registration message or keep-alive message. As contemplated herein, the term “sensor measurement” can refer to data associated with or derived from a sensor 101f. A sensor measurement, can comprise a string containing data regarding a parameter of a monitored unit 119 and collected by a sensor 101f. The sensor measurement as sent in a message 208 can also represent a string (alphanumeric, binary, text, hexadecimal, etc.), where the string comprises a transformation or processing of sensor data collected by a CPU 101b, such including formatting, compressing, or encrypting, encoding, etc. of sensor data.
In order to minimize bandwidth and time required for RF signals 201 to be active, module 101 can send the message 208 as a single UDP datagram in accordance with a preferred exemplary embodiment. The single UDP datagram in this embodiment can preferably be the only packet sent from module 101 to server 105 or M2M service provider 108 during a wake state for the module 101 when the radio 101z is active and transmitting, such as in a radio resource control (RRC) connected state. In other words, according to this preferred exemplary embodiment, the message 208 sent by module 101 can preferably be the only message or packet sent by the wireless module to the server 105 between dormant periods of module 101. By sending message 208 as a single UDP datagram, both a battery 101k is conserved and utilization of valuable RF spectrum is reduced. Message 208 could also comprise a series of associated UDP messages.
Also, as contemplated herein, message 208 could comprise a related series of packets, so that message 208 could comprise multiple datagrams. As one example, if TCP is utilized as the transport protocol for message 208, then the series of TCP messages including the initial handshake, one or more packets of payload data, and the closing of the connection could together comprise message 208. As another example, if UDP or UDP Lite is utilized for the transport protocol, and payload data exceeds a maximum transmission unit (MTU) size for the UDP packet and the payload data is spread across multiple packets, then the multiple packets would comprise a message 208. Further, a related series of packets comprising a message 208 could be identified by using the same source port number for module 101. In addition, a related series of packets comprising a first message 208 could be identified as a series of packets sent by module 101 before receiving a response 209 from a server, and packets sent after receiving a response 209 could comprise a second message 208. Other possibilities for a message 208 to comprise multiple packets or datagrams may exist without departing from the scope of the present invention.
The UDP datagram for message 208 could also be formatted according to the UDP Lite protocol, as specified in IETF RFC 3828, which is also incorporated by reference herein. The term “UDP Lite” described in the present invention may also refer to any connectionless protocol widely supported on Internet 107 where checksums may be partially disabled, thereby supporting the transfer of bit errors within a datagram. The advantages of UDP over TCP is that UDP can be quickly sent, while TCP requires a “handshake” with the server which requires more time and bandwidth, which would utilize more energy from battery 101k. Weak or “noisy” RF signals between wireless module 101 and wireless network 102 may degrade or slow TCP transmissions, resulting in unwanted and unnecessary retransmission of individual TCP messages in the standard TCP “handshake” and connection close procedures. Also, the sensor data from a sensor 101f may be relatively small, such as a dozens of bytes in an exemplary embodiment, and UDP can provide significantly less signaling overhead than TCP, especially with small messages for the duration of the session. However, some M2M applications may prefer or require TCP and in this case message 208 can be formatted according to TCP. Thus, according to an exemplary embodiment, both message 208 and response 209 can be TCP messages. In this exemplary embodiment, message 208 and response 209 could each comprise a series of TCP messages that can include a TCP SYN, SYN ACK, ACK, ACK w/data, FIN ACK, etc.
According to an exemplary embodiment, module 101 sends the same sensor data in multiple copies of the same UDP packet. Each of the multiple copies of the same UDP packet can also optionally be formatted according to the UDP Lite protocol. As one example, wireless module sends three identical copies of the UDP or UDP Lite packet that include the same sensor data. The benefit of sending three copies of UDP Lite include (i) the RF signals 201 received by the base station 103 could include bit errors, which could result in a regular (RFC 768) UDP packet being dropped, since a bit error could result in a UDP checksum mismatch, as received and processed by wireless network 102. Note that the use of checksums is mandatory in IPv6, and thus checksums cannot be fully disabled in IPv6. With UDP Lite packets transmitted by wireless module 101, where the mandatory checksum for IPv6 can cover the packet header, wireless network 102 can forward all packets received, potentially including bit errors, to server 105 over the Internet 107.
Server 105 can receive the multiple copies of the UDP or UDP Lite packets, which could include bit errors received, and server 105 could compare or combine the multiple copies or each individual UDP Lite packet in order to remove bit errors. Note that UDP Lite is not required, and wireless module 101 could send the message 208 using a single UDP packet, or multiple copies of a regular UDP (i.e. non UDP Lite) packet. However, using UDP Lite with multiple packets sent can provide benefits such as if the sensor data is encrypted in the packet, then a single bit error would normally break the receiver's ability to decipher the data using a cryptographic key, unless the encrypted data was channel coded and the channel coding could recover from the bit error in order to present an error-free input of the encrypted data to a deciphering algorithm.
Further, between periods of sleep when a wireless module 101 becomes active and transmits RF signals 201, module 101, which may also comprise a wireless module 101, could send the sensor data in a single UDP Lite packet where the packet includes channel coding, which can also be referred to forward error correction. Forward error correction could also be implemented by sending multiple copies of the same UDP packet. Note that since large segments of message 208 could include encrypted or hashed data, those segments may not be appropriate for compression since the data is often similar to random strings which are not readily compressed. Channel coding techniques for the data in message 208 could include block codes and convolution codes. Block codes could include Reed-Solomon, Golay, BCH, Hamming, and turbo codes. According to a preferred exemplary embodiment, data within message 208 is sent as a UDP Lite packet using a turbo code to correct multiple bit errors within a packet or datagram sent by module 101 and received by server 105.
In system 100 illustrated in
After receiving the message 208 and processing the message according to the techniques described below such as in
In either case, where firewall 104 may or may not perform NAT routing, server 105 preferably sends the response 209 from the server IP:port 207 to the source IP:port it receives in message 208. According to a preferred exemplary embodiment, response 209 is a UDP packet sent from server 105 with (i) a source IP:port 207 and (ii) a destination IP:port equal to the source IP:port received in message 208, as illustrated in packet 209a. The example use of source and destination IP:ports in message 208 and response 209 are also illustrated in
According to exemplary preferred embodiments, module 101 may also obtain power from a land-line source, such as a traditional 120 volt wall socket, or possibly power over Ethernet, and other non-transient power sources could be utilized as well. In this case, module 101 may remain persistently connected to the Internet through either a wireless network 102 or a wired connection such as Ethernet. In other words, module 101 may omit entering periods of sleep or dormancy where inbound packets from the Internet would not be received due to the sleep state of module 101. Consequently in an exemplary embodiment, module 101 which does not sleep for periods longer than a minute may preferably periodically send a firewall port binding packet 211 from IP:port 204 to IP:port 207 in order to keep ports and addresses within a firewall 104 and/or firewall 124 open to communications between module 101 and server 105. Firewall port binding packet 211 can comprise a packet that is sent periodically using a timer interval that is shorter than the port-binding timeout period 117 on a firewall 104 and firewall 124.
Continuing with this exemplary embodiment where module 101 does not sleep for periods longer than approximately one minute, if UDP is utilized for message 208 and response 209, then a small UDP packet comprising firewall port binding packet 211 can be sent periodically such as every 45 seconds. If TCP is utilized for message 208 and response 209, then a small TCP packet comprising firewall port binding packet 211 can be sent periodically such as every 4 minutes. Other possibilities for the timing of sending firewall port binding packet 211 are possible as well. By sending firewall port binding packet 211 periodically, server 105 (i) can send module 101 a response 209, which could include a module instruction 502 as explained in
These steps usually require physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical, magnetic, or optical signals capable of being stored, transferred, combined, compared, or otherwise manipulated. It is convention for those skilled in the art to refer to representations of these signals as bits, bytes, words, information, elements, symbols, characters, numbers, points, data, entries, objects, images, files, or the like. It should be kept in mind, however, that these and similar terms are associated with appropriate physical quantities for computer operations, and that these terms are merely conventional labels applied to physical quantities that exist within and during operation of the computer.
It should also be understood that manipulations within the computer are often referred to in terms such as listing, creating, adding, calculating, comparing, moving, receiving, determining, configuring, identifying, populating, loading, performing, executing, storing etc. that are often associated with manual operations performed by a human operator. The operations described herein can be machine operations performed in conjunction with various input provided by a human operator or user that interacts with the computer.
In addition, it should be understood that the programs, processes, methods, etc. described herein are not related or limited to any particular computer or apparatus. Rather, various types of general purpose machines may be used with the following process in accordance with the teachings described herein.
The present invention may comprise a computer program or hardware or a combination thereof which embodies the functions described herein and illustrated in the appended flow charts. However, it should be apparent that there could be many different ways of implementing the invention in computer programming or hardware design, and the invention should not be construed as limited to any one set of computer program instructions.
Further, a skilled programmer would be able to write such a computer program or identify the appropriate hardware circuits to implement the disclosed invention without difficulty based on the flow charts and associated description in the application text, for example. Therefore, disclosure of a particular set of program code instructions or detailed hardware devices is not considered necessary for an adequate understanding of how to make and use the invention. The inventive functionality of the claimed computer implemented processes will be explained in more detail in the following description in conjunction with the remaining Figures illustrating other process flows.
Further, certain steps in the processes or process flow described in all of the logic flow diagrams below must naturally precede others for the present invention to function as described. However, the present invention is not limited to the order of the steps described if such order or sequence does not alter the functionality of the present invention. That is, it is recognized that some steps may be performed before, after, or in parallel other steps without departing from the scope and spirit of the present invention.
The processes, operations, and steps performed by the hardware and software described in this document usually include the manipulation of signals by a CPU or remote server and the maintenance of these signals within data structures resident in one or more of the local or remote memory storage devices. Such data structures impose a physical organization upon the collection of data stored within a memory storage device and represent specific electrical or magnetic elements. These symbolic representations are the means used by those skilled in the art of computer programming and computer construction to most effectively convey teachings and discoveries to others skilled in the art.
At step 311, the server 105 can record a module public key 111, or a plurality of module keys 111 in a module database 105k. The module public key 111 could be received in a message 208 according to steps 516 and 517, including authenticating the message 208, as depicted and described in connection with
An exemplary format of message 208 is depicted and described in connection with
After verifying the identity of module 101 in step 315, at step 316 server 105 can record sensor data or sensor measurements within message 208 in a module database 105k, if message 208 has a sensor measurement. Note that message 208 may not have a sensor measurement, and in this case step 316 can be skipped, or message 208 may also include other data besides a sensor measurement. Sensor data recorded in module database 105k can be made available for subsequent processing by server 105 or other servers or applications associated with an M2M service provider 108 in order to manage the function and operation of module 101 or monitored unit 119. As illustrated in
After receiving message 208, server 105 can process a response 209 at step 317a. Step 317a can comprise encrypting an instruction, where the instruction could include an acknowledgement of the message received, a command or setting for an actuator, and/or another control message for module 101. Server 105 can utilize a module public key 111 and cryptographic algorithms 141 in order to encrypt the instruction. Step 317b can comprise creating a digital signature for the response 209 using the server private key 105c and cryptographic algorithms 141.
Additional details regarding steps 317a and 317b are depicted and described in connection with
After completing steps 317a and 317b, at step 209a, server 105 can send response 209 from (a) the source port utilized to receive message 208 to (b) a destination IP:port. The destination IP:port can comprise the source IP:port in message 208 as received by server 105, and the destination IP:port can represent the external interface of a firewall 104. In other words, server 105 may send response 209 from server IP:port 207 to the source IP:port received in message 208, which could represent the source IP:port on a wireless network firewall 104, wherein the source IP:port on the wireless network firewall 104 contains the firewall IP address 210. The wireless network firewall 104 could forward the response 209 to module IP:port 204. As contemplated herein, server 105 can send response 209 as soon as practical after receiving message 208, and in any case response 209 should be sent before the expiration of a firewall port binding timeout value 117 associated with firewall 104. According to a preferred exemplary embodiment, response 209 is sent by server 105 within 1 second of receiving message 208. After completing step 209a as illustrated in
At step 407, server 105 can process the packet using the appropriate transport layer protocol, such as UDP. In this step 407, the body of the packet comprising message 208 can be extracted, and a checksum, if any, can be calculated to verify the integrity. Note that if the UDP Lite protocol is utilized, the checksum may optionally only apply to the packet header. At step 408, server 105 can remove channel coding, if present in message 208. Channel coding techniques utilized in step 408 could include block codes and convolution codes, and can use the same channel coding algorithms used in channel coding algorithms implemented by module 101, depicted and described in connection with
At step 409, the server 105 can read and record the module identity 110, if module 110 is included in message 208 as external to module encrypted data 403 as illustrated in an exemplary message 208 in
Alternatively according to an exemplary embodiment, if server 105 operates in a distributed environment (such as comprising multiple sub-servers 105w as illustrated in
The module digital signature 405 can be verified according to public key infrastructure (PKI) standards such as the National Institute of Standards (NIST) “FIPS 186-4: Digital Signature Standard”, or IETF RFC 6979 titled “Deterministic Usage of the Digital Signature Algorithm (DSA) and Elliptic Curve Digital Signature Algorithm (ECDSA)”. Other PKI standards or proprietary techniques for securely verifying a module digital signature 405 may be utilized as well. If message 208 comprises an initial communication from module 101, at step 412 server 105 can verify that module public key 111 is associated with module identity 110 using a module certificate 122, where certificate 122 includes a signature 123 from a certificate authority 118, as illustrated in
Steps 409 and 410 are not required to utilize the efficient techniques described herein, and may optionally be omitted. As one example, security could be maintained at the network layer through the use of wireless network firewall 104 and server network firewall 124, such that only an inbound message 208 to server 105 could be received by server 105 after security methods are applied at the network layer or application layer. Note that if (A) module encrypted data 403 includes module identity 110 and/or module digital signature 405, then (B) steps 409 and/or 410 may also take place after step 413, where server 105 (i) first decrypts module encrypted data 403 and can then (ii) verify module identity 110 by performing steps 409 and 410 after step 413. If module encrypted data 403 utilizes a symmetric cipher 141b, then a module identity 110 can preferably be external to module encrypted data 403 so that server 105 can select the appropriate symmetric key 127 used by module 101 in order to decipher module encrypted data 403 (since a plurality of modules 101 may communicate with server 105 concurrently).
After verifying module digital signature 405 in step 410, server 105 can record an authenticated module encrypted data 403 from module 101 received in message 208. At step 413, server 105 can decrypt module encrypted data 403 using cryptographic algorithms 141 and either (i) server private key 105c as a decryption key with asymmetric ciphering 141a or (ii) symmetric key 127 with symmetric ciphering 141b. A symmetric key 127 may be stored in a module database 105k, as noted in
With an asymmetric ciphering 141a scheme used in a module encrypted data 403 and by cryptographic algorithms 141 at step 413, server 105 can decrypt module encrypted data 403 using (i) server private key 105c and (ii) RSA algorithms 153, elliptic curve cryptography (ECC) algorithms 154, or other algorithms for public key cryptography. The use and application of RSA algorithms 153 and cryptography are described within IETF RFC 3447, among other published standards. The use and application of ECC cryptography and algorithms are described within IETF RFC 6637, among other published standards. ECC algorithms 154 may be preferred in order to maintain high security with small key lengths, compared to RSA, in order to minimize the message lengths, radio frequency spectrum utilization, and processing power required by module 101. Thus, the use of ECC algorithms within a decryption algorithm at step 413 may help conserve the life of a battery 101k of module 101 while maintaining the objective of securing system 100. Note that module encrypted data 403 may also include a security token 401 (not shown in
With a symmetric ciphering 141b scheme used in a module encrypted data 403 and by cryptographic algorithms 141 at step 413, server 105 can decrypt module encrypted data 403 using (i) symmetric key 127 and (ii) a symmetric cipher 141b such as AES 155, Triple DES, or similar secure symmetric ciphers. As one example, by using ECC cryptography and ECIES, server 105 could decrypt module encrypted data at step 413 by using the steps outlined in
After decrypting module encrypted data 403, server 105 can read the resulting data within message 208, which could comprise a server instruction 414. The server instruction 414 can represent the purpose of the message 208 for server 105. Server instruction 414 could comprise a plurality of different procedures for server 105, such as an “update” with sensor data, a “query” for data or instructions from server 105 or M2M service provide 108, a “notification” of state or condition at module 101 such as an alarm or error, a “configuration request” where module 101 seeks configuration parameters, a “software request” where module 101 request updated software or routines, a “registration” message where module 101 periodically registers with server 105, etc. Thus, server instruction 414 can comprise the purpose module 101 sends message 208. In addition, server instruction 414 could comprise a “confirmation”, where module 101 sends a “confirmation” in a second message 208 after receipt of a response 209, where response 209 could include a module instruction 502 (below), and the “confirmation” in this second message 208 could signal server 105 that the module instruction 502 had been properly executed. As contemplated herein, the term “Message (update)” can comprise a message 208 that includes a server instruction 414 of “update”, and the term “Message (confirmation)” can comprise a message 208 that includes a server instruction 414 of “confirmation”, etc.
As examples for server instruction 414, an “update” could be used to periodically notify server 105 of regular, periodic sensor data 305 acquired by a sensor 101f. An “update” for server instruction 414 may also comprise a periodic report regarding monitored unit 119 or information regarding a state, condition, or level for an actuator 101y. A “query” for server instruction 414 could comprise module 101 querying server 105 for data from a module database 105k, where the data could be associated with monitored unit 119, wireless network 102, an element within module 101 such as an actuator setting. A “notification” for server instruction 414 could comprise module 101 notifying server 105 that an alarm or error condition has occurred, such as a sensor measurement exceeds a threshold value or another error condition such as loss of contact with monitored unit 119. A “configuration request” for server instruction 414 could comprise module 101 requesting server 105 for configuration parameters or a configuration file. Other possibilities for server instruction 414 exist without departing from the scope of the present invention.
At step 415, server 105 can process the server instruction 414. If server instruction 414 comprises an “update”, then sensor data, or other data in server instruction 414 including potentially a new symmetric key 127 generated by module 101, could be recorded in module database 105k, Other applications may subsequently access the sensor data for generating reports or making decisions regarding monitored unit 119. If server instruction 414 comprises a “query”, then server 105 could execute the query at step 415. If server instruction 414 comprises a “notification” of an alarm, then step 415 could initiate procedures for alarm notification to 3rd parties or alarm resolution. Other possibilities for processing a server instruction 414 at step 415 exist without departing from the scope of the present invention.
After receiving message 208 as illustrated in
In other words, the use of security token 401 can ensure to a high level of certainty that each response 209 will be different and thus the data within response 209 would not be sent more than once. Note that security token 401 may be generated by module 101 in message 208, and in this case server 105 can use the same security token received in message 208. Security token 401 can alternatively be generated by server 105 and different than any security token 401 received in message 208. As one example, server 105 could use a first security token 401 received in message 208 to process a second security token 401, where the second security token 401 is generated using (i) a pre-agreed algorithm between module 101 and server 105 and (ii) the first security token 401 as input into the pre-agreed algorithm. Security token 401 illustrated in
Server 105 may also optionally add a module instruction 502 when preparing a response 209. The module instruction 502 could be a string that contains instructions or configuration parameters for module 101, such as an order to change state, parameters regarding the monitoring of monitored unit 119, server names or addresses, radio frequency parameters, wireless network 102 authentication parameters or keys, keys for communication with server 105 or M2M service provider 108, etc. Module instruction 502 may also comprise an instruction to change the state of actuator 101y, a timer value, a sensor threshold value, the threshold for an alarm state, and information for display at a user interface 101j, an instruction to sleep, etc. Module instruction 502 may further comprise an updated module private key 112, and updated server public key 114, or the address or name of a new server 105 added to M2M service provider 108. According to an exemplary preferred embodiment, a module instruction 502 could comprise a “key generation” instruction, where module 101 generates a new pair of a module private key 112 and a module public key 111, utilizing the exemplary steps and procedures illustrated in
In order to control module 101, server 105 would normally need to include module instruction 502 in the response 209 only after receiving message 208, since the server 105 would normally not be able to send messages to a module 101 at arbitrary times, such as before a message 208 has been received by the server 105. The reasons include (i) the module may normally be in a sleep or dormant state, in order to conserve battery life or power consumption, where an unsolicited incoming Internet packet from server 105 would not be received by module 101, and (ii) a wireless network 102 (or equivalent wired network that a wired module 101 could connect with) may frequently include a firewall 104. Firewall 104 could prevent packets from the Internet 107 from reaching module 101 unless module 101 had previously first sent a packet to server 105 within a firewall port-binding timeout period 117 of firewall 104. The port-binding timeout period of a firewall 104 may be an exemplary period such as 20-60 seconds for UDP packets and several minutes for TCP packets. Note that module instruction 502 may optionally be omitted, such that (b) some response 209 messages may include module instruction 502, and (b) other response 209 messages may omit module instruction 502, but include an acknowledgement 501 to message 208. Also note that according to an exemplary embodiment described herein, the use of optional strings or steps can be depicted in
Server 105 may then use as input the acknowledgement 501, security token 401, and module instruction 502, including optional data and parameters 126, into cryptographic algorithms 141 at step 503. The cryptographic algorithms 141 at step 503 can utilize either (i) module public key 111 as an encryption key if asymmetric ciphering 141a is utilized, or (ii) a shared symmetric key 127 if a symmetric cipher 141b is utilized, such as AES 155 ciphering. The output of cryptographic algorithms 141 at step 503, using acknowledgement 501, security token 401, and module instruction 502, plus optional data and parameters 126, as input, can be server encrypted data 504, as illustrated in
Server 105 can then process server encrypted data 504 by appending or including server identity 206. Note that server identity 206 can be appended or included after the operation of step 503, since the server identity 206 may optionally be openly readable within a response 209 transmitted or sent to module 101. As one example, server identity 206 could comprise IP address 106 as a source IP address in response 209, which would be openly readable on the Internet 107 since a valid packet must have a source and destination IP address. Additional details on an exemplary structure of response 209 are illustrated in
Server 105 can then process a server digital signature 506 using the server private key 105c. The server digital signature 506 can be processed according to public key infrastructure (PKI) standards such as the National Institute of Standards (NIST) “FIPS 186-4: Digital Signature Standard” (which is hereby incorporated herein by reference), or IETF RFC 6979 titled “Deterministic Usage of the Digital Signature Algorithm (DSA) and Elliptic Curve Digital Signature Algorithm (ECDSA)” (which is hereby incorporated herein by reference). The use of a server digital signature 506 can be processed according to the description of a digital signature according to the Wikipedia entry for “Digital Signature” as of Sep. 9, 2013, which is incorporated by reference herein in its entirety. Also note that other uses of a digital signature as contemplated within the present invention may refer to the above three references and related standard techniques for processing and creating digital signatures. Other PKI standards or proprietary methods for securely generating a server digital signature 506 may be utilized as well.
According to a preferred exemplary embodiment, ECC algorithms for generating server digital signature 506 may be utilized in order to minimize the key length compared to RSA algorithms. Server digital signature 506 may comprise a secure hash signature using a hash algorithm such as secure hash algorithm 1 (SHA-1), or subsequent standards such as SHA-2 and SHA-3, and other possibilities exist as well. Server digital signature 506 is illustrated in
Also note that server digital signature 506 may preferably be included in a response 209 before module 101 begins either (i) utilizing a symmetric key 127 shown in step 413 to encrypt a module encrypted data 403, or (ii) accept or process a module instruction 502. After including server digital signature 506 in a first response 209 that uses asymmetric ciphering 141a, server 105 may omit server digital signature 506 in a second subsequent response. The second subsequent response could be a case where (i) server encrypted data 504 utilizes a symmetric key 127 for ciphering (where server 105 received the symmetric key 127 in a message 208 that utilized asymmetric ciphering 141a as illustrated in
Although energy may be conserved for a module 101 utilizing the exemplary steps illustrated in
Exemplary embodiments that include derivation or processing of a new module private key 112 and module public key 111 may utilize the particular steps and procedures contemplated herein, in order to minimize any potential human intervention (with related costs) while continuing to maintain or also enhance security, compared either (i) externally generating module private key 112, and/or (ii) continuing to use the same module private key 112 for the lifetime of module 101. Over a long period of operating time for a module 101, such as several years or longer, there may be many reasons module 101 may need a new pair of PKI keys, such as (i) expiration of a certificate 122, or the certificate 122 of a parent signature authority, (ii) the transfer of ownership or control of module 101, where the prior ownership could have direct or indirect access to the module private key 112, (iii) supporting a new server 105 that has different security requirements or a different set of parameters 126 (longer keys, different ECC curves, different cryptographic algorithms 141, etc.), and/or (iv) revocation of a public key in a chain of signatures 123 associated with a certificate 122. In the case of (ii) above, new ownership of module 101 may require a module 101 to utilize a new module private key 112 since the old ownership may have access to an old module private key 122. In the case of (iii) above, a new server 105 may require a pair of public/private keys incompatible with a prior set of public/private keys utilized by module 101 and/or a certificate 122 for module 101.
Other possibilities exist as well for reasons why a module 101 and/or server 105 may prefer for a module 101 to utilize a new module public key 111 and new module private key 112. In an exemplary embodiment, module 101 may generate a new public/private key periodically in order to enhance the security of a system 100. A benefit of a system 100 supporting periodic generation of keys by module 101 is that the key length can be shortened in order to obtain a similar level of security, and the processing power and energy consumption, possibly from a battery 105k, can be reduced through the use of shorter key lengths. In other words, over time such as several months or years, the use of a plurality of different pairs of public/private keys for module 101 with shorter key lengths can be both more secure and energy efficient than using a single pair of public/private keys with a longer key length for the lifetime of module 101. Shorter key lengths may also be more compatible with processing power constraints of a module 101. Thus, in exemplary embodiments, module 101 and/or server 105 may prefer for module 101 to periodically generate new public and private keys.
The general approach adopted by most mobile phone networks over the past two decades has been founded upon the use of a pre-shared secret key recorded in SIM cards, such as the Ki pre-shared secret key in 2G and 3G networks. That approach may work for mobile phones, where the SIMs can often be easily replaced, but the use of a pre-shared secret key in a SIM may not be suitable for a module 101 and M2M service provider 108 for many circumstances. As one example, significant costs may be incurred by swapping out a SIM card for already deployed modules 101, especially if they are in remote locations or continually moving such as a tracking device on a container, pallet, truck, or automobile. In an exemplary embodiment, a module 101 may preferably record multiple pairs of public/private keys 111/112 for various and different functions, such as connecting to different servers 105, connecting to different wireless networks 102, etc. As contemplated herein, recording more than one public/private key 111/112 can comprise module 101 recording a plurality of pairs of module public keys 111 and module private keys 112. In exemplary embodiments, one pair comprising a first module public key 111 and a first module private key 112 can be identified or selected from a different pair comprising a second module public key 111 and a second module private key 112 using a module public key identity 111a.
The number of pairs of public/private keys useful to a module 101 concurrently could be several, such as an exemplary three or more actively used public/private keys, although other possibilities exist as well. Manually trying to change or add a new SIM card each time a new security key is required may not be efficient or feasible. Or in another exemplary embodiment, the multiple pairs of private and public keys could be used in sequence, such that module 101 with server 105 utilizes a single module public key 111 and module private key 112 at any given point in time. In the case where module 101 (i) uses more than one private key 112 and more than one public key 111 and (ii) derives at least one module private key 112 and one public key 111 during the lifetime of module 101, this case may be considered module 101 using a plurality of module private keys 112 and using a plurality of module public keys 111. In the case where module 101 derives or generates more than one module private key 112 and module public key 111 during the lifetime of module 101, this case may be considered module 101 deriving a plurality of module private keys 112 and module public keys 111, or also deriving a plurality of pairs of module public keys 111 and module private keys 112. The various pairs in the plurality may use different sets of parameters 126 or the same set of parameters 126. The plurality of module public keys 111 and module private keys 112 can be processed by a CPU 101b with key pair generation algorithms 141e and a random number generator 128. The random number generator 128 can use input from a sensor 101f, a radio 101z, and/or temporary random seed file.
In exemplary embodiments, module 101 can use a module public key 111 for sending a module encrypted data 403 or receiving a server encrypted data 504 by either (i) sending the module public key 111 to a server 105 in order to allow the module encrypted data 403 to be decrypted (such as using a step 413) or the server encrypted data 504 to be encrypted (such as using a step 503), or (ii) inputting the module public key 111 into a key derivation function 141f in order to derive or process a derived shared secret key 129b, which could be used with a symmetric key 127. Other possibilities exist as well for module 101 to use its own public key 111 with cryptographic algorithms for communicating with a server 105.
At step 511, during manufacturing of module 101, including manufacturing of subcomponents such as a circuit board, assembly of hardware components illustrated in
At step 512, module 101 can be distributed to end users and also installed with a monitored unit 119. If module 101 is a mobile phone, then monitored unit 119 could be a person that carries the mobile phone. Also note that a monitored unit 119 could be omitted, and a module 101 could use the techniques contemplated herein. At step 513, a shared secret key 510, parameters 126, and a server address 207 can be recorded in a nonvolatile memory 101w. Parameters 126 may comprise settings for a cryptographic algorithms 141 as illustrated in
Continuing at step 513, server identity 206 could be utilized in place of or in addition to server address 207, and in this case module 101 can later perform a DNS or DNSSEC lookup using server identity 206 in order to obtain server address 207 for use in a message 208, such as the destination address. Shared secret key 510 and server address 207 (or server identity 206) could also be recorded in a ROM 101c at step 513. Step 513 may also be performed concurrently with step 511 or step 512. According to an exemplary embodiment, a manufacturer may perform step 513 and in this case step 513 could take place concurrently with step 511. In another embodiment, a distributor of module 101 could perform step 513 and in this case step 513 could take place concurrently with step 512. Alternatively, step 513 may be performed by a technician or end user after manufacturing and distribution and before module 101 begins collecting sensor data with a monitored unit. Other possibilities exist as well for the sequence of steps 511 through 513 illustrated in
Note that step 513 may take place multiple times during the lifetime of a module 101, and in this case (a) the first time step 513 is conducted, step 513 could be conducted concurrent with steps 511 or 512, and (b) a subsequent time step 513 is conducted, step 513 could be conducted after the receipt of a response 209, where the response 209 includes a second shared secret key 510, server address 207, and also potentially a new module identity 110. In other words, although not illustrated in
Shared secret key 510 may comprise a pre-shared secret key 129a, as described in
As contemplated herein in an exemplary embodiment, an first module private key 112 and first module public key 111 could be derived outside module 101 and loaded into a nonvolatile memory such as flash memory 101w at a prior time before step 513, and the shared secret key 510 could be received by module 101 using the first module private key 112 and module public key 111 (such as receiving the shared secret key 510 in a server encrypted data 504 using the first module private key 112 which had been loaded). Step 513 could then comprise a later time after the server encrypted data 504 has been received that includes the shared secret key 510, where module 101 may (i) prefer to begin utilizing keys that module 101 internally derives using cryptographic algorithms 141 instead of (ii) continuing to use the first module public key 111 and module private key 112 that were derived outside of the module 101, such as possibly loaded into a nonvolatile memory from an external source.
In the embodiment where shared secret key 510 has not been received by module 101 in a server encrypted data 504, shared secret key 510 could be obtained and loaded by a distributor, installer, or end user into a nonvolatile memory such as flash memory 101w in the form of a pre-shared secret key 129a, where pre-shared secret key 129a was obtained using a module identity 110 and pre-shared secret key code 134 as depicted and described in connection with
Also note that as contemplated herein, an initial module private key 112 and initial module public key 111 could be recorded into nonvolatile memory at step 513. For example, a manufacturer, distributor, installer, technician, or end-user could load the initial module private key and initial module public key 111, where the initial module public key 111 would be utilized to authenticate at step 517 a subsequent set of public/private keys derived by module 101 at step 515. In this case, the initial module public key 111 and/or initial module private key 112 described in the previous two sentences could comprise the shared secret key 510. One reason the initial module private key 112 with the initial module public key 111 would comprise a shared secret key 510 may be that (i) the initial module private key 112 and initial module public key 111 together have been “shared” in the sense that the initial module private key 112 has been located outside module 101 and in possession of an entity such as the manufacturer, distributor, installer, technician, or end-user in order to load the initial module private key into a nonvolatile memory such as flash memory 101w (and initial module public key 111 is subsequently shared with server 105), (ii) the initial module private key 112 and initial module public key 111 can be used to authenticate a subsequent message 208 containing a public key internally derived by the module at step 517 below, and (iii) the initial module private key 112 would remain “secret” in the sense that it is not publicly shared (i.e. an initial or “loaded” module private key 112 could preferably kept confidential and thus part of a “shared secret key”). Thus,
Note that the contemplation of the use of shared secret key 510 as a pre-shared secret key 129a within the present invention may be different than the use of a pre-shared secret key within a SIM card as commonly supported by wireless networks 102 with mobile phones in 2013. Specifically, as depicted and described in connection with
If a SIM card is present within module 101, and the SIM card contains a pre-shared secret key, such as Ki, then as contemplated herein, shared secret key 510 may be derived using the SIM card and Ki. As one example, module 101 could (i) utilize a RAND message, potentially received from a 3G or 4G mobile network such as wireless network 102, and (ii) input the RAND into the SIM card and receive a response RES (or SRES), and utilize the string in RES to process or derive a shared secret key 510. Response RES could also comprise a shared secret key 510. Server 105 could also submit the same RAND associated with the SIM card and Ki to wireless network 102, and receive the same RES as obtained by module 101. By both module 101 and server 105 having the same RES value, they can follow a pre-agreed series of steps to use the same RES in order to derive a commonly shared secret key 510 (or the shared RES could comprise a shared secret key 510). In one embodiment where module 101 includes a SIM card for a wireless network 102, such as a 4G LTE network, module 101 and server 105 could both utilize a key derivation function 141f, using the same RES as input, in order to derive the same shared secret key 510.
At step 514, module 101 can read module identity 110 using a read-only address. Module 101 can read module identity 110 directly from read-only hardware address by using system bus 101d, including from a ROM 101c, or module 101 can read module identity 110 from a nonvolatile memory such as a flash memory 101w. Thus, the read-only address could comprise an address accessible on system bus 101d that is designated read-only for a period of time. The module identity 110 could be recorded into a flash memory 101w by module 110 after a prior read of module identity 110 from a read-only address. In this case (module 101 taking the step described in the previous sentence), reading module identity 110 from the nonvolatile memory at step 514 can also comprise module 101 reading module identity 110 using a read-only address. Thus, although module 101 may read module identity 110 from a flash memory 101w, if (a) module 101 initially utilized a read-only address to record the module identity 110 into the flash memory 101w, then (b) reading module identity 110 from the flash memory 101w could comprise using a read-only address to read module identity 110. Other possibilities exist as well, such as the address that includes module identity 110 in either (i) a nonvolatile memory such as a ROM 101c or (ii) an address accessible on system bus 101d, could be designated for a period of time as available for a read-only operation. Step 514 could also take place after step 515 below.
At Step 515, module 101 can derive module private key 112 and a corresponding module public key 111 using (i) random number generator 128, (ii) parameters 126, (iii) cryptographic algorithms 141, and/or (iv) a key pair generation algorithm 141e. Module 101 at step 515 and elsewhere in the present invention can be a mobile phone such as a smartphone. Private key 112 and corresponding module public key 111 can be derived according to a wide range of parameters 126, and can utilize different algorithms for different pairs of keys, such as RSA 153 or ECC 154. Key derivation at step 515 could generate keys of various lengths, such as 2048 bits with RSA 153 or 283 bits with ECC 154, and other possibilities exist as well. If using ECC 154 to derive a pair of keys for module 101, step 515 could also accommodate the use of different elliptic curves for compatibility with server 105, such as the use of odd-characteristic curves, Koblitz curves, and making sure the derived keys by module 101 use a compatible or identical elliptic curve or defined elliptic curve equation as server 105, etc. Module 101 can use ECC parameters 137 or an ECC standard curve 138 in a parameters 126 to derive module private key 112 and/or module public key 111.
Deriving keys in step 515 could also comprise using values such as constants or variables in a parameters 126 to define an elliptic curve equation for use with an ECC algorithm 154. The values or constants to define an equation for an elliptic curve could be input into a key pair generation algorithms 141e in the form of ECC parameters 137 or an ECC standard curve 138. In an exemplary embodiment, where a parameters 126 does not include constants and variables for defining an elliptic curve equation, a key pair generation algorithms 141e could use pre-defined elliptic curves with ECC algorithms 154 such as standardized, named curves in ECC standard curve 138 including exemplary values such as sect283k1, sect283r1, sect409k1, sect409r1, etc. Exemplary, standardized named curves, as opposed to module 101 and server 105 using an internally generated elliptic curve equation using parameters 126, are also identified as example curves in IETF RFC 5480, titled “Elliptic Curve Cryptography Subject Public Key Information”. Thus, module 101 could use either standardized elliptic curves, or a separate defined elliptic curve equation as specified in a parameters 126.
The curve for module 101 to utilize in deriving module public key 111 and module private key 112 at step 515 could be specified in parameters 126. Consequently, the parameters of keys generated by module 101 at step 515 (including key length or algorithms utilized) may be selected based upon the requirements of the application and can be included in a parameters 126. When deriving keys at step 515, module 101 may also preferably utilize data from sensor 101f, radio 101z, a bus 101d, a physical interface 101a, memory 101e, and/or a clock in order to generate a seed 129 for random number generator 128, or random number generator 128 could utilize these inputs directly. A random number 128a can be input into key pair generation algorithm 141e in order to derive the module public key 111 and module private key 112. Note that with ECC algorithms 154, a module private key 112 can be a random number 128a in one embodiment, and the module public key 111 can be derived with a key pair generation algorithms 141e using the module private key 112 comprising the random number 128a.
Upon key derivation at step 515, module private key 112 and module public key 111 can be recorded in a nonvolatile memory 101w. Module private key 112 is preferably not transmitted or sent outside module 101. Note that module 101's internal derivation, or processing or creation, of module private key 112 and corresponding module public key 111 can have many benefits. First, module private key 112 does not need to be recorded in any other location than within module 101, and thus may also be considered not shared. Recording module private key 112 only within module 101 avoids potential security risks of (i) storing or recording module private key 112 in other locations, such as with module provider 109, M2M service provider 108, or an installer or end user of module 101, and (ii) transferring module private key 112 to and/or from these other locations. One security risk from storage of module private key 112 outside module 101 is that unauthorized 3rd parties may gain access to the module private key 112.
Also note that over a potential lifetime of a decade or more of operation of module 101, each time a new module private key 112 may be required (for various potential reasons outlined above), the external recording and/or transferring of module private key 112 incurs a potential security risk. Security risks can be compounded if the external location records private keys 112 for a plurality of modules 101. Also, by internally generating private key 112 at step 515, module 101 can overcome significant limitations and costs requiring the distribution of a pre-shared secret key Ki in the form of a SIM card or similar physical distribution of a pre-shared secret key, after module 101 begins operations. In comparison, the use of a shared secret key 510 in the present invention does not require physical distribution of a new shared secret key 510 after module 101 begins operations. Module 101's key derivation could be triggered by either (i) a bootloader program 125, where the bootloader program 125 determines that memory within module 101 does not contain a module private key 112, or (ii) via a module instruction 502 such as a “key generation” command in a response 209 from a server, and other possibilities exist as well.
Note that module 101's generation of keys after deployment and installation may create challenges for authentication of a new module public key 111 with module identity 110, since module 101 may be connecting to server 105 or M2M service provider 108 via the Internet 107. After module 101 creates new module public key 111 and module private key 112 at step 515, at step 516 server 105 can receive a message 208 with the module identity 110, the new module public key 111, and parameters 126. Parameters 126 in message 208 at step 516 can represent the parameters 126 used to generate the module public key 111. The sub-steps for a server 105 to receive a message 208 are also depicted and described in connection with
According to an exemplary embodiment, a first source (IP:port) number received in a first message 208 at step 516 can be different than a second source IP:port number in a second message 208 at step 518 below, wherein a response 209 send in step 519 below can preferably be sent to the second source IP:port number received in the second message 208 at step 518 in order to traverse a firewall 104 (as depicted and described in connection with packet 209a in
At step 517, server 105 can authenticate the message 208 received in step 516 using the shared secret key 510 described in step 513. Server 105 could record the shared secret key 510. If step 517 occurs for the first time in a lifetime of module 101, then shared secret key 510 could comprise a pre-shared secret key 129a recorded by server 105 in a module database 105k illustrated in
Other possibilities exist as well for server 105 to use a shared secret key 510 in order to authenticate a message 208 that contains a new module public key 111 (where module 101 contains a new module private key 112). In one embodiment, message 208 in step 516 could include a module digital signature 405, where the module 101 used the shared secret key 510 as a private key to generate the module digital signature 405. After receiving authenticated new module public key 111 in steps 516 and 517, according to a preferred exemplary embodiment, server 105 can preferably only accept and process (A) either incoming (i) a symmetric keys 127 ciphered with a asymmetric ciphering algorithm 141a, and/or (ii) incoming server instructions 414, when (B) the next or a subsequent incoming message 208 from module 101 using module identity 110 also includes a valid module digital signature 405 verified by using the new module public key 111, received at step 516.
According to an exemplary embodiment, shared secret key 510 can be associated with a module public key identity 111a, and shared secret key 510 can be used to authenticate a particular value for a module public key identity 111a. In this embodiment, (i) a message 208 with module public key 111 and a first module public key identity 111a may be authenticated using a shared secret key 510, but (ii) a second message with module public key 111 and a second module public key identity 111a may not be authenticated using the same shared secret key 510. Thus, in accordance with an exemplary embodiment, shared secret key 510 can be used for both (i) a single time for authenticating a module public key 111, and (ii) authenticating a module public key 111 with a particular value for the module public key identity 111a. Note that module public key identity 111a can be particularly useful with key revocation, such that a key revocation could specify a particular module public key identity 111a (associated with a particular module public key 111) to be revoked, but other module public keys 111 with different module public key identities 111a could remain valid and not revoked.
Although not illustrated in
After steps 516 and 517, server 105 can update a module database 105k using the module identity 110 to insert or update the new module public key 111, and parameters 126 associated with new module public key 111. Server 105 may communicate with a plurality of modules 101, and thus could utilize a module database 105k in order to record the new module public key 111 and parameters 126 with the module identity 110. In one embodiment, the module identity 110 could preferably operate as an index within a table of module database 105k in order to speed reads and writes from the table used with module public key 111, parameters 126, and also selecting a symmetric key 127 for a symmetric ciphering algorithm 141b in later messages. As described in
After updating the new module public key 111, in step 518 of
The module encrypted data 403 in step 518 could include a symmetric key 127 for utilization with a symmetric cipher 141b. Module 101 could also send sensor data in a module encrypted data 403 at step 518. Or, at step 518 the second message 208 could be a signal for server 105 to use a key derivation function 141f with the server public key 114 and the new module public key 111 (received at step 516) to create a new derived shared key 129b for use with symmetric ciphering algorithms 141b in subsequent messages 208. If the second message 208 in step 518 comprises a signal for server 105 to derive a new derived shared key 129b, then this second message 208 could then optionally leave off module encrypted data 403 and/or a module digital signature 405. The successful use of a new derived shared key 129b (using the new module public key 111 and existing server public key 114) with symmetric ciphering algorithms 141b at subsequent steps by both module 101 and server 105 can indicate to each the communications are mutually authenticated. Second message 208 could also include a server instruction 414, and other possibilities exist as well without departing from the scope of the present invention.
At step 519, server 105 can send a response 209 to module 101, where the response 209 includes server encrypted data 504 and a module instruction 502. Server 105 could take the steps to create and send response 209 as depicted and described in connection with
At step 521 server 101 can determine or evaluate if a new module public key 111 and/or certificate 122 are required for continued operation. One reason for the need of new keys could be the expiration of a certificate 122 for module 101, or the desire to utilize a different set of parameters 126 such as a longer key length for increase security or the use of a different ECC parameters 137 or a different ECC standard curve 138 with cryptographic algorithms 141. As described elsewhere herein, many other possibilities exist for reasons why module 101 and/or server 105 can prefer for module 101 to utilize a new module public key 111 and new module private key 112. Either server 105 or module 101 may determine that the use of a new module public key 111 and new module private key 112 may be preferred at step 521. If module 101 determines that the use of a new module public key 111 and new module private key 112 is preferred or desirable, module 101 could send server 105 a signal that new keys will be generated either before step 521 or at step 521.
Upon determining new keys are desirable at step 521, then server 105 could instruct module 101 to derive new private and public keys by returning to step 515. Although not illustrated in
TCP/UDP packet 601a may include a body 602, which can represent the data payload of TCP/UDP packet 601a. The data payload of message 208 can optionally include channel coding 406 as described in
Note that if (A) message 208 comprises (i) regular UDP or TCP formatting (i.e. not UDP Lite or similar variations) within an IPv6 network, or (ii) a UDP or TCP format within an IPv4 network with a 603 enabled, then (B) channel coding 406 may optionally be omitted. Checksum 603 can comprise a value to for an integrity check of a packet 601a, and the calculation and use of checksum 603 is defined in IETF standards for TCP and UDP packets. In accordance with a preferred exemplary embodiment, including the use of IPv6 for Internet 107 and a UDP datagram for message 208 and response 209, a checksum 603 sent by module 101 in a message 208 does not equal a checksum 603 in the message 208 received by server 105.
The body 602 can include a module identity 110, module encrypted data 403, and channel coding 406. Although not illustrated in
Thus, by including module identity 110 external to module encrypted data 403, server 105 can utilize the module identity 110 to query a database 105d and select the appropriate module public key 111 or symmetric key 127. As noted previously, module identity 110 could comprise a string or number that is uniquely associated with module identity 110, such as a session identity, as opposed to being a module identity 110 that is read from hardware in module 101 such as an IMEI number, Ethernet MAC address, etc. Module identity 110 is illustrated in
According to an exemplary embodiment where asymmetric ciphering 141a of module encrypted data 403 is utilized, such as (i) the first message 208 sent by module 101 and (ii) where a symmetric key 127 had not been previously exchanged, module identity 110 can be (a) within module encrypted data and (b) not external to module encrypted data 403. In this case, server 105 can utilize server private key 105c to, in sequence, decrypt module encrypted data 403, extract module identity 110 from the decrypted module encrypted data 403, and then used the module identity 110 to select module public key 111 from module database 105k in order to verify a module digital signature 405. Note that if a module identity 110 is in body 602 and external to module encrypted data 403, then module identity 110 could be obfuscated or otherwise ciphered according to a pre-agreed algorithm with server 105, such that server 105 can utilize the obfuscated or ciphered module identity 110 to select a module public key 111 from module database 105k. The value of “[Module Identity String]” shown in
The module digital signature 405 can be calculated using the steps and algorithms described in
In addition, the module digital signature 405 may optionally be omitted from body 602 after module 101 has previously sent symmetric key 127 in a previous message 208 to the message 208 illustrated in
Using a message 208 with a module digital signature 405 can be both more efficient and overall more secure than digest authentication (such as the digest authentication described in IETF RFC 2069), although using digest-based authentication may be alternatively used. First, the use of a module digital signature 405 requires only a single packet for message 208 and a single packet for response 209 for secure communication between module 101 and server 105. The alternative digest-based authentication would normally require at least 4 packets comprising: (i) message 208, (ii) a challenge to message 208 from server 105 with a security token 401, (iii) a second message from module 101 with a hashed string generated using (i) the challenge, (ii) cryptographic algorithms 141, and (iii) the module private key 112, and then (iv) an acknowledgement from server 105. The additional messages with digest-based authentication would thereby drain battery life faster or utilize more energy compared to using module digital signature 405.
Second, the use of module digital signature 405 allows a system 100 to be more highly secured since (i) server 105 may need to be connected to the Public Internet 107 and receive packets from a wide range of IP addresses that are not known before messages 208 arrive, and (ii) by using module digital signature 405, server 105 can then preferably not respond to incoming packets and messages without first receiving a properly signed module digital signature 405 (where the module identity 110 associated with module digital signature 405 could also be verified using a certificate 122 and a certificate authority public key 131). By server 105 remaining silent to all packets except packets with a properly signed module digital signature 405, system 100 can thereby remain more secure. In other words, according to preferred exemplary embodiments, server 105 does not send a response 209 to a first message 208 in a series of messages 208 that does not include a validated module digital signature 405 (where the validated module digital signature 405 includes a verified module identity 110), thereby increasing security. Once at least one module digital signature 405 has been received by server 105, then server 105 could use a symmetric key 127 to verify a module identity until a timer expiration 133 for the symmetric key 127. Server 105 could receive a symmetric key using the message 208 illustrated in FIG. 6 of U.S. patent application Ser. No. 14/039,401, and other possibilities exist as well for securely sending and receiving a symmetric key 127.
Module encrypted data 403 can be processed using the steps and algorithms described in
Module encrypted data 403 can include a server instruction 414, a server identity 206, a module identity 110, a security token 401, a timestamp 604a, and a sensor measurement 604b. The server instruction 414 can represent the purpose of the message 208 for server 105, and
An initial transmission or negotiation of a symmetric key 127 may preferably utilize asymmetric ciphering 141a and the use of a public key as an encryption key and a private key as a decryption key. Subsequent transmission of a new symmetric key 127 may utilize either (i) a symmetric cipher 141b with a previously negotiated but still valid symmetric key 127 (i.e. expiration time 133 has not transpired), or (ii) asymmetric ciphering 141a. If the data within instruction 414 is longer than the maximum data length supported by a selected asymmetric ciphering algorithm 141a and the public/private key pair, then module encrypted data 403 within message 208 can be broken up into several sections, such that the data within each section is less than the maximum data length supported by the asymmetric ciphering algorithm 141a and key length.
Server identity 206 within module encrypted data 403 can be useful for properly identifying that server 105 is the proper recipient and final destination of message 208. Server identity 206 can be useful if a plurality of servers 105 is utilized by an M2M service provider 108 with potentially hundreds of thousands or millions of modules 101. In this case, with a plurality of servers 105, server private key 105c may represent a private key that is shared among a plurality of servers 105, since otherwise server 105 may not be able to decrypt module encrypted data 403 if each server 105 in the plurality of servers 105 did not share the common server private key 105c. Continuing in this example of a plurality of servers 105, a server identity 206 may represent a server that associated with M2M service provider 108 but not the recipient of message 208. In this case, (i) a first server 105 could receive message 208 and decrypt message 208 using a common server private key 105c or symmetric key 127, and (ii) the first server 105 can forward message 208 to the second server 105 (not shown) with server identity 206. In this case, the first server 105 can forward message 208 to the second server (not shown) without the encryption applied to module encrypted data 403, since (i) the second server 105 may not have access to the server private key 105c and/or symmetric key 127, or (ii) the first server 105 could have already decrypted the module encrypted data 403 in order to read server identity 206 within module encrypted data 403.
Module identity 110 within module encrypted data 403 can represent the identity of module 110, and could represent a serial number read by module 101 from a read-only hardware address. Module identity 110 is described in
Although not illustrated in
Note that if (A) module encrypted data 403 exceeds an acceptable length for input or output into asymmetric ciphering algorithms 141a, such as data within a module encrypted data 403 comprising an exemplary 3000 bits but only a 2048 bit key length is utilized in an exemplary module private key 112 processed with an RSA algorithm 153, then (B) module encrypted data 403 within body 602 could comprise multiple separate sub-sections for module encrypted data 403. In this case, each sub-section could comprise data less than the maximum acceptable length for encryption, and the sub-sections could be combined in order to form a module encrypted data 403 within body 602.
As noted previously, the use of checksums may be mandatory in IPv6 networks, and thus a response 209 comprising a packet 601b can include a checksum value 603 (illustrated in message 208 but not response 209) for the header. The use of firewalls such as firewall 104 can change the header values in a packet 601b. In accordance with a preferred exemplary embodiment, a first checksum value 603 within a response 209 sent by server 105 can be different and/or not equal to a second checksum value 603 within the response 209 received by module 101. Likewise, in an exemplary embodiment, a first checksum value 603 within a message 208 sent by a module 101 can be different and/or not equal to a second checksum value 603 within the message 208 received by server 105.
A UDP, TCP, or UDP Lite datagram as a TCP/UDP packet 601b within response 209 may include a body 606. Body 606 may comprise the payload or data within a UDP, TCP, or UDP Lite packet. Body 606 can include a server identity 206, a server digital signature 506, server encrypted data 504, and channel coding 406. Server identity 206 is illustrated in
Also note that the server identity 206 can be similar to module identity 110, such that multiple different values for server identity 206 could be utilized in a system 100, but each of the different values could preferably be uniquely associated with server 105. As one example, server identity 206, outside server encrypted data 504 as illustrated in
Server digital signature 506 in body 606 can comprise a secure hash signature of a subset of body 606, where the subset of body 606 can comprise server encrypted data 504, and/or server identity 206 as illustrated in
Body 606 may include server encrypted data 504. Server encrypted data 504 is depicted and described in connection with
Also, although a server encrypted data 504 may preferably be included within a body 606, body 606 may optionally omit server encrypted data 504 and include data from server 105 that is not encrypted, such as plaintext. As one example in this case, acknowledgement 501 could be included in body 606 as plaintext. In addition, although a server digital signature 506 is not illustrated in
Also, although not illustrated in
Server encrypted data 504 in a response 209 may include a security token 401. Security token 401 may be a random string and may also be generated by either server 105 or module 101. If security token 401 is generated by module 101, then security token 401 may be included in message 208 and also utilized by server 105 in response 209, as illustrated in
A message 208 illustrated in
Additional values or fields within a message 208 associated with communicating a new module public key 111 with server 105 could include a server instruction 414 of “new public key”. This server instruction 414 could inform server 105 to utilize the new module public key 111 within the message 208. Module public key identity 111a can include a sequence number or identity for the new module public key 111, such that module 101 or server 105 can properly reference and/or select the key from a plurality of module public keys 111 that could be associated with module identity 110. Although module public key identity 111a is illustrated as a separate field in server instruction 414, module public key sequence number 111a could optionally be included in parameters 126, such that the value within parameters 126 specifies the current sequence number or module public key identity 111a for the new module public key 111 included in a message 208.
Other fields and features within a message 208 as illustrated in a
If message 208 in
After receiving message 208, server 105 can use the unencrypted module identity 110 illustrated in a body 602 of
Although not illustrated in
Although not illustrated in
Application 171i operating within an application server 171 can send an application message 701 to server 105, and server 105 can receive the application message 701. Application message 701 could include a module instruction 502, where the module instruction 502 could comprise an actuator setting 706. Although not illustrated in
A module instruction 502 (i) from an application 171i or application server 171, and (ii) within an application message 701 could include other exemplary values or instructions for a module 101, besides the exemplary actuator setting. According to exemplary embodiments, a module instruction 502 could comprise information for module 101 such as (i) sleep timers or instructions or values for a CPU wake controller 101u, (ii) server address 106 or server identity 206 for communicating with a server 105 (such as sending a different server address 106 for module 101 to utilize in future communications), (iii) a new or updated values for set of data reporting steps 101x, (iv) a new or updated module program 101i, (v) software or firmware for operating system 101h and device driver 101g, (vi) a calibration value for sensor 101f or actuator 101y, (vii) values for a set of parameters 126, (viii) software or settings for radio 101z, (ix) updated cryptographic algorithms 141, (x) a new module private key 112, (xi) a symmetric key 127, (xii) a pre-shared secret key value 129a for use in communicating with a wireless network 102 (where the pre-shared secret key value 129a can be the equivalent of a Ki value in a network supporting ETSI/3GPP standards), (xii) a value for a module identity 101, (xiii) a value to use in a channel coding 406, or (xiv) a security token 401 or settings for using security tokens. Other possibilities exist as well for a module instruction 502 without departing from the scope of the present invention. After receiving module instruction 502 in a response 209 from server 105, module 101 could record the data in module instruction 502 within a nonvolatile memory 101w or RAM 101e.
After receiving application message 701, server 105 can wait for wait interval 703. As depicted and described in connection with
According to exemplary embodiments, wait interval 703 can vary depending upon module 101 and monitored unit 119, and wait interval 703 could comprise a wide range of values. Module 101 could send a sensor data 604b or a report or a message 208 at exemplary reporting intervals such as every minute, 10 minutes, hour, 6 hours, daily, or longer. Wait interval 703 could be associated with the reporting interval, and the wait interval 703 would end when the next message 208 from module 101 is received. If server 105 supports a plurality of modules 101, wait interval 703 can be associated with the specific module 101 associated with the module instruction 502, possibly by using a module identity 110 in both a message 208 and an application message 701. In other words, server 105 can preferably wait for a message 208 from the specific module 101 associated with the module instruction 502 before sending the response 209 which could include the module instruction 502. Response 209 could be sent using the source and destination IP:port numbers depicted and described in connection with
Upon the receipt of message 208 from module 101 with module identity 110, the wait interval 703 can end. As illustrated in
After processing the received message 208 that could include sensor data 604b, server 105 can send application 171i operating on application server 171 an application message 701 that includes an update instruction 704, where update instruction 704 could include sensor data 604b, module identity 110, and sensor identity 151, if present. Update instruction 704 could include data other than sensor data 604, such as data pertaining to the state of module 101, including subcomponents illustrated in
After receiving message 208 with server instruction 414, server 105 can send a response 209 to module 101. Note that response 209 is illustrated in
After receiving response 209 with the module instruction 502 and actuator setting 706, module 101 can process the response 209, which could also include server encrypted data 503. Module 101 could extract actuator setting 706 from the module instruction 502. Module instruction 502 could include an actuator identity 152. Module 101 can use a module program 101i to send the actuator setting 706 to the actuator 101y with actuator identity 152. Actuator setting 706 as sent by module program 101i may be in a different format or data structure than actuator setting 706 as sent by application 171i, but both sets of data can achieve the same objective of having an actuator 101y apply a setting. According to one exemplary embodiment, actuator setting 706 as sent by module program 101i could be an analog voltage along a system bus 101d, while actuator setting 706 as sent by application 171i could be a string or number. Or, actuator setting 706 as sent by module program 101i to actuator 101y could be a number in a different format than a number in actuator setting 706 sent by application 171i, application server 171, and/or server 105. Note that as contemplated herein, the term “actuator data” can include or comprise “actuator setting”.
After applying actuator setting 706, actuator 101y can send an acknowledgement to module program 101i. Module program 101i can then send a second message 208 to server 105, where message 208 includes a server instruction 414 of “confirmation”. The server instruction 414 of “confirmation” could be included in a module encrypted data 403 according to a preferred exemplary embodiment. Server 105 can receive the second message 208 with the module encrypted data 403 and decrypt the module encrypted data 403 using a step 413 to extract the server instruction 414 of “confirmation”. The second message 208 may include the actuator identity 152 and/or also the module identity 110. Server 105 can send an application message 701 that includes a confirmation 705, where the confirmation can (i) inform application 171i that the actuator setting 706 sent to server 105 has been properly and/or successfully applied by module 101 and/or actuator 101y. Confirmation 705 could also include module identity 110 and/or actuator identity 152. Application 171i could then send an acknowledgement back to server 105 after receiving the confirmation 705.
According to preferred exemplary embodiments, actuator identity 152 is preferably globally unique, such that that including an actuator identity 152 in any packet would allow a server 105 or application 171i to lookup a module identity 110 and/or module 101 using the actuator identity 152 and a database such as module database 105k. Similarly, a sensor identity 151 may be globally unique, according to preferred exemplary embodiments such that a sensor identity 151 in any packet would allow a server 105 or application 171i to lookup a module identity 110 and/or module 101 using the sensor identity 151 and a database such as application database 171k.
Module 101 can derive a public key 111 and a private key 112 using step 515. Module 101 can derive the public and private keys using step 515 and a set of parameters 126. Alternatively, module 101 may have the module public key 111 and module private key 112 generated outside module 101 and loaded into a non-volatile memory 101w. Server 105 can utilize step 516 to receive a module public key 111 from module 101. Server 105 can utilize a step 517 to authenticate a message 208 that contains the module public key 111 in step 516. Authentication of module public key 111 may be preferred in order to ensure that the module public key 111 is properly associated with the correct physical module 101 with a module identity 110, and prevent an imposter, hacker, etc. from sending in a fake module public key 111 for module 101. After using step 517 to authenticate module public key 111, server 105 can record module public key 111 in a module database 105k. Although not illustrated in
Also, server 105 is not required to receive module public key 111 from module 101 in order to utilize the methods and systems contemplated herein. Instead of receiving module public key 111 in a message 208 from module 101, server 105 could alternatively query another server such as application server 171 or a server associated with certificate authority 118 for either module public key 112 or a certificate 122 associated with module 101 using a module identity 110. In addition, server 105 could have a list or database table of module identities 110 and module public keys 111 loaded into a module database 105k.
After recording module public key 111 and module identity 110, possibly including a module public key identity 111a, server 105 can wait for wait interval 703. Wait interval 703 could represent the time between reports or messages 208 submitted by module 101, and wait interval 703 for an individual module 101 could comprise a wide range of values from several times a second to several days or longer, depending upon the application and/or monitored unit 119. The wait interval 703 can end when server 105 receives a message 208 from module 101 with a module identity 110.
Module controller 105x within server 105 can receive a message 208 that includes a server instruction 414 with sensor data 604b. The sensor data 604b and/or server instruction 414 could be included in a module encrypted data 403, where the module encrypted data 403 can use the module public key 111 submitted in step 516 above and derived by module 101 in step 515. According to one exemplary embodiment, module encrypted data 403 could be ciphered with a symmetric key 127 that is derived shared key 129b from a key derivation function 141f and module public key 111 received in step 516 (and also server public key 114). Module controller 105x can process message 208 using the steps depicted and described in connection with
Server 105 can establish a secure connection with application server 171 and application 171i using a secure connection setup 801 and a secure connection data transfer 802. Server 105 can utilize a server program 101i to manage the communication with application 171i and/or application server 171, while a module controller 105x can manage communication with a module 101. Alternatively, server program 101i and module controller 105x can be optionally combined or omitted, such that server 105 performs the actions illustrated in
Other secure connections may be utilized as well, including a secure shell (SSH) tunnel, future versions of standard secure connections, or also a proprietary protocol for a secure connection. Secure connection setup 801 as illustrated in
The message flow in a secure connection setup 801 also illustrates one benefit of the present invention, where a message 208 can be securely transferred between module 101 and server 105 using a single UDP datagram, while secure connection setup 801 may require a plurality of TCP messages in both directions. In other words, using a secure connection setup 801 between module 101 and server 105 may not be energy efficient for module 101, while using secure connection setup 801 between server 105 and application server 171 can be efficient, since the data from a plurality of modules 101 can be shared over the secure connection setup 801. Also note that since module 101 may sleep for relatively long periods such as 30 minutes or longer, a new secure connection setup 801 would likely be required to support a firewall 104 after each period of sleep, and completing the process of a secure connection setup 801 each time module 101 wakes may not be energy or bandwidth efficient for a module 101.
After completing server connection setup 801, server 105 can use a secure connection data transfer 802 to send a first application message 701, where the first application message 701 could include update instruction 704 that includes sensor data 604b that server 105 received in a message 208. Data within the first application message 701 containing update instruction 704 could be ciphered according to the specifications of the secure connection, such as TLS or IPSec, and other possibilities exist as well. Note that server 105 can decrypt a module encrypted data 403 that includes sensor data 604b and subsequently encrypt the sensor data 604b according to the format required by secure connection setup 801 for transfer to application 171i using secure connection data transfer 802. Server 105 can use two different server public keys 114, recorded in the form of a certificate 122 in one embodiment, to with a first server public key 114 used decrypt module encrypted data 403 and a second server public key 114 used encrypt update instruction 704. Server public keys 114 can be used by server 105 in a key derivation function 141f to derive a shared public keys 129b used in a symmetric ciphering algorithm 141b for both secure connection data transfer 802 and module encrypted data 403 (with a different derived shared public key 129b with module 101 and application server 171, respectively).
In another embodiment, server 105 can use the same server public key 114 to both decrypt module encrypted data 403 and encrypt update instruction 704. Other possibilities exist as well for server 105 to use a server public key 114 to (i) encrypt update instruction 704, such as using an asymmetric ciphering algorithm 141a, and (ii) decrypt module encrypted data 403 without departing from the scope of the present invention. As illustrated in
After receiving message 208, server 105 can then send a response 209. Response 209 could be sent before or after server 105 sends update instruction 704 to application 171i using secure connection data transfer 802. Response 209 can include a server encrypted data 504 that includes a module instruction 502. Module instruction 502 could be processed by server 105, or could be obtained by server 105 from application 171i in an application instruction 701. In other words, a secure connection data transfer 802 may be utilized by a server 105 and an application server 171 to send a second application message 701 to server 105, and be received by server 105, in addition to the sending the first application message 701 from server 105 to application server 171 that is illustrated in
According to an exemplary preferred embodiment, server 105 waits for a response or acknowledgement 804 from application 171i to application message 701 before sending response 209 to module 101. One reason for waiting for a response or acknowledgement 804 from application 171i is that response or acknowledgement 804 from application 171i could include a module instruction 502, and the module instruction 502 may preferably be included in a response 209. Other possibilities exist as well without departing from the scope of the present invention.
Other possibilities exist as well for a server 105 to use a different cryptographic algorithms 141 or parameters 126 for each of application server 171 and module 101. (A) Server 105 and application server 171 could use a first set of parameters 126 for use with cryptographic algorithms 141 for an application message 701 with related server digital signatures, while (B) server 105 and module 101 could use a second set of parameters 126 for use with cryptographic algorithms 141 for a module encrypted data 403 and/or server encrypted data 504 and related digital signatures. In order to maximize security between servers such as server 105 and application server 171, the first set of parameters 126 could specify (i) a longer public and private key length, (ii) a shorter key expiration time 133, (iii) a longer secure hash algorithm (such as an exemplary 512 bits), (iv) a longer symmetric ciphering key 127 length (such as an exemplary 192 or 256 bits), (v) the use of or values for RSA algorithm 153 and a modulus, (vi) the use of Diffie Hellman key exchange or a first key exchange algorithm for a key derivation function 141f and key exchange, (vii) the use of or values for a second symmetric ciphering algorithm 141b for symmetric ciphering, (viii) the use of or values for an RSA digital signature algorithm or a second digital signature algorithm, and similar settings.
In accordance with a preferred exemplary embodiment, in order to minimize processing power and/or energy usage required for a module 101, the second set of parameters 126 could specify (i) a shorter public and private key length, (ii) a longer key expiration time 133, (iii) a shorter secure hash algorithm (such as an exemplary 256 bits), (iv) a shorter symmetric ciphering key 127 length (such as an exemplary 128 bits), and (v) the use of an ECC algorithm 154, (vi) the use of or values for an ECC standard curve 138 and/or ECC parameters 137, (vii) the use of or values for ECDH 159 or a second key exchange algorithm for key derivation and exchange, (vii) the use of or values for of a second symmetric ciphering algorithm 141b for symmetric ciphering, (viii) the use of or values for of ECDSA 158 or a second digital signature algorithm for digital signatures, and similar settings. In an embodiment, the first set of parameters 126 (which can be used by server 105 and application server 171) and the second set of parameters 126 (which can be used by server 105 and module 101) can both specify the use of elliptic curve cryptographic algorithms 141, but with different sets of parameters 126 such that the first set of parameters 126 is selected for server to server communications, and the second set of parameters 126 is selected for communications between a server 105 and a module 101. In another embodiment, the first set of parameters 126 and the second set of parameters 126 can both specify the use of RSA based cryptographic algorithms 141, but with different sets of parameters 126 such that the first set of parameters 126 is selected for server to server communications, and the second set of parameters 126 is selected for communications between a server 105 and a module 101.
In this manner, the use of cryptographic algorithms 141 between (i) server 105 and application server 171 and (ii) server 105 and module 101 can be optimized given different constraints for processing power and energy consumption for server 105, application server 171, and a module 101. In addition, an application server 171 may use cryptographic algorithms 141 and parameters 126 that may not be compatible with cryptographic algorithms 141 and parameters 126 used by a module 101, and server 105 can use cryptographic algorithms 141 and parameters 126 to enable a translation or conversion of encrypted data and digital signatures between a module 101 and an application server 171, thereby establishing connectivity between a module 101 and an application server 171 through a server 105. According to an exemplary embodiment, server 105 can function as a gateway between application server 171 and/or application 171i and a plurality of modules 101.
As illustrated in
Server 105 can receive a message 208 from a module 101. Server 105 can use a module controller 105x to receive the message, and module controller 105x could also be identified as a process operating on server 105 that binds to the port number in IP:port 207, which could include a port number 205. Message 208 could include module identity string 904, which could represent a temporary or transient string or number used by module 101 and server 105 to associate and identify message 208 with module identity 110. Module identity string 904 could also comprise a module identity 110. Server 105 can use module identity string 904 to select a symmetric key 127 in order to decrypt module encrypted data 403, since module identity string 904 may preferably be not encrypted. Server 105 and module 101 could use an algorithm within cryptographic algorithms 141 in order to process a module identity string 904, whereby the module identity string 904 can be converted between (i) a module identity 110 in a form such as a serial number or IMEI within module 101 and/or server 102, and (ii) a module identity string 904 in a message 208 that can traverse the Internet 107.
Message 208 as received by server 105 can also include a server instruction 414 within a module encrypted data 403, where the module encrypted data 403 could be ciphered using a symmetric key 127. The server instruction 414 illustrated in
According to an exemplary preferred embodiment, server 105 can include a timer 905, such that multiple UDP datagrams 601a received within the timer 905 period may be processed, but datagrams received outside the expiration of the timer 905 would be dropped. Note timer 905 can be particularly useful for security of a system 100 when module 101 may transmit multiple copies of UDP datagram 601a. Module 101 may transmit multiple copies of a UDP datagram 601a in order to implement forward error correction and compensate for any packet loss on the Internet 107 or possibly with wireless network 102. The UDP datagram 601a may also be sent as a UDP Lite datagram with channel coding 406. Server 105 can start timer 905 when the first UDP datagram 601a in message 208 is received, and discard UDP datagrams 601a for message 208 after the timer 905 expires, such as after an exemplary 2 seconds although other possibilities exist as well. In this manner (i) module 101 can securely send multiple copies of the same UDP datagram 601a in message 208, and (ii) server 105 can remain robust against replay attacks. Server 105 can also reset the timer 905 to a zero value upon sending response 209, and the timer value 905 could start again upon the receipt of a first UPD datagram 601a in the next message 208.
If the UDP Lite protocol is utilized for message 208 with multiple copies of UDP Lite datagram 601a received, then each UDP Lite datagram 601a could be different, depending on the presence of bit errors in the datagram, and thus server 105 can use timer 905 to collect the multiple copies of UDP Lite datagram 601a within the timer 905 period and process the multiple packets received, including combining the data across multiple packets, in order to eliminate bit errors within the datagrams and collect an error-free message 208.
After receiving message 208, server 105 use the steps outlined in
In accordance with an exemplary preferred embodiment, the first application message 701 may include an update instruction 704 with sensor data 604b, although update instruction 704 could also contain or include other data pertaining to module 101 besides sensor data 604b, such as a state of a component with module 101, a state of a software routine, variable, or parameter associated with module 101. The first application message 701 sent from server 105 to application server 171 could be a datagram within a secure connection data transfer 802 as illustrated in
In accordance with an exemplary preferred embodiment, application message 701 may include (i) module identity 110 encrypted within secure connection data transfer 802 and also a server identity 206 that is not encrypted. In this manner, application server 171 can use server identity 206 to select a symmetric key 127 (possibly sent in message 805 as described in the paragraph above) in order to decrypt the encrypted data in update instruction 704. Although not illustrated in
Application server 171 can receive the first application message 701 sent by server 105 and process the message. The message processing by application server 171 could use steps similar or equivalent to the steps utilized by server 105 illustrated in
Upon processing the information within application instruction 704, application 171i or application server 171 could send a second application message 701 to server 105, as illustrated in
Either server 105 or application server 171 could use the application server public key 171w to process the second application message 701. As one example, server 105 and/or application server 171 could use a key derivation function 141f to derive a key, where key derivation function 141f used application server public key 171w. The derived key could be used to encrypt and/or decrypt the module instruction 502 in the second application message 701. Other possibilities exists as well for the second application message 701 to use the application server public key 171w, such as server 105 sending a symmetric key 127 (used to encrypt and/or decrypt module instruction 502 in the second application message 701), where they symmetric key 127 was ciphered using the application server public key 171w.
Server 105 can received the second application message 701, and the message could be received using an IP:port number 901. Although an IPv4 address is shown in
After extracting a plaintext module instruction 502 and module identity 110 from a body 602 in the second application message 701, server 105 can take steps to process the data within a response 209 for module 101. Server 105 can record or query for information pertaining to module 101 using module identity 110 in a module database 105k. In accordance with exemplary embodiments, server 105 can use module identity 110 received in the second application message 701 to select (i) a symmetric key 127 used by module 101 for encrypting and/or decrypting a server encrypted data 504 that can include the module instruction 502, (ii) a destination IP:port number 204 for sending a response 209, (iii) a source IP:port number 207 for sending a response 209, (iv) a determination if a wait interval 703 is required before sending response 209, (v) a security token 401, and (vi) a set of parameters 126 for use with a cryptographic algorithms 141 in communications with module 101. In one embodiment, different modules 101 connected to server 105 may use different parameters 126, and server 105 can select the parameters 126 using (i) the module identity 110 received in the second application message and (ii) a module database 105k. Server 105 can also use module identity 110 received in the second application message 701 to select (vii) a transport protocol for a response 209, such as TCP, UDP, or UDP Light, and (viii) a channel coding 406 parameter such as a block code, turbo code, or forward error correction coding scheme. Server 105 can use module identity 110 received in application message 701 to format and/or send a response 209 to module 101.
According to a preferred exemplary embodiment, server 105 may receive an application message 701 with data for a module 101 at arbitrary times. Server 105 could also receive an application message 701 at a time when a first application message 701 with module identity 110 has not (i) previously been sent by server 105, (ii) or sent in a comparably long time such as a day or a week. As noted previously, server 105 may not be able to send a module instruction 502 to module 101 at arbitrary times, because of either (i) a sleep or dormant period for module 101, and/or (ii) the presence of a firewall 104. Thus, server 105 may need to (i) receive a message 208 from module 101 (such as upon waking after a sleep period after a firewall port binding timeout value 117 period since the last message 208) before (ii) sending a module instruction 502. Consequently, according to a preferred exemplary embodiment, server 105 can use module identity 110 received within an application message 701 to determine (i) if server 105 should wait until a wait interval 703 expires before sending response 209 (where the wait interval 703 can end upon receipt of a message 208 from a module 101 with the module identity 110 received in the application message 701) or (ii) if server 105 can send response 209 right away (such as a firewall port binding timeout period 117 has not expired), where response 209 includes the module instruction 502 received in the application message 701.
After (A) using module identity 110 received within application message 701 to select values within a response 209 and timing for sending a response 209, then (B) server 105 can send response 209 as illustrated in
Response 209 sent from server 105 to module 101 could include a checksum 603. Since firewall 104 may comprise a symmetric firewall 104 (that may not perform network address translation routing), the destination address within IP:port 204 in response 209 illustrated in
At step 1001, server 105 can preferably utilize the protocol for the secure connection data transfer 802 (such as TLS illustrated in
Server 105 can then wait for a wait interval 703, where server 105 waits for an incoming message from module 101. Server 105 may need to wait for the wait interval 703 because the module may sleep or be dormant, and also a firewall 104 may block inbound packets or datagrams from server 105 to module 101 if module 101 had not previously sent a packet within a firewall port binding timeout value 117. After the wait interval 703, server 105 can use step 503 to encrypt module instruction 502 using a second symmetric key 127 and a security token 401, where the second symmetric key 127 is different than the first symmetric key 127. As illustrated in
According to exemplary embodiments, a first symmetric key 127 used by server 105 and application server 171 is different than a second symmetric key 127 used by module 101 and server 105. In addition, according to an exemplary embodiment, server 105 may use an RSA algorithm 153 for asymmetric ciphering 141a in packets with application server 171 and an ECC algorithm 154 for asymmetric ciphering 141a in packets with a module 101. Thus, according to an exemplary preferred embodiment, server 105 can utilize (i) a first certificate 122 with an RSA-based server public key 114 for use in communication with application server 171i and (ii) a second certificate 122 with an ECC-based server public key 114 for use in communication with a module 101. In an exemplary embodiment, the first symmetric key 127 is associated with a first symmetric ciphering algorithm 141b between server 105 and application server 171, and the second symmetric key 127 is associated with a second symmetric ciphering algorithm 141b between server 105 and module 101, and the first and second symmetric ciphering algorithms 141b are different. As depicted and described in connection with
Server 105 can receive a message 208 from module 101, where the module identity 110 or module identity string 904 in message 208 could represent a number or string associated with the module identity 110 in application message 701. Note that the exact string, number, or digits in module identity 110 or module identity string 904 in message 208 does not need to match the exact string, number, or digits for module identity 110 in application message 701, and the two messages could use different encoding schemes or values for module identity 110. As one example, module identity 110 in application message 701 could represent a serial number for module 101, while module identity 110 in message 208 could represent a session identity. Other possibilities exist as well for a string or number within a module identity 110. Server 105 can preferably uniquely associate module identity 110 in an application message 701 with module identity 110 in a message 208.
After receiving message 208, server 105 can send the server encrypted data 504 processed in step 503 above within a response 209. A server encrypted data 504 within response 209 could include the module instruction 502, where module instruction 502 was received in the application message 701. Note that module instruction 502 within response 209 does not need to be the exact same string, number, or binary digits as module instruction 502 received by server 105 in application message 701. As one example, application message 701 and response 209 could use different coding schemes (such as ASN.1 for response 209, and plaintext for application message 701, although other possibilities exist as well). As illustrated in
After sending response 209, at step 1002 the server 105 may preferably receive a confirmation from module 101 that the module instruction 502 had been successfully received and/or successfully applied. The confirmation could be received in the format of a second message 208 from module 101 with a server instruction 414, where the server instruction 414 is a “confirmation”. Other data regarding the execution of module instruction 502 by module 101 could be included in the confirmation at step 1002, such as a timestamp 604a when the module instruction 502 was executed. After receiving the confirmation from the module 101, server 105 can preferably send a second application message 701 to an application server 171 and/or application 171i with a confirmation 705. The confirmation 705 could be sent using a secure connection data transfer 802. In accordance with exemplary embodiments, the application message 701 sent from server 105 to application server 171 in the form of a confirmation 705 can include the timestamp 604a.
In an exemplary embodiment, the reliable and secure transmission of timestamp 604a from module 101 to application server 171 through server 105 may be useful for proper management of a monitored unit 119. Due to any sleep or dormant states of module 101, plus periodic outages and recovery of wireless network 102, a first time value that module 101 executes module instruction 502 may be significantly different than a second time value that application server 171 sent the module instruction 502. Consequently, application server 171 may preferably receive a timestamp 604a sent by module 101 in an application message 701 from server 105, and the application message 701 could comprise a confirmation 705.
Although not illustrated in
In this embodiment where step 1001 is omitted in
Continuing in this embodiment where step 1001 is omitted in
Server 105 can receive a first module public key 111 at step 516. The first module public key 111 can be in a message 208 that includes a module identity 110 and first parameters 126, where the parameters can provide values associated with the first module public key 111 such as an elliptic curve name or defining equation, a modulus for an RSA key, a time-to-live value, a certificate authority 118 name, etc. According to an exemplary embodiment, a set of parameters 126 can include a module public key identity 111a, in addition to other values. Server 105 can receive the first module public key 111 at step 516 in the form of a certificate 122, although a certificate 122 is not required. Although not illustrated in
At step 1101, server 105 can receive a second message 208 that includes a first module encrypted data 403, where the first module encrypted data 403 was processed by server 105 using the first module public key 111 and first set of parameters 126 received in step 516. In accordance with an exemplary preferred embodiment, server 105 can use the first module public key 111 to process the first module encrypted data 403 by (i) mutually deriving a common shared secret key 129b as a symmetric key 127 for use between server 105 and module 101 using a key derivation function 141f with the first module public key 111 as an input into the key derivation function 141f, and (ii) server 105 sending a symmetric key 127 to module 101 where (ii.a) the symmetric key 127 was ciphered using an asymmetric ciphering algorithm 141a and the first module public key 111 and (ii.b) the first module encrypted data 403 was ciphered using the symmetric key 127. Note that the second message 208 could be optionally sent without ciphering or encryption, and in this case the second message 208 could use the first module public key 111 to include a module digital signature 405 in the second message 208. The second message 208 can include a sensor data 604b or other server instruction 414. According to an exemplary embodiment, the second message 208 may also preferably include a module identity 110 or a module identity string 904 outside of the module encrypted data 403, so that server 105 can select the proper key in order to decrypt the module encrypted data 403.
At step 1102, server 105 can use an application message 701 to send the sensor data 604b from a sensor 101f with module 101 to an application server 171 and/or an application 171i. As illustrated in
At step 1103, server 105 can process a module instruction 502 for module 101 to derive a second module public key 111 and a second private key 112. Potential reasons for the use of a new public and private key by module 101 are described in connection with
Server 105 can then use step 503 illustrated in
At step 1104, server 105 can then send a response 209 that includes the module instruction 502 and second parameters 126, where the module instruction 502 could be included in a server encrypted data 504. The response 209 could be formatted according to the exemplary response 209 illustrated in
The second set of parameters 126 at step 1104 could be related to the first set of parameters 126 at step 516 illustrated in
One benefit of utilizing a non-standard elliptic curve (where the curve can be defined using a ECC parameters 137 in a parameters 126) is that security can be increased, since attempts to break encryption with standard elliptic curves could not be readily applied to non-standard elliptic curves used in an ECC algorithm 154 (i.e. rainbow tables and the like generated for one elliptic curve would not normally be applicable for a sufficiently different elliptic curve). In accordance with a preferred exemplary embodiment, at step 1104 the second set of parameters 126, which can include values for a defining equation and/or ECC parameters 137, can be sent to a module 101 in a response 209, where the parameters 126 are within a server encrypted data 504. The security of a system 100 can be increased by keeping confidential the elliptic curve used in an ECC algorithm 154. By sending ECC parameters 137 (possibly within the second set of parameters 126) in a server encrypted data 504 in a response 209, where ECC parameters 137 include values for a different elliptic curve for module 101 to utilize in a cryptographic algorithms, the security of a system 100 can be further increased since the underlying elliptic curves used with public and private keys can change over time.
Module 101 can receive the response 209 sent in step 1104 with the module instruction 502 instructing module 101 to derive a new key pair using the second set of parameters 126. Note the second set of parameters 126 could be omitted in the response 209 sent in step 1104 and in this case module 101 can use the first set of parameters from step 516 illustrated in
At step 1105, server 105 can receive the second module public key 111 from module 101 in a third message 208. The third message 208 could include a module identity 110, and the second module public key 112 could be authenticated by server 105 using step 517 depicted and described in connection with
Upon receiving and authenticating the second module public key 111, server 105 can record the second module public key 111 in a module database 105k or store the key in other memory. After recording the second module public key 111, at step 1106 server 105 can receive a fourth message 208 that includes (i) a module identity, and (ii) a second module encrypted data 403, where the second module encrypted data 403 may be encrypted using the second module public key 111 received at step 1105. The second module encrypted data 403 could include second sensor data 604b or other data as well. Server 105 can decrypt the second module encrypted data 403 in order to extract the plaintext sensor data 604b, or other data for a server 105 or application 171i, including a server instruction 414 different than an “update” message.
At step 1107, server 105 can then send a second application message 701 to an application server 171 and/or application 171i, were the second application message could include the sensor data 604 received in step 1105 and the module identity 110. Server 105 can utilize a secure connection data transfer 802 to send the sensor data 604b and the module identity 110 received in step 1106. In an exemplary embodiment, the keys used for a secure connection data transfer 802 at step 1107 could be the same as used in the secure connection data transfer 802 at step 1102. In this manner, server 105 can support a change in public and private keys for module 101, while no change in public and private keys are required for application server 171 and/or application 171i. Further, application 171i may require a valid certificate 122 for server 105, while server 105 may not require a certificate 122 for each module 101. Although not illustrated in
Various exemplary embodiments have been described above. Those skilled in the art will understand, however, that changes and modifications may be made to those examples without departing from the scope of the claims.
This is a continuation of U.S. patent application Ser. No. 15/583,968 filed May 1, 2017, which is a continuation of U.S. patent application Ser. No. 15/010,905 filed Jan. 29, 2016, now U.S. Pat. No. 9,641,327, which is a continuation of U.S. patent application Ser. No. 14/055,606 filed Oct. 16, 2013, now U.S. Pat. No. 9,276,740, each of which is fully incorporated by reference herein. The subject matter of this application is related to the subject matter of U.S. patent application Ser. No. 14/023,181, filed Sep. 10, 2013, which issued as U.S. Pat. No. 9,350,550, in the name of John Nix, entitled “Power Management and Security for Wireless Modules in ‘Machine-to-Machine’ Communications,” which is hereby incorporated by reference in its entirety. The subject matter of this application is also related to the subject matter of U.S. patent application Ser. No. 14/039,401, filed Sep. 27, 2013, which issued as U.S. Pat. No. 9,288,059 in the name of John Nix, entitled “Secure PKI Communications for ‘Machine-to-Machine’ Modules, including Key Derivation by Modules and Authenticating Public Keys,” which is hereby incorporated by reference in its entirety.
Number | Name | Date | Kind |
---|---|---|---|
5216715 | Markwitz | Jun 1993 | A |
5319710 | Atalla | Jun 1994 | A |
5642420 | Kuroda | Jun 1997 | A |
5664017 | Gressel et al. | Sep 1997 | A |
5852665 | Gressel et al. | Dec 1998 | A |
5995625 | Sudia | Nov 1999 | A |
6038322 | Harkins | Mar 2000 | A |
6721886 | Uskela | Apr 2004 | B1 |
6804357 | Ikonen | Oct 2004 | B1 |
6842628 | Arnold | Jan 2005 | B1 |
7627760 | Lauter | Dec 2009 | B2 |
7921292 | Pauker et al. | Apr 2011 | B1 |
8127142 | Cuppett | Feb 2012 | B2 |
8352739 | Park | Jan 2013 | B2 |
8434139 | Ortiz, Jr. | Apr 2013 | B1 |
8522013 | Zhang | Aug 2013 | B2 |
8526606 | Muthaiah | Sep 2013 | B2 |
8555067 | Schell et al. | Oct 2013 | B2 |
8577337 | O'Leary | Nov 2013 | B2 |
8590028 | Saxena et al. | Nov 2013 | B2 |
8713320 | Xu et al. | Apr 2014 | B2 |
8782774 | Pahl et al. | Jul 2014 | B1 |
8843179 | Li et al. | Sep 2014 | B2 |
8924715 | Schell et al. | Dec 2014 | B2 |
8948386 | Campagna et al. | Feb 2015 | B2 |
8965366 | Somayajula et al. | Feb 2015 | B1 |
9002018 | Wilkins et al. | Apr 2015 | B2 |
9020479 | Somayajula et al. | Apr 2015 | B1 |
9100175 | Nix | Aug 2015 | B2 |
9118464 | Nix | Aug 2015 | B2 |
9253643 | Pattar et al. | Feb 2016 | B2 |
9270653 | Maria | Feb 2016 | B2 |
9276740 | Nix | Mar 2016 | B2 |
9300473 | Nix | Mar 2016 | B2 |
9319223 | Nix | Apr 2016 | B2 |
9332129 | Li et al. | May 2016 | B2 |
9351162 | Nix | May 2016 | B2 |
9408012 | Li et al. | Aug 2016 | B2 |
9572016 | Cormier et al. | Feb 2017 | B2 |
9596078 | Nix | Mar 2017 | B2 |
9628981 | Park | Apr 2017 | B2 |
9641327 | Nix | May 2017 | B2 |
9674690 | Lee | Jun 2017 | B2 |
9698981 | Nix | Jul 2017 | B2 |
9742562 | Nix | Aug 2017 | B2 |
9794775 | Huber | Oct 2017 | B2 |
9800993 | Lee | Oct 2017 | B2 |
9807605 | Gao | Oct 2017 | B2 |
9961060 | Nix | May 2018 | B2 |
9998280 | Nix | Jun 2018 | B2 |
9998281 | Nix | Jun 2018 | B2 |
10003461 | Nix | Jun 2018 | B2 |
10057059 | Nix | Aug 2018 | B2 |
10084768 | Nix | Sep 2018 | B2 |
20010029581 | Knauft | Oct 2001 | A1 |
20020018569 | Panjwani et al. | Feb 2002 | A1 |
20030003895 | Wallentin et al. | Jan 2003 | A1 |
20030211842 | Kempf et al. | Nov 2003 | A1 |
20040162472 | Berson et al. | Aug 2004 | A1 |
20040179684 | Appenzeller et al. | Sep 2004 | A1 |
20040221163 | Jorgensen et al. | Nov 2004 | A1 |
20050008159 | Grilli et al. | Jan 2005 | A1 |
20050021875 | Bouthemy et al. | Jan 2005 | A1 |
20050050323 | Mizrah | Mar 2005 | A1 |
20050120202 | Cuellar et al. | Jun 2005 | A1 |
20050138353 | Spies et al. | Jun 2005 | A1 |
20050193199 | Asokan et al. | Sep 2005 | A1 |
20050246282 | Naslund et al. | Nov 2005 | A1 |
20050278787 | Naslund et al. | Dec 2005 | A1 |
20060021063 | Hori | Jan 2006 | A1 |
20060056355 | Love et al. | Mar 2006 | A1 |
20060059344 | Mononen | Mar 2006 | A1 |
20060095771 | Appenzeller et al. | May 2006 | A1 |
20060206710 | Gehrmann | Sep 2006 | A1 |
20060281442 | Lee et al. | Dec 2006 | A1 |
20070033403 | Lauter | Feb 2007 | A1 |
20070101400 | Freeman et al. | May 2007 | A1 |
20070158439 | Conner et al. | Jul 2007 | A1 |
20070206799 | Wingert et al. | Sep 2007 | A1 |
20080016230 | Holtmanns et al. | Jan 2008 | A1 |
20080022089 | Leedom | Jan 2008 | A1 |
20080031204 | Sood | Feb 2008 | A1 |
20080114978 | Lehtovirta et al. | May 2008 | A1 |
20080130879 | Heinonen et al. | Jun 2008 | A1 |
20080165698 | Dalsgaard et al. | Jul 2008 | A1 |
20080307218 | Logvinov | Dec 2008 | A1 |
20090011320 | Senda | Jan 2009 | A1 |
20090028341 | Hamachi | Jan 2009 | A1 |
20090041110 | Malladi | Feb 2009 | A1 |
20090060197 | Taylor et al. | Mar 2009 | A1 |
20090077643 | Schmidt et al. | Mar 2009 | A1 |
20090113203 | Tsuge et al. | Apr 2009 | A1 |
20090116642 | Yang et al. | May 2009 | A1 |
20090125996 | Guccione et al. | May 2009 | A1 |
20090132806 | Blommaert et al. | May 2009 | A1 |
20090183541 | Sadighi et al. | Jul 2009 | A1 |
20090191857 | Horn et al. | Jul 2009 | A1 |
20090209232 | Cha et al. | Aug 2009 | A1 |
20090217348 | Salmela et al. | Aug 2009 | A1 |
20090268909 | Girao et al. | Oct 2009 | A1 |
20090274306 | Nolte | Nov 2009 | A1 |
20090282246 | Gunther | Nov 2009 | A1 |
20090313472 | Guccione et al. | Dec 2009 | A1 |
20100023771 | Struik | Jan 2010 | A1 |
20100031042 | Di Crescenzo et al. | Feb 2010 | A1 |
20100062808 | Cha et al. | Mar 2010 | A1 |
20100098253 | Delerablee | Apr 2010 | A1 |
20100166167 | Karimi-Cherkandi et al. | Jul 2010 | A1 |
20100195833 | Priestley | Aug 2010 | A1 |
20100199334 | Ehrensvard et al. | Aug 2010 | A1 |
20100211779 | Sundaram | Aug 2010 | A1 |
20100223461 | Drader et al. | Sep 2010 | A1 |
20100275028 | Takashima | Oct 2010 | A1 |
20110016321 | Sundaram et al. | Jan 2011 | A1 |
20110035584 | Meyerstein et al. | Feb 2011 | A1 |
20110055553 | Lee et al. | Mar 2011 | A1 |
20110158411 | Medvinsky et al. | Jun 2011 | A1 |
20110167272 | Kolesnikov | Jul 2011 | A1 |
20110213959 | Bodi | Sep 2011 | A1 |
20110237281 | Busropan et al. | Sep 2011 | A1 |
20110268022 | Xu | Nov 2011 | A1 |
20110269422 | Xu et al. | Nov 2011 | A1 |
20110269461 | Xu et al. | Nov 2011 | A1 |
20110269472 | Xu et al. | Nov 2011 | A1 |
20110270747 | Xu | Nov 2011 | A1 |
20110291803 | Bajic et al. | Dec 2011 | A1 |
20110314287 | Escott et al. | Dec 2011 | A1 |
20120011360 | Engels et al. | Jan 2012 | A1 |
20120023336 | Natarajan | Jan 2012 | A1 |
20120030461 | Willey et al. | Feb 2012 | A1 |
20120033613 | Lin et al. | Feb 2012 | A1 |
20120072732 | Canard et al. | Mar 2012 | A1 |
20120084568 | Sarikaya et al. | Apr 2012 | A1 |
20120089568 | Manley et al. | Apr 2012 | A1 |
20120108205 | Schell et al. | May 2012 | A1 |
20120117635 | Schell et al. | May 2012 | A1 |
20120159153 | Shim et al. | Jun 2012 | A1 |
20120170451 | Viswanathan et al. | Jul 2012 | A1 |
20120190354 | Merrien et al. | Jul 2012 | A1 |
20120214444 | McBride et al. | Aug 2012 | A1 |
20120260086 | Haggerty et al. | Oct 2012 | A1 |
20120260090 | Hauck et al. | Oct 2012 | A1 |
20120260095 | Von Hauck et al. | Oct 2012 | A1 |
20120272064 | Sundaram et al. | Oct 2012 | A1 |
20120278490 | Sennett et al. | Nov 2012 | A1 |
20120300932 | Cambridge et al. | Nov 2012 | A1 |
20120331287 | Bowman et al. | Dec 2012 | A1 |
20120331292 | Haggerty et al. | Dec 2012 | A1 |
20120331298 | Xu et al. | Dec 2012 | A1 |
20130007442 | Mao et al. | Jan 2013 | A1 |
20130012168 | Rajadurai | Jan 2013 | A1 |
20130028184 | Lee et al. | Jan 2013 | A1 |
20130091556 | Horn et al. | Apr 2013 | A1 |
20130114810 | Kobayashi et al. | May 2013 | A1 |
20130117824 | Naslund et al. | May 2013 | A1 |
20130122864 | Haggerty et al. | May 2013 | A1 |
20130145151 | Brown et al. | Jun 2013 | A1 |
20130149996 | King et al. | Jun 2013 | A1 |
20130157673 | Brusilovsky | Jun 2013 | A1 |
20130165073 | Madsen | Jun 2013 | A1 |
20130166915 | Desai et al. | Jun 2013 | A1 |
20130173747 | Kim et al. | Jul 2013 | A1 |
20130173926 | Morese et al. | Jul 2013 | A1 |
20130179962 | Arial et al. | Jul 2013 | A1 |
20130182586 | Paladugu et al. | Jul 2013 | A1 |
20130183932 | Lemilainen et al. | Jul 2013 | A1 |
20130212637 | Guccione et al. | Aug 2013 | A1 |
20130227646 | Haggerty et al. | Aug 2013 | A1 |
20130231087 | O'Leary | Sep 2013 | A1 |
20130294602 | Huxham et al. | Nov 2013 | A1 |
20130305345 | Bugenhagen | Nov 2013 | A1 |
20130322621 | Yoon et al. | Dec 2013 | A1 |
20130331063 | Cormier et al. | Dec 2013 | A1 |
20130340040 | Park | Dec 2013 | A1 |
20130344864 | Park | Dec 2013 | A1 |
20140003604 | Campagna et al. | Jan 2014 | A1 |
20140040628 | Fort et al. | Feb 2014 | A1 |
20140049653 | Leonard et al. | Feb 2014 | A1 |
20140053241 | Norrman et al. | Feb 2014 | A1 |
20140073375 | Li et al. | Mar 2014 | A1 |
20140082358 | Nakhjiri et al. | Mar 2014 | A1 |
20140082359 | Nakhjiri et al. | Mar 2014 | A1 |
20140087790 | Babbage et al. | Mar 2014 | A1 |
20140101444 | Lee et al. | Apr 2014 | A1 |
20140108801 | McBride et al. | Apr 2014 | A1 |
20140115335 | Jorden et al. | Apr 2014 | A1 |
20140120874 | Kang | May 2014 | A1 |
20140122878 | Cho et al. | May 2014 | A1 |
20140140507 | Park et al. | May 2014 | A1 |
20140140509 | Chastain | May 2014 | A1 |
20140143534 | Chastain | May 2014 | A1 |
20140143826 | Sharp et al. | May 2014 | A1 |
20140161113 | Cui et al. | Jun 2014 | A1 |
20140165155 | Zhang | Jun 2014 | A1 |
20140192976 | Yoon et al. | Jul 2014 | A1 |
20140219447 | Park et al. | Aug 2014 | A1 |
20140219448 | Froels et al. | Aug 2014 | A1 |
20140235210 | Park | Aug 2014 | A1 |
20140237101 | Park | Aug 2014 | A1 |
20140244994 | Yu | Aug 2014 | A1 |
20140273913 | Michel et al. | Sep 2014 | A1 |
20140281483 | Vigliaturo et al. | Sep 2014 | A1 |
20140287725 | Lee | Sep 2014 | A1 |
20140308991 | Lee et al. | Oct 2014 | A1 |
20140329502 | Lee et al. | Nov 2014 | A1 |
20140337937 | Truskovsky et al. | Nov 2014 | A1 |
20140351403 | Lin et al. | Nov 2014 | A1 |
20140357229 | Lee et al. | Dec 2014 | A1 |
20150012743 | Holtmanns et al. | Jan 2015 | A1 |
20150017910 | Li et al. | Jan 2015 | A1 |
20150071139 | Nix | Mar 2015 | A1 |
20150089214 | Dupre | Mar 2015 | A1 |
20150092590 | Zhu et al. | Apr 2015 | A1 |
20150095514 | Yu | Apr 2015 | A1 |
20150095648 | Nix | Apr 2015 | A1 |
20150113275 | Kim et al. | Apr 2015 | A1 |
20150121495 | Gao et al. | Apr 2015 | A1 |
20150215126 | Ashdown | Jul 2015 | A1 |
20150222604 | Ylonen et al. | Aug 2015 | A1 |
20150222619 | Hughes et al. | Aug 2015 | A1 |
20150281964 | Seo et al. | Oct 2015 | A1 |
20160014112 | Gunning et al. | Jan 2016 | A1 |
20160057725 | Suh | Feb 2016 | A1 |
20160088096 | Quiriconi | Mar 2016 | A1 |
20160127132 | Lee et al. | May 2016 | A1 |
20160149903 | Suh | May 2016 | A1 |
20160212617 | Koshimizu et al. | Jul 2016 | A1 |
20160269386 | Nix | Sep 2016 | A1 |
20160294829 | Angus | Oct 2016 | A1 |
20170206532 | Choi | Jul 2017 | A1 |
20170373845 | Nix | Dec 2017 | A1 |
20180254897 | Nix | Sep 2018 | A1 |
20180262329 | Nix | Sep 2018 | A1 |
20180270059 | Nix | Sep 2018 | A1 |
Number | Date | Country |
---|---|---|
2775853 | Dec 2012 | CA |
1981224 | Oct 2008 | EP |
10-2013-0026352 | Mar 2013 | KR |
10-2013-0026958 | Mar 2013 | KR |
2011-138238 | Nov 2011 | WO |
2013027085 | Feb 2013 | WO |
2013066077 | May 2013 | WO |
Entry |
---|
3GPP, 3rd Generation Partnership Project; Technical Specification Group Core Network and Terminals; Non-Access-Stratum (NAS) protocol for Evolved Packet System (EPS); Stage 3, 3GPP Ts 24.301 v12.2.0, Sep. 2013 pp. 1-6, 63-100. |
3GPP, 3rd Generation Partnership Project;Technical Specification Group Services and System Aspects; 3GPP System Architecture Evolution (SAE); Security Architecture, 3GPP TS 33.401 V12.9.0 (Sep. 2013) pp. 1-75. |
Appenzeller et al., Identity-Based Encryption Architecture and Suporting Data Structures RFC 5408, 2009, pp. 1-30. |
Baugher et al., Group Key Management Architecture, RFC Draft, 2001, pp. 1-20. |
Ben Saied, Yosra; Olivereau, Alexis; Laurent, Maryline; “A Distributed Approach for Secure M2M Communications”, 5th International Conference on New Technologies, Mobility and Security (NTMS), May 7-10, 2012, pp. 1-7. |
Boyen et al., Anonymous Hierarchical Identity-Based Encyrption (Without Random Oracles), 2006. |
Boyen et al., Identity-Based Cryptography Standard (IBCS) #1: Supersingular Curve Implementations of the BF and BB1 Cryptosystems, RFC 5091, 2007, pp. 1-63. |
ETSI, Smart Cards; Embedded UICC; Requirements Specification, TS 103 383 v12.1.0, Jun. 2013, pp. 1-20. |
E-TSI, Smart Cards; UICC-Terminal Interfaces; Physical and Logical Characteristics, TS 102 221 v11.0.0, Jun. 2012, pp. 1-181. |
ETSI, UMTS;LTE; SIM/USIM Internal and External Interworking Aspects, TR 131 900 v.10.0.0, May 2011, pp. 1-41. |
Harney et al., Group Key Management Protocol (GKMP) Architecture, 1994, pp. 1-19. |
International Search Report and Written Opinion for PCT/US2014/062435 dated Feb. 6, 2015. |
Kitz et al., CCA2 Secure IBE: Standard Model Efficiency through Authenticated Symmetric Encryption, 2008. |
Krylov, What is Kerberos Authtentication?, 2003, pp. 1-4. |
Martin, Introduction to Identity-Based Encryption, ISBN-13 978-1-59693-238-8, 2008. |
Merrian-Webster, Network, 2014. |
Park et al., A New Practical Identity-Based Encryption System, 2003, pp. 1-27. |
Park et al., Secure Profile Provisioning Architecture for Embedded UICC, 2013 IEEE, pp. 297-303. |
Search Report and Written Opinion for PCT/US2014/068544 (13/1714-WO). |
Shih, Jie-Ren; Hu, Yongbo; Hsiao, Ming-Chun; Chen, Ming-Shing; Shen, Wen-Chng; Yang, Bo-Yin; Wu, An-Yeu; Cheng, Chen-Mou; “Securing M2M with Post-Quantum Public-Key Cryptography”, IEEE Journal on Emerging and Selected Topics in Circuits and Systems, Mar. 7, 2013, pp. 106-116. |
Voltage Security, The Identity-Based Encryption Advantage, 2015. |
Yang et al., Identity-Based Key Agreement and Encyrption for Wireless Sensor Networks, IJCSNS International Journal of Computer Science and Network Security, vol. 6, No. 5B, May 2006, pp. 182-189. |
Youngblood, An Introduction to Identity-based Cryptography, 2005. |
Zhu et al., Public Key Cryptography for Initial Authentication in Kerberos (PPKINIT), RFC 4556, 2006, pp. 1-42. |
GSMA, Fast Dormancy Best Practices Version 1.0, Jul. 27, TS.18, pp. 1-23. |
N. Chu et al. EXALTED: Expanding LTE for Devices, European Commission for Information Society and Media, Oct. 31, 2012, pp. 1-141. |
J. Huang et al, A close Examination of Performance and Power Characteristics of 4G LTE Networks, Mobisys' 12, Jun. 25-29, 2012, pp. 1-14. |
F. Qian et al., TOP: Tail Organization Protocol for Cellular Resource Allocation, 18th IEEE International Conference on Network Protocols (ICNP), 2010, pp. 285-298. |
Wikipedia, RSA (algorithm), http://en.wikipedia.org/wiki/RSA_(algorithm), Sep. 9, 2013, pp. 1-12. |
Wikipedia, Elliptic Curve Cryptography, http://en.wikipedia.org/wiki/Elliptic_curve_cryptography, Sep. 9, 2013, pp. 1-8. |
L. Larzon, The Lightweight User Datagram Protocol (UDP-Lite), Internet Engineering Task Force RFC 3828, Jul. 2004, pp. 1-12. |
Wikipedia, Digital Signature, http://en.wikipedia. org/wiki/Digital_Signature, Sep. 9, 2013, pp. 1-10. |
D. Cooper, Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile, Internet Engineering Task Force RFC 5282, pp. 1-133. |
ETSI, Machine-to-Machine communications (M2M), mla, dla, and mid interfaces, TS 102.921 v1.1.1, Feb. 2012, pp. 1-538. |
C. Downey, Migrating Legacy M2M Systems to the Cloud, http://www.ecnmag.com/articles/2013/02/migrating-legacy-m2m-systems-cloud, Feb. 2013, pp. 1-2. |
A. Wander et al, Energy Analysis of Public-Key Cryptography on Small Wireless Devices, Sun Microsystems Laboratories, pp. 1-16. |
J. Jonsson et al, Public-Key Cryptography Standards (PKCS) #1: RSA Cryptography Specifications Version 2.1, Internet Engineering Task Force RFC 3447, Feb. 2003, pp. 1-72. |
D. McGrew et al, Fundamental Elliptic Curve Cryptography Algorithms, Internet Engineering Task Force RFC 6090, Feb. 2011, pp. 1-34. |
Wikipedia, Elliptic Curve Diffie-Hellman, http://en.wikipedia.org/wiki/Elliptic_curve_Diffie%E2%80%93Hellman, Sep. 24, 2013, pp. 1-2. |
V. Martinez et al, A Survey of the Elliptic Curve Integrated Encryption Scheme, Journal of Computer Science and Engineering, vol. 2, Aug. 2010, pp. 7-13. |
T. Pornin, Deterministic Usage of the Digital Signature Algorithm (DSA) and Elliptic Curve Digital Signature Algorithm (ECDSA), Internet Engineering Task Force RFC 6979, Aug. 2013, pp. 1-79. |
Cakulev et al., “An EAP Authentication Method Based on Identity-Based Authenticated Key Exchange,” Aug. 2012, pp. 1-32. |
Gollmann, “Authentication—Myths and Misconceptions,” Progress in Computer Science and Applied Logic, vol. 20, 2001, pp. 203-225. |
Tin et al., “Provably Secure Mobile Key Exchange: Applying the Canetti-Krawczyk Approach,” Information Security Research Centre, Queensland University of Technology, Australia, 2003, pp. 166-179. |
Hegland et al., “A Framework for Authentication in NBD Tactical Ad Hoc Networks,” IEEE Communications Magazine, Oct. 2011, pp. 64-71. |
Nicholson et al., “Mobile Device Security Using Transient Authentication,” IEEE Transactions on Mobile Computing, vol. 5, No. 11, Nov. 2006, pp. 1489-1502. |
Schwaiger et al., “Smart Card Security for Fieldbus Systems,” 2003, pp. 398-406. |
Kirk H.M. Wong et aL, A Dynamic User Authentication Scheme for Wireless Sensor Networks, Proceedings of the IEEE International Conference on Sensor Networks, Ubiquitous, and Trustworthy Computing (SUTC'06), pp. 1-8. |
Pierre E. Abi-Char, et aL, A Fast and Secure Elliptic Curve Based Authenticated Key Agreement Protocol for Low Power Mobile Communications, The 2007 International Conference on Next Generation Mobile Applications, Services and Technologies (NGMAST 2007), pp. 1-6. |
Jun Shao, et al., An Improved Deniable Authentication Protocol, Department of Computer Science and Engineering, Shanghai Jiao Tong University, Shanghai 200030, People's Republic of China, pp. 1-3. |
Chris Foresman, Embedded SIM could caus carrier conflict for Apple, Nov. 19, 2010, pp. 1-2. |
Embedded UICC Remote Provisioning Discussion, Source: Rogers Wireless, 3GPP/SA3-LI#46, Quebec City, Canada, Jul. 17-19, 2012, pp. 1-39. |
GSMA Launches Embedded SIM Initiative to Support the Connected Future, Nov. 18, 2010, pp. 1-4. |
Chang-Seop Park, On Certificate-Based Security Protocols for Wireless Mobile Communication Systems, Dankook University, IEEE Network Sep./Oct. 1997, pp. 50-55. |
M. Prasad, et aL, Secure Authentication Key Agreement Protocol for Long Term Evolution—Advanced, Research Scholar, Associate Professor, Department of Computer Science & Engineering, Pondicherry Engineering College, Puducherry, India, Elsevier, 2012, pp. 158-162. |
Eun-Jun Yoon, et aL, Secure Deniable Authentication Protocol Based on ElGamal Cryptography, 2008 International Conference on Information Security and Assurance, pp. 36-39. |
CSMG, Reprogrammable SIMs: Technology, Evolution and Implications, Sep. 25, 2012, pp. 1-95. |
GlobalPlafform Inc., GlobalPlatform Card Specification, Version 2.2.1, Jan. 2011, pp. 1-303. |
GlobalPlafform Inc., GlobalPlatform Card Security Upgrade for Card Content Management, Card Specification v 2.2.—Amendment E, Version 1.0, Nov. 2011, pp. 1-35. |
GSM Association, Embedded SIM Task Force Requirements and Use Cases, Version 1.0, Feb. 21, 2011, pp. 1-38. |
Pietre-Cambacedes et al., Cryptographic key management for SCADA systems—issues and perspectives, 2008 International Conference on Information Security and Assurance, IEEE, pp. 156-161. |
Bender et al., Evolution of SIM provisioning towards a flexible MCIM provisioning in M2M vertical industries, 16th International Conference on Intelligence in Next Generation Networks, IEEE, 2012, pp. 57-64. |
Park et al., Secure Profile Provisioning Architecture for Embedded UICC, 2013 International Conference on Availability, Reliability and Security, IEEE, 2013, pp. 297-303. |
Number | Date | Country | |
---|---|---|---|
20180343117 A1 | Nov 2018 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 15583968 | May 2017 | US |
Child | 16036506 | US | |
Parent | 15010905 | Jan 2016 | US |
Child | 15583968 | US | |
Parent | 14055606 | Oct 2013 | US |
Child | 15010905 | US |