TOUCH-SENSITIVE DEVICE WITH PROTECTION FUNCTION AND PROTECTION METHOD

Information

  • Patent Application
  • 20130169572
  • Publication Number
    20130169572
  • Date Filed
    December 27, 2012
    12 years ago
  • Date Published
    July 04, 2013
    11 years ago
Abstract
A method for protecting a touch-sensitive device includes: switching the touch-sensitive device from a normal mode to a protection mode when a preset operation is exerted; determining whether a touch operation is exerted after the touch-sensitive device enters the protection mode, and further determine whether a duration of the touch-sensitive device in the protection mode exceeds a preset time interval; comparing a touch size of the touch operation with a preset size when the duration of the touch-sensitive device in the protection mode exceeds the preset time interval; and generating an alarm signal when the touch size is less than the preset size. A related touch-sensitive device is also provided.
Description
BACKGROUND

1. Technical Field


The present disclosure relates to touch-sensitive devices and, particularly, to a touch-sensitive device with protection function and a method for providing the touch-sensitive device.


2. Description of Related Art


Portable devices, for example, smart phones, are easily suffered from theft. If a portable device having important personal information is lost, a great loss may bring to the owner of the portable device. Therefore, a protection function for a mobile device to safeguard against theft of the device would be desirable.





BRIEF DESCRIPTION OF THE DRAWINGS

The components of the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout several views.



FIG. 1 is a block diagram of a touch-sensitive device with protection function, in accordance with an exemplary embodiment.



FIG. 2 is a flowchart of a method for protecting the touch-sensitive device of FIG. 1, in accordance with an exemplary embodiment.





DETAILED DESCRIPTION

Referring to FIG. 1, an embodiment of a touch-sensitive device 100 with a protection function is illustrated. The device 100 includes a touch-sensitive screen 10, a storage unit 20, and a processor 30. The storage unit 20 stores a preset size and a preset region of the screen 10, which are employed to determine whether to generate an alarm signal for protecting the device 100. For better understanding the present disclosure, a simple introduction of why using a preset size and a preset region to protect the device 100 is given. When an owner of the device 100 takes the device 100 from his/her pocket or bag, he/she usually grasps a relatively larger portion of the device 100, thus a larger size of the screen 10 may be touched. However, when a thief steals the device 100, he/she usually uses a clamp to clamp the device 100, thus a smaller size of the screen 10 may be touched. Therefore, touch size of the screen 10 may be employed to determine whether the device 100 is being stolen. Furthermore, when the owner of the device 100 takes the device 100 from his/her pocket or bag, he/she may almost grasp a same portion of the device 100 each time. Thus, the device 100 can also determine whether a touch region is within a preset region of the screen 10 which may usually touch by the owner when taking the device 100 out to determine whether the device 100 is being stolen.


In this embodiment, the processor 30 includes a protection mode control module 31, a determining module 32, an updating module 33, a comparing module 34, and a protection control module 35.


The protection mode control module 31 switches the device 100 from a normal mode to a protection mode when a preset touch operation is exerted on the screen 10. The preset touch operation may be sliding from a left edge of the screen 10 to a right edge of the screen 10.


The determining module 32 determines whether a touch operation is exerted on the screen 10 after the device 100 enters the protection mode. When a touch operation is exerted on the screen 10, the determining module 32 further determines whether a duration of the device 100 in the protection mode exceeds a preset time interval.


The updating module 33 updates the preset size and the preset region according to a touch size and a touch region of the touch operation when the duration of the device 100 in the protection mode is less than or equal to a preset time interval. For example, the updating module 33 deletes the preset size from the storage unit 20, and regards an average of the preset size and the touch size as a new preset size.


The comparing module 34 compares the touch size and the touch region with the preset size and the preset region when the duration of the device 100 in the protection mode exceeds the preset time interval.


The protection control module 35 generates an alarm signal when the touch size is less than the preset size, or when the touch size is equal to or greater than the preset size, and the touch region is not within the preset region. The alarm signal may be a ringtone, a vibration signal, or a combination of a ringtone and a vibration signal. The protection mode control module 31 further switches the device 100 from the protection mode to the normal mode when the touch size is equal to or greater than the preset size, and the touch region is within the preset region.


When the device 100 is taken out from a pocket of an owner of the device 100 by a thief, the size and region touched on the screen 10 may be very different from the touch size and touch region when the device 100 is taken out by the owner. Thus, with such configuration, the device 100 can automatically determine whether the device 100 is taken by the owner, and generates an alarm signal when the device 100 is not taken by the owner to protect the device 100 from theft.



FIG. 2 is a flowchart of a method from protecting the device 100, in accordance with an exemplary embodiment.


In step S201, the protection mode control module 31 switches the device 100 from the normal mode to enter the protection mode when the preset touch operation is exerted on the screen 10.


In step S202, the determining module 32 determines whether a touch operation is exerted on the screen 10.


In step S203, the determining module 32 determines whether a duration of the device 100 in the protection mode exceeds the preset time interval. If yes, the procedure goes to step S204, otherwise, the procedure goes to step S208.


In step S204, the comparing module 34 compares the touch size with the preset size. If the touch size is greater than or equal to the preset size, the procedure goes to step S205, otherwise, the procedure goes to step S206.


In step S205, the comparing module 34 compares the touch region with the preset region. If the touch region is not within the preset region, the procedure goes to step S206, otherwise the procedure goes to step S207.


In step S206, the protection control module 35 generates the alarm signal, and the procedure ends.


In step S207, the protection mode control module 31 switches the device 100 from the protection mode to the normal mode, and the procedure ends.


In step S208, the updating module 33 updates the preset size and region according to the touch size and touch region when the duration of the device 100 in the protection mode does not exceed the preset time interval, and the procedure returns to step S202.


Although the present disclosure has been specifically described on the basis of the exemplary embodiment thereof, the disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the embodiment without departing from the scope and spirit of the disclosure.

Claims
  • 1. A touch-sensitive device with a protection function, comprising: a touch-sensitive screen;a storage unit; anda processor comprising: a protection mode control module to switch the touch-sensitive device from a normal mode to a protection mode when a preset operation is exerted on the touch-sensitive screen;a determining module to determine whether a touch operation is exerted after the touch-sensitive device enters the protection mode, and further determine whether a duration of the touch-sensitive device in the protection mode exceeds a preset time interval;a comparing module to compare a touch size of the touch operation with a preset size stored in the storage unit when the duration of the touch-sensitive device in the protection mode exceeds the preset time interval; anda protection control module to generate an alarm signal when the touch size is less than the preset size.
  • 2. The touch-sensitive device as described in claim 1, wherein the comparing module is further to compare a touch region of the touch operation with a preset region stored in the storage unit when the touch size is equal to or greater than the preset size, and the protection control module is further to generate the alarm signal when the touch size is equal to or greater than the preset size, and the touch region is not within the preset region.
  • 3. The touch-sensitive device as described in claim 2, wherein the protection mode control module is further to switch the touch-sensitive device from the protection mode to the normal mode when the touch size is equal to or greater than the preset size, and the touch region is within the preset region.
  • 4. The touch-sensitive device as described in claim 2, further comprising an updating module to update the preset touch size and touch region according to a touch size and touch region of the touch operation when the duration of the touch-sensitive device in the protection mode is less than or equal to the preset time interval.
  • 5. A method for protecting a touch-sensitive device, the touch-sensitive device comprising a touch-sensitive screen, the method comprising: switching the touch-sensitive device from a normal mode to a protection mode when a preset operation is exerted on the touch-sensitive screen;determining whether a touch operation is exerted after the touch-sensitive device enters the protection mode, and further determining whether a duration of the touch-sensitive device in the protection mode exceeds a preset time interval;comparing a touch size of the touch operation with a preset size when the duration of the touch-sensitive device in the protection mode exceeds the preset time interval; andgenerating an alarm signal when the touch size is less than the preset size.
  • 6. The method as described in claim 5, further comprising: comparing a touch region of the touch operation with a preset region when the touch size is equal to or greater than the preset size; andgenerating an alarm signal when the touch size is equal to or greater than the preset touch size, and the touch region is not within the preset touch region.
  • 7. The method as described in claim 6, further comprising: switching the touch-sensitive device from the protection mode to the normal mode when the touch size is equal to or greater than the preset size, and the touch region is within the preset region.
  • 8. The method as described in claim 5, further comprising: updating a preset size and region according to a touch size and touch region of the touch operation when the duration of the touch-sensitive device in the protection mode is less than or equal to the preset time interval.
Priority Claims (1)
Number Date Country Kind
201110446530.5 Dec 2011 CN national