1. Technical Field
Embodiments of the present disclosure relate to protecting an electronic device, and more particularly to an electronic device and method to prevent falling of the electronic device.
2. Description of Related Art
Electronic devices are easily lost by people. Once electronic devices have fallen out from pockets or bags of people, it may cause damage to the electronic device.
What is needed, therefore, is an improved electronic device and method to prevent falling of the electronic device.
The invention is illustrated by way of example and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements. 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, such as, for example, Java, C, or assembly. One or more software instructions in the modules may be embedded in firmware, such as an EPROM. It will be appreciated that modules may comprised connected logic units, such as gates and flip-flops, and may comprise programmable units, such as programmable gate arrays or processors. The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of computer-readable medium or other computer storage device.
The electronic device 1 may be a mobile phone, a personal digital assistant, a handheld computer, or any other kind of handheld computing device. As shown, the electronic device 1 has a strap 2. The strap 2 is connected with at least one clip 3. The strap 2 is made by flexible/elastic wires. To prevent lose of the electronic device 1, the clip 3 may be used to clip onto clothing or handbags, for example. The clip 3 includes a sensor 30 to detect if the clip 3 is in a tightened state or a normal state. If the clip 3 is not in a tightened state, the electronic device 1 may unnoticeably fall out of a pocket of the clothing or the handbags and be lost, for example.
In one embodiment, if the preventing system 10 detects that the clip 3 is not in the tightened state, the preventing system 10 activates one or more preset alarm means. In another embodiment, if the preventing system 10 detects that the clip 3 is in the tightened state and the electronic device 1 is in a falling state, the preventing system 10 generates a control command to frap the strap 2, and activates the one or more preset alarm means.
The electronic device 1 may also include a speaker 4, a vibrator 5, a display 6, a processor 7, a storage system 8, and a three-axis accelerometer 9. The speaker 4 may output audio signals, such as songs, rings, for example. The vibrator 5 may vibrate the electronic device 1 when a vibration mode provided by the electronic device 1 is selected. The display 6 may display various information, such as messages, images, videos, for example. The three-axis accelerometer 9 is used to detect an acceleration and a moving direction of the electronic device 1.
The processor 7 executes one or more computerized operations of the electronic device 1 and other applications, to provide functions of the electronic device 1. The storage system 8 stores one or more programs, such as programs of an operating system, other applications of the electronic device 1, and various kinds of data, such as agendas in the calendar of the electronic device 1, for example. In one embodiment, the electronic device 1 may be a mobile phone, and the storage system 8 may be a memory of the electronic device 1 or an external storage card, such as a memory stick, a subscriber identification module (SIM) card, a smart media card, a compact flash card, or any other type of memory card.
The setting module 100 sets one or more alarm means to alarm a user of the electronic device 1 when the electronic device 1 is in a falling state or when the clip 3 is not in a tightening state. In one embodiment, the alarm means may include an audible alarm, a vibration alarm, a blinking alarm, and/or any combination of the above-mentioned alarms.
The setting module 100 also sets a hotkey to activate or deactivate the preventing system 10. In one embodiment, the hotkey may be a character string including alphanumeric characters and/or symbols, such as “#detecting#.”
The controlling module 120 activates the sensor 30 of the clip 3 to detect if the clip 3 is in the tightened state. If the clip 3 is in the tightened state, the controlling module 120 activates the three-axis accelerometer 9 to detect an acceleration and a moving direction of the electronic device 1. If the clip 3 is not in the tightened state, the alarming module 160 activates one or more of the alarm means.
The determining module 140 determines if the acceleration is larger or equal to the acceleration of gravity and if the moving direction is in the gravitational direction. If the acceleration is larger or equal to the acceleration of gravity and the moving direction is in the gravitational direction, the determining module 140 detects that the electronic device 1 is in a falling state. If the acceleration is less than the acceleration of gravity and/or the moving direction is not in the gravitational direction, the determining module 140 determines that the electronic device 1 is in a normal state.
The alarming module 160 generates a control command to frap the strap 3, and activates one or more of the alarm means if the electronic device 1 is in a falling state. The alarm means include outputting audio alerts through the speaker 4, vibrating the electronic device 1 through the vibrator 5, and/or blinking through the display 6. In one embodiment, the output audio alerts may be a specified song, or specified ring tone.
In block S2, the setting module 100 sets one or more alarm means to alarm a user of the electronic device 1 when the electronic device 1 is in a falling state or when the clip 3 is not in a tightened state. As mentioned above, the alarm means may include an audible alarm, a vibration alarm, a blinking alarm, and/or any combination of the above-mentioned alarms.
In block S4, the setting module 100 sets a hotkey to activate or deactivate the preventing system 10. As mentioned above, the hotkey may be a character string including alphanumeric characters and/or symbols, such as “#detecting#.”
In block S6, the controlling module 120 activates the sensor 30 of the clip 3 to detect if the clip 3 is in the tightened state. If the clip 3 is in the tightened state, the procedure goes to block S10 directly. If the clip 3 is not in the tightened state, in block S8, the alarming module 160 activates one or more of the alarm means.
In block S10, the controlling module 120 activates the three-axis accelerometer 9 to detect an acceleration and a moving direction of the electronic device 1.
In block S12, the determining module 140 determines if the acceleration is larger or equal to the acceleration of gravity and if the moving direction is in the gravitational direction. If the acceleration is less than the acceleration of gravity and/or the moving direction is not in the gravitational direction, the procedure returns to block S10.
If the acceleration is larger or equal to the acceleration of gravity and the moving direction is in the gravitational direction, in block S14, the determining module 140 detects that the electronic device 1 is in a falling state.
In block S16, the alarming module 26 generates a control command to frap the strap 3, and activates one or more of the alarm means, such as outputting audio alerts through the speaker 4, vibrating the electronic device 1 through the vibrator 5, and/or blinking through the display 6. As mentioned above, the output audio alerts may be a specified song, or specified ring tone.
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.
Number | Date | Country | Kind |
---|---|---|---|
200810305351.8 | Oct 2008 | CN | national |