The present application is based on, and claims priority from, Taiwan (International) Application Serial Number 101103850, filed on Feb. 7, 2012, the disclosure of which is hereby incorporated by reference herein in its entirety.
Miniaturization based on Micro Electro Mechanical Systems (MEMS) technology has been achieved for mechanical devices. Especially, miniaturization of an inertial measurement unit (IMU), which has a large volume and is too expensive. The popularity growth rate of smart handheld devices is high. An MEMS accelerometer, is the currently most used MEMS device in smart handheld devices. In 2010, the usage of the MEMS gyroscope increased with the introduction of the Apple iPhone 4 equip with the MEMS gyroscope. Thereafter, other mobile phone manufacturers (e.g., Samsung) also equip their smart handheld devices with MEMS gyroscopes. Because the MEMS gyroscope and new high-speed microprocessors are a part of the smart handheld devices, hardware for executing inertial navigation systems (INS) have been around for a while now. But, manufacturers normally choose cheaper MEMS devices to be used in the smart handheld devices in order to control costs. When the smart handheld devices execute the inertial navigation system, noise and error will seriously cause track drift when an electronic signal is transferred to a motion.
Therefore, another method and device for generation of a secret key is provided. The method and device for generation of a secret key can transfer the motion features to a secret key, and also can avoid the noise interference from an environment and improve the recognition rate of signals.
A detailed description is given in the following embodiments with reference to the accompanying drawings.
Methods and devices for generation of a secret key are provided.
In one exemplary embodiment, the disclosure is directed to a device for generation of a secret key. The device for generation of a secret key comprises a motion sensor, a storage unit and a control unit. The motion sensor is configured to sense a motion of the device in a three-dimensional space and generate a motion sensing signal. The storage unit is configured to store the motion sensing signal. The control unit is electrically coupled to the motion sensor and the storage unit, and configured to generate a secret key by the motion sensing signal.
In one exemplary embodiment, the disclosure is directed to a method for generation of a secret key. The method comprises: sensing, by a motion sensor, a motion of a device in a three-dimensional space and generating a motion sensing signal; storing, by a storage unit, the motion sensing signal; and generating, by a control unit, a secret key by transferring the motion sensing signal.
The present disclosure can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:
Several exemplary embodiments of the application are described with reference to
In this embodiment, the device 10 for generation of a secret key can be a handheld mobile device, for example, a mobile phone, a digital player, a personal digital assistant (PDA) and so on.
bi−1
bi−1
bi−1
bi−1
bi−1
bi−1
As shown in Table 1, the priority, the input axis, the unit, the event threshold, the event, and the operation are defined in the bit operation look-up table.
Table 1 is a bit operation look-up table according to a preferred embodiment of the present disclosure. The fields of Table 1 are the priority, the input axis, the unit, the event threshold, the event and the operation. The priority represents an order of priority for generating the bits of the random seed when the events of different axes are triggered at the same time. The input axis represents the type of the input axis. For example, ax represents the translation acceleration along the X-axis, and Ωx represents the rotation angular velocity along the Y-axis. The unit represents the unit of the sensing value. For example, the sensing value unit of the accelerometer can use the gravitational acceleration constant “g”, meters per second per second (m/s2), or other acceleration units. For another example, the sensing value unit of the gyroscope can use degrees per second (degree/s) or other angular velocity units. The event threshold represents the threshold of the event. In other words, the features of the motion sensing signal which exceed the threshold will trigger the event. The event threshold can be defined as a constant according to an experimental rule or a constant where a root mean square (RMS) of the sensing value is multiplied by a specific factor. For example, the event threshold of the accelerometer can use ±0.5 g or ±0.5 rms. The following Equation (1) is an RMS calculation:
wherein xi is a value of the ith sampling point among the n data sampling points. The event represents the trigger conditions of triggering the event. In this embodiment, in order to extract features of the motion sensing signal from the motion sensing signal record 52, the slope variation of the sensing value data can be used to be the event feature. For example, the slope changes from positive to 0 (Positive→0) or changes from negative to 0 (Negative→0). The operation represents an operation performed when the feature of the motion sensing signal confirms that the trigger conditions have occurred. The result of the operation will become a part of the random seed 98. It is noteworthy that, in this embodiment, because the rotation angular velocity along each axis of the track 81 of the device 10 for generation of a secret key does not exceed the event threshold ±180, no event of the rotation angular velocity along each axis is triggered.
Table 2 is a bit operation look-up table according to another embodiment of the present disclosure.
As shown in Table 2, the event represents the trigger conditions of triggering the event. In order to extract the features of the motion sensing signal from the motion sensing signal record 52, the Equation (2) can be used to extract the four features F1˜F4. Equation (2) is as follows:
wherein W[i] is the acceleration of the ith window, S[j] is the acceleration value of the jth data point, and ws (window size) is the window size. According to Equation (2), the four features F1˜F4 can be obtained as follows:
Feature 1 (F1): the average acceleration of the four windows.
F1[i]=(Σj=03[i−j])/4, i=3, 4, . . . , N/ws. (3)
Feature 2 (F2): the difference between the sequential windows. A[i] is defined as an average of the first order derivative S[j],
A[i]=(Σj=1ws(S[ws×i+j −S[ws×i+j−1]))/ws, i=0,1, . . . , N/ws. (4)
F2[i]=Σj=03(A[i−j]−A[i−j−1]), i=0,1, . . . , N/ws. (5)
Feature 3 (F3): the variation of the window signal intensity.
F3[i](Σj=03(F1[i−j]−F1∂i−j−1])/4, i=4, 5, . . . , N/ws. (6)
Feature 4 (F4): the distance between the window signals.
F4[i]=Max(S[ws×i+j])−Min(S[ws×i+j]), i=0, 1, . . . , N/ws, (7)
wherein the window size ws can be a fixed size or can be adjusted dynamically according to the demand of the user. OPax˜OPΩz in the operation field represent the operations performed when the trigger conditions of the events along each axis are held. The result of the operations will become a part of the random seed 98.
bi−1
bi−1
As shown in
Please refer to Table 3, the bit operation look-up table includes the fields to indicate the priority, the input axis, the unit, the event threshold, the event, and the operation. The priority represents an order of the priority for generating the bits of the random seed when the events of different axes are triggered at the same time. The input axis represents the type of the input axis. For example, dy represents the translation distance along the Y-axis, and vy represents the translation velocity along the Y-axis. The unit represents the unit of the sensing value. For example, the sensing value unit of the sonar can use meters “m” or meters per second (m/s). The event threshold represents the threshold of the event. In other words, the features of the motion sensing signal which exceed the threshold will trigger the event. The event threshold can be defined as a constant according to an experimental rule or a constant where a root mean square (RMS) of the sensing value is multiplied by a specific factor (Please refer to Equation (1)). The event represents the trigger conditions of triggering the event. In this embodiment, in order to extract the features of the motion sensing signal from the motion sensing signal record 52, the slope variation of the sensing value data can be used to be the event feature. For example, the slope changes from positive to 0 (Positive→0) or changes from negative to 0 (Negative→0). The operation represents an operation performed when the feature of the motion sensing signal confirms that the trigger conditions have occurred. The result of the operation will become a part of the random seed 114.
It must be noted that, the control unit, the input interface, the output interface, the storage unit, the motion sensor and the communication interface described above are the individual components in the device 10 for generation of a secret key. However, these components can be integrated together to reduce the numbers of the components in the device.
Therefore, the user can use the method and device in the disclosure for generation of a secret key and the information sensed by each sensing component to transfer the motion features operated by the user to the secret key. The user can regenerate the same secret key by performing the same motion. This can prevent inconvenience where the user has to carry another memory device to store the secret key. In addition, it can also avoid the noise interference from the environment when the device generates the key and improve the recognition rate of the motion sensing signal.
While the disclosure has been described by way of example and in terms of the preferred embodiments, it is to be understood that the disclosure is not limited to the disclosed embodiments. On the contrary, it is intended to cover various modifications and similar arrangements (as would be apparent to those skilled in the art). Therefore, the scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements.
Number | Date | Country | Kind |
---|---|---|---|
101103850 | Feb 2012 | TW | national |