US20150304107A1 - Extracting Entropy from Machine Vibration - Google Patents
Extracting Entropy from Machine Vibration Download PDFInfo
- Publication number
- US20150304107A1 US20150304107A1 US14/255,145 US201414255145A US2015304107A1 US 20150304107 A1 US20150304107 A1 US 20150304107A1 US 201414255145 A US201414255145 A US 201414255145A US 2015304107 A1 US2015304107 A1 US 2015304107A1
- Authority
- US
- United States
- Prior art keywords
- machine
- data
- vibration
- sensor
- computer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Abandoned
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F7/58—Random or pseudo-random number generators
- G06F7/588—Random number generators, i.e. based on natural stochastic processes
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09C—CIPHERING OR DECIPHERING APPARATUS FOR CRYPTOGRAPHIC OR OTHER PURPOSES INVOLVING THE NEED FOR SECRECY
- G09C1/00—Apparatus or methods whereby a given sequence of signs, e.g. an intelligible text, is transformed into an unintelligible sequence of signs by transposing the signs or groups of signs or by replacing them by others according to a predetermined system
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0861—Generation of secret information including derivation or calculation of cryptographic keys or passwords
- H04L9/0869—Generation of secret information including derivation or calculation of cryptographic keys or passwords involving random numbers or seeds
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2209/00—Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
- H04L2209/24—Key scheduling, i.e. generating round keys or sub-keys for block encryption
Definitions
- Random number generators are required by computing applications and many security relevant features of cryptography applications.
- a method to utilize the vibration of a machine for random number generation includes: acquiring, by at least one sensor, analog vibration data from the machine; converting, by a computer processor, the analog vibration data to digital data form; filtering the digital data; and storing the filtered data within a memory unit to form a random number pool from which random numbers may be selected.
- a computer program product for random number generation includes: computer readable storage medium having program code embodied therewith, the program code readable by a computer processor to perform a method.
- the method includes: acquiring, by at least one sensor, analog vibration data from the machine; converting, by a computer processor, the analog acceleration data to digital form; filtering the digital data; and storing the filtered data within a memory unit to form a random number pool from which random numbers may be selected.
- a computer system to generate random numbers includes: a computer processor; at least one sensor in communication with the processor for acquiring analog vibration data from the system; the computer processor configured to: convert the analog vibration data to digital form; filter the digital data; and store the data within a memory unit to form a random number pool from which random numbers may be selected by a client.
- FIG. 1 depicts a flowchart utilizing a vibration detection unit on a machine to generate random numbers
- FIG. 2 depicts a sample of acceleration data
- FIG. 3 depicts acceleration data in the time domain
- FIG. 4 depicts frequency domain acceleration data.
- Non aptly chosen random values may compromise security, which may break RSA keys of many appliances due to limited randomness of the keys generated by the devices, thereby making it easier to decipher the key(s).
- Information theory entropy (sometimes called Shannon entropy) defines the amount of randomness measured in bits.
- Computers typically collect randomness into an entropy pool from which requests for random numbers can be served.
- On machines such as servers, in this example, without interactive input output streams, there are little sources for random data. In particular, at system start up there is hardly any random data available.
- an embodiment enables a pre-collected pool of entropy values to be collected as a source of random numbers at machine startup.
- Software random number generators may not generate true random numbers. For example, pseudo random number generators are completely deterministic and not random.
- Quantum mechanics may generate true random numbers. Use of quantum mechanics as a source for random number generation is further discussed in “The Physics of Quantum Mechanics, Binner and Skinner, copyright 2008” which is hereby incorporated by reference.
- a noise-generator diode may be used in random number generation but reliability may be uncertain because it is difficult to confirm that the diode is still issuing random noise after it is exposed to temperature extremes such as heat or cold or other environmental factors such as exposure to radiation. Furthermore, though the diode itself is a simple component the circuitry to ensure its proper working makes it complex. Another mechanism employed to generate random numbers is the timing of input output ‘I/O” events such as interrupts. However, only few interrupt types qualify as non-forgeable sources of randomness. For example, for some Linux implementations, only disk I/O is considered non-forgeable I/O. Such I/O events are also scarcely available at system startup.
- Pseudo random number generators utilizing software are sometimes employed as random number generators but in reality do not generate randomness. While the results may appear random they are completely deterministic if the seed can be determined. In other words, one can recreate the “random number” with the “seed” that was used. This is because the pseudo random number generator (PRNG) is only a deterministic algorithm that is used with a number (the so called “seed”) as input value. The return value of the algorithm is the pseudo random number. So if one knows the algorithm and the seed the “random” number can be reproduced.
- PRNG pseudo random number generator
- the machine selected is a server. However, other machines ranging from a laptop to an automobile may be used.
- the vibrations may be generated by moving components internal to the machine frame such as cooling fans or come from an external source such as external vibration.
- the method utilizes accelerometer sensors physically attached to the machine to measure the vibration and uses the measured vibration data as real random data.
- the vibration of a mainframe computer is used as entropy input for an entropy pool maintained by the system.
- the data may be stored in a Motor Drive Assembly “MDA” or additional chip such as a smartcard.
- the collected random data is preferably stored in a non volatile memory pool so that the data is immediately available when needed.
- vibration data is collected during the manufacturing process and shipment process of a machine, in this case, a mainframe server, to fill an initial entropy pool.
- the machine thus arrives at a location with an initial entropy pool populated. Values from the entropy pool are then used and replenished while the machine is powered on.
- the collection during manufacturing means that the vibration data is collected during the manufacturing work such as the installation and verification of the setup for a customer before the machine is shipped. With this collected data the random pool is prefilled for customer usage and the customer can directly use random data at system startup without needing to wait.
- entropy data is fed continuously into the entropy pool by continuously measuring machine vibrations during operation.
- vibration sensors are installed on the machine, in this example, a server.
- the vibration sensors may be installed in motor drive assemblies “MDAs”.
- MDAs may also perform other functions such as controlling power on and off and adjusting the rotation speed of cooling units.
- the MDA is connected to a processor and related circuitry which polls vibration measurements at periodic intervals.
- the processor then analyzes the vibration measurements when the machine is powered on and no vibration is read from one the sensor, different options are available. For example, failure switching may occur in which case the processor then attempts to collect vibration data from other acceleration sensors. In another example, the processor may also indicate an exception and/or send out an alert.
- entropy measurements contained in the vibration measurements are fed into an entropy pool using a first in, first out “FIFO” structure. As such, once a given number in the entropy pool is selected it is no longer available in the pool and must be replaced by another entropy value. Other orders such as last in first out “LIFO” may be used, and using the FIFO queue is just an example for a possible embodiment.
- aspects of the present invention may be embodied as a system, method or computer program product. Accordingly, aspects of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the present invention may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.
- the computer readable medium may be a computer readable signal medium or a computer readable storage medium.
- a computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing.
- a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
- a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof.
- a computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
- Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
- Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages.
- the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
- the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
- LAN local area network
- WAN wide area network
- Internet Service Provider for example, AT&T, MCI, Sprint, EarthLink, MSN, GTE, etc.
- These computer program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
- the computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
- vibration detection unit 110 monitors all movements of the machine in terms of a vibration.
- the vibration detection unit is part of a motor drive assembly (MDA).
- MDA motor drive assembly
- the MDA is initially inactive in 115 and is powered on to active status 120 .
- the MDA detects vibration.
- the vibration can originate from within or outside the machine.
- the raw data is processed by the computer processor random number formatter 130 where the data is converted from analog to digital form and filtered, such as removing leading zeros as described above. After a number is filtered, it is added to entropy pool 135 , managed by the computer processor.
- Client applications as depicted by 140 , 145 and 150 can then access the entropy pool to select a random value.
- the vibration sensor can be integrated into a MDA for example. After turning on the sensor it will continuously collecting vibration data and send it to a random number formatter, which will translate the raw data into a random number. This random number will be stored in an entropy pool until it gets used by any client which needs a true random number, for example the Crypto Card.
- a system interface may utilize software to extract entropy from the entropy pool.
- Entropy polling works in two modes, coarse grained and fine grained.
- initial entropy input is collected in the entropy pool in “coarse grained” mode but no entropy is consumed, that is, no random numbers are used.
- Manufacturing mode is meant to be used while the hardware is not yet in normal operation but experiences strong vibration from the environment like during earth quake resistance testing or shipment of the hardware. Since in this situation vibration measurements differ a lot a larger range of bits (medium to low significant bits) can be extracted at rather long time intervals and fed into the entropy pool. Once the pool is full no further entropy data needs to be collected in “coarse grained” mode.
- entropy collection enters “fine grained mode”. In that mode, vibration mainly stems from air moving devices and fluctuation between vibration values is comparatively small. Therefore only bits with low significance will be extracted from the vibration measurements and fed into the entropy pool.
- entropy will not only fed into the entropy pool but programs will also consume entropy, hence the pool must continuously be refilled.
- phases where the entropy pool is and remains full entropy generation may pause.
- Raw data that is collected is formatted prior to being added to the entropy pool.
- leading Os are removed from raw data measurement. For example, if a collected raw data reading is 0.000312456 g where g is gravitational acceleration, formatting the data involves ignoring all leading Os when storing the entropy value; only “312456” is stored since the rest is predictable and so not useful. It is also possible to delete additional predictable parts of the raw data. This is done to remove the unwanted predictable part of the number.
- FIG. 2 is an example of obtained stochastic acceleration data (also called vibration data) that may be filtered and fed into the entropy pool in memory.
- the value shown by 210 corresponds to a recorded measurement of 0.03429187. Dropping leading zeros and using non zero digits yield a filtered value of 3429187 to be added to the entropy pool.
- vibration magnitude data can be shown in a time domain or a frequency domain.
- Typical vibration magnitude—acceleration in G (Gravitational acceleration) vs. time in second is shown in FIG. 3 .
- FIG. 4 A chart showing typical data in the frequency domain is show in FIG. 4 . As shown in the example, a fan spinning at 1900 rpm is expected to have a frequency of 31.6 Hz, which would appear as a peak 410 .
- Utilizing time domain vibration data is preferred because the acceleration magnitude of cooling components in a server rack as a time domain data cannot be predicted. This is due to the fact that the magnitude depends on all fans operating at different phase angles as a result of cooling components starting at different times so even though there are running at similar rotation speeds the phase difference makes the future value unpredictable The sensor will detect adjacent fans running at different frequencies.
- the processor may utilize three axis data i.e. one in the vertical direction and two horizontal directions to obtain additional unpredictable vibration data.
- BPF Bulk Power Fan
- Radiator fans 10 fans affect fans may affect speed add unpredictable nature of vibration data.
- the vibration data is hard to predict and therefore provides a reliable source of randomness due to fans moving there will always be some level of vibration within the server rack.
- Broken sensor parts can be detected quickly since a broken sensor will deliver close to zero vibration. Once the processor detects a broken sensor the data from that sensor can be ignored, an exception can be raised, or the processor can attempt to poll another sensor to obtain data.
- This disclosure provides a method, an apparatus and a system to acquire random numbers and maintain a continuous pool of random numbers
- the embodiment may also be implemented as a computer system such as a random number server to provide continuous random numbers to other computer systems or implemented in a multi computer system environment, providing continuous random numbers to other computer systems in a random number cloud/cluster configuration.
- a random number server to provide continuous random numbers to other computer systems or implemented in a multi computer system environment, providing continuous random numbers to other computer systems in a random number cloud/cluster configuration.
- a method or device that “comprises”, “has”, “includes” or “contains” one or more steps or elements possesses those one or more steps or elements, but is not limited to possessing only those one or more steps or elements.
- a step of a method or an element of a device that “comprises”, “has”, “includes” or “contains” one or more features possesses those one or more features, but is not limited to possessing only those one or more features.
- a device or structure that is configured in a certain way is configured in at least that way, but may also be configured in ways that are not listed.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Optimization (AREA)
- Mathematical Analysis (AREA)
- Computational Mathematics (AREA)
- Pure & Applied Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Testing Of Devices, Machine Parts, Or Other Structures Thereof (AREA)
- Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)
Abstract
Generating a pool of random numbers for use by computer applications. Vibration sensors are placed throughout a machine and collects information theoretic entropy data from the measurement of the vibration sensors. The data is then filtered and added to an entropy pool. Applications needing a random number may acquire a number from the pool. A method, computer program product and system to generate the pool are provided.
Description
- Random number generators are required by computing applications and many security relevant features of cryptography applications.
- In an embodiment, a method to utilize the vibration of a machine for random number generation is provided. The method includes: acquiring, by at least one sensor, analog vibration data from the machine; converting, by a computer processor, the analog vibration data to digital data form; filtering the digital data; and storing the filtered data within a memory unit to form a random number pool from which random numbers may be selected.
- In another embodiment, a computer program product for random number generation is provided. The computer program product includes: computer readable storage medium having program code embodied therewith, the program code readable by a computer processor to perform a method. The method includes: acquiring, by at least one sensor, analog vibration data from the machine; converting, by a computer processor, the analog acceleration data to digital form; filtering the digital data; and storing the filtered data within a memory unit to form a random number pool from which random numbers may be selected.
- In yet another embodiment, a computer system to generate random numbers is provided. The system includes: a computer processor; at least one sensor in communication with the processor for acquiring analog vibration data from the system; the computer processor configured to: convert the analog vibration data to digital form; filter the digital data; and store the data within a memory unit to form a random number pool from which random numbers may be selected by a client.
-
FIG. 1 depicts a flowchart utilizing a vibration detection unit on a machine to generate random numbers; -
FIG. 2 depicts a sample of acceleration data; -
FIG. 3 depicts acceleration data in the time domain; -
FIG. 4 depicts frequency domain acceleration data. - The descriptions of the various embodiments of the present invention have been presented for purposes of illustration, but are not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen to best explain the principles of the embodiments, the practical application or technical improvement over technologies found in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.
- Current electronic systems require a constant flow of new random numbers for a number of various operations. Electronic security features often utilize random numbers to generate cryptographic keys, for example, in Secure Socket Layer “SSL” protocols, encryption and signatures, to generate unique initialization values and numbers used once, also known as “nonces” to keep encryption unique for each message.
- Non aptly chosen random values may compromise security, which may break RSA keys of many appliances due to limited randomness of the keys generated by the devices, thereby making it easier to decipher the key(s).
- Utilizing a good random number generator is important, and there exist several mechanisms that attempt to generate or retrieve random numbers. Information theory entropy (sometimes called Shannon entropy) defines the amount of randomness measured in bits. Computers typically collect randomness into an entropy pool from which requests for random numbers can be served. On machines such as servers, in this example, without interactive input output streams, there are little sources for random data. In particular, at system start up there is hardly any random data available. As described below, an embodiment enables a pre-collected pool of entropy values to be collected as a source of random numbers at machine startup. Software random number generators may not generate true random numbers. For example, pseudo random number generators are completely deterministic and not random.
- Quantum mechanics may generate true random numbers. Use of quantum mechanics as a source for random number generation is further discussed in “The Physics of Quantum Mechanics, Binner and Skinner, copyright 2008” which is hereby incorporated by reference.
- A noise-generator diode may be used in random number generation but reliability may be uncertain because it is difficult to confirm that the diode is still issuing random noise after it is exposed to temperature extremes such as heat or cold or other environmental factors such as exposure to radiation. Furthermore, though the diode itself is a simple component the circuitry to ensure its proper working makes it complex. Another mechanism employed to generate random numbers is the timing of input output ‘I/O” events such as interrupts. However, only few interrupt types qualify as non-forgeable sources of randomness. For example, for some Linux implementations, only disk I/O is considered non-forgeable I/O. Such I/O events are also scarcely available at system startup.
- Pseudo random number generators utilizing software are sometimes employed as random number generators but in reality do not generate randomness. While the results may appear random they are completely deterministic if the seed can be determined. In other words, one can recreate the “random number” with the “seed” that was used. This is because the pseudo random number generator (PRNG) is only a deterministic algorithm that is used with a number (the so called “seed”) as input value. The return value of the algorithm is the pseudo random number. So if one knows the algorithm and the seed the “random” number can be reproduced.
- Disclosed is a method to utilize machine vibration measurements for random number generation. In the examples that follow, the machine selected is a server. However, other machines ranging from a laptop to an automobile may be used. The vibrations may be generated by moving components internal to the machine frame such as cooling fans or come from an external source such as external vibration. The method utilizes accelerometer sensors physically attached to the machine to measure the vibration and uses the measured vibration data as real random data. In an embodiment, the vibration of a mainframe computer is used as entropy input for an entropy pool maintained by the system. The data may be stored in a Motor Drive Assembly “MDA” or additional chip such as a smartcard. The collected random data is preferably stored in a non volatile memory pool so that the data is immediately available when needed.
- In one embodiment, vibration data is collected during the manufacturing process and shipment process of a machine, in this case, a mainframe server, to fill an initial entropy pool. The machine thus arrives at a location with an initial entropy pool populated. Values from the entropy pool are then used and replenished while the machine is powered on.
- The collection during manufacturing means that the vibration data is collected during the manufacturing work such as the installation and verification of the setup for a customer before the machine is shipped. With this collected data the random pool is prefilled for customer usage and the customer can directly use random data at system startup without needing to wait.
- After the machine is setup and operational, entropy data is fed continuously into the entropy pool by continuously measuring machine vibrations during operation.
- In an embodiment, vibration sensors are installed on the machine, in this example, a server. The vibration sensors may be installed in motor drive assemblies “MDAs”. MDAs may also perform other functions such as controlling power on and off and adjusting the rotation speed of cooling units.
- The MDA is connected to a processor and related circuitry which polls vibration measurements at periodic intervals. The processor then analyzes the vibration measurements when the machine is powered on and no vibration is read from one the sensor, different options are available. For example, failure switching may occur in which case the processor then attempts to collect vibration data from other acceleration sensors. In another example, the processor may also indicate an exception and/or send out an alert.
- If vibration measurements are able to be recorded, entropy measurements contained in the vibration measurements are fed into an entropy pool using a first in, first out “FIFO” structure. As such, once a given number in the entropy pool is selected it is no longer available in the pool and must be replaced by another entropy value. Other orders such as last in first out “LIFO” may be used, and using the FIFO queue is just an example for a possible embodiment.
- As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or computer program product. Accordingly, aspects of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the present invention may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.
- Any combination of one or more computer readable medium(s) may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
- A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
- Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
- Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
- Aspects of the present invention are described below with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
- These computer program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
- The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
- Referring now to
FIG. 1 , vibration detection unit (vibration sensor) 110 monitors all movements of the machine in terms of a vibration. In this example, the vibration detection unit is part of a motor drive assembly (MDA). The MDA is initially inactive in 115 and is powered on toactive status 120. In 125, the MDA detects vibration. The vibration can originate from within or outside the machine. The raw data is processed by the computer processorrandom number formatter 130 where the data is converted from analog to digital form and filtered, such as removing leading zeros as described above. After a number is filtered, it is added toentropy pool 135, managed by the computer processor. Client applications as depicted by 140, 145 and 150 can then access the entropy pool to select a random value. The vibration sensor can be integrated into a MDA for example. After turning on the sensor it will continuously collecting vibration data and send it to a random number formatter, which will translate the raw data into a random number. This random number will be stored in an entropy pool until it gets used by any client which needs a true random number, for example the Crypto Card. - A system interface may utilize software to extract entropy from the entropy pool. Entropy polling works in two modes, coarse grained and fine grained.
- During manufacturing, initial entropy input is collected in the entropy pool in “coarse grained” mode but no entropy is consumed, that is, no random numbers are used. Manufacturing mode is meant to be used while the hardware is not yet in normal operation but experiences strong vibration from the environment like during earth quake resistance testing or shipment of the hardware. Since in this situation vibration measurements differ a lot a larger range of bits (medium to low significant bits) can be extracted at rather long time intervals and fed into the entropy pool. Once the pool is full no further entropy data needs to be collected in “coarse grained” mode.
- Once the system is started in normal operation entropy collection enters “fine grained mode”. In that mode, vibration mainly stems from air moving devices and fluctuation between vibration values is comparatively small. Therefore only bits with low significance will be extracted from the vibration measurements and fed into the entropy pool. During normal operations entropy will not only fed into the entropy pool but programs will also consume entropy, hence the pool must continuously be refilled. During phases where the entropy pool is and remains full entropy generation may pause.
- Raw data that is collected is formatted prior to being added to the entropy pool. In an embodiment, leading Os are removed from raw data measurement. For example, if a collected raw data reading is 0.000312456 g where g is gravitational acceleration, formatting the data involves ignoring all leading Os when storing the entropy value; only “312456” is stored since the rest is predictable and so not useful. It is also possible to delete additional predictable parts of the raw data. This is done to remove the unwanted predictable part of the number.
-
FIG. 2 . is an example of obtained stochastic acceleration data (also called vibration data) that may be filtered and fed into the entropy pool in memory. The value shown by 210 corresponds to a recorded measurement of 0.03429187. Dropping leading zeros and using non zero digits yield a filtered value of 3429187 to be added to the entropy pool. - As an example, vibration magnitude data can be shown in a time domain or a frequency domain. Typical vibration magnitude—acceleration in G (Gravitational acceleration) vs. time in second is shown in
FIG. 3 . - A chart showing typical data in the frequency domain is show in
FIG. 4 . As shown in the example, a fan spinning at 1900 rpm is expected to have a frequency of 31.6 Hz, which would appear as apeak 410. - Utilizing time domain vibration data is preferred because the acceleration magnitude of cooling components in a server rack as a time domain data cannot be predicted. This is due to the fact that the magnitude depends on all fans operating at different phase angles as a result of cooling components starting at different times so even though there are running at similar rotation speeds the phase difference makes the future value unpredictable The sensor will detect adjacent fans running at different frequencies.
- The processor may utilize three axis data i.e. one in the vertical direction and two horizontal directions to obtain additional unpredictable vibration data.
- Other factors such as server component temperatures e.g. Bulk Power Fan (BPF), Radiator fans, 10 fans affect fans may affect speed add unpredictable nature of vibration data. The vibration data is hard to predict and therefore provides a reliable source of randomness due to fans moving there will always be some level of vibration within the server rack.
- Broken sensor parts can be detected quickly since a broken sensor will deliver close to zero vibration. Once the processor detects a broken sensor the data from that sensor can be ignored, an exception can be raised, or the processor can attempt to poll another sensor to obtain data.
- This disclosure provides a method, an apparatus and a system to acquire random numbers and maintain a continuous pool of random numbers The embodiment may also be implemented as a computer system such as a random number server to provide continuous random numbers to other computer systems or implemented in a multi computer system environment, providing continuous random numbers to other computer systems in a random number cloud/cluster configuration. The aforementioned are examples and other implementations are feasible.
- The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprise” (and any form of comprise, such as “comprises” and “comprising”), “have” (and any form of have, such as “has” and “having”), “include” an any form of include, such as “includes” and “including”), and “contain” (and any form contain, such as “contains” and “containing”) are open-ended linking verbs. As a result, a method or device that “comprises”, “has”, “includes” or “contains” one or more steps or elements possesses those one or more steps or elements, but is not limited to possessing only those one or more steps or elements. Likewise, a step of a method or an element of a device that “comprises”, “has”, “includes” or “contains” one or more features possesses those one or more features, but is not limited to possessing only those one or more features. Furthermore, a device or structure that is configured in a certain way is configured in at least that way, but may also be configured in ways that are not listed.
- The corresponding structures, materials, acts, and equivalents of all means or step plus function elements in the claims below, if any, are intended to include any structure, material, or act for performing the function in combination with other claimed elements as specifically claimed. The description of the present invention has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the invention. The embodiment was chosen and described in order to explain the principles of the invention and the practical application, and to enable others of ordinary skill in the art to understand the invention through various embodiments and the various modifications thereto which are dependent on the particular use contemplated.
Claims (20)
1. A method to utilize the vibration of a machine for random number generation, the method comprising:
acquiring, by at least one sensor, analog vibration data from the machine;
converting, by a computer processor, the analog vibration data to digital data form;
filtering the digital data; and
storing the filtered data within a memory unit to form a random number pool from which random numbers may be selected.
2. The method according to claim 1 , wherein the vibration data is obtained during manufacture of the machine, thereby populating the random number pool before the machine is completely assembled.
3. The method according to claim 1 , wherein vibration data is obtained while the machine is powered on.
4. The method according to claim 1 , wherein the sensor is configured to monitor a cooling component of the machine.
5. The method according to claim 4 , in response to a sensor detecting no vibration, the processor attempts to collect vibration data from another sensor.
6. The method of claim 1 , wherein the sensors comprise tri-axial accelerometers imbedded in motor drives assemblies of rotating components within the machine.
7. The method of claim 1 , wherein filtering comprises removing the non random parts of numbers.
8. A computer program product for random number generation for security relevant features of cryptography applications, the computer program product comprising:
computer readable storage medium having program code embodied therewith, the program code readable by a computer processor to perform a method comprising:
acquiring, by at least one sensor, analog vibration data from the machine;
converting, by a computer processor, the analog vibration data to digital form;
filtering the digital data; and
storing the filtered data within a memory unit to form a random number pool from which random numbers may be selected by a client.
9. The computer program product according to claim 8 , wherein the vibration data is obtained during manufacturing of the machine, thereby populating the random number pool before the machine is completely assembled.
10. The computer program product according to claim 8 , wherein vibration data is obtained while the machine is powered on.
11. The computer program product according to claim 8 , wherein the sensor is configured to monitor a cooling component of the machine.
12. The computer program product according to claim 11 , in response to a sensor detecting no vibration, the processor attempts to collect vibration data from another sensor.
13. The computer program product of claim 8 , wherein the sensors comprise tri-axial accelerometers imbedded in motor drives assemblies of rotating components within the machine.
14. The computer program product of claim 8 , wherein filtering comprises removing the non random parts of numbers.
15. A computer system to generate random numbers, the system comprising:
a computer processor;
at least one sensor in communication with the processor for acquiring analog vibration data from the system;
wherein the computer processor is configured to:
convert the analog acceleration data to digital data form;
filter the digital data; and
store the filtered data within a memory unit to form a random number pool from which random numbers may be selected.
16. The system according to claim 15 , wherein the vibration data is obtained during manufacturing of the machine, thereby populating the random number pool before the machine is completely assembled.
17. The system according to claim 15 , wherein vibration data is obtained while the system is powered on.
18. The system according to claim 15 , wherein the sensor is configured to monitor a cooling component of the system.
19. The system according to claim 18 , in response to a sensor detecting no vibration, the processor attempts to collect vibration data from another sensor.
20. The system of claim 15 , wherein the sensors comprise tri-axial accelerometers imbedded in motor drives assemblies of rotating components within the system.
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US14/255,145 US20150304107A1 (en) | 2014-04-17 | 2014-04-17 | Extracting Entropy from Machine Vibration |
US14/949,133 US9454346B2 (en) | 2014-04-17 | 2015-11-23 | Extracting entropy from the vibration of multiple machines |
US14/949,307 US9880812B2 (en) | 2014-04-17 | 2015-11-23 | Extracting entropy from machine vibration |
US15/823,992 US10168995B2 (en) | 2014-04-17 | 2017-11-28 | Extracting entropy from machine vibration |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US14/255,145 US20150304107A1 (en) | 2014-04-17 | 2014-04-17 | Extracting Entropy from Machine Vibration |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/949,307 Continuation US9880812B2 (en) | 2014-04-17 | 2015-11-23 | Extracting entropy from machine vibration |
Publications (1)
Publication Number | Publication Date |
---|---|
US20150304107A1 true US20150304107A1 (en) | 2015-10-22 |
Family
ID=54322922
Family Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/255,145 Abandoned US20150304107A1 (en) | 2014-04-17 | 2014-04-17 | Extracting Entropy from Machine Vibration |
US14/949,307 Expired - Fee Related US9880812B2 (en) | 2014-04-17 | 2015-11-23 | Extracting entropy from machine vibration |
US15/823,992 Active US10168995B2 (en) | 2014-04-17 | 2017-11-28 | Extracting entropy from machine vibration |
Family Applications After (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/949,307 Expired - Fee Related US9880812B2 (en) | 2014-04-17 | 2015-11-23 | Extracting entropy from machine vibration |
US15/823,992 Active US10168995B2 (en) | 2014-04-17 | 2017-11-28 | Extracting entropy from machine vibration |
Country Status (1)
Country | Link |
---|---|
US (3) | US20150304107A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10168995B2 (en) | 2014-04-17 | 2019-01-01 | International Business Machines Corporation | Extracting entropy from machine vibration |
CN109605128A (en) * | 2019-01-09 | 2019-04-12 | 西安交通大学 | A kind of milling parameter online test method based on Power Spectral Entropy difference |
GB2607943A (en) * | 2021-06-17 | 2022-12-21 | Haldex Brake Prod Ab | A method and system for seed generation |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019078601A2 (en) * | 2017-10-17 | 2019-04-25 | 주식회사 마스터비디 | Pure random number generation apparatus, authentication method applied thereto, computer program, and recording medium |
CN108306732A (en) * | 2018-04-20 | 2018-07-20 | 北京数字认证股份有限公司 | A kind of random digit generation method, relevant device and system |
Family Cites Families (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7136889B1 (en) | 2000-08-29 | 2006-11-14 | Maxtor Corporation | Method and apparatus for generating high quality real random numbers using a disk drive |
US6993542B1 (en) | 2001-03-12 | 2006-01-31 | Cisco Technology, Inc. | Efficient random number generation for communication systems |
US6862605B2 (en) | 2001-08-15 | 2005-03-01 | Scott A. Wilber | True random number generator and entropy calculation device and method |
JP3604658B2 (en) | 2001-09-26 | 2004-12-22 | 株式会社東芝 | Random number generation circuit |
US7433966B2 (en) * | 2002-01-02 | 2008-10-07 | Cisco Technology, Inc. | Implicit shared bandwidth protection for fast reroute |
US6925879B2 (en) | 2003-09-30 | 2005-08-09 | Spx Corporation | Vibration analyzer and method |
US7093492B2 (en) | 2004-03-19 | 2006-08-22 | Mechworks Systems Inc. | Configurable vibration sensor |
CN101076775A (en) | 2004-10-15 | 2007-11-21 | 皇家飞利浦电子股份有限公司 | Integrated circuit with a true random number generator |
US7634522B1 (en) | 2004-11-30 | 2009-12-15 | Novell, Inc. | Random number generation |
US7486174B2 (en) * | 2005-09-12 | 2009-02-03 | Skybitz, Inc. | System and method for adaptive motion sensing with location determination |
US9654589B2 (en) * | 2006-08-24 | 2017-05-16 | Bby Solutions, Inc. | Configurable personal audiovisual device for use in application-sharing system |
US8542827B2 (en) | 2008-03-05 | 2013-09-24 | Nxp B.V. | Shared encryption key generation via accelerometer digitization |
WO2010008926A1 (en) * | 2008-06-29 | 2010-01-21 | Scroll Motion, Inc. | Excursion planning device and method |
US8635260B2 (en) | 2009-12-02 | 2014-01-21 | Seagate Technology Llc | Random number generator incorporating channel filter coefficients |
CN101882062A (en) | 2010-05-21 | 2010-11-10 | 房慧龙 | True random bit stream generator |
CN102541508A (en) * | 2010-12-29 | 2012-07-04 | 鸿富锦精密工业(深圳)有限公司 | True random number generating system and method |
US10262498B2 (en) * | 2011-07-26 | 2019-04-16 | Ontario Lottery And Gaming Corporation | System and method of generating hybrid lottery tickets |
CN102609238B (en) | 2012-02-13 | 2015-03-04 | 中国科学院苏州纳米技术与纳米仿生研究所 | Random number generating system and random number generating method |
US8760325B2 (en) * | 2012-03-23 | 2014-06-24 | Analog Devices, Inc. | Scheme for balancing skew between lanes of high-speed serial digital interface |
US8725498B1 (en) * | 2012-06-20 | 2014-05-13 | Google Inc. | Mobile speech recognition with explicit tone features |
US9323499B2 (en) * | 2012-11-15 | 2016-04-26 | Elwha Llc | Random number generator functions in memory |
US9076018B2 (en) | 2012-12-19 | 2015-07-07 | Clevx, Llc | Encryption key generation in encrypted storage devices |
US20140355665A1 (en) * | 2013-05-31 | 2014-12-04 | Altera Corporation | Adaptive Video Reference Frame Compression with Control Elements |
US20150304107A1 (en) | 2014-04-17 | 2015-10-22 | International Business Machines Corporation | Extracting Entropy from Machine Vibration |
-
2014
- 2014-04-17 US US14/255,145 patent/US20150304107A1/en not_active Abandoned
-
2015
- 2015-11-23 US US14/949,307 patent/US9880812B2/en not_active Expired - Fee Related
-
2017
- 2017-11-28 US US15/823,992 patent/US10168995B2/en active Active
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10168995B2 (en) | 2014-04-17 | 2019-01-01 | International Business Machines Corporation | Extracting entropy from machine vibration |
CN109605128A (en) * | 2019-01-09 | 2019-04-12 | 西安交通大学 | A kind of milling parameter online test method based on Power Spectral Entropy difference |
GB2607943A (en) * | 2021-06-17 | 2022-12-21 | Haldex Brake Prod Ab | A method and system for seed generation |
Also Published As
Publication number | Publication date |
---|---|
US20160077805A1 (en) | 2016-03-17 |
US10168995B2 (en) | 2019-01-01 |
US9880812B2 (en) | 2018-01-30 |
US20180081636A1 (en) | 2018-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9454346B2 (en) | Extracting entropy from the vibration of multiple machines | |
US10168995B2 (en) | Extracting entropy from machine vibration | |
US10623416B2 (en) | Torrent attack detection | |
US7577542B2 (en) | Method and apparatus for dynamically adjusting the resolution of telemetry signals | |
US9360855B2 (en) | Anomaly detection system for detecting anomaly in multiple control systems | |
US8504209B2 (en) | Controlling a device that generates vibrations in a computer system | |
KR101784613B1 (en) | Method and system for detecting abnormal data in distributed environment | |
US20190154494A1 (en) | Detecting degradation in rotating machinery by using the fwhm metric to analyze a vibrational spectral density distribution | |
US20140372767A1 (en) | Pooling entropy to facilitate mobile device-based true random number generation | |
CN107025128B (en) | Virtual machine usage data collection with virtual firmware | |
US10037193B2 (en) | Extracting entropy from mobile devices to generate random numbers | |
US9122737B2 (en) | Method to control the temperature of a high powered computing component through a liquid cooled heatsink responsive to an increase in the thermal value | |
US20120154158A1 (en) | Computing device and alarm method of the computing device | |
JP6213676B2 (en) | Analysis device, analysis method, and analysis program | |
US20180233906A1 (en) | Detecting electrostatic discharge events in a computer system | |
US20160012231A1 (en) | Computer security responsive to an operating environment | |
US11443036B2 (en) | Facial recognition based security by a management controller | |
Taha et al. | Trusted tamper-evident data provenance | |
JP6903609B2 (en) | Sensor system, data collection device and data collection method | |
US10382407B1 (en) | Encryption and decryption of time series data using a digital filter array | |
JP5955165B2 (en) | Management apparatus, management method, and management program | |
Götte et al. | Can’t touch this: Inertial HSMs thwart advanced physical attacks | |
US8843330B2 (en) | Characterizing the response of a computer system component to vibrations | |
US20230337390A1 (en) | Air mover health check | |
TW201335754A (en) | Electronic device with data synchronously storing function and method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: INTERNATIONAL BUSINESS MACHINES CORPORATION, NEW Y Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:BOENISCH, VOLKER;BUENDGEN, REINHARD;GEISERT, FRANZISKA;AND OTHERS;SIGNING DATES FROM 20131213 TO 20131217;REEL/FRAME:032697/0856 |
|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION |