Method for controlling electronic apparatus and electronic apparatus applying the method

A method for controlling an electronic apparatus with a display and an input device, which comprises: sensing a tilt angle of the electronic apparatus in a sleep mode, wherein the display is off and the input device is non-active in the sleep mode; activating the input device without turning on the display based on the tilt angle of the electronic apparatus; receiving a user input from the input device while the display is off; and performing a predetermined function based on the user input.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a method for controlling an electronic apparatus and an electronic apparatus applies the electronic method, and particularly relates to a method for controlling an electronic apparatus and an electronic apparatus that can active the electronic apparatus without pressing a hardware button or without turning on a display, and an electronic apparatus applies the electronic method.

2. Description of the Prior Art

A conventional handheld electronic apparatus, such as a mobile phone or a tablet PC, can operate in a sleep mode or a normal mode. Whole functionality for the handheld electronic apparatus is provided if the handheld electronic apparatus operates in the normal mode. On the contrary, some of the devices in the handheld electronic apparatus are non-active or turned off in the sleep mode (ex. the display is off and the touch sensing device for the handheld electronic apparatus is non-active), such that the power consumption for the handheld electronic apparatus is low but the functionality is limited.

A hardware button such as a lock/unlock button is always provided on the handheld electronic apparatus, thereby a user can awake the handheld electronic apparatus from the sleep mode via pressing the lock/unlock button. However, the lock/unlock button has a limited pressing times, thus it is easily broken if the user needs to press the lock/unlock button to active the electronic apparatus.

Additionally, for some conventional handheld electronic apparatuses, they are still locked after the lock/unlock button is pressed thus the function thereof still can't work. The display for the handheld electronic apparatus is on after the user presses the lock/unlock button, and then the user needs to perform another gesture to unlock the handheld electronic apparatus. After that, the user must input a command, such as a tap or a gesture, to control the handheld electronic apparatus to perform a desired function. Therefore, more power consumption is needed, since the display must keep on before the desired function is performed.

SUMMARY OF THE INVENTION

Therefore, one objective of the present invention is to provide a method for controlling an electronic apparatus, which can active the electronic apparatus without pressing a hardware button, and an electronic apparatus applying the method.

One embodiment of the present invention discloses a method for controlling an electronic apparatus with a display and an input device, which comprises: sensing a tilt angle of the electronic apparatus in a sleep mode, wherein the display is off and the input device is non-active in the sleep mode; activating the input device without turning on the display based on the tilt angle of the electronic apparatus; receiving a user input from the input device while the display is off; and performing a predetermined function based on the user input.

Another embodiment of the present invention discloses an electronic apparatus, which comprises: a main controller; an input device; a tilt angle sensing device, for sensing a tilt angle of the electronic apparatus in a sleep mode, wherein the display is off and the input device is non-active in the sleep mode; and a sub-controller, for activating the input device without turning on the display based on the tilt angle of the electronic apparatus. The input device senses a user input from the input device while the display is off, after activated by the sub-controller based on the tilt angle of the electronic apparatus. The sub-controller actives the main controller to control the electronic apparatus to perform a predetermined function based on the user input.

In view of above-mentioned embodiments, a user can active the electronic apparatus without pressing any hardware button, thus the breaking of the hardware button can be avoided. Additionally, the power consumption can be reduced since the activating time period for the main controller and the on time period of the display are dramatically reduced.

DETAILED DESCRIPTION

The concept for the present invention will be explained via following embodiments. Please note a mobile phone is taken for example for explaining, but it does not mean the present invention is limited to be applied to a mobile phone. The control method provided by the present invention can be applied to any other electronic apparatus. Also, please note in the following embodiments, a touch screen, which can be regarded as an electronic device comprising a touch sensing device and a display integrated together, is applied as an example. Therefore, in the following description, if a display is mentioned, it mentions the display of the touch screen. If a touch sensing device is mentioned, it mentions the touch sensing device integrated to the touch screen. However, please note the electronic apparatus according to the present invention can comprise a display and a touch sensing device independent from each other.

FIG.1is a schematic diagram illustrating an example for how the method for controlling an electronic apparatus according to one embodiment of the present invention works. As shown in FIG.(a) of FIG.1, if the mobile phone M with a touch screen TS originally lays on a desk D, operates in a sleep mode, and a user U, who is standing or sitting, takes the mobile phone M from the desk D, a tilt angle of the mobile phone M is sensed. Alternatively, as shown in FIG.(b) of FIG.1, if the mobile phone M originally lays on a bed B, operates in a sleep mode and a user U, who is laying down on the bed B, takes the mobile phone M from the bed D, a tilt angle of the mobile phone M is also sensed. In the sleep mode, the display is off. In one embodiment, the touch sensing device is non-active in the sleep mode, or the touch sensing device is active but the data it sensed is ignored. No matter which circumstance does the touch sensing device operates in, the mobile phone M does not respond the touch control operation applied to the touch sensing device in the sleep mode. After the tilt angle is sensed, the tilt angle is determined if it falls in a predeteiinined angle range. If yes, a user input from an input device of the mobile phone M is sensed, while the display is off. A predetermined function is performed based on the user input, with the display is on or the display is off.

The above-mentioned operation can be illustrated as the steps shown inFIG. 2, which is a flow chart illustrating a method for controlling an electronic apparatus according to one embodiment of the present invention.FIG. 2comprises the following steps:

Sense a tilt angle of the electronic apparatus in a sleep mode, wherein the display is off and the input device is non-active in the sleep mode.

Activate the input device without turning on the display based on the tilt angle of the electronic apparatus.

Receive a user input from the input device while the display is off.

Perform a predetermined function based on the user input.

In one embodiment, the input device is a touch sensing device, and the user input is a gesture. If the user input meets a predetermined gesture, the mobile phone M performs a predetermined function.FIG. 3is a schematic diagram illustrating the case that the user input is a gesture. Please note, the display is still off while receiving the user input. As shown in FIG. (a) ofFIG. 3, if the user slides from down to up on the touch screen TS, the display is turned on, and the mobile phone M backs to a home scene. As shown in FIG. (b) ofFIG. 3, if the user slides from right to left on the touch screen TS, the display is turned on, the mobile phone M launches a dialer program. Additionally, as shown in FIG. (c) ofFIG. 3, if the user slides from left to right on the touch screen TS, the display is turned on, the mobile phone M launches a web browser program. Furthermore, in another embodiment not illustrated here, if the user continuously taps the touch screen TS for two times, only the display is turned on and no other function is performed. Please note the predetermined function is not limited to comprising turning on the display. For example, the predetermined function can be playing music while the display is off.

In another embodiment, the input device is a hardware button provided on the mobile phone M, for example, a hardware button for controlling a volume of the mobile phone M.FIG. 4is a schematic diagram illustrating the case that the user input is from a hardware button (ex. pressing or pushing). As shown inFIG. 4, the mobile phone M comprises a camera and a hardware button VB for controlling a voice of the mobile phone M. The camera has a lens L provided at a back of the mobile phone M. If the hardware button VB is pressed or pushed, the display is turned on and a camera function (the predetermined function) is activated. Please note the mobile phone M is in a landscape mode in this example, but it can be in a portrait mode. Additionally, the hardware button VB can be a button for controlling other parameters of the mobile phone M, for example, the brightness of the touch screen TS. Additionally, the function activated by the activating applied to the hardware button is not limited to the camera function. Via this mechanism, the user can use different hardware buttons to active the electronic apparatus to perform the predetermined function, thus the breaking for the hardware button due to pressing too frequently can be avoided.

Various kinds of methods can be applied to sense the tilt angle of the mobile phone M, and one of them is using a G-sensor. FIG.5is a schematic diagram illustrating the operation for sensing the tilt angle via a G-sensor, according to one embodiment of the present invention. As shown in FIG.5, the normal vector NV of the touch screen TS has an x component, a y component and a z component. Therefore, the direction of the normal vector NV can be acquired via sensing the x component, the y component and the z component, thereby the tilt angle for the mobile phone M can be acquired.

In one embodiment, a G-sensor is applied to sense the normal vector, therefore values pitch, roll and azimuth related with the x component, the y component and the z component can be acquired. In such embodiment, if the pitch is between 0°˜85° and the roll is between −30°˜+30°, activating the touch sensing device. In another embodiment, if the pitch is between 95°˜150° and the roll is between −150°˜+180°, activating the touch sensing device. In another embodiment, if the pitch is between 85°˜95°, activating the touch sensing device (in such case, the roll value can be ignored). However, the operation illustrated inFIG. 5Sis not limited to be performed by a G-sensor.

FIG. 6is a flow chart illustrating the steps for a method for controlling an electronic apparatus according to one embodiment of the present invention. As shown inFIG. 6, the method for controlling an electronic apparatus comprises the following steps:

Sense at least tilt angle for the mobile phone.

Please note there are various methods to start the step603. In one embodiment, if the mobile phone M is originally in a stable situation (ex. kept flat on a desk or on a bed) and it is moved, the sensing for the tilt angle starts. The sensing for the tilt angle can be continuously performed even if the mobile phone M operates in the sleep mode. Such variation should also fall in the scope of the present invention.

Determine if the tilt angle falls in the predetermined angle range. If yes, go to step607, if not, go back to the step601.

Activate the input device without turning on the display based on the tilt angle of the electronic apparatus

The tilt angle can be regarded as an environment parameter. In one embodiment, other environment parameters generated according to the environment surrounding the mobile phone M, such as speed, acceleration, brightness, moisture, can be further referred to determine if the input device should be activated.

Receive a user input from the input device while the display is off.

In one embodiment, the input device is a touch sensing device which is activated for a predetermined period of time, thus the user input is determined to check if it matches a predetermined gesture in the predetermined period of time. In another embodiment, if no user input is received in the predetermined period of time, it goes back to the step601after the predetermined period of time. In still another embodiment, the input device is not limited to a touch sensing device and if no user input is sensed during the predetermined period of time, it goes back to the step501after the predetermined period of time.

Perform a predetermined function based on the user input.

The above-mentioned methods can be applied to electronic apparatuses below.FIG. 7is a block diagrams illustrating electronic apparatuses according to one embodiment of the present invention. AS shown inFIG. 7, the electronic apparatuses comprises: a display701, a processing module703, and an input device705. The display is off and the input device705is non-active in the sleep mode. The processing module703connected to the display701, the input device705, and configured to: activate the input device705without turning on the display701based on a tilt angle TA of the electronic apparatus700, receive a user input from the input device705while the display is off; and control the electronic apparatus700to perform a predetermined function based on the user input (ex. the examples inFIG. 3andFIG. 4).

FIG. 8is a block diagram illustrating more detail blocks for the electronic apparatus according to one embodiment of the present invention. As shown inFIG. 8, the electronic apparatus800(ex. the above-mentioned mobile phone M), which can be another kind of electronic apparatus, comprises a main controller801(ex. a CPU), a touch sensing device803, a G-sensor815, and a sub-controller807. Please note the above-mentioned processing module703can comprise the main controller801and the sub-controller807, as shown inFIG. 8. The G-sensor815senses a tilt angle TA of the electronic apparatus800in a sleep mode, as shown inFIG. 1. The display701(ex. the abovementioned touch screen TS) is off and the input device (a touch sensing device803in this example, such as the abovementioned touch screen TS) is non-active in the sleep mode. Please note, the main controller801and the sub-controller807can be physically independent controllers. Or, the function thereof can be performed via executing different programs via a single processor.

The sub-controller807is activate in the sleep mode, for activating the touch sensing device803without turning on the display based on the tilt angle of the electronic apparatus800. The touch sensing device803senses a user input (ex. the gesture inFIG. 4) from an input device while the display is off, after activated by the sub-controller807based on the tilt angle of the electronic apparatus800. The sub-controller807actives the main controller801to control the electronic apparatus800to perform a first predetermined function (ex. the operation inFIG. 3andFIG. 4) based on the user input. In one embodiment, the touch sensing device803comprises a touch sensor809and a touch controller811. In such case either the sub-controller807or the touch controller811can receive the user input.

The G-sensor can be regarded as an environment parameter, as above-mentioned, in one embodiment, other environment parameters generated according to the environment surrounding the mobile phone M, such as speed, acceleration, brightness, moisture, can be further referred to determine if the operation for activating the input device should be performed. Therefore, the electronic apparatus800can further comprise an environment sensing device813, which can comprise at least one of: a G-sensor805, an E-compass817and a barometer819. Please note the environment sensing device813is not limited to comprise the devices illustrated inFIG. 8.

As above-mentioned, in one embodiment, the input device (i.e. the touch sensing device) is activated for a predetermined period of time, thus the operation for sensing the control operation is performed in the predetermined period of time. In order to perform such operation, the electronic apparatus800can comprise a timer (ex. a counter), which can be implemented by software such as a program executed by the sub-controller or a hardware independent from other devices. The timer can continuously count to tell the sub-controller the counting value (the time), or just tells the sub-controller the counting value when it reaches the predetermine period of time. Additionally, the timer can be reset if the sub-controller receives any user input. Or, the timer can be reset only the user input meets a predetermined gesture. Timer is to control the time of enabling input device. Such variation or combination should fall in the scope of the present invention.

FIG. 9is a block diagram illustrating an electronic apparatus900according to one embodiment of the present invention. Comparing with the electronic apparatus800, the electronic apparatus900further comprises a switch module901, which can comprise at least one switch device such as a multiplexer or a multiplexer. The switch module901is applied to select a preferable data transmitting path. For example, if the touch controller811receives the user input, the switch module901does not need to work. However, if the sub-controller807receives the user input, data about the user input is transmitted to the sub-controller807via the switch module901. The existence of switch module901can cause other benefit besides selecting a preferable data transmitting path, for example, the pins for the each device can be saved. For more detail, each device is included in an IC comprising limited pins. If the switch module901does not exist, each IC must arrange their pins to other devices, such that different data paths can be formed. However, if the switch module901is provided, the pins for each device can be saved since each device can be coupled to the switch module901via one pin to form different data paths.

FIG. 10is a flow chart illustrating the steps for a method for controlling an electronic apparatus according to another embodiment of the present invention. The method inFIG. 10comprises the following steps:

Sense at least tilt angle for the mobile phone via the sub-controller.

Please note there are various methods to start the step1003. In one embodiment, if the mobile phone M is originally in a stable situation (ex. kept flat on a desk or on a bed) and it is moved, the sensing for the tilt angle starts. The sensing for the tilt angle can be continuously performed even if the mobile phone M operates in the sleep mode. Such variation should also fall in the scope of the present invention.

Determine if the tilt angle falls in the predetermined angle range, via the sub-controller. If yes, go to step1007, if not, go back to the step1001.

Activate the input device without turning on the display based on the tilt angle of the electronic apparatus

Please refer to explanation about the steps605,607, the method for controlling an electronic apparatus provided by the present invention is not limited to determine if the tilt angle falls in the predetermined angle range, it can also start the sensing for the control operation based on other values of the tilt angle. Therefore, steps1005and1007can be summarized as: activating the touch sensing device without turning on the display based on the tilt angle of the electronic apparatus, via the sub-controller.

Receive a user input from the input device while the display is off.

As stated in the explanation about the step609, in one embodiment, the input device is a touch sensing device which is activated for a predetermined period of time, thus the user input is determined to check if it matches a predetermined gesture in the predetermined period of time. In another embodiment, if no user input matching the predetermined gesture is received in the predetermined period of time, it goes back to the step1001after the predetermined period of time. In still another embodiment, the input device is not limited to a touch sensing device and if no user input meets a predetermined gesture is sensed during the predetermined period of time, it goes back to the step1001after the predetermined period of time. Therefore, the method in the step1009can further comprise a step1008to start a timer. The function of the timer has been illustrated in above-mentioned description, thus it is omitted for brevity here.

Active the main controller to perform a first predetermined function according to the user input.

All above-mentioned methods can be performed via executing a program recorded in a computer readable media, but not limited.

Besides the above-mentioned embodiments, in one embodiment, the input device is a touch sensing device and kept to be active, via the main controller or the sub-controller, for a predetermined period of time immediately after the display is turned off (ex. after the display is turned off but before enters the sleep mode). A user input from the input device is received while the display is off during this predetermined period of time, via the main controller or the sub-controller. Also, a predetermined function is performed based on the second user input. In another embodiment, the electronic apparatus is controlled to enter the sleep mode after the predetermined period of time, via the main controller or the sub-controller, when none of the second user input which is determined to meet the predetermined gesture is received from the input device during the predetermined period of time.

In still another embodiment, the input device is not limited to a touch sensing device and kept to be active for a predetermined period of time immediately, via the main controller or the sub-controller, after the display is turned off (ex. after the display is turned off but before enters the sleep mode). A user input from the input device is received without, via the main controller or the sub-controller, turning on the display during this predetermined period of time. The electronic apparatus is controlled to enter the sleep mode, via the main controller or the sub-controller, after the predetermined period of time, when no user input is received from the input device during the predetermined period of time

In view of above-mentioned embodiments, a user can active the electronic apparatus without pressing any hardware button, thus the breaking of the hardware button can be avoided. Additionally, the power consumption can be reduced since the activating time period for the main controller and the on time period for the display are dramatically reduced.