This application claims priority to Chinese Patent Application No. 201610853456.1 filed on Sep. 27, 2016, the contents of which are incorporated by reference herein.
The subject matter herein generally relates to an electronic device and a method for controlling the electronic device.
Nowadays, many consumer electronics products, for example, mobile phones or tablet personal computers (PCs) have a touch screen. People can watch video, pictures, browse web pages, play games, and choose and manipulate objects on the touch screen. However, an application of the electronic device can only be actuated after the mobile terminal is unlocked and the function icon of the application on the touch screen is correspondingly clicked or doubled-clicked. When the electronic device includes a plurality of applications, the application icons are also increased. Then, a traditional way for finding and clicking the icon to load the application will cause a cumbersome operation, reduce a user's experience, and thus is inconvenient.
Many aspects of the disclosure can be better understood with reference to the following figures. The components in the figures are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout several views.
It will be appreciated that for simplicity and clarity of illustration, where appropriate, reference numerals have been repeated among the different figures to indicate corresponding or analogous elements. In addition, numerous specific details are set forth in order to provide a thorough understanding of the embodiments described herein. However, it will be understood by those of ordinary skill in the art that the embodiments described herein can be practiced without these specific details. In other instances, methods, procedures and components have not been described in detail so as not to obscure the related relevant feature being described. Also, the description is not to be considered as limiting the scope of the embodiments described herein. The drawings are not necessarily to scale and the proportions of certain parts may be exaggerated to better illustrate details and features of the present disclosure.
In this exemplary embodiment, the touch sensor 20 includes a fingerprint detection unit 201 and a force detection unit 202. The fingerprint detection unit 201 and the force detection unit 202 are both electrically connected to the processor 30. The fingerprint detection unit 201 detects a fingerprint feature of a user on the touch screen 10, for example, a fingerprint feature of a finger or a plurality of fingers simultaneously pressed on the touch screen 10. The fingerprint detection unit 201 further sends the detected fingerprint feature to the processor 30. The force detection unit 202 detects a pressing force of each finger of the user when one finger or a plurality of fingers of the user press on the touch screen 10. The force detection unit 202 further sends the detected pressing force to the processor 30.
In this exemplary embodiment, each operation feature of the user detected by the touch sensor 20 is a combination of at least one fingerprint feature and at least one pressing force of at least one finger. The following Table 1 illustrates an exemplary example of six operation features inputted by the user. For example, as illustrated in Table 1, the operation feature 1 represents that the right forefinger of the user presses the touch screen 10 with a first force. The operation feature 2 represents that the right thumb of the user presses the touch screen 10 with the first force. The operation feature 3 represents that the right thumb of the user presses the touch screen 10 with a second force. The operation feature 4 represents that the two forefingers of the user both press the touch screen 10 with the first force. The operation feature 5 represents that the right forefinger of the user presses the touch screen 10 with the first force, the right middle finger of the user presses the touch screen 10 with the first force, and the right ring finger of the user presses the touch screen 10 with the second force. The operation feature 6 represents that the left forefinger of the user presses the touch screen 10 with the first force, the left middle finger of the user presses the touch screen 10 with the second force, the right forefinger of the user presses the touch screen 10 with a third force, and the right middle finger of the user pressing the touch screen 10 with a fourth force.
In other exemplary embodiments, the operation features inputted by the user are not limited to those listed in Table 1. Each operation feature may be a combination of at least one finger and the pressing force of each finger.
As illustrated in
The storage unit 302 predefines and stores the operation features of the user. In this exemplary embodiment, each operation feature of the user defined by the storage unit 302 is also a combination of at least one fingerprint feature and at least one pressing force of at least one finger.
The following Table 2 illustrates the operation features predefined and stored by the storage unit 302. For example, as illustrated in Table 2, the storage unit 302 defines a combination of a fingerprint feature of the right forefinger and a predetermined first force as an operation feature, for example, an operation feature 1. The storage unit 302 defines a combination of a fingerprint feature of the right thumb and a predetermined first force as an operation feature, for example, the operation feature 2. The storage unit 302 defines a combination of a fingerprint feature of the right thumb and a predetermined second force as an operation feature, for example, the operation feature 3. The storage unit 302 defines a combination of a fingerprint feature of the right thumb and a predetermined first force, a fingerprint feature of the left thumb and a predetermined first force as an operation feature, for example, the operation feature 4. The storage unit 302 defines a combination of a fingerprint feature of the right forefinger and a predetermined first force, a fingerprint feature of the right middle finger and the predetermined first force, a fingerprint feature of the right ring finger and a predetermined second force as an operation feature, for example, the operation feature 5. The storage unit 302 defines a combination of a fingerprint feature of the left forefinger and a predetermined first force, a fingerprint feature of the left middle finger and the predetermined second force, a fingerprint feature of the right forefinger and a predetermined third force, a fingerprint feature of the right middle finger and a predetermined fourth force as an operation feature, for example, the operation feature 6.
As illustrated in Table 2, the storage unit 302 also predefines and stores a corresponding relationship between the operation features of the user and the application programs and/or files. For example, the operation feature 1 can be predefined to correspond to the first application program, the operation feature 2 can be predefined to correspond to the first file, the operation feature 3 can be predefined to correspond to the second application program, the operation feature 4 can be predefined to correspond to the third application program, the operation feature 5 can be predefined to correspond to the second file, and the operation feature 6 can be predefined to correspond to the third file.
In other exemplary embodiments, the operation features stored in the storage unit 302 are not limited to those listed in Table 2. Each operation feature may be a combination of at least one fingerprint feature and at least one pressing force of at least one finger. The relationship stored in the storage unit 302 is also not limited to Table 2, and each operation feature can correspond to a different application program or file.
The comparison unit 303 compares the operation feature of the user transmitted by the touch sensor 20 with the operation features pre-stored in the storage unit 302, and determines whether or not the storage unit 302 stores an operation feature matching the operation feature of the user transmitted by the touch sensor 20. In the course of the comparison, when the operation feature inputted by the user includes a plurality of fingers, the plurality of fingers of the operation feature must simultaneously press the touch screen 10. For example, when the operation feature 4 is inputted, the two forefingers of the user must simultaneously press the touch screen 10. For example, when the operation feature 6 is inputted, the two forefingers and two middle fingers of the user must simultaneously press the touch screen 10.
The comparison unit 303 may compare the operation feature inputted by the user with the operation features stored in the storage unit 302 one by one. In the course of the comparison of the operation feature inputted by the user with one pre-stored operation feature in the storage unit 302, it is necessary to ensure that the fingerprint feature of each finger of the user pressing on the touch screen 10 matches the fingerprint feature of the same finger of the one pre-stored operation feature and it is also necessary to ensure that the pressing force of each finger of the user pressing on the touch screen 10 is the same as the pressing force of the same finger of the one pre-stored operation feature so as to determine that the operation feature inputted by the user matches the one pre-stored operation feature stored in the storage unit 302.
For example, when the comparison unit 302 compares the operation feature of the user from the touch sensor 20 and the pre-stored operation feature 6 of the storage unit 302, only when the touch screen 10 is pressed by four fingers of the user, the four fingers are respectively the left forefinger, the left middle finger, the right forefinger, and the right middle finger, and the pressing forces of the four fingers of the user are respectively the first force, the second force, the third force, and the fourth force, the comparison unit 302 can determine the operation feature inputted by the user is matching the operation feature 6 pre-stored in the storage unit 302.
When the finger pressed on the touch screen 10 is different from the finger of the operation feature pre-stored in the storage unit 302, or a pressing force of any finger is different from the pressing force of the same finger of the operation feature pre-stored in the storage unit 302, the comparison unit 302 determines the operation feature inputted by the user is not matching the operation feature pre-stored in the storage unit 302.
When the operation feature inputted by the user is not matching each of the operation features pre-stored in the storage unit 302, the comparison unit 303 determines that the storage unit 302 does not store any operation feature which can matching the operation feature inputted by the user.
In this exemplary embodiment, when the comparison unit 303 compares the operation feature of the user with one operation feature pre-stored in the storage unit 302, the same pressing force means the pressing force outputted by a finger of the user equals the predetermined pressing force of the same finger of the operation feature pre-stored in the storage unit 302, or a difference between the pressing force outputted by a finger of the user and the predetermined pressing force of the same finger of the operation feature pre-stored in the storage unit 302 is less than a predetermined value. For example, when the pressing force outputted by a finger of the user equals the predetermined first force of the same finger of the operation feature pre-stored in the storage unit 302, or a difference between the pressing force outputted by a finger of the user and the predetermined first force of the same finger of the operation feature pre-stored in the storage unit 302 is less than the predetermined value, the pressing force outputted by the user is considered to be the same as the predetermined first force.
When the comparison unit 303 determines that the storage unit 302 stores an operation feature matching the operation feature of the user transmitted by the touch sensor 20, the control unit 301 controls the touch screen 10 to switch to an unlocked state from a locked state, and controls the underlying operation unit 304 to actuate an application program or a file corresponding to the operation feature.
For example, as illustrated in Table 1 and Table 2, when the touch screen 10 is in the locked state, the right forefinger of the user is pressed on the touch screen 10 with a first force. The fingerprint detection unit 201 detects the fingerprint feature of the finger and the force detection unit 202 detects the pressing force, that is, the operation feature of the user. The touch sensor 30 further sends the operation feature of the user to the comparison unit 303. The comparison unit 303 compares the operation feature of the user, that is, a combination of the fingerprint feature of the right forefinger and a pressing force of the right forefinger, with pre-stored operation features, so as to determine whether the storage unit 302 stores an operation feature matching the operation feature of the user.
When the comparison unit 303 determines that storage unit 302 stores an operation feature matching the detected operation feature of the user, for example, the fingerprint feature of the right forefinger is matching the fingerprint feature of the right forefinger of the predefined operation feature 1, the first force outputted by the user equals the predetermined first force or a difference between the first force and the predetermined first force is less than a predetermined value, the control unit 301 controls the touch screen 10 to the unlocked state, and controls the underlying operation unit 304 to actuate an application program or a file corresponding to the operation feature 1, for example, the first application program.
When the comparison unit 303 determines that the storage unit 302 does not store any operation feature matching the detected operation feature of the user, the control unit 301 controls the touch screen 10 to keep in the locked state. For example, when only the right forefinger is pressed on the touch screen 10, and a difference between the pressing force of the user and the predetermined first force is larger than the predetermined value, since the storage unit 302 does not store an operation feature matching the detected operation feature, the control unit 301 controls the touch screen 10 to keep in the locked state.
At block 71, predefining and storing the operation features of the user and a relationship between the operation features and the application programs or files. For example, the operation features shown in Table 2 and the relationship between the operation features and the application programs or files.
At block 72, when the touch screen 10 is in the locked state, the touch sensor 20 detects the operation features of the user and sends the detected operation features of the user to the comparison unit 303.
In this exemplary embodiment, the fingerprint detection unit 201 detects a fingerprint feature of a user on the touch screen 10, for example, a fingerprint feature of a finger or a plurality of fingers simultaneously presses on the touch screen 10. The fingerprint detection unit 201 further sends the detected fingerprint feature to the comparison unit 303. The force detection unit 202 detects a pressing force of each finger of the user when one finger or a plurality of fingers of the user presses on the touch screen 10. The force detection unit 202 further sends the detected pressing force to the comparison unit 303.
At block 73, the comparison unit 303 determines whether the storage unit 302 stores an operation feature matching the operation feature of the user transmitted by the touch sensor 20. When the comparison unit 303 determines that the storage unit 302 stores an operation feature matching the operation feature of the user transmitted by the touch sensor 20, block 74 is performed. When the comparison unit 303 determines that the storage unit 302 does not store an operation feature matching the operation feature of the user transmitted by the touch sensor 20, block 75 is performed.
At block 74, when the storage unit 302 stores an operation feature matching the operation feature of the user transmitted by the touch sensor 20, the control unit 301 controls the touch screen 10 to switch to an unlocked state from the locked state, and controls the underlying operation unit 304 to actuate an application program or a file corresponding to the operation feature stored in the storage unit 302.
At block 75, when the storage unit 302 does not store an operation feature matching the operation feature of the user transmitted by the touch sensor 20, the control unit 301 controls the touch screen 10 to keep in the locked state.
It is believed that the embodiments and their advantages will be understood from the foregoing description, and it will be apparent that various changes may be made thereto without departing from the scope of the disclosure or sacrificing all of its advantages, the examples hereinbefore described merely being illustrative embodiments of the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
201610853456.1 | Sep 2016 | CN | national |