This application is based upon and claims the benefit of priority of the prior Japanese Patent Application No. 2013-248349, filed on Nov. 29, 2013, the entire contents of which are incorporated herein by reference.
The embodiments discussed herein are related to a technique of controlling a mode of a device.
Electronic devices equipped with touch panel displays, such as smart phones or tablets have widely been used. The electronic device can be generally set to enter a lock mode when the device is not operated for a predetermined time. After the shift to the lock mode, the touch panel display is also turned off. Upon detection of a touch operation and the like on the touch panel display by a user in the lock mode, the touch panel display is turned on to display an entry screen to prompt the user to make an entry for cancelling the lock mode. Upon detection of a user's entry of a password, a passcode or a pattern which is registered in advance, the electronic device exits from the lock mode.
When the device is set to enter the lock mode within a short period of time, the user is forced to often enter the password, the passcode or the pattern to cancel the lock mode, which results in an increase in user's load. To reduce such load, many users set their devices not to enter the lock mode or set a long period of time to enter the lock mode.
Meanwhile, the following setting is also popular: when not operated for a predetermined time, the device enters a sleep mode before entering a lock mode; and then enters the lock mode if not operated for another predetermined time after the shift to the sleep mode. If a user wants to cancel the sleep mode, the user has only to perform a touch operation on the touch panel display. A related technique is disclosed by Japanese Laid-open Patent Publication No. 2009-272996, for example.
According to an aspect of the invention, a method of controlling in a computer including a display screen, the computer having a plurality of modes with respect to the display screen, includes: determining that the computer is set to a first lock mode after inactivity during a non-lock mode over a first time period before a second lock mode is set, the first lock mode, the second lock mode, and the non-lock mode being from among the plurality of modes; switching the computer from the first lock mode to the second lock mode when after inactivity over a second time period subsequent to the first time period; and returning, by a processor in the computer, the computer from the first lock mode to the non-lock mode when an input designating a position included in a certain area of the display screen is detected within the second time period.
The object and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention, as claimed
The sleep mode is easier to cancel than the lock mode, but has difficulty in protecting the electronic device from operation by other people.
One aspect of the disclosed technique has an object to provide a quick lock mode which can be cancelled with a less load than a lock mode without impairment of a protection function.
Hereinafter, an exemplar embodiment of the disclosed technique is described in detail by referring to the drawings. It is noted that a smart device is described as an example of electronic devices related to the disclosed technique, but the disclosed technique is not limited to the smart device. For example, the disclosed technique is applicable to various kinds of electronic devices such as personal computers, game machines, car navigation systems, mobile phones, and digital cameras.
A smart device 10 illustrated in
Furthermore, each of the quick lock mode control unit 14 and the lock mode control unit 16 is coupled to the timer 22, the storage unit 24, and the display and detection control unit 26. The registration control unit 18 is coupled to the storage unit 24 and the display and detection control unit 26.
The quick lock mode control unit 14 as a control unit performs various kinds of controls when the smart device 10 enters a quick lock mode. The lock mode control unit 16 performs various kinds of controls when the smart device 10 enters a lock mode.
The registration control unit 18 performs control such that a specific region for cancelling the quick lock mode can be registered in the storage unit 24. The display and detection control unit 26 performs control such that information indicating user's operations detected by a detection unit can be applied to various kinds of processing and a display unit can display various kinds of information. The timer 22 measures an elapsed time after the smart device 10 enters the quick lock mode, for example.
The smart device 10 as illustrated in
The touch panel display 70 includes a display 72 serving as the display unit and a touch panel 74 serving as the detection unit. The display 72 displays various kinds of information and the touch panel 74 detects an operation of an operator. As illustrated in
The primary storage unit 62 is a volatile memory such as a random access memory (RAM). The secondary storage unit 64 is a nonvolatile memory, such as a hard disk drive (HDD) or a solid state drive (SSD). The primary storage unit 62 and the secondary storage unit 64 function as the storage unit 24 in
As one example, the secondary storage unit 64 stores a quick lock mode control program 66A, a lock mode control program 66B, a registration control program 66C, and a quick lock mode cancellation table 68. The CPU 60 loads the quick lock mode control program 66A, the lock mode control program 66B, and the registration control program 66C from the secondary storage unit 64 and expands them to the primary storage unit 62. The CPU 60 executes the quick lock mode control program 66A to operate as the quick lock mode control unit 14 in
(Specific Region Registration Processing)
With reference to
In the specific region registration processing, a specific region for cancelling the quick lock mode is registered in the quick lock mode cancellation table 68.
The smart device 10 has a lock function. The smart device 10 includes the touch panel display 70. For example, when the touch panel 74 does not detect a user's operation for a predetermined time (for example, 15 seconds) or longer while the quick lock mode is not cancelled, the lock function operates to shift to the lock mode. After entering the lock mode, the smart device 10 does not accept any operation other than a predetermined one and powers off the display 72.
When the smart device 10 is in the lock mode, the user cancels the lock mode by entering a password, a passcode or the like which is registered in advance. Frequent entering of the password, the passcode or the like imposes such a high load that some users set a long period of time (for example, 30 minutes) to enter the lock mode.
However, when the time to enter the lock mode is set long, a function to protect the smart device 10 from an illegitimate operation of another person is not sufficiently operated. On the other hand, the quick lock mode of the disclosed technique can be cancelled with a less load than that for canceling the lock mode. For example, when the touch panel 74 does not detect a user's operation for a predetermined time (for example, 15 seconds) or longer, the smart device 10 enters the quick lock mode. Then, as similar to the lock mode, the smart device 10 does not accept any operation other than a predetermined one and powers off the display 72.
When the smart device 10 is in the quick lock mode, the user cancels the quick lock mode by performing a touch operation in the specific region of the display 72 which is registered in advance.
In order to register the specific region, for example, the CPU 60 determines whether it is detected that a user performs a touch operation, in other words, tapping on an “OK” button displayed on the touch panel display 70 of the smart device 10 illustrated in
At step 204, it is determined whether user's tapping on the touch panel display 70 is detected. When the determination result is “yes” at step 204, it is determined at step 206 whether the user's tapping is kept held without moving for a predetermined time (for example, 3 seconds) or longer. When the determination result is “no” at step 206, the control is returned to step 204.
On the other hand, when the determination result is “yes” at step 206, the coordinates of the position tapped by the user on the touch panel display 70 are acquired at step 208.
For example, when the acquired coordinates are within a region c05, a confirmation screen to prompt the user to confirm the region c05 tapped by the user is displayed on the display 72 at step 210, as illustrated in
On the other hand, when the determination result is “no” at step 212, it is determined at step 216 whether the user taps a “cancel” button. When the determination result is “yes,” the control is returned to step 204.
When the determination result is “no” at step 216, it is determined at step 218 whether the user taps a “stop” button. When the determination result is “yes,” the specific region registration processing is terminated. When the determination result is “no” at step 218, the control is returned to step 212.
In the above description, when the touch panel 74 does not detect the user's operation for the predetermined time (for example, 15 seconds) or longer, a quick lock function operates to shift to the quick lock mode. However, the disclosed technique is not limited to this. For example, the smart device 10 may have an unillustrated hardware button, and may be configured to enter the quick lock mode when the hardware button is not operated by the user for a predetermined time or longer.
(Quick Lock Mode Control Processing)
With reference to
The quick lock mode control processing is started when the smart device 10 enters the quick lock mode. Specifically, when the touch panel display 70 does not detect any user's operation for a predetermined time or longer, the quick lock function operates to shift to the quick lock mode and to turn off the display 72. However, the touch panel 74 is kept turned on. When the quick lock mode control processing is started, “0” is set in a variable C for counting the number of times that user's tapping which is a touch operation is detected on a region other than the specific region at step 152.
At step 154, it is determined whether user's tapping is detected on the touch panel display 70. When the determination result is “no” at step 154, it is determined at step 168 whether a time measured by the timer 22 after the shift to the quick lock mode exceeds a predetermined time (for example, 5 minutes). When the determination result is “no” at step 168, the control is returned to step 154.
When the determination result is “yes” at step 154, the coordinates P of a position on the touch panel display 70, which is a touched region tapped by the user, are acquired at step 156.
At step 158, it is determined whether the coordinates P are included inside the region c05 which is registered in the quick lock mode cancellation table 68 as the predetermined region for cancelling the quick lock mode illustrated in
On the other hand, when the determination result is “no” at step 158, the variable C is incremented by 1 at step 162. At step 164, it is determined whether a value contained in the variable C is larger than a certain preset number of times N. When the determination result is “no” at step 164, the control is returned to step 154.
On the other hand, when the determination result is “yes” at step 164, this means that the region other than the specific region is tapped more than the predetermined number of times N, and the smart device 10 enters the lock mode at step 166. Also, when the determination result is “yes” at step 168, in other words, when a predetermined time (for example, 5 minutes) elapses without the touch panel display 70 tapped after the shift to the quick lock mode, the smart device 10 enters the lock mode at step 170.
The disclosed technique enables the quick lock mode to be cancelled upon detection of a touch operation in the specific region which is stored in advance. The operation of cancelling the quick lock mode imposes a less load on a user than in the case of cancelling the lock mode, but other people who do not know the specific region may have much more difficulty in cancelling the quick lock mode than in cancelling the sleep mode. The disclosed technique provides the quick lock mode which imposes a less load for cancellation than the lock mode without impairment of the protection function. Thus, the utilization of the protection function by the user is promoted. This is because the quick lock mode lowers the barrier to setting the smart device 10 to enter the quick lock mode when the touch panel 74 does not detect a user's operation for a relatively short time (for example, 15 seconds) or longer.
Furthermore, in the disclosed technique, when the predetermined time elapses after the shift to the quick lock mode, or when the touch operation is performed in the region other than the specific region more than the predetermined number of times, the smart device 10 enters the lock mode. Accordingly, the protection function is enhanced.
In a second embodiment, the components described in the first embodiment are given the same reference numerals, and are omitted in explanation.
With reference to
As illustrated in
In
At step 158, it is determined whether the coordinates P are included inside the specific region c05 which is registered in the quick lock mode cancellation table 68 as the predetermined region for cancelling the quick lock mode illustrated in
On the other hand, when the determination result is “no” at step 158, it is determined at step 159 whether the coordinates P are included in any of the semi-specific regions. When the determination result is “yes” at step 159, the control is returned to step 154. The value of the variable C is not incremented.
When the determination result is “no” at step 159, the value of the variable C is incremented by 1 at step 162.
In the disclosed technique, the regions b04, b05, b06, c045, c06, d04, d05, and d06 are set as the semi-specific regions. However, the disclosed technique is not limited to this. The semi-specific regions may further include regions b03, c03, and d03, for example. Also, in the disclosed technique, the specific region is surrounded by the semi-specific regions, but the disclosed technique is not limited to this. The semi-specific regions may be regions adjacent to the specific region, such as regions b04, c04, and d04.
In the above description, a width of each of the semi-specific regions surrounding the specific region is one grid pitch. However, the disclosed technique is not limited to this. For example, the width of the semi-specific regions may be set to a half grid pitch, a 1.5-time grid pitch, or the like.
The disclosed technique enables the quick lock mode to be cancelled upon detection of a touch operation in the specific region which is stored in advance. The operation of cancelling the quick lock mode imposes a less load on a user than in the case of cancelling the lock mode, but other people who do not know the specific region may have much more difficulty in cancelling the quick lock mode than in cancelling the sleep mode. The disclosed technique provides the quick lock mode which imposes a less load for cancellation than the lock mode without impairment of the protection function. Thus, the utilization of the protection function by the user is promoted. This is because the quick lock mode lowers the barrier to setting the smart device 10 to enter the quick lock mode when the touch panel 74 does not detect a user's operation for a relatively short time (for example, 15 seconds) or longer.
Further, in the disclosed technique, when the predetermined time elapses after the shift to the quick lock mode, or when the touch operation is performed in the region other than the specific or the semi-specific regions more than the predetermined number of times, the smart device 10 enters the lock mode. Accordingly, the protection function is enhanced.
Furthermore, in the disclosed technique, when a touch operation is performed in any of the semi-specific regions surrounding the specific region, the touch operation is not counted as the number of times that a touch operation is performed in the region other than the specific region. If the user has a vague memory of the position of the specific region, the user may perform a touch operation near the specific region and may fail to cancel the quick lock mode. However, the disclosed technique lowers the possibility that such cancellation failure may cause a shift to the lock mode. Thus, the load on the user may be further reduced.
In a third embodiment, the components described in the first and second embodiments are given the same reference numerals and are omitted in explanation.
With reference to
The third embodiment is different from the first embodiment in that a specific region for cancelling a quick lock mode which is registered in a quick lock mode cancellation table 68 in advance is not a single one, but two regions, that is, a first specific region c05 and a second specific region g02 are registered, as illustrated in
When a touch panel display 70 does not detect a user's operation for a predetermined time or longer, a quick lock function operates to shift to the quick lock mode and to power off a display 72. Then, quick lock mode control processing illustrated in
At step 172, “0” is set in a variable C and a variable T. The variable C is used for counting the number of times that a region other than the first specific region c05 and the second specific region g02 is tapped. The variable T is used for determining whether tapping on the first specific region c05 is already detected.
At step 174, it is detected whether user's tapping is detected on the touch panel display 70. When the determination result is “no,” it is determined at step 188 whether the variable T is “0.” The variable T of “0” means that the user's tapping is not yet detected in the first specific region c05. In the case where the variable T is “0,” it is determined at step 190 whether a time measured by a timer 22 after the shift to the quick lock mode reaches a first predetermined time.
When the determination result is “no” at step 190, the control is returned to step 174.
When the determination result is “yes” at step 190, in other words, when the time measured by the timer 22 reaches the first predetermined time while the user's tapping is not yet detected in the first specific region c05, the smart device 10 enters the lock mode at step 192.
When the determination result is “yes” at step 174, the coordinates P in a position tapped by the user on the touch panel display 70 are acquired at step 176.
At step 178, it is determined whether the variable T is “0.” When the variable T is “0,” in other words, when the user's tapping is not yet detected in the first specific region c05, it is determined at step 180 whether the coordinates P are included inside the first specific region c05. When the determination result is “yes” at step 180, the variable T is incremented by 1 and the variable C is set to “0” at step 182. Then, the control is returned to step 174.
When the determination result is “no” at step 180, in other words, when the user's tapping is detected in the region other than the first specific region c05, the value of the variable C is incremented by 1 at step 200. At step 184, it is determined whether the value of the variable C exceeds a predetermined threshold N. When the determination result is “no,” the control is returned to step 174.
The determination result of “yes” at step 184 means that the region other than the first specific region c05 is tapped a number of times more than the predetermined threshold N. Accordingly, the smart device 10 enters the lock mode at step 186.
On the other hand, the determination result of “no” at step 178, in other words, the variable T of “1” means that the user's tapping is already detected in the first specific region c05. Accordingly, at step 196, it is determined whether the coordinates P are included inside the second specific region g02. If the determination result is “yes,” this means that the user's tapping is detected in both the first specific region c05 and the second specific region g02. Thus, at step 198, the smart device 10 enters a normal mode and turns on the display 72. Then, the quick lock mode control processing is terminated.
On the other hand, when the determination result is “no” at step 196, in other words, when the user's tapping is detected in the region other than the second region g02, the value of the variable C is incremented by 1. It is determined at step 184 whether the value of the variable C exceeds the threshold N. When the determination result is “no,” the control is returned to step 174.
If the determination result is “yes” at step 184, this means that the region other than the second specific region g02 is tapped the number of times more than the predetermined threshold N. For this reason, the smart device 10 enters the lock mode at step 186.
At step 188, it is determined whether the variable T is “0” as described above. The determination result of “no,” in other words, the variable T of “1” means that the user's tapping is already detected in the first specific region c05. In this case, it is determined at step 194 whether a time measured by the timer 22 after the tapping of the first specific region c05 reaches a second predetermined time. The second predetermined time may be set to be shorter than the first predetermined time, for example.
When the determination result is “no” at step 194, the control is returned to step 174. When the determination result is “yes” at step 194, the smart device 10 enters the lock mode at step 192.
In the above description, the first specific region c05 and the second specific region g02 are set as two specific regions, but the disclosed technique is not limited to this. For example, three or more specific regions may be set.
In the above description, the user's tapping is detected in the second specific region g02 after the user's tapping is detected in the first specific region c05. However, the disclosed technique is not limited to this. For example, in the case where two or more specific regions are set, the quick lock mode may be cancelled if the user's tapping is detected in all the specific regions in a random order. Alternatively, the quick lock mode may be cancelled only if simultaneous tapping in the two or more specific regions is detected.
In the case where two or more specific regions are set, the specific region registration processing illustrated in
The second embodiment may be applied to the third embodiment. To be more specific, when user's tapping is detected in any of first semi-specific regions surrounding the first specific region or when user's tapping is detected in any of second semi-specific regions surrounding the second specific region, step 200 may be modified such that the value of the C is not incremented. In other words, it is also possible that the user's tapping is not counted as the number of times that the region other than the specific region is tapped.
In the first to third embodiments, the quick lock mode control processing illustrated in
In the first to third embodiments, the quick lock mode control processing illustrated in
The disclosed technique enables the quick lock mode to be cancelled upon detection of a touch operation in the specific region which is stored in advance. The operation of cancelling the quick lock mode imposes a less load on a user than in the case of cancelling the lock mode, but other people who do not know the specific region may have much more difficulty in cancelling the quick lock mode than in cancelling the sleep mode. The disclosed technique provides the quick lock mode which imposes a less load for cancellation than the lock mode without impairment of the protection function. Thus, the utilization of the protection function by the user is promoted. This is because the quick lock mode lowers the barrier to setting the smart device 10 to enter the quick lock mode when the touch panel 74 does not detect a user's operation for a relatively short time (for example, 15 seconds) or longer.
Moreover, in the disclosed technique, when the predetermined time elapses after the shift to the quick lock mode, or when the touch operation is performed in the region other than the specific region more than the predetermined number of times, the smart device 10 enters the lock mode. Accordingly, the protection function is enhanced.
Furthermore, setting two or more specific regions may lower the possibility that the quick lock mode may be cancelled in response to detection of an accidental touch operation in a specific region. Thus, the protection function is even further enhanced.
All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although the embodiment of the present invention has been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2013-248349 | Nov 2013 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
20050274796 | Miyashita | Dec 2005 | A1 |
20090280872 | Kajiya | Nov 2009 | A1 |
20120212431 | Brinda | Aug 2012 | A1 |
20120293821 | Chiba | Nov 2012 | A1 |
20130189952 | Kim | Jul 2013 | A1 |
20130249843 | Yano | Sep 2013 | A1 |
20140189604 | Garrison | Jul 2014 | A1 |
20150026613 | Kwon | Jan 2015 | A1 |
20150121316 | Chang | Apr 2015 | A1 |
Number | Date | Country |
---|---|---|
2005-354550 | Dec 2005 | JP |
2009-272996 | Nov 2009 | JP |
2011-090617 | May 2011 | JP |
2012-243158 | Dec 2012 | JP |
Entry |
---|
Japanese Office Action dated May 9, 2017 for corresponding Japanese Patent Application No. 2013-248349. |
Number | Date | Country | |
---|---|---|---|
20150153863 A1 | Jun 2015 | US |