1. Field of the Application
The present application relates to a controlling method and a controlling system, and in particular, to a controlling method and a controlling system for a handheld communication device using a G-sensor.
2. Description of Related Art
Along with the continuous development of the technology, handheld communication devices such as a mobile phone, or a personal digital assistant (PDA) phone have integrated a greater number of functions. Besides functions such as making calls, sending/receiving messages, and making notes, surfing the Internet and receiving/sending e-mails also have become basic functions of the handheld communication devices in the current market. Multiple functions not only can facilitate people's life but also can provide entertainments, and thus the handheld communication devices have become one of the most popular high-tech electronic products in the current market.
A user is able to use the handheld communication device to receive and make calls. In a normal mode of the handheld communication device, when receiving an incoming call, the handheld communication usually reminds the user to pick up the phone through a ringing and/or a vibration fashion. However, it is happened that in situations of attending a meeting or a lecture, the handheld communication device usually bursts out ringing when receiving an incoming call and the user can only embarrassingly hand up the call or switch the handheld communication device into a mute mode, which is quite inconvenient.
In light of the above, the present application provides a controlling method and a controlling system for a handheld communication device, in which a G-sensor is used for detecting a tilting state of the handheld communication device, so as to determine whether to perform a function of the handheld communication device when a notice is activated.
In order to achieve the above-mentioned or other objects, the present application provides a controlling method for a handheld communication device. First, a tilting state of the handheld communication device is detected by using a G-sensor. Then, whether the tilting state is changed from a face up state to a face down state is determined. The handheld communication device is controlled to perform a function when the tilting state is confirmed to be changed from the face up state to the face down state.
According to an embodiment of the present application, the step of detecting the tilting state of the handheld communication device comprises detecting the tilting state of the handheld communication device when a notice is activated.
According to an embodiment of the present application, the step of controlling the handheld communication device to perform the function comprises controlling the handheld communication device to enter a mute mode when the tilting state is confirmed to be changed from the face up state to the face down state.
According to an embodiment of the present application; the handheld communication device is controlled to enter the mute mode during the time period of the notice and is controlled to return to a normal mode when the notice is terminated.
According to an embodiment of the present application, the notice comprises a sound notice, wherein a sound of the handheld communication device is turned on in the normal mode and turned off in the mute mode.
According to an embodiment of the present application, the notice comprises a sound notice, wherein a sound of the handheld communication device is turned on in the normal mode and turned off in the mute mode.
According to an embodiment of the present application, the notice comprises a ringtone notice, wherein a ringtone of the handheld communication device is turned on in the normal mode and turned off in the mute mode.
According to an embodiment of the present application, the notice comprises a vibration notice, wherein a vibration function of the handheld communication device is turned on in the normal mode and is turned off in the mute mode.
According to an embodiment of the present application, the step of detecting the tilting state of the handheld communication device comprises detecting the tilting state of the handheld communication device at a fixed interval, in which a length of the fixed interval is between 50 and 200 milliseconds.
According to an embodiment of the present application, the step of determining whether the tilting state is changed from the face up state to the face down state comprises following steps. First, whether the tilting state is in the face up state is determined. Next, it is continued to determine whether the tilting state is changed to the face down state when the tilting state is determined in the face up state. Then, whether a number of times that the tilting state is continuously determined in the face down state exceeds a preset value is determined when the tilting state is determined to be changed to the face down state. Finally, it is confirmed that the tilting state is changed from the face up state to the face down state when the number of times exceeds the preset value.
According to an embodiment of the present application, in the step of determining whether the number of times that the tilting state is continuously determined in the face down state exceeds a preset value, if the number of times has not exceeded the preset value and the tilting state is changed from the face down state to the tilting state other than the face down state, whether the tilting state is changed from the face up state to the face down state is re-determined.
According to an embodiment of the present application, in the step of detecting the tilting state of the handheld communication device by using the G-sensor, a normal vector of a plane of the handheld communication device is detected first. Then, a tiling angle that the plane is rotated along a transverse coordinate axis (X axis) and a rolling angle that the plane is rotated along a vertical coordinate axis (Y axis) are calculated according to the detected normal vector and compared with a plurality of angle ranges corresponding to a plurality of tilting states, so to determine the current tilting state of the handheld communication device.
According to an embodiment of the present application, the angle range of the tiling angle corresponding to the face up state is from 0 degree to 45 degree and from 315 degree to 360 degree and the angle range of the rolling angle corresponding to the face up state is from 0 degree to 45 degree and from 315 degree to 360 degree.
According to an embodiment of the present application, the angle range of the tiling angle corresponding to the face down state is from 170 degree to 190 degree and the angle range of the rolling angle corresponding to the face down state is from 170 degree to 190 degree.
According to an embodiment of the present application, the plane of the handheld communication device is the plane comprising a screen of the handheld communication device.
According to an embodiment of the present application, the tilting state comprises landscape left state, landscape right state, portrait top state, portrait bottom state, face up state, and face down state.
The present application provides a controlling system comprising a G-sensor and a tilting state determining module, in which the G-sensor is used for detecting a tilting state of a handheld communication device and the tilting state determining module is used for determining whether the tilting state is changed from a face up state to a face down state and controlling the handheld communication device to perform a function when the tilting state is confirmed to be changed from the face up state to the face down state.
According to an embodiment of the present application, the G-sensor detects the tilting state of the handheld communication device when a notice is activated, and the tilting state determining module controls the handheld communication device to enter a mute mode when the tilting state is confirmed to be changed from the face up state to the face down state.
According to an embodiment of the present application, the tilting state determining module controls the handheld communication device to enter the mute mode during the time period of the notice and return to a normal mode when the notice is terminated.
According to an embodiment of the present application, the G-sensor comprises detecting the tilting state of the handheld communication device at a fixed interval.
According to an embodiment of the present application, the tilting state determining module comprises determining whether the tilting state is in the face up state, continuing to determine whether the tilting state is changed to the face down state when the tilting state is determined in the face up state, determining whether a number of times that the tilting state is continuously determined in the face down state exceeds a preset value when the tilting state is determined to be changed to the face down state, and confirming that the tilting state is changed from the face up state to the face down state when the number of times exceeds the preset value.
According to an embodiment of the present application, the G-sensor comprises detecting a normal vector of a plane of the handheld communication device, calculating a tiling angle that the plane is rotated along a transverse coordinate axis (X axis) and a rolling angle that the plane is rotated along a vertical coordinate axis (Y axis) according to the detected normal vector, and comparing the tiling angle and the rolling angle with a plurality of angle ranges corresponding to a plurality of tilting states to determine the current tilting state of the handheld communication device, wherein the angle range of the tiling angle corresponding to the face up state is from 0 degree to 45 degree and from 315 degree to 360 degree and the angle range of the rolling angle corresponding to the face up state is from 0 degree to 45 degree and from 315 degree to 360 degree, and the angle range of the tiling angle corresponding to the face down state is from 170 degree to 190 degree and the angle range of the rolling angle corresponding to the face down state is from 170 degree to 190 degree.
The present application provides a recording medium, for recording a computer program, wherein the computer program comprises a plurality of program codes, and the computer program is suitable for being loaded into a handheld communication device to enable the handheld communication device to execute a controlling method, and the controlling method comprises following steps. First, a tilting state of the handheld communication device is detected. Then, whether the tilting state is changed from a face up state to a face down state is determined and the handheld communication device is controlled to perform a function when the tilting state is confirmed to be changed from the face up state to the face down state.
In the present application, a G-sensor is used to detect the tilting state of the handheld communication device, in which the tilting state comprises landscape left state, landscape right state, portrait top state, portrait bottom state, face up state, and face down state, and each of which has a corresponding angle range. If it is determined that the tilting state of the handheld communication is changed from the face up state to the face down state, the handheld communication device is controlled to perform a function without going through complicated operating procedures, and thereby a more intuitive and convenient way to control the handheld communication device is provided.
The accompanying drawings are included to provide a further understanding of the application, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the application and, together with the description, serve to explain the principles of the application.
a)˜7(d) are schematic diagrams illustrating examples of determining whether the tilting state of the handheld communication device is changed from the face up state to the face down state according to one embodiment of the present application.
Usually, when an user operates a handheld communication device equipped with a screen, such as a vertical type (bar type) device or a glide-open type (sliding type) device, he/she often places the front plane (i.e. the plane having the screen) of the device upwards. If the device is a flip-open type (clam shell type) device, the user may also place an upper lid having the screen upwards or inclined upwardly when the device is in use. However, in some situations such as in a meeting or in a lecture, when receiving an incoming call, a user may be improper to pick it up and need to hand up the phone or mute the device instantly. At this very moment, a most intuitive way is to flip the device and let the front plane face toward the downward direction, such that the present application provides a controlling method and a controlling system for a handheld communication device and a recording medium using the same based on the above-mentioned concept. In order to make the present application more comprehensible, embodiments are described below as the examples to prove that the application can actually be realized.
According to the embodiment of the present application, the G-sensor 120 is disposed in the handheld communication device 100 for detecting a tilting state of the handheld communication device 100. To be specific, the G-sensor 120 is used to detect a normal vector of a plane of the handheld communication device 100 and calculate a tiling angle that the plane is rotated along a transverse coordinate axis (X axis) and a rolling angle that the plane is rotated along a vertical coordinate axis (Y axis) according to the detected normal vector. The aforesaid plane comprises, for example, the screen 110 of the handheld communication device 100 when the handheld communication device 100 is laid horizontally, or the plane comprises an upper lid having the screen of the handheld communication device 100 when a flip-open type handheld communication device 100 is in use.
The calculated tiling angle and rolling angle are then transmitted to microprocessor 130 for analyzing, so as to determine the current tilting state of the handheld communication device 100. In detail, the operating system 140 compares the calculated tiling angle and rolling angle with a plurality of angle ranges corresponding to a plurality of tilting states, so to determine whether the handheld communication device 100 should perform a function such as entering a mute mode.
It should be noted herein that besides the face up state and the face down state as defined above, the present application further classifies the tilting state of the handheld communication device 100 into a landscape left state, a landscape right state, a portrait top state, a portrait bottom state and also corresponds the rest angle ranges of the tiling angle and the rolling angle to those tilting states.
Based on the above, when the operating system 140 determines that the tilting state of the handheld communication device 100 is changed from the face up state to the face down state, it then switches the handheld communication device 100 in to a mute mode, so as to prevent from interrupting or bothering the proceeding of a meeting or a lecture. Another embodiment is exemplified hereinafter to describe the detailed steps of the controlling method for the handheld communication device 100.
In a step S510, the handheld communication device activates a notice, for example, to remind the user of the alarm time or the appointment or event in the electronic calendar, or to inform the user of receiving an incoming call, a message, an e-mail and so on. According to the setting of a user, the notice may be a sound notice, a ringing notice and/or a vibration notice.
In a step S520, a G-sensor disposed in the handheld communication device is used for detecting the tilting state of the handheld communication device. In detail, the G-sensor can detect a normal vector of a plane of the handheld communication device and calculates a tiling angle and a rolling angle according to the detected normal vector, where the plane (as the plane 200 shown in
In a step S530, the handheld communication device determines whether the tilting state thereof is changed from a face up state to a face down state according to the calculated tiling angle and rolling angle. That is to say the calculated tiling angle and rolling angle is changed from within the angle range corresponding to the face up state to within the angle range corresponding to the face down state.
When the tilting state is confirmed to be changed from the face up state to the face down state, then in a step S540, the handheld communication device is controlled to perform a function such as entering a mute mode Otherwise, the handheld communication device continues to detect the tilting state of the handheld communication device and determine whether the tilting state is changed from the face up state to the face down state.
Based on the above, a user may switch the handheld communication device into the mute mode through simply flipping the handheld communication device, which is convenient and intuitive. Moreover, when the handheld communication device terminates the notice, it may keep staying in the mute mode so as to prevent from bothering, or the handheld communication device may automatically resume back to a normal mode so that the user may be notified by a sound notice, a ringtone notice, and/or a vibration notice when the handheld communication device activates a next notice. Certainly, the user may also switch the handheld communication device back to the normal mode by flipping the handheld communication device again to leave the face down state, by selecting a menu, or by any other means. It is noted that the notice comprises a sound notice, a ringtone notice, and a vibration notice, wherein the sound of the handheld communication device is turned on in the normal mode and turned off in the mute mode, the ringtone of the handheld communication device is turned on in the normal mode and turned off in the mute mode, and the vibration function of the handheld communication device is turned on in the normal mode and is turned off in the mute mode.
It should be emphasized herein that, in one embodiment, the handheld communication device may detect the tilting state of the handheld communication device at a fixed interval, which is between 50 and 200 milliseconds. If the detected tilting state is changed from the face up state to the face down state and continuously stays in the face down state for more than a period of time, then the number of times that the tilting state is in the face down state is accumulated and used to confirm that the tilting state is changed from the face up state to the face down state.
First, in a step S610, a G-sensor disposed in the handheld communication device is used for detecting the tilting state of the handheld communication device, in which a tiling angle and a rolling angle are calculated and compared with a plurality of angle ranges corresponding to a plurality of tilting states, so as to determine the current tilting state.
In a step S620, it is determined whether the tilting state is in the face up state. It can be determined that the tilting state is in the face up state if the calculated tiling angle and a rolling angle are within the angle ranges corresponding to the face up state, in which the angle range of the tiling angle corresponding to the face up state is from 0 degree to 45 degree and from 315 degree to 360 degree and the angle range of the rolling angle corresponding to the face up state is from 0 degree to 45 degree and from 315 degree to 360 degree.
If the tilting state of the handheld communication device is determine to be in the face up state, then, in a step S630, the handheld communication device continues to determine whether the tilting state is changed to the face down state. Similarly, the calculated tiling angle and a rolling angle are continuously compared with the angle ranges corresponding to all tilting states and it can be determined that the tilting state is changed to the face down state if the tiling angle and a rolling angle are determined to be within the angle ranges corresponding to the face down state, in which the angle range of the tiling angle corresponding to the face down state is from 170 degree to 190 degree and the angle range of the rolling angle corresponding to the face down state is from 170 degree to 190 degree.
It should be noted herein that, in the process of changing from the face up state to the face down state, the handheld communication device may pass through other tilting states, such as landscape left state, landscape right state, portrait top state, or portrait bottom state. However, the present embodiment does not limit the number or the type of tilting states that the handheld communication device has passed through. The key point is whether the handheld communication device stays in the face up state first and changed to the face down state in the end.
If the tilting state of the handheld communication device is determined to be changed to the face down state, then in a step S640, the handheld communication device determines whether a number of times that the tilting state is continuously determined in the face down state exceeds a preset value.
Whenever the number of times that the tilting state is continuously determined in the face down state exceeds the preset value, then, in a step S650, it is confirmed that the tilting state is changed from the face up state to the face down state. However, if the tilting state is changed from the face down state to the tilting state other than the face down state before the number of times exceeds the preset value, then the foregoing determined state transition is considered as a fake posture and whether the tilting state is changed from the face up state to the face down state has to be re-determined.
In detail, due to the unstability of the G-sensor, some deviations or noises may occur in the detecting result and the external forces like vibration of the device may increase those “errors”. Therefore, in order to guarantee that the detected state transition, that is, from the face up state to the face down state, is a correct posture without being affected by the errors, in the situations that the tilting state is changed from the face down state to the face up state or other tilting state before the number of times in the face down state exceeds the preset value, the state transition will be considered as a fake posture, such that the determination process of the state transition has to be repeated again. Examples in respect of this issue are given below.
a)˜7(d) are schematic diagrams illustrating examples of determining whether the tilting state of the handheld communication device is changed from the face up state to the face down state according to one embodiment of the present application. Referring to
Referring to
Referring to
Similarly, referring to
The present application further provides a controlling system, which is installed in a handheld communication device so as to perform a function of the handheld communication device.
The G-sensor 810 detects a normal vector of a plane of the handheld communication device and calculates a tiling angle that the plane is rotated along a transverse coordinate axis (X axis) and a rolling angle that the plane is rotated along a vertical coordinate axis (Y axis) according to the detected normal vector. Then, the G-sensor 810 further compares the tiling angle and the rolling angle with a plurality of angle ranges corresponding to a plurality of tilting states to determine the current tilting state of the handheld communication device. The angle range of the tiling angle corresponding to the face up state is from 0 degree to 45 degree and from 315 degree to 360 degree and the angle range of the rolling angle corresponding to the face up state is from 0 degree to 45 degree and from 315 degree to 360 degree, and the angle range of the tiling angle corresponding to the face down state is from 170 degree to 190 degree and the angle range of the rolling angle corresponding to the face down state is from 170 degree to 190 degree.
It should be noted herein that the G-sensor 810 detects the tilting state of the handheld communication device at a fixed interval. Accordingly, the tilting state determining module 820 first determines whether the tilting state is in the face up state and continues to determine whether the tilting state is changed to the face down state when the tilting state is determined in the face up state. The tilting state determining module 820 also determines whether a number of times that the tilting state is continuously determined in the face down state exceeds a preset value when the tilting state is determined to be changed to the face down state. Finally, the tilting state determining module 820 confirms that the tilting state is changed from the face up state to the face down state when the number of times exceeds the preset value.
The present application further provides a recording medium (for example, a CD, a DVD, a floppy disk, a memory card, a hard disk, or a removable hard disk, etc), and the recording medium records a computer-readable permission approval program for executing foregoing controlling method. Herein the permission approval program recorded in the recording medium is usually composed of a plurality of code snippets (for example, a code snippet for establishing an organization chart, a code snippet for approving a form, a configuration code snippet, and a deployment code snippet), and the functions of these code snippets are corresponding to the steps of the controlling method.
In summary, in the present application, according to the angle in which the handheld communication device is placed, the controlling method for the handheld communication device determines whether the handheld communication device should perform a function. When the front plane of the handheld communication device is placed from a upward direction to a downward direction, it is determined that the user does not want to pick up the phone temporarily, so that the device is controlled to perform a function such as entering a mute mode to prevent from bothering. Thereby, a more intuitive and convenient way to control the handheld communication device.
Although the present application has been described with reference to the above embodiments, it will be apparent to one of the ordinary skill in the art that modifications to the described embodiment may be made without departing from the spirit of the application. Accordingly, the scope of the application will be defined by the attached claims not by the above detailed description.
Number | Date | Country | Kind |
---|---|---|---|
96144990 A | Nov 2007 | TW | national |
This application is a continuation-in-part of U.S. application Ser. No. 12/146,455, filed on Jun. 26, 2008, all disclosures is incorporated therewith. The prior application Ser. No. 12/146,455 claims the priority benefit of Taiwan application serial no. 96144990, filed on Nov. 27, 2007. The entirety of each of the above-mentioned patent applications is hereby incorporated by reference herein and made a part of this specification.
Number | Name | Date | Kind |
---|---|---|---|
6408178 | Wickstrom et al. | Jun 2002 | B1 |
20020021278 | Hinckley et al. | Feb 2002 | A1 |
20040127198 | Roskind et al. | Jul 2004 | A1 |
20040133817 | Choi | Jul 2004 | A1 |
20040259536 | Keskar et al. | Dec 2004 | A1 |
20060240866 | Eilts | Oct 2006 | A1 |
20070004451 | Anderson | Jan 2007 | A1 |
20090138736 | Chin | May 2009 | A1 |
20100159998 | Luke et al. | Jun 2010 | A1 |
Number | Date | Country |
---|---|---|
1372752 | Oct 2002 | CN |
1744616 | Mar 2006 | CN |
2006057770 | Jun 2006 | WO |
2008075082 | Jun 2008 | WO |
Number | Date | Country | |
---|---|---|---|
20090137286 A1 | May 2009 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 12146455 | Jun 2008 | US |
Child | 12346770 | US |