TECHNICAL FIELD

The present disclosure relates to the field of mobile communications technologies, and in particular, to a method for protecting private information and a terminal device.

BACKGROUND

Currently, as intelligent terminal devices are popularized, users have increasing risks of leaking private information. Although there are many dedicated applications for private information protection in the prior art, for example, information or photos in a terminal device are encrypted, and a fingerprint, or a preset password or gesture needs to be input to view the information or the photos, there is still a problem that private information cannot be comprehensively protected in some easily overlooked scenarios.

SUMMARY

To resolve the foregoing technical problem, embodiments of the present disclosure provide a method for protecting private information and a terminal device, so as to better protect private information of a user.

In this specification, some embodiments provide the foregoing method and terminal device by using a disclosed device. The terminal device described in the embodiments of the present disclosure may also be referred to as a mobile phone, user equipment (UE), a system, a subscriber unit, a subscriber station, a mobile site, a mobile station, a remote station, a remote terminal device, a mobile device, a user terminal device, a mobile terminal device, a wireless communications device, a user agent, or a user apparatus. For example, the device may be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a handheld device that has a wireless communication function, a computing device, an in-vehicle communication module, a smart meter, a smart home device, or another processing device connected to a wireless modem.

In some embodiments, the device has one or more processors, memories, and sensors, and one or more modules, programs, or instruction sets that are stored in the memory and that are configured to execute multiple functions. In some embodiments, these functions may include image editing, drawing, presentation, word processing, web page creation, disk editing, spreadsheet creation, playing games, making and answering phone calls, video conferencing, sending and receiving emails, instant message communication, exercise support, digital photography, digital video recording, web browsing, digital music playing, and/or digital video playing. Executable instructions used to execute these functions may be included in a non-transitory computer readable storage medium or another computer program product that is configured to be executed by the one or more processors.

The sensor described in the embodiments of the present disclosure refers to a detection apparatus that can sense information to be measured and convert, according to a specific law, the sensed information into an electrical signal or another required form. In some embodiments, the sensor may include but is not limited to a camera, a microphone, a light sensor, a touch sensor, a pressure sensor, a gravity sensor, a fingerprint sensor, a temperature sensor, or a humidity sensor. In some embodiments, the sensor further includes various buttons on the terminal device, such as a physical power button, a physical volume key, a physical function key, or a virtual lock screen key.

According to a first aspect, an embodiment of the present disclosure provides a method for protecting private information, including, when detecting an unlock operation, first displaying, by a terminal device, a first interface after unlocking, where the first interface is an interface last displayed before the terminal device locks a screen; and when detecting a special unlock operation, first displaying, by the terminal device, a second interface after unlocking, where the special unlock operation includes a combination of the unlock operation and an additional operation, and the second interface is different from the first interface. According to the method for protecting private information provided in this embodiment of the present disclosure, after detecting the special unlock operation, the terminal device can first display the second interface. This avoids a problem that the private information of a user is directly presented on the screen after unlocking, thereby more comprehensively protecting the private information of the user.

According to a first possible implementation of the first aspect, the additional operation includes an additional operation in a process of the unlock operation.

According to a second possible implementation of the first aspect, before displaying the second interface, the terminal device may first disable an application corresponding to the first interface, and then display the second interface. This may more completely avoid leakage of the private information.

According to a third possible implementation of the first aspect, it is assumed that in the first aspect, the terminal device first displays the first interface after unlocking when detecting the unlock operation for the first time, and the terminal device first displays the second interface after unlocking when detecting the special unlock operation for the first time. In this case, when detecting the special unlock operation or the unlock operation for the second time, the terminal device first displays, after unlocking, an interface last displayed before the screen is last locked before the special unlock operation is detected for the first time. In this way, after a risk of privacy leakage disappears, when the user needs to continuously perform an operation on an interface that is previously hidden and that includes the private information, the terminal device can quickly restore the interface.

According to a second aspect, an embodiment of the present disclosure provides a method for protecting private information, including, when detecting an unlock operation, first displaying, by a terminal device, a first interface after unlocking, where the first interface is an interface last displayed before the terminal device locks a screen; and when detecting a special unlock operation, first displaying, by the terminal device, a second interface after unlocking, where the special unlock operation includes the unlock operation in which a value of at least one operation dimension is greater than a preset threshold, and the second interface is different from the first interface. According to the method for protecting private information provided in this embodiment of the present disclosure, after detecting the special unlock operation, the terminal device can first display the second interface. This avoids a problem that the private information of a user is directly presented on the screen after unlocking, thereby more comprehensively protecting the private information of the user.

According to a third aspect, an embodiment of the present disclosure provides a method for protecting private information, including, when detecting a special lock screen operation, returning, by a terminal device, to a system interface or opening a preset interface, where the special lock screen operation includes consecutively or simultaneously pressing at least two preset buttons of the terminal device; entering, by the terminal device, a locked state; and when detecting an unlock operation, first displaying, by the terminal device, the system interface or the preset interface after unlocking. According to the method for protecting private information provided in this embodiment of the present disclosure, after detecting the special lock screen operation, the terminal device can first return to the system interface or first open the preset interface to hide an interface including the private information, and then lock a screen. Therefore, after detecting an unlock operation, the terminal device first displays the system interface or the preset interface. This avoids a problem that the private information of a user is directly presented on the screen after unlocking, thereby more comprehensively protecting the private information of the user.

According to a fourth aspect, an embodiment of the present disclosure provides a terminal device configured to protect private information, including a memory configured to store a preset unlock operation and a preset special unlock operation, where the special unlock operation includes a combination of the unlock operation and an additional operation; at least one sensor configured to detect the unlock operation and the special unlock operation; a processor configured to, when the at least one sensor detects the unlock operation, instruct the terminal device to first display a first interface after unlocking, where the first interface is an interface last displayed before the terminal device locks a screen, and when the at least one sensor detects the special unlock operation, instruct the terminal device to first display a second interface after unlocking, where the second interface is different from the first interface; and a screen configured to display the first interface or the second interface.

According to a first possible implementation of the fourth aspect, the additional operation includes an additional operation in a process of the unlock operation.

According to a second possible implementation of the fourth aspect, the processor is further configured to, before the screen of the terminal device displays the second interface, first disable an application corresponding to the first interface, and then display the second interface.

According to a third possible implementation of the fourth aspect, when that the at least one sensor detects the unlock operation means that the at least one sensor detects the unlock operation for the first time, and when that the at least one sensor detects the special unlock operation means that the at least one sensor detects the special unlock operation for the first time, the processor is further configured to, when the at least one sensor detects the special unlock operation or the unlock operation for the second time, instruct the terminal device to first display, after unlocking, an interface last displayed before the screen is last locked before the at least one sensor detects the special unlock operation for the first time.

According to a fifth aspect, an embodiment of the present disclosure provides a terminal device configured to protect private information, including a memory configured to store a preset unlock operation and a preset special unlock operation, where the special unlock operation includes the unlock operation in which a value of at least one operation dimension is greater than a preset threshold; at least one sensor configured to detect the unlock operation and the special unlock operation; a processor configured to, when the at least one sensor detects the unlock operation, instruct the terminal device to first display a first interface after unlocking, where the first interface is an interface last displayed before the terminal device locks a screen, and when the at least one sensor detects the special unlock operation, instruct the terminal device to first display a second interface after unlocking, where the second interface is different from the first interface; and a screen configured to display the first interface or the second interface.

According to a sixth aspect, an embodiment of the present disclosure provides a terminal device configured to protect private information, including a memory configured to store a preset special lock screen operation and a preset unlock operation, where the special unlock operation includes consecutively or simultaneously pressing at least two preset buttons of the terminal device; at least one sensor configured to detect the special lock screen operation and the unlock operation; a processor configured to, when the at least one sensor detects the special lock screen operation, instruct a screen of the terminal device to return to a system interface or open a preset interface, and instruct the terminal device to enter a locked state, and when the at least one sensor detects the unlock operation, instruct the screen of the terminal device to first display the system interface or the preset interface after unlocking; and a screen configured to display the system interface or the preset interface.

According to a seventh aspect, an embodiment of the present disclosure provides a terminal device configured to protect private information, including a first detection unit configured to detect an unlock operation; a first processing unit configured to, when the unlock operation is detected, instruct the terminal device to first display a first interface after unlocking, where the first interface is an interface last displayed before the terminal device locks a screen; a second detection unit configured to detect a special unlock operation, where the special unlock operation includes a combination of the unlock operation and an additional operation; a second processing unit configured to, when the special unlock operation is detected, instruct the terminal device to first display a second interface after unlocking, where the second interface is different from the first interface; and a display unit configured to display the first interface or the second interface.

According to a first possible implementation of the seventh aspect, the additional operation includes an additional operation in a process of the unlock operation.

According to a second possible implementation of the seventh aspect, the terminal device further includes a third processing unit configured to, before the terminal device displays the second interface, disable an application corresponding to the first interface, and then display the second interface.

According to a third possible implementation of the seventh aspect, when that the unlock operation is detected means that the unlock operation is detected for the first time, and when that the special unlock operation is detected means that the special unlock operation is detected for the first time, the terminal device further includes a fourth processing unit configured to, when the special unlock operation or the unlock operation is detected for the second time, instruct the terminal device to first display, after unlocking, an interface last displayed before the screen is last locked before the special unlock operation is detected for the first time.

According to an eighth aspect, an embodiment of the present disclosure provides a terminal device configured to protect private information, including a first detection unit configured to detect an unlock operation; a first processing unit configured to, when the unlock operation is detected, instruct the terminal device to first display a first interface after unlocking, where the first interface is an interface last displayed before the terminal device locks a screen; a second detection unit configured to detect a special unlock operation, where the special unlock operation includes the unlock operation in which a value of at least one operation dimension is greater than a preset threshold; a second processing unit configured to, when the special unlock operation is detected, instruct the terminal device to first display a second interface after unlocking, where the second interface is different from the first interface; and a display unit configured to display the first interface or the second interface.

According to an eighth aspect, an embodiment of the present disclosure provides a terminal device configured to protect private information, including a first detection unit configured to detect a special lock screen operation, where the special unlock operation includes consecutively or simultaneously pressing at least two preset buttons of the terminal device; a first processing unit configured to, when the special lock screen operation is detected, instruct the terminal device to return to a system interface or open a preset interface, and instruct the terminal device to enter a locked state; a second detection unit configured to detect an unlock operation; a second processing unit configured to, when the unlock operation is detected, instruct the terminal device to first display the system interface or the preset interface after unlocking; and a display unit configured to display the system interface or the preset interface.

Based on the foregoing technical solutions, when detecting a special unlock operation, a terminal device first displays a second interface after unlocking. This avoids a problem that private information of a user is directly presented on a screen after the unlocking, thereby more comprehensively protecting the private information of the user.

