US20130147704A1 - Electronic device providing shake gesture identification and method - Google Patents
Electronic device providing shake gesture identification and method Download PDFInfo
- Publication number
- US20130147704A1 US20130147704A1 US13/667,007 US201213667007A US2013147704A1 US 20130147704 A1 US20130147704 A1 US 20130147704A1 US 201213667007 A US201213667007 A US 201213667007A US 2013147704 A1 US2013147704 A1 US 2013147704A1
- Authority
- US
- United States
- Prior art keywords
- shake gesture
- electronic device
- value
- gesture
- shake
- 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
- 238000000034 method Methods 0.000 title claims abstract description 22
- 230000001133 acceleration Effects 0.000 claims abstract description 127
- 238000013528 artificial neural network Methods 0.000 claims description 5
- 238000003066 decision tree Methods 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/017—Gesture based interaction, e.g. based on a set of recognized hand gestures
Definitions
- Embodiments of the present disclosure relate to electronic device management systems and methods, and particularly to an electronic device providing shake gesture identification and a method for using the shake gesture identification.
- electronic devices e.g., a smart phone
- applications such as applications for games, music, calendars, and calculators.
- the applications are started by clicking associated icons or touching the associated icons, which is not flexible. Therefore, there is room for improvement in the art.
- FIG. 1 is a schematic diagram of one embodiment of an electronic device including a shake gesture identification system.
- FIG. 2 is a block diagram of one embodiment of the shake gesture identification system in FIG. 1 .
- FIG. 3 is a flowchart of one embodiment of a method for identifying the shake gestures on the electronic device, such as, for example, that of FIG. 1 .
- FIG. 4 illustrates one embodiment of a left-vertical shake gesture.
- FIG. 5 illustrates one embodiment of a right-vertical shake gesture.
- FIG. 6 illustrates one embodiment of a leftward shake gesture.
- FIG. 7 illustrates one embodiment of a rightward shake gesture.
- module refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language.
- One or more software instructions in the modules may be embedded in firmware, such as in an erasable programmable read only memory (EPROM).
- EPROM erasable programmable read only memory
- the modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of non-transitory computer-readable medium or other storage device. Some non-limiting examples of non-transitory computer-readable media include CDs, DVDs, BLU-RAY, flash memory, and hard disk drives.
- FIG. 1 is a block diagram of one embodiment of an electronic device 1 including the shake gesture identification system 110 .
- the shake gesture identification system 110 may be used to identify shake gestures when the electronic device 1 is shaken by a user.
- the electronic device 1 includes a storage system 10 , a processor 20 , a screen 30 , an accelerometer 40 , a high-pass filter 50 , and a low-pass filter 60 .
- the storage system 10 , the screen 30 , an accelerometer 40 , the high-pass filter 50 and the low-pass filter 60 are connected to the processor 20 .
- the processor may be, but is not limited to, a central processing unit (CPU) or a system on a chip (SOC).
- the storage system 10 stores one or more shake gestures.
- Each of the one or more shake gestures may be associated with an application (e.g., a game) installed in the electronic device 1 .
- the one or more shake gestures include a left-vertical shake gesture, a right-vertical shake gesture, a leftward shake gesture, and a rightward shake gesture.
- FIG. 4 taking this figure as an example, the lower left corner of the electronic device 1 is moved in a negative X-direction and also in a negative Z-direction, the left side is moved through near 90 degrees to lie on its side.
- the left-vertical shake gesture is a gesture when a user vertically shakes the electronic device 1 leftward by a left-vertical shake angle. As shown in FIG.
- the right-vertical shake gesture is the gesture when the user vertically shakes the electronic device 1 rightward by the right-vertical shake angle.
- the left-vertical shake angle and the right-vertical shake angle may fall within a range.
- the range may start at eighty five degrees angle and end at ninety five degrees angle.
- the leftward shake gesture is the gesture when the user shakes the electronic device 1 leftward by a left shake angle.
- the rightward shake gesture is the gesture when the user shakes the electronic device 1 from rightward by a right shake angle.
- the left shake angle and the right shake angle may fall within the range.
- the range may starts at one hundred and twenty degrees angle and ends at one hundred and eighty degrees.
- the storage system 10 may be an internal storage system card or an external storage system card, such as a smart media card (SMC), a secure digital card (SDC), a compact flash card (CFC), a multi media card (MMC), a storage system stick (MS), an extreme digital card (XDC), or a trans flash card (TFC).
- the electronic device 1 may be a mobile phone, a personal digital assistant (PDA), a handheld game player, a digital camera, or any other portable electronic device.
- the screen 30 is operable to display an application (e.g., show the dialog box) when the electronic device 1 is shaken by a user to start the application. Regarding how to start application by shaking the electronic device 1 will be described below.
- an application e.g., show the dialog box
- the accelerometer 40 generates acceleration values when the user shakes the electronic device 1 .
- the accelerometer 40 generates fifty acceleration values per second when the user shakes the electronic device 1 .
- Each acceleration value includes an acceleration value in the X-direction, an acceleration value in the Y-direction, and an acceleration value in the Z-direction.
- the high-pass filter 50 passes high-frequency signals with frequencies higher than a cutoff frequency of the high-pass filter 50 .
- the high-frequency signals are obtained from the accelerometer 40 and each high-frequency signal corresponds to an acceleration value.
- the low-pass filter 60 passes low-frequency signals with frequencies lower than the cutoff frequency of the low-pass filter 50 .
- the low-frequency signals are obtained from the accelerometer 40 and each low-frequency signal corresponds to an acceleration value.
- FIG. 2 is a block diagram of one embodiment of the shake gesture identification system 110 in FIG. 1 .
- the shake gesture identification system 110 includes a reading module 1110 , an obtaining module 1120 , a generation module 1130 , an association module 1140 , a determination module 1150 , and an execution module 1160 .
- the modules 1110 - 1160 may include computerized code in the form of one or more programs that are stored in the storage system 10 .
- the computerized code includes instructions that are executed by the at least one processor 20 to provide functions for modules 1110 - 1160 .
- the reading module 1110 reads reference acceleration values from the accelerometer 40 when the user shakes the electronic device 1 .
- the reference acceleration values are also generated by the accelerometer 40 when the user shakes the electronic device 1 to establish the shake gesture.
- each shake gesture is established by shaking the electronic device 1 by the user one time.
- the obtaining module 1120 obtains a predetermined number of the reference acceleration values. In one embodiment, if the accelerometer 40 generates one hundred reference acceleration values, the obtaining module 1120 may obtain twenty reference acceleration values for use from the one hundred reference acceleration values.
- the generation module 1130 generates the conditions for identifying a shake gesture by a sorting algorithm according to the predetermined number of the reference acceleration values.
- the sorting algorithm may be, but is not limited to, a Bayesian algorithm, a decision tree algorithm, and an artificial neural network algorithm.
- the shake gesture includes the left-vertical shake gesture, the right-vertical shake gesture, the leftward shake gesture, or the rightward shake gesture.
- the left-vertical shake gesture satisfies the conditions as follows: the average absolute value of each reference acceleration value is greater than or equal to a first predetermined value (e.g., 0.604767 m/s 2 ).
- the twelfth reference acceleration value is processed by the low-pass filter 60 , and the twelfth reference acceleration value in the X-direction less than a second predetermined value (e.g., minus 0.7249232 m/s 2 ), the twentieth reference acceleration value is processed by the low-pass filter 60 , and the twentieth reference acceleration value in the X-direction is lower than a third predetermined value (e.g., minus 0.522402 m/s 2 ).
- the table below shows the conditions for identifying the left-vertical shake gesture.
- the right-vertical shake gesture satisfies the conditions as follows: the average absolute value of each reference acceleration value is greater than or equal to the first predetermined value (e.g., 0.604767 m/s 2 ).
- the twelfth reference acceleration value is processed by the low-pass filter 60 , and the twelfth reference acceleration value in the X-direction is less than the second predetermined value (e.g., minus 0.7249232 m/s 2 ), the twentieth reference acceleration value is processed by the low-pass filter 60 , and the twentieth reference acceleration value in the X-direction is greater than the third predetermined value (e.g., minus 0.522402 m/s 2 ).
- the table below shows the conditions for identifying the right-vertical shake gesture.
- the leftward shake gesture may include three situations.
- a first situation of the leftward shake gesture is as follows: the average absolute value of each reference acceleration value is greater than or equal to the first predetermined value (e.g., 0.604767 m/s 2 ).
- the twelfth reference acceleration value is processed by the low-pass filter 60 , and the twelfth reference acceleration value in the X-direction in is less than the second predetermined value (e.g., minus 0.7249232 m/s 2 ).
- the tenth reference acceleration value is processed by the low-pass filter 60 , and the tenth reference acceleration value in the Z-direction in is greater than the third predetermined value (e.g., minus 0.384571 m/s 2 ).
- the eighth reference acceleration value is processed by the high-pass filter 50 , and the eighth reference acceleration value in the Z-direction is less than the fourth predetermined value (e.g., minus 0.992135).
- the table below shows the conditions for identifying the leftward shake gesture in the first situation.
- a second situation of the leftward shake gesture is as follows: the average absolute value of each reference acceleration value is greater than or equal to the first predetermined value (e.g., 0.604767 m/s 2 ).
- the twelfth reference acceleration value is processed by the low-pass filter 60 , and the twelfth reference acceleration value in the X-direction in is less than the second predetermined value (e.g., minus 0.7249232 m/s 2 ).
- the tenth reference acceleration value is processed by the low-pass filter 60 , and the tenth reference acceleration value in the Z-direction is less than the third predetermined value (e.g., minus 0.384571 m/s 2 ).
- the eleventh reference acceleration value is processed by the low-pass filter 60 , and the eleventh reference acceleration value in the Y-direction is greater than a fourth predetermined value (e.g., 0.206395 m/s 2 ).
- a fourth predetermined value e.g. 0.206395 m/s 2 .
- a third situation of the leftward shake gesture is as follows: the average absolute value of each reference acceleration value is greater than or equal to the first predetermined value (e.g., 0.604767 m/s 2 ).
- the twelfth reference acceleration value is processed by the low-pass filter 60 , and the twelfth reference acceleration value in the X-direction is less than the second predetermined value (e.g., minus 0.7249232 m/s 2 ).
- the tenth reference acceleration value is processed by the low-pass filter 60 , and the tenth reference acceleration value in the Z-direction in is less than the third predetermined value (e.g., minus 0.384571 m/s 2 ).
- the eleventh reference acceleration value is processed by the low-pass filter 60 , and the eleventh reference acceleration value in the Y-direction in is less than the fourth predetermined value (e.g., 0.206395 m/s 2 ).
- the fourth reference acceleration value is processed by the high-pass filter 50 , and the fourth reference acceleration value in the Z-direction is greater than a fifth predetermined value (e.g., 0.013021 m/s 2 ).
- the table below shows the conditions for identifying the leftward shake gesture in the third situation.
- the rightward shake gesture may include two situations.
- the first situation of the rightward shake gesture is as follows: the average absolute value of each reference acceleration value is greater than or equal to the first predetermined value (e.g., 0.604767 m/s 2 ).
- the twelfth reference acceleration value is processed by the low-pass filter 60 , and the twelfth reference acceleration value in the X-direction in is less than the second predetermined value (e.g., minus 0.7249232 m/s 2 ).
- the tenth reference acceleration value is processed by the low-pass filter 60 , and the tenth reference acceleration value in the Z-direction is greater than the third predetermined value (e.g., minus 0.384571 m/s 2 ).
- the eighth reference acceleration value is processed by the high-pass filter 50 , and the eighth reference acceleration value in the Z-direction is greater than the fourth predetermined value (e.g., minus 0.992135 m/s 2 ).
- the table below shows the conditions for identifying the rightward shake gesture in the first situation.
- the second situation of the rightward shake gesture is as follows: the average absolute value of each reference acceleration value is greater than or equal to the first predetermined value (e.g., 0.604767 m/s 2 ).
- the twelfth reference acceleration value is processed by the low-pass filter 60 , and the twelfth reference acceleration value in the Page of X-direction is less than the second predetermined value (e.g., minus 0.7249232 m/s 2 ).
- the tenth reference acceleration value is processed by the low-pass filter 60 , and the tenth reference acceleration value in the Z-direction in is less than the third predetermined value (e.g., minus 0.384571 m/s 2 ).
- the eleventh reference acceleration value is processed by the low-pass filter 60 , and the eleventh reference acceleration value in the Y-direction in is less than the fourth predetermined value (e.g., 0.206395 m/s 2 ).
- the fourth reference acceleration value is processed by the high-pass filter 50 , and the fourth reference acceleration value in the Z-direction in is less than a fifth predetermined value (e.g., 0.013021 m/s 2 ).
- the table below shows the conditions for identifying the rightward shake gesture in the second situation.
- the association module 1140 associates the shake gesture with an application. For example, the association module 1140 associates the rightward shake gesture with the application which is operable to play music.
- the reading module 1110 reads real-time acceleration values from the accelerometer when the user shakes the electronic device.
- the real-time acceleration values are also generated by the accelerometer 40 when the user shakes the electronic device 1 to identify the shake gesture.
- the determination module 1150 determines if the real-time acceleration values match the conditions of identifying the shake gesture.
- the execution module 1160 starts the application corresponding to the shake gesture if the real-time acceleration values match the shake gesture.
- FIG. 3 is a flowchart of one embodiment of a method for identifying the shake gestures on the electronic device in FIG. 1 .
- additional steps may be added, while others deleted, and the steps may also be executed in a different order than described.
- step S 10 the reading module 1110 reads reference acceleration values from the accelerometer 40 when the user shakes the electronic device 1 .
- the reference acceleration values are also generated by the accelerometer 40 when the user shakes the electronic device 1 to establish the shake gesture.
- each shake gesture is established by shaking the electronic device 1 by the user one time.
- step S 20 the obtaining module 1120 obtains a predetermined number of the reference acceleration values. For example, the obtaining module 1120 obtains twenty reference acceleration values for use from the one hundred reference acceleration values.
- step S 30 the generation module 1130 generates conditions for identifying a shake gesture by a sorting algorithm according to the predetermined number of the reference acceleration values.
- the sorting algorithm may be, but is not limited to, a Bayesian algorithm, a decision tree algorithm, and an artificial neural network algorithm.
- step S 40 the association module 1140 associates the shake gesture with an application.
- the application relating to playing music is associated with the rightward shake gesture.
- step S 50 the reading module 1110 reads real-time acceleration values from the accelerometer when the user shakes the electronic device.
- the real-time acceleration values are also generated by the accelerometer 40 when the user shakes the electronic device 1 to identify the shake gesture.
- step S 60 the determination module 1150 determines if the real-time acceleration values match the conditions of identifying the shake gesture. If the real-time acceleration values match the shake gesture, for example, the rightward shake gesture, the procedure goes to step 70 . Otherwise, if the real-time acceleration values do not match the shake gesture, the procedure ends.
- step S 70 the execution module 1160 starts the application corresponding to the shake gesture.
- the execution module 1160 starts the application to play music when the real-time acceleration values match the rightward shake gesture.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
A method to identify a shake gesture using an electronic device. The electronic device reads reference acceleration values from an accelerometer of the electronic device when a user shakes the electronic device to establish the shake gesture. The electronic device generates the shake gesture by a sorting algorithm according to the reference acceleration values and associates the shake gesture with an application. The electronic device starts the application corresponding to the shake gesture.
Description
- 1. Technical Field
- Embodiments of the present disclosure relate to electronic device management systems and methods, and particularly to an electronic device providing shake gesture identification and a method for using the shake gesture identification.
- 2. Description of Related Art
- Because electronic devices (e.g., a smart phone) are often used as personal organizers, they frequently offer a plurality of applications, such as applications for games, music, calendars, and calculators. However, at present, the applications are started by clicking associated icons or touching the associated icons, which is not flexible. Therefore, there is room for improvement in the art.
-
FIG. 1 is a schematic diagram of one embodiment of an electronic device including a shake gesture identification system. -
FIG. 2 is a block diagram of one embodiment of the shake gesture identification system inFIG. 1 . -
FIG. 3 is a flowchart of one embodiment of a method for identifying the shake gestures on the electronic device, such as, for example, that ofFIG. 1 . -
FIG. 4 illustrates one embodiment of a left-vertical shake gesture. -
FIG. 5 illustrates one embodiment of a right-vertical shake gesture. -
FIG. 6 illustrates one embodiment of a leftward shake gesture. -
FIG. 7 illustrates one embodiment of a rightward shake gesture. - The disclosure, including the accompanying drawings, is illustrated by way of example and not by way of limitation. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean at least one.
- In general, the word “module,” as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language. One or more software instructions in the modules may be embedded in firmware, such as in an erasable programmable read only memory (EPROM). The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of non-transitory computer-readable medium or other storage device. Some non-limiting examples of non-transitory computer-readable media include CDs, DVDs, BLU-RAY, flash memory, and hard disk drives.
-
FIG. 1 is a block diagram of one embodiment of an electronic device 1 including the shakegesture identification system 110. The shakegesture identification system 110 may be used to identify shake gestures when the electronic device 1 is shaken by a user. In one embodiment, the electronic device 1 includes astorage system 10, aprocessor 20, ascreen 30, anaccelerometer 40, a high-pass filter 50, and a low-pass filter 60. Thestorage system 10, thescreen 30, anaccelerometer 40, the high-pass filter 50 and the low-pass filter 60 are connected to theprocessor 20. The processor may be, but is not limited to, a central processing unit (CPU) or a system on a chip (SOC). - The
storage system 10 stores one or more shake gestures. Each of the one or more shake gestures may be associated with an application (e.g., a game) installed in the electronic device 1. The one or more shake gestures include a left-vertical shake gesture, a right-vertical shake gesture, a leftward shake gesture, and a rightward shake gesture. As shown inFIG. 4 , taking this figure as an example, the lower left corner of the electronic device 1 is moved in a negative X-direction and also in a negative Z-direction, the left side is moved through near 90 degrees to lie on its side. The left-vertical shake gesture is a gesture when a user vertically shakes the electronic device 1 leftward by a left-vertical shake angle. As shown inFIG. 5 , the right-vertical shake gesture is the gesture when the user vertically shakes the electronic device 1 rightward by the right-vertical shake angle. The left-vertical shake angle and the right-vertical shake angle may fall within a range. The range may start at eighty five degrees angle and end at ninety five degrees angle. As shown inFIG. 6 , the leftward shake gesture is the gesture when the user shakes the electronic device 1 leftward by a left shake angle. As shown inFIG. 7 , the rightward shake gesture is the gesture when the user shakes the electronic device 1 from rightward by a right shake angle. The left shake angle and the right shake angle may fall within the range. The range may starts at one hundred and twenty degrees angle and ends at one hundred and eighty degrees. - In one embodiment, the
storage system 10 may be an internal storage system card or an external storage system card, such as a smart media card (SMC), a secure digital card (SDC), a compact flash card (CFC), a multi media card (MMC), a storage system stick (MS), an extreme digital card (XDC), or a trans flash card (TFC). Depending on the embodiment, the electronic device 1 may be a mobile phone, a personal digital assistant (PDA), a handheld game player, a digital camera, or any other portable electronic device. - The
screen 30 is operable to display an application (e.g., show the dialog box) when the electronic device 1 is shaken by a user to start the application. Regarding how to start application by shaking the electronic device 1 will be described below. - The
accelerometer 40 generates acceleration values when the user shakes the electronic device 1. In one embodiment, theaccelerometer 40 generates fifty acceleration values per second when the user shakes the electronic device 1. Each acceleration value includes an acceleration value in the X-direction, an acceleration value in the Y-direction, and an acceleration value in the Z-direction. - The high-
pass filter 50 passes high-frequency signals with frequencies higher than a cutoff frequency of the high-pass filter 50. In one embodiment, the high-frequency signals are obtained from theaccelerometer 40 and each high-frequency signal corresponds to an acceleration value. - The low-
pass filter 60 passes low-frequency signals with frequencies lower than the cutoff frequency of the low-pass filter 50. As mentioned above, the low-frequency signals are obtained from theaccelerometer 40 and each low-frequency signal corresponds to an acceleration value. -
FIG. 2 is a block diagram of one embodiment of the shakegesture identification system 110 inFIG. 1 . In one embodiment, the shakegesture identification system 110 includes areading module 1110, an obtainingmodule 1120, ageneration module 1130, anassociation module 1140, adetermination module 1150, and anexecution module 1160. The modules 1110-1160 may include computerized code in the form of one or more programs that are stored in thestorage system 10. The computerized code includes instructions that are executed by the at least oneprocessor 20 to provide functions for modules 1110-1160. - The
reading module 1110 reads reference acceleration values from theaccelerometer 40 when the user shakes the electronic device 1. The reference acceleration values are also generated by theaccelerometer 40 when the user shakes the electronic device 1 to establish the shake gesture. In one embodiment, each shake gesture is established by shaking the electronic device 1 by the user one time. - The obtaining
module 1120 obtains a predetermined number of the reference acceleration values. In one embodiment, if theaccelerometer 40 generates one hundred reference acceleration values, the obtainingmodule 1120 may obtain twenty reference acceleration values for use from the one hundred reference acceleration values. - The
generation module 1130 generates the conditions for identifying a shake gesture by a sorting algorithm according to the predetermined number of the reference acceleration values. The sorting algorithm may be, but is not limited to, a Bayesian algorithm, a decision tree algorithm, and an artificial neural network algorithm. The shake gesture includes the left-vertical shake gesture, the right-vertical shake gesture, the leftward shake gesture, or the rightward shake gesture. - The left-vertical shake gesture satisfies the conditions as follows: the average absolute value of each reference acceleration value is greater than or equal to a first predetermined value (e.g., 0.604767 m/s2). The twelfth reference acceleration value is processed by the low-
pass filter 60, and the twelfth reference acceleration value in the X-direction less than a second predetermined value (e.g., minus 0.7249232 m/s2), the twentieth reference acceleration value is processed by the low-pass filter 60, and the twentieth reference acceleration value in the X-direction is lower than a third predetermined value (e.g., minus 0.522402 m/s2). The table below shows the conditions for identifying the left-vertical shake gesture. -
12th reference acceleration X-direction Low-pass Greater than value filter −0.724923 m/s2 20th reference acceleration X-direction Low-pass Less than value filter −0.522402 m/s2 - The right-vertical shake gesture satisfies the conditions as follows: the average absolute value of each reference acceleration value is greater than or equal to the first predetermined value (e.g., 0.604767 m/s2). The twelfth reference acceleration value is processed by the low-
pass filter 60, and the twelfth reference acceleration value in the X-direction is less than the second predetermined value (e.g., minus 0.7249232 m/s2), the twentieth reference acceleration value is processed by the low-pass filter 60, and the twentieth reference acceleration value in the X-direction is greater than the third predetermined value (e.g., minus 0.522402 m/s2). The table below shows the conditions for identifying the right-vertical shake gesture. -
12th reference acceleration X-direction Low-pass Greater than value filter −0.724923 m/s2 20th reference acceleration X-direction Low-pass Greater than value filter −0.522402 m/s2 - The leftward shake gesture may include three situations.
- A first situation of the leftward shake gesture is as follows: the average absolute value of each reference acceleration value is greater than or equal to the first predetermined value (e.g., 0.604767 m/s2). The twelfth reference acceleration value is processed by the low-
pass filter 60, and the twelfth reference acceleration value in the X-direction in is less than the second predetermined value (e.g., minus 0.7249232 m/s2). The tenth reference acceleration value is processed by the low-pass filter 60, and the tenth reference acceleration value in the Z-direction in is greater than the third predetermined value (e.g., minus 0.384571 m/s2). The eighth reference acceleration value is processed by the high-pass filter 50, and the eighth reference acceleration value in the Z-direction is less than the fourth predetermined value (e.g., minus 0.992135). The table below shows the conditions for identifying the leftward shake gesture in the first situation. -
12th reference acceleration X-direction Low-pass Less than value filter −0.724923 m/s2 10th reference acceleration Z-direction Low-pass Greater than value filter −0.384571 m/s2 8th reference acceleration Z-direction High-pass Less than value filter −0.992135 m/s2 - A second situation of the leftward shake gesture is as follows: the average absolute value of each reference acceleration value is greater than or equal to the first predetermined value (e.g., 0.604767 m/s2). The twelfth reference acceleration value is processed by the low-
pass filter 60, and the twelfth reference acceleration value in the X-direction in is less than the second predetermined value (e.g., minus 0.7249232 m/s2). The tenth reference acceleration value is processed by the low-pass filter 60, and the tenth reference acceleration value in the Z-direction is less than the third predetermined value (e.g., minus 0.384571 m/s2). The eleventh reference acceleration value is processed by the low-pass filter 60, and the eleventh reference acceleration value in the Y-direction is greater than a fourth predetermined value (e.g., 0.206395 m/s2). The table below shows the conditions for identifying the leftward shake gesture in the second situation. -
12th reference acceleration X-direction Low-pass Less than value filter −0.724923 m/s2 10th reference acceleration Z-direction Low-pass Less than value filter −0.384571 m/s2 11th reference acceleration Y-direction Low-pass Greater than value filter 0.206395 m/s2 - A third situation of the leftward shake gesture is as follows: the average absolute value of each reference acceleration value is greater than or equal to the first predetermined value (e.g., 0.604767 m/s2). The twelfth reference acceleration value is processed by the low-
pass filter 60, and the twelfth reference acceleration value in the X-direction is less than the second predetermined value (e.g., minus 0.7249232 m/s2). The tenth reference acceleration value is processed by the low-pass filter 60, and the tenth reference acceleration value in the Z-direction in is less than the third predetermined value (e.g., minus 0.384571 m/s2). The eleventh reference acceleration value is processed by the low-pass filter 60, and the eleventh reference acceleration value in the Y-direction in is less than the fourth predetermined value (e.g., 0.206395 m/s2). The fourth reference acceleration value is processed by the high-pass filter 50, and the fourth reference acceleration value in the Z-direction is greater than a fifth predetermined value (e.g., 0.013021 m/s2). The table below shows the conditions for identifying the leftward shake gesture in the third situation. -
12th reference acceleration X-direction Low-pass Less than value filter −0.724923 m/s2 10th reference acceleration Z-direction Low-pass Less than value filter −0.384571 m/s2 11th reference acceleration Y-direction Low-pass Less than value filter 0.206395 m/s2 4th reference acceleration Z-direction High-pass Greater than value filter 0.013021 m/s2 - The rightward shake gesture may include two situations.
- The first situation of the rightward shake gesture is as follows: the average absolute value of each reference acceleration value is greater than or equal to the first predetermined value (e.g., 0.604767 m/s2). The twelfth reference acceleration value is processed by the low-
pass filter 60, and the twelfth reference acceleration value in the X-direction in is less than the second predetermined value (e.g., minus 0.7249232 m/s2). The tenth reference acceleration value is processed by the low-pass filter 60, and the tenth reference acceleration value in the Z-direction is greater than the third predetermined value (e.g., minus 0.384571 m/s2). The eighth reference acceleration value is processed by the high-pass filter 50, and the eighth reference acceleration value in the Z-direction is greater than the fourth predetermined value (e.g., minus 0.992135 m/s2). The table below shows the conditions for identifying the rightward shake gesture in the first situation. -
12th reference acceleration X-direction Low-pass Less than value filter −0.724923 m/s2 10th reference acceleration Z-direction Low-pass Greater than value filter −0.384571 m/s2 8th reference acceleration Z-direction High-pass Greater than value filter −0.992135 m/s2 - The second situation of the rightward shake gesture is as follows: the average absolute value of each reference acceleration value is greater than or equal to the first predetermined value (e.g., 0.604767 m/s2). The twelfth reference acceleration value is processed by the low-
pass filter 60, and the twelfth reference acceleration value in the Page of X-direction is less than the second predetermined value (e.g., minus 0.7249232 m/s2). The tenth reference acceleration value is processed by the low-pass filter 60, and the tenth reference acceleration value in the Z-direction in is less than the third predetermined value (e.g., minus 0.384571 m/s2). The eleventh reference acceleration value is processed by the low-pass filter 60, and the eleventh reference acceleration value in the Y-direction in is less than the fourth predetermined value (e.g., 0.206395 m/s2). The fourth reference acceleration value is processed by the high-pass filter 50, and the fourth reference acceleration value in the Z-direction in is less than a fifth predetermined value (e.g., 0.013021 m/s2). The table below shows the conditions for identifying the rightward shake gesture in the second situation. -
12th reference acceleration X-direction Low-pass Less than value filter −0.724923 m/s2 10th reference acceleration Z-direction Low-pass Less than value filter −0.384571 m/s2 11th reference acceleration Y-direction Low-pass Less than value filter 0.206395 m/s2 4th reference acceleration Z-direction High-pass Less than value filter 0.013021 m/s2 - The
association module 1140 associates the shake gesture with an application. For example, theassociation module 1140 associates the rightward shake gesture with the application which is operable to play music. - The
reading module 1110 reads real-time acceleration values from the accelerometer when the user shakes the electronic device. The real-time acceleration values are also generated by theaccelerometer 40 when the user shakes the electronic device 1 to identify the shake gesture. - The
determination module 1150 determines if the real-time acceleration values match the conditions of identifying the shake gesture. - The
execution module 1160 starts the application corresponding to the shake gesture if the real-time acceleration values match the shake gesture. -
FIG. 3 is a flowchart of one embodiment of a method for identifying the shake gestures on the electronic device inFIG. 1 . Depending on the embodiment, additional steps may be added, while others deleted, and the steps may also be executed in a different order than described. - In step S10, the
reading module 1110 reads reference acceleration values from theaccelerometer 40 when the user shakes the electronic device 1. The reference acceleration values are also generated by theaccelerometer 40 when the user shakes the electronic device 1 to establish the shake gesture. As mentioned above, each shake gesture is established by shaking the electronic device 1 by the user one time. - In step S20, the obtaining
module 1120 obtains a predetermined number of the reference acceleration values. For example, the obtainingmodule 1120 obtains twenty reference acceleration values for use from the one hundred reference acceleration values. - In step S30, the
generation module 1130 generates conditions for identifying a shake gesture by a sorting algorithm according to the predetermined number of the reference acceleration values. As mentioned above, the sorting algorithm may be, but is not limited to, a Bayesian algorithm, a decision tree algorithm, and an artificial neural network algorithm. - In step S40, the
association module 1140 associates the shake gesture with an application. For example, the application relating to playing music is associated with the rightward shake gesture. - In step S50, the
reading module 1110 reads real-time acceleration values from the accelerometer when the user shakes the electronic device. As mentioned above, the real-time acceleration values are also generated by theaccelerometer 40 when the user shakes the electronic device 1 to identify the shake gesture. - In step S60, the
determination module 1150 determines if the real-time acceleration values match the conditions of identifying the shake gesture. If the real-time acceleration values match the shake gesture, for example, the rightward shake gesture, the procedure goes to step 70. Otherwise, if the real-time acceleration values do not match the shake gesture, the procedure ends. - In step S70, the
execution module 1160 starts the application corresponding to the shake gesture. For example, theexecution module 1160 starts the application to play music when the real-time acceleration values match the rightward shake gesture. - Although certain inventive embodiments of the present disclosure have been specifically described, the present disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the present disclosure without departing from the scope and spirit of the present disclosure.
Claims (20)
1. An electronic device, comprising:
at least one processor;
a storage system; and
one or more programs stored in the storage system and being executable by the at least one processor, the one or more programs comprising:
a reading module reads reference acceleration values from an accelerometer of the electronic device when a user shakes the electronic device to establish a shake gesture;
a generation module generates conditions for identifying the shake gesture by a sorting algorithm according to the reference acceleration values;
an association module associates the shake gesture with an application;
the reading module further reads real-time acceleration values from the accelerometer of the electronic device when the user shakes the electronic device after the shake gesture has been established; and
an execution module starts the application corresponding to the shake gesture when the real-time acceleration values match the conditions of identifying the shake gesture.
2. The electronic device of claim 1 , wherein each reference acceleration value and real-time acceleration value comprise a value in an X-direction, a value in a Y-direction, and a value in a Z-direction.
3. The electronic device of claim 1 , wherein the shake gesture is selected from the group consisting of a left-vertical shake gesture, a right-vertical shake gesture, a leftward shake gesture, and a rightward shake gesture.
4. The electronic device of claim 1 , wherein the sorting algorithm is selected from the group consisting of a Bayesian algorithm, a decision tree algorithm, and an artificial neural network algorithm.
5. The electronic device of claim 1 , further comprising an obtaining module operable to obtain a predetermined number of the reference acceleration values.
6. The electronic device of claim 1 , further comprising a determination module operable to determine if the real-time acceleration values match conditions for identifying the shake gesture.
7. The electronic device of claim 1 , wherein the storage system is selected from the group consisting of a smart media card (SMC), a secure digital card (SDC), a compact flash card (CFC), a multi media card (MMC), a storage system stick (MS), an extreme digital card (XDC), and a trans flash card (TFC).
8. A method for identifying a shake gesture in an electronic device, the method comprising:
reading reference acceleration values from an accelerometer of the electronic device when a user shakes the electronic device to establish a shake gesture;
generating conditions for identifying the shake gesture by a sorting algorithm according to the reference acceleration values;
associating the shake gesture with an application;
reading real-time acceleration values from the accelerometer of the electronic device when the user shakes the electronic device after the shake gesture has been established; and
starting the application corresponding to the shake gesture when the real-time acceleration values match the conditions of identifying the shake gesture.
9. The method of claim 8 , wherein each reference acceleration value and real-time acceleration value comprise a value in an X-direction, a value in a Y-direction, and a value in a Z-direction.
10. The method of claim 8 , wherein the shake gesture is selected from the group consisting of a left-vertical shake gesture, a right-vertical shake gesture, a leftward shake gesture, and a rightward shake gesture.
11. The method of claim 8 , wherein the sorting algorithm is selected from the group consisting of a Bayesian algorithm, a decision tree algorithm, and an artificial neural network algorithm.
12. The method of claim 8 , wherein the method further comprises:
obtaining a predetermined number of the reference acceleration values.
13. The method of claim 8 , wherein the method further comprises:
determining if the real-time acceleration values match the shake gesture.
14. The method of claim 8 , wherein the storage system is selected from the group consisting of a smart media card (SMC), a secure digital card (SDC), a compact flash card (CFC), a multi media card (MMC), a storage system stick (MS), an extreme digital card (XDC), and a trans flash card (TFC).
15. A non-transitory storage medium having stored thereon instructions that, when executed by an electronic device, cause the electronic device to perform a method for identifying a shake gesture in an electronic device, the method comprising:
reading reference acceleration values from an accelerometer of the electronic device when a user shakes the electronic device to establish a shake gesture;
generating conditions for identifying the shake gesture by a sorting algorithm according to the reference acceleration values;
associating the shake gesture with an application;
reading real-time acceleration values from the accelerometer of the electronic device when the user shakes the electronic device after the shake gesture has been established; and
starting the application corresponding to the shake gesture when the real-time acceleration values match the conditions of identifying the shake gesture.
16. The non-transitory storage medium of claim 15 , wherein each reference acceleration value and real-time acceleration value comprise a value in an X-direction, a value in a Y-direction, and a value in a Z-direction.
17. The non-transitory storage medium of claim 15 , wherein the shake gesture is selected from the group consisting of a left-vertical shake gesture, a right-vertical shake gesture, a leftward shake gesture, and a rightward shake gesture.
18. The non-transitory storage medium of claim 15 , wherein the sorting algorithm is selected from the group consisting of a Bayesian algorithm, a decision tree algorithm, and an artificial neural network algorithm.
19. The non-transitory storage medium of claim 15 , wherein the method further comprises:
obtaining a predetermined number of the reference acceleration values.
20. The non-transitory storage medium of claim 15 , wherein the method further comprises:
determining if the real-time acceleration values match the shake gesture.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110409140.0 | 2011-12-09 | ||
CN2011104091400A CN103164049A (en) | 2011-12-09 | 2011-12-09 | Swing identification control system and method of handheld action electronic device |
Publications (1)
Publication Number | Publication Date |
---|---|
US20130147704A1 true US20130147704A1 (en) | 2013-06-13 |
Family
ID=48571507
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US13/667,007 Abandoned US20130147704A1 (en) | 2011-12-09 | 2012-11-02 | Electronic device providing shake gesture identification and method |
Country Status (3)
Country | Link |
---|---|
US (1) | US20130147704A1 (en) |
CN (1) | CN103164049A (en) |
TW (1) | TW201324241A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130282732A1 (en) * | 2012-04-23 | 2013-10-24 | Chi Mei Communication Systems, Inc. | Electronic device and method for managing names of electronic device |
US20150061994A1 (en) * | 2013-09-03 | 2015-03-05 | Wistron Corporation | Gesture recognition method and wearable apparatus |
CN106843856A (en) * | 2016-12-29 | 2017-06-13 | 深圳市宇恒互动科技开发有限公司 | A kind of method and terminal of utilization action identifying software information |
US20180088681A1 (en) * | 2015-08-25 | 2018-03-29 | Tencent Technology (Shenzhen) Company Limited | Operation recognition method and apparatus |
CN109100537A (en) * | 2018-07-19 | 2018-12-28 | 百度在线网络技术(北京)有限公司 | Method for testing motion, device, equipment and medium |
WO2019023990A1 (en) * | 2017-08-02 | 2019-02-07 | 深圳传音通讯有限公司 | Control method and control system for smart terminal desktop icons |
JP2020017294A (en) * | 2019-09-13 | 2020-01-30 | 株式会社ロイヤリティマーケティング | Terminal device, member management device, information processing method, and program |
CN111026453A (en) * | 2019-11-22 | 2020-04-17 | 甄十信息科技(上海)有限公司 | Method and device for executing application function of mobile terminal |
CN111820480A (en) * | 2015-07-01 | 2020-10-27 | 尼科创业控股有限公司 | Aerosol delivery device |
US12299214B2 (en) | 2023-08-09 | 2025-05-13 | Stmicroelectronics International N.V. | Low power lift-up gesture detection with shake rejection |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017028027A1 (en) * | 2015-08-14 | 2017-02-23 | 深圳还是威健康科技有限公司 | Starting method and apparatus, wristband and wristband test system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040130524A1 (en) * | 2002-10-30 | 2004-07-08 | Gantetsu Matsui | Operation instructing device, operation instructing method, and operation instructing program |
US20040169636A1 (en) * | 2001-07-24 | 2004-09-02 | Tae-Sik Park | Method and apparatus for selecting information in multi-dimesional space |
US20120016641A1 (en) * | 2010-07-13 | 2012-01-19 | Giuseppe Raffa | Efficient gesture processing |
US20120120000A1 (en) * | 2010-11-12 | 2012-05-17 | Research In Motion Limited | Method of interacting with a portable electronic device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1466713A (en) * | 2000-08-29 | 2004-01-07 | ŷķ����ʽ���� | Pointing device for position |
US7173604B2 (en) * | 2004-03-23 | 2007-02-06 | Fujitsu Limited | Gesture identification of controlled devices |
CN100565436C (en) * | 2006-12-25 | 2009-12-02 | 财团法人工业技术研究院 | 3D micro-inertial sensing method |
JP4892443B2 (en) * | 2007-07-09 | 2012-03-07 | 株式会社ソニー・コンピュータエンタテインメント | Game controller |
-
2011
- 2011-12-09 CN CN2011104091400A patent/CN103164049A/en active Pending
- 2011-12-14 TW TW100146364A patent/TW201324241A/en unknown
-
2012
- 2012-11-02 US US13/667,007 patent/US20130147704A1/en not_active Abandoned
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040169636A1 (en) * | 2001-07-24 | 2004-09-02 | Tae-Sik Park | Method and apparatus for selecting information in multi-dimesional space |
US20040130524A1 (en) * | 2002-10-30 | 2004-07-08 | Gantetsu Matsui | Operation instructing device, operation instructing method, and operation instructing program |
US20120016641A1 (en) * | 2010-07-13 | 2012-01-19 | Giuseppe Raffa | Efficient gesture processing |
US20120120000A1 (en) * | 2010-11-12 | 2012-05-17 | Research In Motion Limited | Method of interacting with a portable electronic device |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9043335B2 (en) * | 2012-04-23 | 2015-05-26 | Chi Mei Communication Systems, Inc. | Electronic device and method for managing names of electronic device |
US20130282732A1 (en) * | 2012-04-23 | 2013-10-24 | Chi Mei Communication Systems, Inc. | Electronic device and method for managing names of electronic device |
US20150061994A1 (en) * | 2013-09-03 | 2015-03-05 | Wistron Corporation | Gesture recognition method and wearable apparatus |
US9383824B2 (en) * | 2013-09-03 | 2016-07-05 | Wistron Corporation | Gesture recognition method and wearable apparatus |
CN111820480A (en) * | 2015-07-01 | 2020-10-27 | 尼科创业控股有限公司 | Aerosol delivery device |
US20180088681A1 (en) * | 2015-08-25 | 2018-03-29 | Tencent Technology (Shenzhen) Company Limited | Operation recognition method and apparatus |
US10528149B2 (en) * | 2015-08-25 | 2020-01-07 | Tencent Technology (Shenzhen) Company Limited | Operation recognition method and apparatus |
CN106843856A (en) * | 2016-12-29 | 2017-06-13 | 深圳市宇恒互动科技开发有限公司 | A kind of method and terminal of utilization action identifying software information |
WO2019023990A1 (en) * | 2017-08-02 | 2019-02-07 | 深圳传音通讯有限公司 | Control method and control system for smart terminal desktop icons |
CN109100537A (en) * | 2018-07-19 | 2018-12-28 | 百度在线网络技术(北京)有限公司 | Method for testing motion, device, equipment and medium |
JP2020017294A (en) * | 2019-09-13 | 2020-01-30 | 株式会社ロイヤリティマーケティング | Terminal device, member management device, information processing method, and program |
CN111026453A (en) * | 2019-11-22 | 2020-04-17 | 甄十信息科技(上海)有限公司 | Method and device for executing application function of mobile terminal |
US12299214B2 (en) | 2023-08-09 | 2025-05-13 | Stmicroelectronics International N.V. | Low power lift-up gesture detection with shake rejection |
Also Published As
Publication number | Publication date |
---|---|
CN103164049A (en) | 2013-06-19 |
TW201324241A (en) | 2013-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20130147704A1 (en) | Electronic device providing shake gesture identification and method | |
US8520459B2 (en) | Method for storing data into a memory | |
CN108733342B (en) | Volume adjustment method, mobile terminal and computer-readable storage medium | |
CN106469165B (en) | Bullet screen display method and bullet screen display device | |
CN107085479B (en) | Method for providing handwriting style correction function and electronic device suitable for same | |
CN111816178B (en) | Control method, device and equipment of voice equipment | |
CN104423703A (en) | Electronic device and method for displaying application information | |
CN103631375B (en) | According to the method and apparatus of the Situation Awareness control oscillation intensity in electronic equipment | |
US20140206440A1 (en) | Game system and gaming method having identification function | |
US9626546B2 (en) | Electronic device and control method thereof | |
WO2017032312A1 (en) | Method and apparatus for presenting to-be-cleaned data, and electronic device | |
CN102609276A (en) | Method for pre-loading common application program and electronic device thereof | |
CN108920353A (en) | A kind of test method, device and electronic equipment | |
US9008609B2 (en) | Usage recommendation for mobile device | |
CN107402659A (en) | Electronic equipment and the method for receiving its user input | |
US20150063577A1 (en) | Sound effects for input patterns | |
CN113033584B (en) | Data processing method and related equipment | |
EP2911064A1 (en) | Memory initializing method and electronic device supporting the same | |
CN105933689A (en) | Image processing method and electronic device supporting the same | |
CN109325015B (en) | Method and device for extracting characteristic field of domain model | |
KR102305114B1 (en) | Method for processing data and an electronic device thereof | |
US20150112997A1 (en) | Method for content control and electronic device thereof | |
US9967691B2 (en) | Stereophonic sound recording method and apparatus, and terminal | |
CN112818219A (en) | Method, system, electronic device and readable storage medium for explaining recommendation effect | |
CN103577035A (en) | Application interface processing device and method for electronic equipment, and electronic system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: HON HAI PRECISION INDUSTRY CO., LTD., TAIWAN Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:KUO, HSUAN-HAO;KAO, MING-CHUAN;CHARNG, JEN-HSIUNG;REEL/FRAME:029230/0443 Effective date: 20121029 |
|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION |