ELECTRONIC DEVICE AND USER INTERFACE CHANGING METHOD

An electronic device has a plurality of user interfaces. The electronic device is configured to display different application programs in different interfaces. The electronic device includes a storage module, a biometric identification module, a determining module and a user interface changing module. The storage module stores biometric identification data and a relationship between the at least one biometric identification data and the different user interfaces. The biometric identification module obtains a biometric identification data on a preset area of the electronic device. The determining module determines whether the obtained biometric identification data is consistent with a stored biometric identification data in the storage module. The interface changing module changes the user interface of the electronic device according to the obtained biometric identification data and the relationship. The present disclosure also provides a user interface changing method.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims priority to Chinese Patent Application No. 201610007559.6, filed on Jan. 7, 2016, the contents of which are incorporated by reference herein.

FIELD

The subject matter herein generally relates to an electronic device, especially relates to a user interface changing method.

BACKGROUND

People have unique fingerprints. Thus, it is safe to unlocked an electronic device by a fingerprint. When the electronic device is unlocked, the electronic device display same application programs. Sometimes, for example, a user unlocks the electronic device and gives it to a child to use, the user tends to the electronic device to only display the application program associated with children study and children games. Thus, the application program is displayed unfriendly.

DETAILED DESCRIPTION

A definition that applies throughout this disclosure will now be presented.

FIG. 1illustrates an electronic device100. The electronic device100can display different user interfaces in response to different user's operations. In different user interfaces, the electronic device100displays different application programs on a displayer10of the electronic device100. The electronic device100can be a smart phone, a tablet or a wearable device. In an embodiment, the electronic device100has an office user interface, a particular user interface and a child user interface. In the office user interface, the displayer10only displays a number of application programs associated with work, for example, an email application program or an office word processing application program. In the particular user interface, the displayer10only displays a number of particular application programs associated with user's favorites, for example, a video playing application program. In the child user interface, the displayer10only displays a number of application programs associated with children, for example, a children game application program or a children study application program. In the different user interfaces, the displayer10can display a number of common application programs, for example, a taking photo application program.

FIG. 2illustrates electronic device100, according to a first embodiment, includes a storage module20, a biometric identification module30, a determining module40, a user interface changing module50and a processor35. The processor35electrically connects to the storage module20, the biometric identification module30, the determining module40, the user interface changing module50.

The storage module20is configured to store at least one biometric identification data, for example, a thumb fingerprint, a index finger fingerprint, a little finger fingerprint or a palm palmprint. The storage module20is further configured to store a relationship between the at least one biometric identification data and the plurality of different user interfaces. The biometric identification module30is configured to obtain a biometric identification data on a preset area of the electronic device100. The determining module40is configured to determine whether the obtained biometric identification data is consistent with a stored biometric identification data to obtain a determined result. The user interface changing module50changes the user interface of the electronic device100according to the obtained biometric identification data, the determined result and the relationship.

For example, the relationship indicates that a user's thumb fingerprint, a user's index finger fingerprint, a user's little finger fingerprint are respectively corresponding to the office user interface, the particular user interface and the child user interface. When the user puts his thumb on the preset area of the electronic device100, the biometric identification module30obtains the user's thumb fingerprint. The determining module40determines if the obtained user's thumb fingerprint is consistent with the stored user's thumb fingerprint. The user interface changing module50makes the electronic device100display the office user interface. The displayer10displays the application program associated with work. Similarly, when the user puts his index finger on the preset area of the electronic device100, the user interface changing module50makes the electronic device100display the particular user interface. The displayer10displays the particular application programs associated with the user's favors. When the user puts his little finger on the preset area of the electronic device100, the user interface changing module50makes the electronic device100display the child user interface. The displayer10displays the application programs associated with children.

FIG. 3illustrates the electronic device200according to a second embodiment. The electronic device200further includes a pressure detecting module60electronically connected to the processor35. The pressure detecting module60is configured to detect a pressure of the obtained biometric identification data on the preset area. The relationship further includes a correspondence between the plurality of different user interfaces and at least one pressure of the at least one biometric identification data. The user interface changing module50is configured to change the user interface of the electronic device200according to the obtained biometric identification data, the pressure of the obtained biometric identification data and the relationship.

For example, the relationship indicates that when the pressure of the biometric identification data is greater than a preset pressure, the electronic device200displays corresponding user interface. When the biometric identification data appears on the preset area of the electronic device200, the biometric identification module30obtains the biometric identification data. The determining module40determines the obtained biometric identification data is consistent with a stored biometric identification data. The pressure detecting module60detects that the pressure of the obtained biometric identification data is greater than the preset pressure. The user interface changing module50makes the electronic device200display the user interface corresponding to the obtained biometric identification data. In an embodiment, the relationship indicates that when the pressure of a user's thumb data is greater than 1 Pa, the electronic device200displays the office user interface. When the user puts his thumb on the preset area and the pressure is greater than 1 Pa, the user interface changing module50makes the electronic device200display the office user interface. When the user puts his thumb on the preset area, but the pressure is less than 1 Pa, the electronic device200remains the present user interface.

In another embodiment, the relationship further includes a correspondence between the plurality of different user interfaces and the at least one pressure of the at least one biometric identification data in different pressure ranges. When the pressure of at least one biometric identification data is within different preset pressure ranges, the electronic device200displays different user interfaces. When the biometric identification data appears on the preset area of the electronic device200, the biometric identification module30obtains the biometric identification data. The determining module40determines the obtained biometric identification data is consistent with a stored biometric identification data. The pressure detecting module60detects the pressure of the obtained biometric identification data is within a preset pressure range. The user interface changing module50makes the electronic device200display a user interface corresponding to the obtained biometric identification data and the preset pressure range. In an embodiment, the relationship indicates that when the pressure of a user's thumb data is within 1 Pa to 2 Pa, the electronic device200displays the office user interface, and when the pressure of a user's thumb data is within 2 Pa to 3 Pa, the electronic device200displays the child user interface. When the user puts his thumb on the preset area and the pressure is within 1 Pa to 2 Pa, the user interface changing module50makes the electronic device200display the office user interface. When the user puts his thumb on the preset area and the pressure is within 2 Pa to 3 Pa, the user interface changing module50makes the electronic device200display the child user interface. When the user puts his thumb on the preset area, but the pressure is beyond 1 Pa to 3 Pa, the electronic device200remains the present user interface. In another embodiment, the user puts his index finger on the preset area and the pressure is within 2 Pa to 3 Pa, although the pressure value meets the preset pressure range, the biometric identification data is not the user's thumb fingerprint, the user interface changing module50remains the present user interface.

FIG. 4illustrates the electronic device300according to a third embodiment. The electronic device300further includes an area detecting module70electronically connected to the processor35. The area detecting module70is configured to detect a contact area of the obtained biometric identification data on the preset area. The relationship further comprises a correspondence between the plurality of different user interfaces and at least one contact area of the at least one biometric identification data. The user interface changing module50is configured to change electronic device300to the user interface corresponding to the obtained biometric identification data and the contact area of the obtained biometric identification data according to the relationship.

For example, the relationship indicates that when the contact area of the biometric identification data is greater than a preset contact area, the electronic device300displays corresponding user interface. When the biometric identification data appears on the preset area of the electronic device300and the contact area of the biometric identification data is greater than the preset contact area, the user interface changing module50makes the electronic device300display the user interface corresponding to the obtained biometric identification data. An example is similar to the example in the first embodiment and is omitted here.

In another embodiment, the relationship further includes a correspondence between the plurality of different user interfaces and the at least one contact area of the at least one biometric identification data in different contact area ranges. When the contact area of at least one biometric identification data is within different preset contact area ranges, the electronic device300displays different user interfaces. When the biometric identification data appears on the preset area of the electronic device300, the biometric identification module30obtains the biometric identification data. The determining module40determines the obtained biometric identification data is consistent with a stored biometric identification data. The area detecting module70detects that the contact area of the obtained biometric identification data is within one of the preset contact area range. The user interface changing module50makes the electronic device300display the user interface corresponding to the obtained biometric identification data and the preset contact area range.

The relationship can indicates that when the contact area of a user's thumb data is within 2 mm2-4 mm2, the electronic device300displays the office user interface, and when the contact area of a user's thumb data is within 4 mm2-8 mm2, the electronic device300displays the particular user interface. In at least one embodiment, when the user puts his thumb on the preset area and the contact area is within 2 mm2-4 mm2, the user interface changing module50makes the electronic device300display the office user interface. When the contact area further increases to 4 mm2-8 mm2, the user interface changing module50changes the electronic device300from the office user interface to the particular user interface. In another embodiment, before the his thumb removes from the preset area, the electronic device300remains the present user interface, and when the his thumb removes from the preset area, the user interface changing module50makes the electronic device300display the office user interface corresponding to the contact area of the thumb. If the contact area of the thumb is within 2 mm2-4 mm2before the his thumb removes from the preset area, when the his thumb removes from the preset area, the user interface changing module50makes the electronic device300display the office user interface. If the contact area of the thumb is within 4 mm2-8 mm2before the his thumb removes from the preset area, when the his thumb removes from the preset area, the user interface changing module50makes the electronic device300display the particular user interface. In another embodiment, the user puts his index finger on the preset area and the contact area is within 2 mm2-4 mm2, although the contact area value meets the preset contact area range, the biometric identification data is not the user's thumb fingerprint, the user interface changing module50remains the present user interface.

FIG. 5illustrates the electronic device400according to a forth embodiment. The electronic device400further includes a time judging module80electronically connected to the processor35. The time judging module80is configured to detect a duration of the obtained biometric identification data on the preset area. The relationship further includes a correspondence between the plurality of different user interfaces and the at least one duration of the at least one biometric identification data. The user interface changing module50is configured to change electronic device400to the user interface corresponding to the obtained biometric identification data and the duration of the obtained biometric identification data according to the relationship.

For example, the relationship indicates that when the duration of the biometric identification data is longer than a preset duration, the electronic device400displays corresponding user interface. When the biometric identification data appears on the preset area of the electronic device400and the duration of the biometric identification data is longer than the preset duration, the user interface changing module50makes the electronic device400display corresponding user interface. An example is similar to the example in the first embodiment and is omitted here.

In another embodiment, the relationship further includes a correspondence between the plurality of different user interfaces and the at least one duration of the at least one biometric identification data in different duration ranges. When the duration of at least one biometric identification data is within different preset duration ranges, the electronic device400displays different user interfaces. When the biometric identification data appears on the preset area of the electronic device400, the biometric identification module30obtains the biometric identification data. The determining module40determines the obtained biometric identification data is consistent with a stored biometric identification data. The time judging module80detects that the duration of the obtained biometric identification data is within a preset duration range. The user interface changing module50makes the electronic device400display the user interface corresponding to the obtained biometric identification data and the preset duration range.

The relationship can indicates that when the duration of a user's thumb data is within three seconds to five seconds, the electronic device400displays the office user interface, and when the duration of a user's thumb data is within five seconds to ten seconds, the electronic device400displays the particular user interface. In at least one embodiment, when the user puts his thumb on the preset area and the duration is within three seconds to five seconds, the user interface changing module50makes the electronic device400display the office user interface. When the duration further increases to five seconds to ten seconds, the user interface changing module50changes the electronic device400from the office user interface to the particular user interface. In another embodiment, before the his thumb removes from the preset area, the electronic device400remains the present user interface, and when the his thumb removes from the preset area, the user interface changing module50makes the electronic device400display the office user interface corresponding to the duration of the thumb. If the duration of the thumb is within three seconds to five seconds, but his thumb remains on the preset area, the electronic device400remains present user interface. Then the duration of the thumb increases to five seconds to ten seconds and his thumb removes from the preset area, the user interface changing module50makes the electronic device400display the particular user interface. In another embodiment, the user puts his index finger on the preset area and the duration is within five seconds to ten seconds, although the duration value meets the preset duration range, the biometric identification data is not the user's thumb fingerprint, the user interface changing module50remains the present user interface.

In another embodiment, the relationship further includes a correspondence between the plurality of different user interfaces and at least one password. When the obtained biometric identification data is not consistent with the stored biometric identification data, the electronic device400can be changed to a user interface corresponding to a password through inputting the password.

The preset area can be an area of the electronic device400outside the displayer10. The biometric identification module30is outside the area of the displayer10. In another embodiment, the preset area can be an area of the displayer10. The biometric identification module30is positioned in the area of the displayer10. When the electronic device400is locked, the biometric identification module30obtains a biometric identification data on the preset area of the electronic device400.

FIG. 6illustrates a user interface changing method according to a first embodiment. The method is employed to an electronic device100having a number of user interfaces. The electronic device100can display different user interfaces in response to different user's operations to display different application programs on the displayer10of the electronic device100. The electronic device100stores at least one biometric identification data and a relationship between the at least one biometric identification data and the plurality of different user interfaces. The illustrated order of blocks inFIG. 6is illustrative only and the order of the blocks can change according to the present disclosure. Additional blocks can be added or fewer blocks may be utilized, without departing from this disclosure. The example method can begin at block602.

At block602, the biometric identification module30obtains a biometric identification data on a preset area of the electronic device100.

At block604, the determining module40determines whether the obtained biometric identification data is consistent with a stored biometric identification data.

At block606, the user interface changing module50changes the user interface of the electronic device100according to the obtained biometric identification data and the relationship.

FIG. 7illustrates a user interface changing method according to a second embodiment. The electronic device200stores at least one biometric identification data and a relationship between the at least one biometric identification data, at least one pressure of the at least one biometric identification data and the plurality of different user interfaces. The illustrated order of blocks inFIG. 7is illustrative only and the order of the blocks can change according to the present disclosure. Additional blocks can be added or fewer blocks may be utilized, without departing from this disclosure. The example method can begin at block702.

At block702, the biometric identification module30obtains a biometric identification data on a preset area of the electronic device200.

At block704, the determining module40determines whether the obtained biometric identification data is consistent with a stored biometric identification data.

At block706, the pressure detecting module60detects a pressure of the obtained biometric identification data on the preset area when the obtained biometric identification data is consistent with a stored biometric identification data.

At block708, the user interface changing module50changes the user interface of the electronic device200according to the obtained biometric identification data, the detected pressure and the relationship.

In an embodiment, the relationship indicates that when the pressure of the biometric identification data is greater than a preset pressure, the electronic device200displays the user interface consistent with the biometric identification data. In another embodiment, the relationship indicates that when the pressure of at least one biometric identification data is within different preset pressure ranges, the electronic device200displays different user interfaces consistent with the biometric identification data.

FIG. 8illustrates a user interface changing method according to a third embodiment. The electronic device300stores at least one biometric identification data and a relationship between the biometric identification data, a contact area of the biometric identification data and the user interface. The illustrated order of blocks inFIG. 8is illustrative only and the order of the blocks can change according to the present disclosure. Additional blocks can be added or fewer blocks may be utilized, without departing from this disclosure. The example method can begin at block802.

At block802, the biometric identification module30obtains a biometric identification data on a preset area of the electronic device300.

At block804, the determining module40determines whether the obtained biometric identification data is consistent with a stored biometric identification data.

At block806, the area detecting module70detects a contact area of the obtained biometric identification data on the preset area when the obtained biometric identification data is consistent with a stored biometric identification data.

At block808, the user interface changing module50changes the user interface of the electronic device300according to the obtained biometric identification data, the contact area of the biometric identification data and the relationship.

In an embodiment, the relationship indicates that when the contact area of the biometric identification data is greater than a preset contact area, the electronic device300displays the user interface consistent with the biometric identification data. In another embodiment, the relationship indicates that when the contact area of at least one biometric identification data is within different preset contact area ranges, the electronic device300displays different user interfaces consistent with the biometric identification data.

FIG. 9illustrates a user interface changing method according to a forth embodiment. The electronic device400stores at least one biometric identification data and a relationship between the biometric identification data, a duration of the biometric identification data and the user interface. The illustrated order of blocks inFIG. 9is illustrative only and the order of the blocks can change according to the present disclosure. Additional blocks can be added or fewer blocks may be utilized, without departing from this disclosure. The example method can begin at block902.

At block902, the biometric identification module30obtains a biometric identification data on a preset area of the electronic device400.

At block904, the determining module40determines whether the obtained biometric identification data is consistent with a stored biometric identification data.

At block906, the time judging module80detects a duration of the obtained biometric identification data on the preset area when the obtained biometric identification data is consistent with a stored biometric identification data.

At block908, the user interface changing module50changes the user interface of the electronic device400according to the obtained biometric identification data, the duration of the biometric identification data and the relationship.

In an embodiment, the relationship indicates that when the duration of the biometric identification data is longer than a preset duration, the electronic device400displays the user interface consistent with the biometric identification data. In another embodiment, the relationship indicates that when the duration of at least one biometric identification data is within different preset duration ranges, the electronic device400displays different user interfaces consistent with the biometric identification data.