Access control method and terminal device
First Claim
1. An access control method, comprising:
- at a terminal device having one or more processors and memory storing programs executed by the one or more processors;
pre-saving an unlock password set associated with multiple access types, wherein the unlock password set comprises at least two unlock passwords, and each unlock password is corresponding to one of the multiple access types;
displaying a lock screen on a user interface of the terminal device, wherein the lock screen is the same for the multiple access types;
receiving an unlock password after receiving an instruction for opening an application program from the lock screen;
determining an access type corresponding to the unlock password, wherein the determined access type is not revealed or displayed on the user interface;
obtaining display information corresponding to the access type among current display information of the application program; and
displaying the obtained display information on a display screen of the terminal device,wherein;
the multiple access types comprise;
a private mode and a visitor mode, wherein display information corresponding to the private mode comprises all the current display information of the application program, and display information corresponding to the visitor mode does not comprise display information that is preset by a user to be not displayed among all the current display information of the application program;
the application program is an instant messaging application;
the display information that is preset by the user to be not displayed among all the current display information includes all relevant information of a private contact preset by the user; and
the method further comprises;
when the determined access type is the visitor mode and the terminal device is displaying the obtained display information corresponding to the visitor mode, receiving, by the application program, a message sent by the private contact; and
skipping displaying a prompt related to the message of the private contact in the visitor mode.
1 Assignment
0 Petitions
Accused Products
Abstract
An access control method and a terminal device are disclosed. The method includes: receiving an unlock password after receiving an instruction for opening an application program; determining an access type corresponding to the unlock password; obtaining display information corresponding to the access type among current display information of the application program; and displaying the obtained display information. An access type is distinguished according to an unlock password, and display information is determined according to the access type, so that the display information can match the unlock password input by a user, and the user can flexibly and secretly control information to be displayed, thereby preventing a risk that private or other important information of the user is seen by a visitor and improving information security.
4 Citations
13 Claims
-
1. An access control method, comprising:
-
at a terminal device having one or more processors and memory storing programs executed by the one or more processors; pre-saving an unlock password set associated with multiple access types, wherein the unlock password set comprises at least two unlock passwords, and each unlock password is corresponding to one of the multiple access types; displaying a lock screen on a user interface of the terminal device, wherein the lock screen is the same for the multiple access types; receiving an unlock password after receiving an instruction for opening an application program from the lock screen; determining an access type corresponding to the unlock password, wherein the determined access type is not revealed or displayed on the user interface; obtaining display information corresponding to the access type among current display information of the application program; and displaying the obtained display information on a display screen of the terminal device, wherein; the multiple access types comprise;
a private mode and a visitor mode, wherein display information corresponding to the private mode comprises all the current display information of the application program, and display information corresponding to the visitor mode does not comprise display information that is preset by a user to be not displayed among all the current display information of the application program;the application program is an instant messaging application; the display information that is preset by the user to be not displayed among all the current display information includes all relevant information of a private contact preset by the user; and the method further comprises; when the determined access type is the visitor mode and the terminal device is displaying the obtained display information corresponding to the visitor mode, receiving, by the application program, a message sent by the private contact; and skipping displaying a prompt related to the message of the private contact in the visitor mode. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A terminal device, comprising:
-
one or more processors; memory storing an unlock password set associated with multiple access types, wherein the unlock password set comprises at least two unlock passwords, and each unlock password is corresponding to one of the multiple access types; and one or more program units stored in the memory and executed by the one or more processors, the one or more program units comprising; a display unit, configured to display a lock screen on a user interface of the terminal device, wherein the lock screen is the same for the multiple access types; a receiving unit, configured to receive an unlock password after receiving an instruction for opening an application program from the lock screen; a type determining unit, configured to determine an access type corresponding to the unlock password received by the receiving unit, wherein the determined access type is not revealed or displayed on the user interface; and an information obtaining unit, configured to obtain display information corresponding to the access type determined by the type determining unit among current display information of the application program; wherein the display unit is further configured to display the display information obtained by the information obtaining unit on a display screen of the terminal device; the multiple access types comprise;
a private mode and a visitor mode, wherein display information corresponding to the private mode comprises all the current display information of the application program, and display information corresponding to the visitor mode does not comprise display information that is preset by a user to be not displayed among all the current display information of the application program;the application program is an instant messaging application; the display information that is preset by the user to be not displayed among all the current display information includes all relevant information of a private contact preset by the user; and the one or more processors are configured to; when the determined access type is the visitor mode and the terminal device is displaying the obtained display information corresponding to the visitor mode, receive, by the application program, a message sent by the private contact; and skip displaying a prompt related to the message of the private contact in the visitor mode. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A non-transitory computer readable storage medium having stored therein one or more instructions, which, when executed by a terminal device, cause the terminal device to perform:
-
pre-saving an unlock password set associated with multiple access types, wherein the unlock password set comprises at least two unlock passwords, and each unlock password is corresponding to one of the multiple access types; displaying a lock screen on a user interface of the terminal device, wherein the lock screen is the same for the multiple access types; receiving an unlock password after receiving an instruction for opening an application program from the lock screen; determining an access type corresponding to the unlock password, wherein the determined access type is not revealed or displayed on the user interface; obtaining display information corresponding to the access type among current display information of the application program; and displaying the obtained display information on a display screen of the terminal device, wherein; the multiple access types comprise;
a private mode and a visitor mode, wherein display information corresponding to the private mode comprises all the current display information of the application program, and display information corresponding to the visitor mode does not comprise display information that is preset by a user to be not displayed among all the current display information of the application program;the application program is an instant messaging application; the display information that is preset by the user to be not displayed among all the current display information includes all relevant information of a private contact preset by the user; and the one or more instructions further cause the terminal device to perform; when the determined access type is the visitor mode and the terminal device is displaying the obtained display information corresponding to the visitor mode, receiving, by the application program, a message sent by the private contact; and skipping displaying a prompt related to the message of the private contact in the visitor mode.
-
Specification