One-time pad encryption for industrial wireless instruments
By using one-time pad encryption methods and solid-state memory devices in industrial wireless instruments, the security problem of encryption methods in the existing technology in the face of advances in computing technology is solved, efficient encryption and decryption of data transmission is achieved, and ensuring Security and storage efficiency of wireless instruments.
Patent Information
- Application Number
- CN201980080432.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-12-06
- Filing Date
- 2019-12-05
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2039-12-05
AI Technical Summary
Existing encryption methods for industrial wireless instruments are difficult to ensure data security in the face of threats from advances in computing technology, especially when data is encrypted before transmission to mitigate the problem of unauthorized use.
Adopting a one-time pad (OTP) encryption method, using solid-state memory devices to store and manage encryption keys in wireless instruments, encrypting plaintext data through XOR processing, and using anti-tampering technology during the manufacturing process to ensure the security of the code pad, Make sure the encryption key is only used once.
It achieves efficient encryption and decryption in industrial wireless instruments, ensures the security of data transmission, avoids unauthorized access, and does not require frequent replenishment of codebooks during the life of the device, reducing storage requirements.
Smart Images

Figure CN113169861B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to U.S. Provisional Patent Application No. 62 / 776,284, filed on December 6, 2018, entitled “Remote Wireless Sensors and Systems Including Remote Wireless Sensors Using Automatic OTP Encryption Transmission,” the disclosure of which is incorporated herein by reference. Technical Field
[0003] The present disclosure relates to industrial wireless instruments, and more particularly, to methods and systems for implementing one-time pad (OTP) encryption for industrial wireless instruments. Background Art
[0004] Industrial wireless instruments, such as sensors, actuators, controllers, and various other industrial devices, are increasingly being used to replace wired devices. There are several benefits to such industrial wireless instruments. First, industrial wireless instruments do not require cables to be laid throughout a facility, thus significantly saving on installation costs. These devices also provide flexibility because they can be easily installed in any number of locations in a facility and easily relocated to any number of locations in a facility.
[0005] Each industrial wireless instrument is typically connected as a node in a wireless network that covers part or all of a facility. The wireless instrument obtains measurements and readings of various physical parameters from the equipment, machinery, and processes in the facility and then periodically transmits the readings as data to monitoring and control applications. The monitoring and control applications can then analyze the data and issue commands and instructions as needed to control the equipment, machinery, and processes. The monitoring and control applications can also store the data in a database and otherwise make the data available to other applications and users.
[0006] However, data transmitted wirelessly is vulnerable to interception and use by malicious parties. While interception remains a problem, unauthorized use can be mitigated by encrypting the data before transmission. There are many different encryption methods, each with its own advantages and disadvantages. Examples include symmetric encryption schemes, such as the Advanced Encryption Standard (AES) and the Data Encryption Standard (DES), and asymmetric encryption schemes that use different keys for encryption and decryption (e.g., public-private key encryption). These encryption schemes rely on the inability of existing computing systems to solve certain mathematical functions in a reasonable amount of time, such as factoring large composite numbers into prime numbers that are as large as 2048 digits or more, or the reciprocal of the logarithm of a certain base. Recent advances in computing technology threaten the security of such encryption algorithms.
[0007] Therefore, while many advances have been made in the field of industrial wireless instrumentation, it is easy to understand that there is still a need for continuous improvement. Summary of the invention
[0008] The present disclosure provides a method and system for implementing one-time password (OTP) encryption in industrial wireless instruments. The method and system advantageously utilize currently available data storage devices that can store a large number of encryption keys or passwords in a package small enough to fit industrial wireless instruments. In some embodiments, the wireless instrument uses a solid-state memory device that can easily hold a sufficient number of passwords to maintain the expected life of the wireless instrument. In addition, the solid-state memory device is only installed during the manufacturing process of the wireless instrument, where tamper-resistant manufacturing and assembly techniques can be used to ensure the security of the password. This results in the wireless instrument being physically secure and not subject to unauthorized access. Similarly, the solid-state memory device of the wireless instrument is also only replaced or supplemented by an authorized manufacturer when additional passwords are needed.
[0009] In general, in one aspect, embodiments of the present disclosure relate to an industrial wireless instrument equipped with one-time pad (OTP) encryption. The industrial wireless instrument includes, among other things, a pad storage unit and a one-time pad controller, the pad storage unit being mounted within the industrial wireless instrument and having a plurality of one-time pads stored therein, the one-time pad controller being coupled to communicate with the pad storage unit and being operable to retrieve a one-time pad from the pad storage unit for each plaintext data to be encrypted. The industrial wireless instrument also includes an arithmetic unit coupled to receive plaintext data and the one-time pad from the one-time pad controller and being operable to encrypt the plaintext data using the one-time pad. The one-time pad controller is also operable to provide the one-time pad to the arithmetic unit only once for encryption.
[0010] According to any one or more of the above embodiments, the code book storage unit is a solid-state memory device, the one-time code book controller is also operable to generate a code book identifier of the one-time code book, the code book identifier identifies the location of the one-time code book in the code book storage unit, and the one-time code book controller is also operable to provide the code book identifier and a temporary code book of the code book identifier to the arithmetic unit.
[0011] According to any one or more of the above embodiments, the arithmetic unit encrypts the plaintext data by performing an exclusive OR (XOR) process on the plaintext data using a one-time pad, and / or the wireless instrument is a wireless sensor, and the plaintext data represents a sensor reading obtained by the wireless sensor.
[0012] In general, on the other hand, an embodiment of the present disclosure relates to a wireless instrument network for industrial facilities. The wireless instrument network includes, in particular, a first industrial wireless instrument, which is connected to obtain data from equipment in the industrial facility, and the first industrial wireless instrument is operable to encrypt data using a first set of one-time passwords and periodically transmit the encrypted data via a wireless link. The wireless instrument network also includes a second industrial wireless instrument, which is coupled to periodically receive encrypted data from the first wireless instrument, and the second wireless instrument is operable to decrypt data using a second set of one-time passwords and periodically transmit the decrypted data via a wired or wireless link. The wireless instrument network also includes a gateway, which is coupled to receive decrypted data from the second industrial wireless instrument, wherein the first set of one-time passwords and the second set of one-time passwords contain the same one-time password.
[0013] According to any one or more of the above embodiments, the first set of one-time passwords and the second set of one-time passwords are stored in a first solid-state memory device and a second solid-state memory device, respectively, and the first and second solid-state memory devices are securely installed in the first wireless instrument and the second wireless instrument, respectively.
[0014] According to any one or more of the above embodiments, the first wireless instrument is further operable to generate code book identifiers for a first set of one-time pads, each code book identifier identifying a location of each one-time pad in the first set of one-time pads, and the second wireless instrument receives the code book identifiers with the encrypted data from the first wireless instrument, and is further operable to use the code book identifiers to locate a one-time pad in the second set of one-time pads.
[0015] According to any one or more of the above embodiments, the first wireless instrument is a wireless sensor and the encrypted data represents a sensor reading obtained by the wireless sensor, the second wireless instrument is a wireless endpoint, and the first wireless instrument and the second wireless instrument are operable to encrypt and decrypt the data, respectively, by performing an XOR process on the data using a one-time pad.
[0016] According to any one or more of the above embodiments, the wireless instrument network further includes a third wireless instrument between the first wireless instrument and the second wireless instrument, the third wireless instrument periodically relaying encrypted data between the first wireless instrument and the second wireless instrument.
[0017] In general, on another aspect, an embodiment of the present disclosure relates to a method for performing one-time pad (OTP) encryption in an industrial facility. The method particularly includes acquiring data from equipment in the industrial facility at a first industrial wireless instrument, and encrypting the data at the first industrial wireless instrument using a first set of one-time pads. The method also includes periodically transmitting the encrypted data over a wireless link, and periodically receiving the encrypted data from the first wireless device on a second industrial wireless device. The method also includes periodically decrypting the data at the second wireless device using a second set of one-time pads, and periodically transmitting the decrypted data to a gateway via a wired or wireless link. The first set of one-time pads and the second set of one-time pads contain the same one-time pad.
[0018] According to any one or more of the above embodiments, the method also includes storing the first set of one-time passwords and the second set of one-time passwords in a first solid-state memory device and a second solid-state memory device, respectively, and the first solid-state memory device and the second solid-state memory device are securely installed in the first wireless instrument and the second wireless instrument, respectively.
[0019] According to any one or more of the above embodiments, the method also includes generating, at the first wireless instrument, code book identifiers for a first set of one-time pads, each code book identifier identifying a location of each one-time pad in the first set of one-time pads, and receiving, at the second wireless instrument, the code book identifier with encrypted data from the first wireless instrument, and locating the one-time pad in the second set of one-time pads using the code book identifiers.
[0020] According to any one or more of the above embodiments, the first wireless instrument is a wireless sensor and the encrypted data represents a sensor reading obtained by the wireless sensor, the second wireless instrument is a wireless endpoint, and the first and second wireless instruments encrypt and decrypt the data respectively by performing an XOR process on the data using a one-time pad.
[0021] According to any one or more of the above embodiments, the method further includes a third wireless instrument between the first wireless instrument and the second wireless instrument, the third wireless instrument periodically relaying encrypted data between the first wireless instrument and the second wireless instrument. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] A more detailed description of the disclosure, briefly summarized above, may be obtained by reference to various embodiments, some of which are illustrated in the accompanying drawings. While the drawings illustrate selected embodiments of the disclosure, these drawings are not to be considered limiting of its scope, as the disclosure may admit to other equally effective embodiments.
[0023] Figure 1 is a schematic diagram showing an industrial facility including wireless instruments with OTP encryption according to an embodiment of the present disclosure;
[0024] Figure 2 is a block diagram illustrating an exemplary wireless instrument with OTP encryption capability according to an embodiment of the present disclosure;
[0025] Figure 3 is a schematic diagram showing another industrial facility employing wireless instruments with OTP encryption according to an embodiment of the present disclosure;
[0026] Figure 4 is a schematic diagram illustrating yet another industrial facility employing wireless instruments with OTP encryption according to some embodiments;
[0027] Figure 5 is a block diagram illustrating another exemplary wireless instrument having OTP encryption capability according to an embodiment of the present disclosure;
[0028] Figure 6A-6D is a data block showing an exemplary plaintext block and an exemplary ciphertext block according to an embodiment of the present disclosure; and
[0029] Figure 7A-7B is a flow chart illustrating an exemplary method for performing OTP encryption in a wireless device according to an embodiment of the present disclosure.
[0030] Wherever possible, identical reference numerals are used to refer to identical elements in the drawings. However, elements disclosed in one embodiment may be beneficially utilized on other embodiments without specific recitation. DETAILED DESCRIPTION
[0031] Reference now Figure 1, shows an exemplary industrial facility 100 according to some embodiments of the present disclosure, which employs a network 101 of wireless instruments equipped with OTP encryption capabilities. The industrial facility 100 can be any facility where wireless instruments can be appropriately deployed, such as a chemical processing facility, a manufacturing facility, a warehouse facility, etc. These facilities typically occupy a large area or space and will benefit from using industrial wireless instruments to monitor and control facility operations. As depicted here, the industrial facility 100 may include various machines and equipment that perform various processes in the facility, such as a boiler 102. Then, multiple industrial wireless instruments can be installed throughout the facility to obtain measurements and readings from the facility 100. For the sake of economy, only two industrial wireless instruments are shown here at 104 and 108, the former operating as a wireless sensor and the latter operating as a wireless receiver or endpoint. These industrial wireless instruments 104, 108 can be any type of wireless instrument that can transmit and receive via a wireless connection 106. Examples of suitable industrial wireless instruments include different types of sensors, such as temperature sensors, pressure sensors, humidity sensors, light sensors, level sensors, particle sensors, proximity sensors, etc. Preferably, these wireless instruments 104, 108 can use a low energy wireless protocol such as Bluetooth Low Energy (BLE) to transmit and receive over the wireless connection 106, but other wireless protocols (e.g., LowPan6, WirelessHART, Zigbee, SigFox, RPMA, etc.) may also be used.
[0032] exist Figure 1 In the example, the wireless instrument 104 operates as a sensor to obtain various measurements, readings, status, etc. related to the boiler 102. Thereafter, the wireless instrument 104 transmits the measurements, readings, status, etc. as data to the wireless instrument 108 operating as a wireless endpoint. The wireless instrument 108 receives the transmission, processes the data as needed, and provides the data to the gateway 110 via a wired or wireless connection. From the gateway 110, the data can be forwarded to one or more facility control systems, such as a monitoring and control application 112 (e.g., SCADA), a database server 114 (e.g., an MQTT server), a client server 116 (e.g., an MQTT server), a controller module 118, and external systems on the Internet 120.
[0033] According to the disclosed embodiment, both the wireless instrument 104 and the wireless instrument 108 are equipped with OTP encryption capabilities. OTP encryption has been known for some time and is considered by those skilled in the art to be a "perfect" confidentiality mechanism if the following principles are maintained: (i) the encryption key or "codebook" is truly random; (ii) the codebook is securely kept secret; and (iii) each codebook is used only once for encryption-decryption and is never reused. However, these principles make OTP encryption unfeasible for implementation in automated encryption applications.
[0034] One difficulty in implementing automatic OTP encryption is that the codebook must be as long as or longer than the plaintext data being encrypted. For a system that transmits data once a second over an expected lifetime of 5-10 years, the storage space required to securely maintain a sufficient number of codebooks is enormous. For example, a system capable of sending OTP encrypted data once a second for 5-10 years, and doing so without having to replenish the supply of codebooks, would need to securely store approximately 315,360,000 codebooks' worth of messages (i.e., 60 messages / minute x 60 minutes / hour x 24 hours / day x 365 days / year x 10 years). Depending on how much data the system transmits per second, the total storage required to maintain a sufficient number of codebooks can range from approximately 100,000 Gb to as high as 9 million Gb or more.
[0035] Embodiments of the present disclosure overcome the above difficulties by recognizing that 1) industrial wireless instruments often transmit relatively small amounts of data, and 2) data storage devices can now hold the required number of codebooks in a package small enough to fit industrial wireless instruments. Typical industrial wireless instruments transmit only a single data message per second, and each message only occupies a few dozen bytes of data, so even assuming a 10-year service life for the instrument in the field, the codebook storage requirements are much smaller. For example, a wireless instrument that sends 20 bytes of data per second for 10 years will require a codebook of approximately 50Gb (i.e., 315,360,000 messages x 20 bytes / message x 8 bits / byte = 50,457,600,000 bits). This is well within the capabilities of several existing data storage technologies. For example, solid-state memory chips currently available from manufacturers such as Micron, Samsung, and Intel can easily hold a 50Gb codebook in a single chip.
[0036] A solid-state memory device refers to a device that stores data without using any moving parts, unlike a traditional electromechanical disk. Solid-state memory devices are typically implemented using semiconductor materials. Examples include non-volatile memory devices such as flash memory (e.g., NAND, NOR, etc.), MRAM, PCRAM, ReRAM, and volatile memory devices such as DRAM and SRAM, which are arranged in a persistent memory architecture together with one-time programmable memory (e.g., ROM, PROM, etc.). New technologies such as holographic storage have the potential to exceed many existing data storage technologies in capacity and speed. The wireless instrument disclosed herein can accordingly use solid-state memory devices or other existing storage technologies as well as future storage technologies (once they become available) to implement automatic OTP encryption (and decryption).
[0037] Figure 2 The diagram shows a diagram from an embodiment of the present disclosure. Figure 1 1 is a block diagram of an exemplary embodiment of an industrial wireless instrument 104 and 108. As can be seen, both devices 104 and 108 are equipped with OTP encryption capabilities that work in a similar manner. Referring first to the wireless instrument 104, there is, among other components, an onboard processing system 200, a wireless interface 202, and a user interface 204. The processing system 200 performs automatic data processing and related tasks for the wireless instrument 104, while the wireless interface 202 allows the wireless instrument 104 to send and receive data messages over the wireless connection 106, and the user interface 204 allows the wireless instrument 104 to interact with and be controlled by a user.
[0038] In addition to data processing and related tasks, the processing system 200 also performs automatic OTP encryption on data transmitted by the wireless instrument 104. To this end, the processing system 200 includes a plaintext data module 206, an OTP control module 208, a modular arithmetic unit 210, and a one-time pad memory 212. In a preferred embodiment, the modular arithmetic unit 210 has the functionality of an Exclusive-OR unit or an XOR unit and may reside within the OTP control module 208 rather than as a discrete component. In fact, it should be understood that all functional components herein are described separately for purposes of illustration only, and that various components may be integrated into one or more super components and / or separated into several constituent components within the scope of the present disclosure.
[0039] In general, the plaintext data module 206 operates to process raw measurements and readings acquired by the wireless instruments 104 (e.g., from the boiler 102) and convert such raw readings into plaintext data. For example, the conversion may include filtering, smoothing, and converting the raw readings from an analog format to a digital format. The conversion preferably conforms the plaintext data to a specific data type for each raw reading type, such as temperature data, pressure data, flow rate data, etc. The plaintext data is then provided to the OTP control module 208 for encryption.
[0040] Encryption includes the OTP control module 208 retrieving a code pad from a set of one-time pads in the code pad memory 212 and inputting the code pad and plaintext data into the modular arithmetic unit 210. Recall that the code pad must be at least as long as the plaintext data (or longer). Therefore, the OTP control module 208 pairs or otherwise arranges the plaintext data and the code pad into predefined blocks for input into the modular arithmetic unit 210, each block having the same size, such as a one-byte block, a two-byte block, a four-byte block, etc. The modular arithmetic unit 210 then encrypts the plaintext data by XORing each data block with the corresponding code pad block, typically bit by bit, to produce OTP encrypted data.
[0041] Importantly, once a given codebook block is used, the OTP control module 208 moves to a different codebook block in the codebook memory 212 and erases or takes appropriate steps to avoid or prevent re-use of the previous codebook block for encryption. This may involve the OTP control module 208 moving to the next sequential codebook block in the codebook memory 212 and marking the immediately preceding block as used or invalid. The OTP control module 208 may also move to a non-sequential codebook block as the next codebook block, as long as the locations of used and unused codebook blocks can be tracked in the codebook memory 212.
[0042] In some embodiments, the codebook storage 212 uses a solid-state memory to store the codebook. As previously described, currently available solid-state memory devices (e.g., flash memory) can easily hold a sufficient number of codebooks to maintain the expected life of the wireless instrument 104 without reusing or replenishing the codebook. This allows the wireless instrument 104 to meet the above-mentioned OTP encryption principle (iii). And because the codebook also needs to meet the above-mentioned principle (ii), in some embodiments, the solid-state memory of the codebook storage 212 is only installed during the manufacture of the wireless instrument 104, where the wireless instrument 104 can be sealed using tamper-proof manufacturing and assembly techniques. This produces a wireless instrument 104 that is physically secure and cannot be accessed by unauthorized third parties. For the same reason, when additional codebooks are needed, the solid-state memory of the codebook storage 212 is also only replaced or replenished at the manufacturer. As for principle (i), any of several suitable random number generators known to those skilled in the art can be used to generate a highly random codebook.
[0043] In some embodiments, a codebook ID manager 214 may be provided in the OTP control module 208 to track the location of codebook blocks retrieved from the codebook memory 212. In some embodiments, the codebook ID manager 214 may be similar to the memory management function of the OTP control module 208, generating a codebook identifier that tells the control module 208 where to retrieve the next codebook block in the codebook memory 212. The codebook identifier may take any suitable form, such as a logical address or pointer to a particular storage location in the codebook memory 212, or an offset from the beginning or end of the codebook memory 212, etc. Such a codebook identifier is particularly useful for applications of the wireless instrument 104 where the size of the codebook block needs to be changed (i.e., increased or decreased) to accommodate changes in the size of the plaintext data blocks transmitted to the wireless instrument 108.
[0044] In some embodiments, the codebook identifier may be appended to or otherwise included in the OTP encrypted data and transmitted to the wireless instrument 108. The codebook identifier is preferably transmitted without OTP encryption to allow the wireless instrument 108 to easily extract and use the codebook identifier to correctly locate the codebook. This helps ensure that the wireless instrument 108 uses the same codebook to decrypt the data as the wireless instrument 104 did when it encrypted the data. It is of course possible to synchronize the wireless instrument 104 and the wireless instrument 108, for example, by requiring that the same block size is always used in both devices, so that the codebook identifier does not need to be included in the encrypted data.
[0045] At the wireless instrument 108, the wireless interface 222 receives the OTP encrypted data from the wireless instrument 104 and provides the data to the processing system 220 for automatic decryption. To this end, the processing system 220 of the wireless interface 222 has substantially the same components as the processing system 200 of the wireless instrument 104, including a plaintext data module 226, an OTP control module 228, a modular arithmetic unit 230, and a one-time password pad memory 232. In practice, the password pad memory 232 of the wireless instrument 108 and the password pad memory 212 of the wireless instrument 104 must contain the same password pad, preferably stored in the same or similar solid-state memory device in the same order. And the password pad memory 232 of the wireless instrument 108 is also installed during manufacturing to ensure the confidentiality and security of the password pad.
[0046] Decryption includes the OTP control module 228 retrieving a code pad from a set of one-time pads in the code pad memory 232 that are of the same (or larger) size as the encrypted data, and inputting the code pad and the encrypted data into the modular arithmetic unit 230. The OTP control module 228 also ensures that the retrieved code pad can no longer be used for decryption, for example, by erasing the code pad or designating the code pad as previously used or invalid. In the event that the code pad identifier is included in the encrypted data received from the wireless instrument 104, the OTP control module 228 extracts and uses the code pad identifier to locate the code pad in the code pad memory 232. If the code pad identifier is not included, the OTP control module 228 relies on synchronization between the wireless instrument 104 and the wireless instrument 108 to locate the code pad in the code pad memory 232. The OTP control module 228 then pairs the encrypted data and the code pad or otherwise arranges the encrypted data and the code pad into predefined blocks of the same size as each other and inputs them into the modular arithmetic unit 230. Thereafter, the modular arithmetic unit 230 decrypts the encrypted data by XORing the data using a corresponding code book to generate plaintext data.
[0047] After decryption, the wireless device 108 can connect to the gateway 110 ( Figure 1 ) forwards the plaintext data to one or more control systems. The user interface 224 allows the wireless instrument 108 to interact with and be controlled by a user as desired.
[0048] In some embodiments, one or more relay nodes may be inserted between wireless device 104 and wireless device 108 to extend network 101 ( Figure 1 ) range. This situation is like Figure 3, there is shown an industrial wireless instrument network 300 where another wireless instrument 108' now acts as a relay node between wireless instrument 104 and wireless instrument 108. In these embodiments, the OTP decryption capability of the relay node 108' may be turned off such that the relay node 108' simply relays any received data without decrypting or re-encrypting the data.
[0049] However, in some embodiments, the second wireless instrument / relay node 108' may first decrypt the encrypted data from the wireless instrument 104 and then re-encrypt the data before relaying the data to the downstream wireless instrument 108. In such an embodiment, the OTP control module of the relay node 108' may encrypt the plaintext data for the downstream wireless device 108 in a similar manner as described above, taking care to avoid using the codebook previously used for decryption. For example, the OTP control module of the relay node may sequentially move from the beginning to the end of the codebook memory for the decryption codebook and from the end to the beginning of the codebook memory for the encryption codebook, or vice versa, as long as all devices in the network 300 are so synchronized. Alternative arrangements that satisfy OTP principle (iii) may be derived by one skilled in the art within the scope of the present disclosure.
[0050] Figure 4 Another industrial wireless instrument network 400 is shown in which OTP decryption occurs at some point within or outside the gateway 110, rather than in advance. Thus, in some embodiments, the wireless instrument 108 may reside, for example, on the Internet 120, or at some other desired location outside the gateway 110. In these embodiments, a relay node such as relay node 108' may act as an endpoint to relay data from the wireless device 104 to the gateway 110 without decryption. Once the data arrives at the wireless instrument 108, decryption may be performed in the manner described above. In fact, in such an embodiment, as well as all other embodiments described herein, a wired instrument with the described OTP encryption capability may be used to send and receive data via a suitable wired protocol (e.g., HART) rather than a wireless instrument.
[0051] Figure 5 A block diagram of an exemplary wireless instrument 500 according to an embodiment of the present disclosure is shown, which can act as an endpoint to simultaneously support multiple wireless instruments 104. For ease of reference, the wireless instruments 104 are labeled as OTP encryption instrument 1 and OTP encryption instrument 2, and each wireless instrument 104 has a codebook memory different from other wireless instruments 104. Then, the matching codebook memory is installed in the wireless instrument 500 to maintain the codebook memory in multiple wireless instruments.
[0052] As can be seen, the wireless instrument 500 has an onboard processing system 502, a wireless interface 504, and a user interface 506, which are arranged in a manner similar to those of the wireless instrument 108 ( Figure 2 ) in much the same manner as the corresponding parts in the wireless instrument 108. The processing system 502 also includes a plaintext data module 508, an OTP control module 510, and a modular arithmetic unit 512, which also operate in much the same manner as the corresponding parts in the wireless instrument 108. However, instead of a single codebook memory, the wireless instrument 500 has multiple codebook memories 514 and 516, each of which corresponds to (i.e., stores the same codebook with) a codebook memory in multiple wireless instruments 104. Each codebook memory 514 and 516 can be implemented using a single solid-state memory chip, or several codebook memories 514 and 516 can be implemented using a single chip with sufficiently large capacity. In either case, this allows the wireless instrument 500 to support multiple wireless instruments 104 while maintaining compliance with the above-mentioned OTP principles. In some embodiments, codebook ID managers 518 and 520 can also be provided in the OTP control module 510 to track the location of codebook blocks retrieved from the codebook memories 514 and 516, respectively.
[0053] Figure 6A-6D An example of a plaintext data block 600 and an example codebook block 602 that may be used with the wireless apparatus disclosed herein is shown. Fig. 6A In the example of FIG. 6 , the plaintext data block 600 and the codebook block 602 have the same block size. A transmission may include multiple such blocks as needed, depending on the size of the plaintext data to be transmitted. Figure 6B An example of a plaintext data block 606 is shown, which has a smaller block size than the codebook block 602. In this case, 0s or 1s may be appended to the data block 606 to make it fit within the codebook block 602 in size. Figure 6C An example of a codebook identifier 608 being included in the data to be transmitted is shown. It can be seen that the codebook identifier 608 does not undergo OTP encryption and can therefore be extracted from the transmission without OTP decryption. Optionally, to simplify processing, the codebook identifier 608 can be OTP encrypted along with the plaintext data block 600, but using a pre-established temporary or practical codebook 610, such as Fig.6D As shown, this applies to all codebook identifiers for encryption and decryption.
[0054] Fig. 7AA flow chart of an exemplary method 700 is shown that can be used by a wireless instrument to automatically perform OTP encryption of data transmitted by the wireless instrument. The method generally begins at block 702, where the wireless instrument obtains raw measurements or readings from plant machinery or equipment (e.g., a boiler). At block 704, the wireless instrument processes the raw readings into plaintext data, for example, by filtering, smoothing, and converting the raw readings from analog format to digital format as needed. At block 706, the wireless instrument obtains a codebook from a codebook memory (e.g., a solid-state memory device) whose length matches (or is longer than) the length of the plaintext data. The codebook is then designated or otherwise made no longer available for encryption at block 708 (e.g., by erasing the codebook) to prevent the codebook from being used for encryption again. At block 710, the wireless instrument encrypts the plaintext data by XORing the data with the codebook obtained from block 706. As an optional measure, at block 712, the wireless instrument can append a codebook identifier to the encrypted data to help identify the location of the codebook in the codebook memory. Thereafter, at block 714, the wireless instrument sends the OTP encrypted data to a wireless endpoint or other downstream node equipped with OTP encryption.
[0055] Figure 7B A flow chart of an exemplary method 720 is shown that can be used by a wireless instrument to automatically perform OTP decryption of data received by the wireless instrument. The method generally begins at block 722, where the wireless instrument receives a transmission containing OTP encrypted data from an industrial wireless instrument. If the transmission includes a codebook identifier, then at block 724, the wireless instrument extracts and uses the codebook identifier to identify a codebook location in a codebook memory (e.g., a solid-state memory device). At block 726, the wireless instrument obtains a codebook from the codebook memory whose length matches (or is longer than) the length of the encrypted data. The codebook is then designated as or otherwise made no longer available for decryption at block 728 (e.g., by erasing the codebook) to prevent the codebook from being used for decryption again. At block 730, the wireless instrument decrypts the encrypted data by XORing the data with the codebook obtained from block 726. Thereafter, at block 732, the wireless instrument forwards the OTP decrypted data to one or more control systems or another downstream node.
[0056] In the foregoing, reference has been made to various embodiments. However, the scope of the present disclosure is not limited to the specifically described embodiments. Rather, any combination of the described features and elements, whether or not related to different embodiments, is contemplated to implement and practice the contemplated embodiments. Furthermore, although embodiments may achieve advantages over other possible solutions or prior art, whether or not a particular advantage is achieved by a given embodiment does not limit the scope of the present disclosure. Therefore, the foregoing aspects, features, embodiments, and advantages are merely illustrative and are not considered elements or limitations of the appended claims unless expressly stated in the claims.
[0057] The various embodiments disclosed herein may be implemented as systems, methods, or computer program products. Therefore, various aspects may take the form of a complete hardware embodiment, a complete software embodiment (including firmware, resident software, microcode, etc.), or an embodiment combining software and hardware, and various aspects are generally referred to as "circuit", "module" or "system". In addition, various aspects may take the form of a computer program product contained in one or more computer-readable media, and the computer-readable medium has a computer-readable program code contained thereon.
[0058] Any combination of one or more computer-readable media can be utilized. Computer-readable media can be non-transitory computer-readable media. Non-transitory computer-readable media can be, for example, but not limited to, electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. More specific examples (non-exhaustive list) of non-transitory computer-readable media can include the following: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (a random access memory, RAM), a read-only memory (read-only memory, ROM), an erasable programmable read-only memory (erasable programmable read-only memory, EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (compact disc read-only memory, CD-ROM), an optical storage device, a magnetic storage device or any suitable combination of the foregoing. The program code contained in the computer-readable medium can be transmitted using any appropriate medium, including but not limited to wireless, wired, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
[0059] The computer program code for performing the operation of various aspects of the present disclosure can be written in any combination of one or more programming languages. In addition, this computer program code can be performed using a single computer system or by multiple computer systems communicating with each other (for example, using a local area network (local area network, LAN), a wide area network (widearea network, WAN), the Internet, etc.). Although the various features above are described with reference to flow charts and / or block diagrams, it will be understood by those of ordinary skill in the art that each frame of flow charts and / or block diagrams and the combination of frames in flow charts and / or block diagrams can be implemented by computer logic (for example, computer program instructions, hardware logic, a combination of the two, etc.). Usually, computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing equipment. In addition, using a processor to perform such a computer program instruction produces a machine that can perform the function or action specified in one or more frames of a flow chart and / or block diagram.
[0060] The flow charts and block diagrams in the accompanying drawings illustrate the possible architectures, functions and / or operations of various embodiments of the present disclosure. In this regard, each block in the flow chart or block diagram may represent a module, a code segment or a code portion, which includes one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions mentioned in the box may not occur in the order mentioned in the figure. For example, the two boxes shown in succession can actually be performed substantially simultaneously, or these boxes can sometimes be performed in reverse order, depending on the functions involved. It will also be noted that each box of the block diagram and / or flow chart description and the combination of the boxes in the block diagram and / or flow chart description can be implemented by a system based on special-purpose hardware or a combination of special-purpose hardware and computer instructions that performs a specified function or action.
[0061] It should be understood that the above description is intended to be illustrative, not restrictive. Many other embodiments are apparent from reading and understanding the above description. Although the present disclosure describes specific examples, it should be appreciated that the systems and methods of the present disclosure are not limited to the examples described herein, but may be modified to be implemented within the scope of the appended claims. Therefore, the specification and the drawings are to be considered illustrative, not restrictive. Therefore, the scope of the present disclosure should be determined with reference to the appended claims and the full scope of equivalents to which these claims are entitled.
Claims
1. An industrial wireless instrument equipped with one-time password (OTP) encryption, comprising: a code book storage unit installed in the industrial wireless instrument and having a plurality of predefined one-time code books stored therein, wherein the code book storage unit is a solid-state memory device and the plurality of predefined one-time code books are stored in the solid-state memory device during the manufacture of the industrial wireless instrument, the number of the plurality of predefined one-time code books being such that the expected life of the industrial wireless instrument can be maintained without reusing or replenishing the plurality of predefined one-time code books; a one-time pad controller coupled to communicate with the pad storage unit and operable to retrieve a one-time pad from the pad storage unit for each plaintext data to be encrypted; and an arithmetic unit coupled to receive the plaintext data and the one-time pad from a one-time pad controller and operable to encrypt the plaintext data using the one-time pad; The one-time pad controller is further operable to provide the one-time pad to the arithmetic unit only once for encryption.
2. The industrial wireless instrument according to claim 1, in, The plurality of predefined one-time passwords stored in the solid-state memory device are replaced or supplemented only by the manufacturer of the industrial wireless instrument.
3. The industrial wireless instrument according to claim 1, in, The one-time pad controller may be further operable to generate a pad identifier for the one-time pad, the pad identifier identifying a location of the one-time pad in the pad storage unit.
4. The industrial wireless instrument according to claim 3, in, The one-time pad controller is further operable to provide the arithmetic unit with the pad identifier and a temporary pad for the pad identifier.
5. The industrial wireless instrument according to claim 1, in, The arithmetic unit encrypts the plain text data by performing an XOR process on the plain text data using the one-time pad.
6. The industrial wireless instrument according to claim 1, in, The industrial wireless instrument is a wireless sensor, and the plaintext data represents a sensor reading acquired by the wireless sensor.
7. A wireless instrument network for an industrial facility, comprising: a first industrial wireless instrument connected to acquire data from equipment in the industrial facility, the first industrial wireless instrument operable to encrypt the data using a first set of predefined one-time passwords and periodically transmit the encrypted data over a wireless link; a second industrial wireless instrument coupled to periodically receive the encrypted data from the first industrial wireless instrument, the second industrial wireless instrument operable to decrypt the data using a second set of predefined one-time pads and periodically transmit the decrypted data via a wired or wireless link; and a gateway coupled to receive the decrypted data from the second industrial wireless instrument; Wherein, the first group of predefined one-time passwords and the second group of predefined one-time passwords contain the same one-time passwords and are stored in a first solid-state memory device and a second solid-state memory device, respectively, during the manufacturing of the first industrial wireless instrument and the second industrial wireless instrument, and the number of the first group of predefined one-time passwords and the second group of predefined one-time passwords enables the expected life of the first industrial wireless instrument and the second industrial wireless instrument to be maintained without reusing or replenishing the first group of predefined one-time passwords and the second group of predefined one-time passwords.
8. The wireless instrument network according to claim 7, in, The first set of predefined one-time password pads and the second set of predefined one-time password pads are replaced or supplemented only by the manufacturers of the first industrial wireless instrument and the second industrial wireless instrument.
9. The wireless instrument network according to claim 7, in, The first industrial wireless instrument may be further operable to generate code pad identifiers for the first set of predefined one-time pads, each code pad identifier identifying a location of each one-time pad in the first set of predefined one-time pads.
10. The wireless instrument network according to claim 9, in, The second industrial wireless instrument receives the codepad identifier with encrypted data from the first industrial wireless instrument and is further operable to locate the one-time pad in the second set of predefined one-time pads using the codepad identifier.
11. The wireless instrument network according to claim 7, in, The first industrial wireless instrument is a wireless sensor and the encrypted data represents a sensor reading acquired by the wireless sensor, and the second industrial wireless instrument is a wireless endpoint.
12. The wireless instrument network of claim 11, further comprising a third industrial wireless instrument between the first industrial wireless instrument and the second industrial wireless instrument, the third industrial wireless instrument periodically relaying the encrypted data between the first industrial wireless instrument and the second industrial wireless instrument.
13. The wireless instrument network according to claim 7, in, The first industrial wireless instrument and the second industrial wireless instrument are operable to respectively encrypt and decrypt the data by performing an XOR process on the data using the one-time pad.
14. A method of performing one-time pad (OTP) encryption in an industrial facility, comprising: acquiring, at a first industrial wireless instrument, data from equipment in the industrial facility; encrypting the data at the first industrial wireless instrument using a first set of predefined one-time pads; Periodically sending encrypted data over a wireless link; periodically receiving, at a second industrial wireless instrument, encrypted data from the first industrial wireless instrument; periodically decrypting the data at the second industrial wireless instrument using a second set of predefined one-time pads; and Periodically sending the decrypted data to the gateway via a wired or wireless link; Wherein, the first group of predefined one-time passwords and the second group of predefined one-time passwords contain the same one-time passwords and are stored in a first solid-state memory device and a second solid-state memory device, respectively, during the manufacturing of the first industrial wireless instrument and the second industrial wireless instrument, and the number of the first group of predefined one-time passwords and the second group of predefined one-time passwords enables the expected life of the first industrial wireless instrument and the second industrial wireless instrument to be maintained without reusing or replenishing the first group of predefined one-time passwords and the second group of predefined one-time passwords.
15. The method according to claim 14, in, The first set of predefined one-time password pads and the second set of predefined one-time password pads are replaced or supplemented only by the manufacturers of the first industrial wireless instrument and the second industrial wireless instrument. 16 . The method of claim 14 , further comprising generating, at the first industrial wireless instrument, codebook identifiers for the first set of predefined one-time pads, each codebook identifier identifying a position of each one-time pad in the first set of predefined one-time pads.
17. The method of claim 16, further comprising receiving the codebook identifier with encrypted data from the first industrial wireless instrument at the second industrial wireless instrument and locating the one-time pad in the second set of predefined one-time pads using the codebook identifier.
18. The method according to claim 14, in, The first industrial wireless instrument is a wireless sensor and the encrypted data represents a sensor reading acquired by the wireless sensor, and the second industrial wireless instrument is a wireless endpoint.
19. The method of claim 14, further comprising a third industrial wireless instrument between the first industrial wireless instrument and the second industrial wireless instrument, the third industrial wireless instrument periodically relaying the encrypted data between the first industrial wireless instrument and the second industrial wireless instrument.
20. The method according to claim 14, in, The first industrial wireless instrument and the second industrial wireless instrument respectively encrypt and decrypt the data by performing an XOR process on the data using the one-time pad.
