Security protection method, device, mobile terminal and storage medium

By using the camera to collect environmental images and perform facial recognition in the operating system of the mobile terminal, security protection is implemented after identifying non-registered users, the problem of leakage of application interface information in the mobile terminal is solved and the security of the terminal is improved.

CN114341843BActive Publication Date: 2025-01-14SHENZHEN HEYTAP TECHNOLOGY CO LTD +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN201980100001.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-11-12
Publication Date
2025-01-14
Estimated Expiration
2039-11-12

AI Technical Summary

Technical Problem

When the application installed in a mobile terminal runs, the lack of effective security protection measures leads to a high risk of leakage of important information, especially in the absence of authentication, non-registered users may access sensitive interfaces, resulting in privacy and property information. Leakage.

Method used

By integrating the camera in the operating system of the mobile terminal, the setting interface of the setting application is detected to collect environmental images and facial recognition is performed. If the recognition results indicate that it is a non-registered user, preset security protection processing is implemented to prevent information leakage. .

Benefits of technology

It effectively protects the setting application interface in the mobile terminal, prevents non-registered users from accessing sensitive information, improves the security of the mobile terminal, and ensures the confidentiality of the information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114341843B_ABST
    Figure CN114341843B_ABST
Patent Text Reader

Abstract

A security protection method, device, mobile terminal and storage medium, the security protection method is applied to the operating system of the mobile terminal, the mobile terminal includes a camera, the security protection method includes: when it is detected that the mobile terminal runs a setting application and displays the setting interface of the setting application, the environment image is collected through the camera (S110); if the environment image includes a face image, the face image is subjected to face recognition to obtain a recognition result (S120); when the recognition result indicates that the environment image includes a face image corresponding to a non-registered user, the setting interface is subjected to a preset security protection process (S130). The protection of user information can be better achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of mobile terminal technology, and more specifically, to a security protection method, device, mobile terminal and storage medium. Background Art

[0002] Mobile terminals, such as tablet computers and mobile phones, have become one of the most commonly used consumer electronic products in people's daily lives. With the rapid development of mobile terminals, more and more applications are installed in mobile terminals, and the security protection of application runtime has become a key issue. Summary of the invention

[0003] In view of the above problems, the present application proposes a security protection method, device, mobile terminal and storage medium.

[0004] In the first aspect, the embodiment of the present application provides a security protection method, which is applied to an operating system of a mobile terminal, wherein the mobile terminal includes a camera, and the method includes: when it is detected that the mobile terminal runs a setting application and displays a setting interface of the setting application, collecting an environmental image through the camera; if the environmental image includes a face image, performing face recognition on the face image to obtain a recognition result; when the recognition result indicates that the environmental image includes a face image corresponding to a non-registered user, performing a preset security protection process on the setting interface. .

[0005] In the second aspect, an embodiment of the present application provides a security protection device, which is applied to an operating system of a mobile terminal, wherein the mobile terminal includes a camera, and the device includes: an image acquisition module, a face recognition module and a protection processing module, wherein the image acquisition module is used to collect an environmental image through the camera when it is detected that the mobile terminal is running a setting application and displays a setting interface of the setting application; the face recognition module is used to perform face recognition on the face image to obtain a recognition result if the environmental image includes a face image; and the protection processing module is used to perform preset security protection processing on the setting interface when the recognition result indicates that the environmental image includes a face image corresponding to a non-registered user.

[0006] In a third aspect, an embodiment of the present application provides a mobile terminal, comprising: one or more processors; a memory; one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the security protection method provided in the first aspect above.

[0007] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a program code is stored. The program code can be called by a processor to execute the security protection method provided in the first aspect above.

[0008] The solution provided by the present application is to collect an environmental image through a camera when it is detected that a mobile terminal is running a setting application and setting a setting interface of the application. If the environmental image includes a face image, face recognition is performed on the face image to obtain a recognition result. When the recognition result indicates that the environmental image includes a face image corresponding to a non-registered user, a preset security protection processing is performed on the setting interface, thereby realizing protection of the setting interface of the setting application displayed on the mobile terminal, protecting the content and information in the setting interface, and improving the security of the mobile terminal. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0010] Figure 1 A flow chart of a security protection method according to an embodiment of the present application is shown.

[0011] Figure 2 A flow chart of a security protection method according to another embodiment of the present application is shown.

[0012] Figure 3 A flow chart of a security protection method according to yet another embodiment of the present application is shown.

[0013] Figure 4 A schematic diagram of an interface provided by yet another embodiment of the present application is shown.

[0014] Figure 5 Another interface schematic diagram provided by yet another embodiment of the present application is shown.

[0015] Figure 6 Another interface schematic diagram provided by yet another embodiment of the present application is shown.

[0016] Figure 7 Another interface schematic diagram provided by yet another embodiment of the present application is shown.

[0017] Figure 8 A flow chart of a security protection method according to another embodiment of the present application is shown.

[0018] Fig. 9A block diagram of a safety protection device according to an embodiment of the present application is shown.

[0019] Fig.10 It is a block diagram of a mobile terminal according to an embodiment of the present application for executing the security protection method according to an embodiment of the present application.

[0020] Fig.11 It is a storage unit of an embodiment of the present application for storing or carrying program codes for implementing the security protection method according to an embodiment of the present application. DETAILED DESCRIPTION

[0021] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0022] With the advancement of technology and living standards, people have a higher and higher demand for the use of mobile terminals, and more and more applications are installed in mobile terminals to facilitate users' daily use. For example, mobile terminals are installed with chat software, payment software, etc., so that users can use mobile terminals to chat and pay.

[0023] In addition, when logging in and paying, some applications (such as payment software) running in the mobile terminal will perform identity authentication according to their own software logic. However, for some interfaces in the application involving important information (such as privacy information, property information, etc.), since the application does not perform identity authentication, it may cause information leakage. For example, after running a chat application, the mobile terminal is placed aside, and a stranger can see the chat information by picking up the phone, which is easy to cause privacy leakage. For another example, since the payment application will only perform identity authentication when paying according to the software logic, if the payment application is opened by a stranger, the stranger can see information such as bills and balances.

[0024] In response to the above problems, the inventors proposed the security protection method, device, mobile terminal and storage medium provided in the embodiments of the present application. When the mobile terminal is detected to be running a setting application and the setting interface of the setting application is displayed, the environment image is collected through the camera, and the face image in the environment image is recognized. If the environment image includes the face image corresponding to the non-registered user, the setting interface is processed for security protection to prevent information leakage in the setting interface. The specific security protection method is described in detail in the subsequent embodiments.

[0025] See also Figure 1 , Figure 1The flowchart of a security protection method provided by an embodiment of the present application is shown. The security protection method is used by the operating system of the mobile terminal to perform security protection processing on the setting interface of the setting application to prevent the leakage of user information in the setting interface. In a specific embodiment, the security protection method is applied to Fig. 9 The security protection device 400 and the mobile terminal 100 ( Fig.10 ). The following will take a mobile terminal as an example to illustrate the specific process of this embodiment. Of course, it can be understood that the mobile terminal used in this embodiment can be a smart phone, a tablet computer, an e-book, etc., which is not limited here. The mobile terminal includes a camera. Figure 1 The process shown is described in detail, and the security protection method may specifically include the following steps:

[0026] Step S110: When it is detected that the mobile terminal runs a setting application and displays a setting interface of the setting application, an environmental image is collected through the camera.

[0027] In an embodiment of the present application, a setting application that needs security protection and a setting interface that needs security protection in the setting application may be pre-configured in the mobile terminal. The operating system of the mobile terminal may detect the running application and the displayed application interface to determine whether the displayed application interface is an interface that needs security protection. The setting application and the setting interface may be configured according to the user's operation or according to the recommended information of the application manufacturer when installing the application, which is not limited here.

[0028] In some implementations, the operating system of the mobile terminal may detect running applications and displayed application interfaces in real time; the operating system of the mobile terminal may also detect running applications and displayed application interfaces at set intervals.

[0029] In some implementations, the operating system of the mobile terminal may obtain the currently running application through the process management of the operating system, and may obtain the status and information of the running application, such as whether the application is running in the foreground or in the background, the processor resources occupied by the application, the hardware module currently called by the application, etc. Of course, the method of obtaining the currently running application in the mobile terminal may not be limited.

[0030] Furthermore, the mobile terminal can determine whether there is a setting application from the currently running applications, and detect the interface of the displayed setting application when the setting application is running in the foreground. As one way, the operating system can determine the interface of the displayed setting application based on the interface layer rendered when displaying the interface of the setting application. For example, when displaying the billing interface of the payment application, the layer corresponding to the billing interface will be rendered, and when rendering the layer corresponding to the billing interface, the displayed application interface can be determined to be the billing interface based on the layer file of the layer called. As another way, the bottom layer of the operating system can also initiate an interface determination instruction to the setting application from the application layer, and the bottom layer of the system then receives the interface identifier returned by the setting application, thereby determining the currently displayed application interface based on the interface identifier. Of course, the specific method of detecting the currently displayed application interface may not be limited.

[0031] In some embodiments, if the operating system detects that a setting application is currently running and displays the setting interface of the setting application, the environment image can be collected through the camera to perform identity authentication based on the collected environment image, thereby determining whether to perform security protection processing on the setting interface. As a specific embodiment, the operating system can call the camera from the background and control the camera to collect the environment image, so that the environment image can be collected without the user noticing. Among them, the camera can be a front camera to collect the environment image facing the side of the display screen.

[0032] Step S120: If the environment image includes a face image, perform face recognition on the face image to obtain a recognition result.

[0033] In an embodiment of the present application, after acquiring an environmental image, it is possible to determine whether the environmental image includes a face image. As one method, the image captured by the camera is a two-dimensional image, and by searching for facial features in the image, it is possible to determine whether the environmental image includes a face image. As another method, the environmental image of the image captured by the camera is acquired based on structured light imaging. At this time, it is possible to determine whether there is three-dimensional face information based on the three-dimensional information captured by the structured light, thereby determining whether the environmental image includes a face image.

[0034] In an embodiment of the present application, if the collected environmental image includes a face image, face recognition can be performed on the face image to obtain a recognition result. Specifically, the facial features of the face image can be identified, and the identified facial features can be matched with the face image of the registered user; if they match, it is determined that the environmental image includes the face image corresponding to the registered user; if they do not match, it is determined that the environmental image includes the face image corresponding to the unregistered user. Among them, a registered user refers to a user who is pre-registered or pre-stored in the mobile terminal, and the mobile terminal has pre-stored face images of registered users, while an unregistered user is opposite to a registered user, and an unregistered user refers to a user who is not pre-registered or pre-stored in the mobile terminal.

[0035] Step S130: When the recognition result indicates that the environment image includes a face image corresponding to an unregistered user, a preset security protection process is performed on the setting interface.

[0036] In an embodiment of the present application, after the operating system performs face recognition on the face image in the environment image and obtains the recognition result, it can determine whether security protection processing is currently required for the setting interface based on the recognition result.

[0037] In some implementations, if the recognition result indicates that the environment image includes a face image corresponding to an unregistered user, a preset security protection process may be performed on the setting interface. It is understandable that when the mobile terminal displays the setting interface of the setting application, if the environment in which the mobile terminal is located includes unregistered users, it means that there are unregistered users around the mobile terminal. At this time, the unregistered user may be viewing the setting interface, so the setting interface may be subjected to security protection processing to avoid leakage of personal information in the setting interface.

[0038] In some implementations, security protection processing of the setting interface may include: exiting the setting application, switching the setting interface to another interface, recording the operation behavior, sending prompt information to other devices, and issuing an alarm prompt. As an optional method, the operating system can control the setting application to close, so that non-registered users cannot see the content of the setting interface, thereby protecting the content in the setting interface.

[0039] The security protection method provided in the embodiment of the present application, when it is detected that the mobile terminal is running a setting application and displays the setting interface of the setting application, collects the environmental image through the camera, if the environmental image includes a face image, performs face recognition on the face image to obtain a recognition result, when the recognition result represents that the environmental image includes a face image corresponding to a non-registered user, performs preset security protection processing on the setting interface, thereby realizing the protection of the setting interface of the setting application displayed on the mobile terminal, protecting the content and information in the setting interface, and improving the security of the mobile terminal.

[0040] See also Figure 2 , Figure 2 A schematic diagram of a process flow of a security protection method provided by another embodiment of the present application is shown. The security protection method can be applied to the operating system of the above-mentioned mobile terminal. Figure 2 The process shown is described in detail, and the security protection method may specifically include the following steps:

[0041] Step S210: When it is detected that the mobile terminal runs a setting application and displays a setting interface of the setting application, an environmental image is collected through the camera.

[0042] Step S220: If the environment image includes a face image, perform face recognition on the face image to obtain a recognition result.

[0043] In the embodiment of the present application, step S210 and step S220 can refer to the contents of the aforementioned embodiment and will not be described again here.

[0044] Step S230: When the recognition result indicates that the environment image includes a face image corresponding to an unregistered user, determining whether the environment image also includes a face image corresponding to a registered user.

[0045] In the embodiment of the present application, when the recognition result indicates that the environment image includes a face image corresponding to an unregistered user, it can also be determined whether the environment image also includes a face image corresponding to a registered user. Similarly, a registered user refers to a user pre-registered or pre-stored in a mobile terminal, and the mobile terminal pre-stores a face image of the registered user, while an unregistered user is opposite to a registered user, and an unregistered user refers to a user who is not pre-registered or pre-stored in a mobile terminal.

[0046] It is understandable that there may be multiple face images in the environment image, and the multiple face images may include both the face images corresponding to the registered user and the face images corresponding to the unregistered user. For example, during a party, the registered user's mobile phone is taken away by his friends to play, and the setting interface of the setting application is entered. At this time, the environment image captured by the camera may include both the face images corresponding to the registered user and the face images corresponding to the unregistered user. The operating system can confirm the face images in the environment image to determine whether the environment image also includes the face images corresponding to the registered user, that is, it includes both the face images corresponding to the registered user and the face images corresponding to the unregistered user.

[0047] Step S240: If the environment image does not include the facial image corresponding to the registered user, perform a preset security protection process on the setting interface.

[0048] In some embodiments, if the environmental image does not include a facial image corresponding to a registered user, that is, only a facial image corresponding to an unregistered user exists in the environmental image, it means that the user using the mobile terminal to view the setting interface at this time is an unregistered user. Therefore, in order to avoid information leakage in the setting interface, the setting interface can be subjected to preset security protection processing.

[0049] In some implementations, considering that a registered user and an unregistered user may be in the same scene, when the mobile terminal displays the setting interface, the registered user hands the mobile terminal to the unregistered user for operation or viewing. This is an active action of the registered user. If the preset security protection process is performed, it may cause inconvenience to the user. Therefore, step S240 may include:

[0050] If the environmental image does not include the facial image corresponding to the registered user, determine whether a target environmental image is acquired within a preset time period before the current time, and the target environmental image includes the facial image corresponding to the registered user; if the target environmental image does not exist, perform preset security protection processing on the setting interface.

[0051] It is understandable that the operating system can determine whether the target environment image is obtained within the preset time before the current time based on the face recognition results of the face images in all environment images obtained within the preset time before the current time. If the target environment image does not exist, it means that the current scenario of the setting application running and displaying the setting interface is not a scenario where the registered user actively displays the setting interface to the unregistered user. Therefore, the setting interface can be processed for security protection to avoid the leakage of information in the setting interface. For example, when user 1 is looking at the interface of the chat record of the chat application, where the chat application is the setting application and the interface for understanding the record is the setting interface, if user 1 finds an interesting conversation between netizens and wants to share it with user 2, then the setting interface will not be triggered for security protection processing at this time to ensure the user's need to share content.

[0052] Step S250: If the environment image also includes the face image corresponding to the registered user, the setting interface is not subjected to the preset security protection processing.

[0053] In some implementations, if the environment image also includes a face image corresponding to a registered user, it means that the environment image includes both the face image corresponding to the registered user and the face image corresponding to an unregistered user. In this case, the setting interface may not be subjected to the preset security protection processing. It is understandable that when a registered user uses a mobile terminal to view the setting interface, there may also be unregistered users in the environment. At this time, the viewing scene of the setting interface is a normal viewing scene, so the setting interface may not be subjected to the preset security protection processing.

[0054] In some embodiments, the mobile terminal may also perform preset security protection processing when the environmental image includes both facial images corresponding to registered users and facial images corresponding to unregistered users, so as to prevent the user from being peeped by surrounding unregistered users when viewing the setting interface.

[0055] In some embodiments, a first strategy and a second strategy may be pre-stored in the mobile terminal. The first strategy and the second strategy are used to determine whether to perform a preset security protection process when the environmental image includes both the facial image corresponding to the registered user and the facial image corresponding to the unregistered user. Specifically, under the first strategy, when the environmental image includes both the facial image corresponding to the registered user and the facial image corresponding to the unregistered user, no security protection process is performed; under the second strategy, when the environmental image includes both the facial image corresponding to the registered user and the facial image corresponding to the unregistered user, security protection process is performed.

[0056] Furthermore, the mobile terminal can display a setting interface for setting a first strategy or a second strategy. When a selection operation on the first strategy is detected, the first strategy is used as a determination strategy for determining whether to perform preset security protection processing on the setting interface when the environmental image includes both facial images corresponding to registered users and facial images corresponding to unregistered users; when a selection operation on the second strategy is detected, the second strategy is used as a determination strategy for determining whether to perform preset security protection processing on the setting interface when the environmental image includes both facial images corresponding to registered users and facial images corresponding to unregistered users.

[0057] Under this implementation, when the operating system determines that the environment image includes both the facial image corresponding to the registered user and the facial image corresponding to the unregistered user, the current judgment strategy can be determined based on the policy identifier of the judgment strategy. If the current judgment strategy is determined to be the first strategy based on the policy identifier, the preset security protection processing is not performed on the setting interface; if the current judgment strategy is determined to be the second strategy based on the measurement mark, the preset security protection processing is performed on the setting interface.

[0058] In some implementations, after determining whether the environment image also includes a face image corresponding to a registered user, the security protection method may further include:

[0059] If the environmental image also includes the facial image corresponding to the registered user, determine whether the facial image corresponding to the registered user is in a specified area in the environmental image; if the facial image corresponding to the registered user is not in the specified area in the environmental image, perform the security protection processing.

[0060] It is understandable that since the environmental image contains both facial images corresponding to registered users and facial images corresponding to unregistered users, it is possible that the registered user himself is holding the mobile phone to view the display interface, and there are unregistered users in the environment, or the unregistered user may be holding the mobile phone and viewing the display interface in the same environment as the registered user. The facial image corresponding to the user holding the mobile terminal is usually in the central area of ​​the environmental image. Therefore, the central area in the environmental image can be set as the designated area, and it is determined whether the facial image corresponding to the registered user is in the designated area in the environmental image. The specific size of the designated area may not be limited and can be obtained based on multiple experiments; if the facial image corresponding to the registered user is in the designated area in the environmental image, it means that the registered user is currently holding the mobile terminal to view the setting interface. At this time, the viewing behavior of the setting interface is the normal operation behavior of the registered user, so the preset security protection processing is not performed on the setting; and if the facial image corresponding to the registered user is not in the designated area in the environmental image, it means that the unregistered user is currently holding the mobile terminal to view the setting interface. At this time, the viewing behavior of the setting interface is the operation behavior of the unregistered user, so the setting interface is subjected to preset security protection processing to prevent the content in the setting interface from being viewed and operated by unregistered users.

[0061] In some implementations, after determining whether the environment image also includes a face image corresponding to a registered user, the method further includes:

[0062] If the other facial images include the facial image corresponding to the registered user, determine the proportion of the facial image corresponding to the registered user in the environmental image; if the proportion is less than the set proportion, perform the security protection processing.

[0063] It is understandable that since the environmental image contains both facial images corresponding to registered users and facial images corresponding to unregistered users, it is possible that the registered user himself is holding the mobile phone to view the display interface, and there are unregistered users in the environment, or the unregistered user may be holding the mobile phone and viewing the display interface in the same environment as the registered user. The proportion of the facial image corresponding to the user holding the mobile terminal in the environmental image will be relatively large. The proportion of the user image in the environmental image collected when the user usually views the mobile phone is set as the set proportion. The specific size of the set proportion may not be limited and may be obtained based on multiple experiments. If the proportion of the facial image corresponding to the registered user in the environmental image is greater than or equal to the set proportion, it means that the registered user is currently holding the mobile terminal to view the setting interface. At this time, the viewing of the setting interface is the normal operation of the registered user, so the preset security protection processing is not performed on the setting. If the proportion of the facial image corresponding to the registered user in the environmental image is less than the set proportion, it means that the unregistered user is currently holding the mobile terminal to view the setting interface. At this time, the viewing of the setting interface is the operation of the unregistered user, so the setting interface is subjected to preset security protection processing to prevent the content in the setting interface from being viewed and operated by unregistered users.

[0064] In the above two implementations, by determining whether the user currently using the mobile terminal to view the setting interface is a registered user, it is determined whether to perform the preset security protection processing on the setting interface. In some scenarios, the registered user may actively share the setting interface displayed by the mobile terminal with non-registered users for viewing. Therefore, before performing the security protection processing, the security protection method may also include:

[0065] Display prompt information, wherein the prompt information is used to prompt the user to input verification information; receive the input verification information; if the verification information does not match the set verification information, perform the security protection process.

[0066] It is understandable that if it is determined that the facial image corresponding to the registered user is not in the specified area of ​​the environmental image, or it is determined that the facial image corresponding to the registered user accounts for less than the set proportion of the environmental image, it means that the registered user is not holding the mobile terminal to view the setting interface. Taking into account the possibility that the registered user and the unregistered user view the setting interface together, the verification information can be obtained and verified. If the received verification information does not match the set verification information, security protection processing is performed; if the received verification information matches the set verification information, no security protection processing is performed. Among them, the prompt information can be prompted in the form of a pop-up window. The verification information can be pre-set for the registered user, a digital password, verification code information, fingerprint information, voiceprint information, iris information, etc., which is not limited here. When the verification information is a digital password or a verification code information, the user can also enter the verification information in the pop-up window. Therefore, when a registered user and an unregistered user view the setting interface together, the registered user can enter verification information and perform verification to ensure normal viewing; instead of the registered user actively viewing with the unregistered user, for example, the registered user and the unregistered user are in the same environment, and the unregistered user secretly uses a mobile terminal to view it. Therefore, the setting interface can be processed for security protection to avoid leakage of the content in the setting interface.

[0067] The security protection method provided in the embodiment of the present application is as follows: when it is detected that the mobile terminal is running a setting application and displays the setting interface of the setting application, an environmental image is collected through a camera; if the environmental image includes a face image, face recognition is performed on the face image to obtain a recognition result; if the recognition result indicates that the environmental image includes a face image corresponding to a non-registered user, it is determined whether the environmental image also includes a face image corresponding to a registered user; if the environmental image does not include a face image corresponding to a registered user, a preset security protection processing is performed on the setting interface; if the environmental image includes a face image corresponding to a registered user, the preset security protection processing is not performed on the setting interface; the setting interface of the setting application displayed on the mobile terminal is protected, the content and information in the setting interface are protected, the security of the mobile terminal is improved, and normal viewing of the setting interface is also guaranteed.

[0068] See also Figure 3 , Figure 3 A schematic diagram of a process flow of a security protection method provided by another embodiment of the present application is shown. The security protection method can be applied to the operating system of the above-mentioned mobile terminal. Figure 3 The process shown is described in detail, and the security protection method may specifically include the following steps:

[0069] Step S301: displaying a first configuration interface, wherein the first configuration interface includes a first control, and the first control is used to configure a set interval duration.

[0070] In the embodiments of the present application, Figure 4 As shown, the mobile terminal can display a first configuration interface A1, which is used to set the set interval duration. The first configuration interface A1 includes a first space A2, which is used to adjust the size of the set interval duration to complete the configuration of the set interval duration.

[0071] In some embodiments, see Figure 5 , the mobile terminal can display a basic configuration interface A3 for setting the security protection function, which includes option A4 for entering page configuration, option A5 for entering interval configuration, option A6 for entering policy configuration, and option A7 for entering protection mode configuration. Among them, option A4 is used to enter and display the configuration interface for setting the application and setting interface when it is triggered; when option A5 is triggered, it enters and displays the configuration interface for setting the interval (i.e., the first configuration interface A1); when option A6 is triggered, it enters and displays the configuration interface of the first policy and the second policy in the above-mentioned embodiment; when option A7 is triggered, it enters the configuration interface of the protection mode.

[0072] Further, when a triggering operation on option A5 in the basic configuration interface A3 is detected, the mobile terminal may display the first configuration interface A1 so that the user can set the set interval duration.

[0073] Step S302: configuring the set interval duration according to the detected operation on the first control.

[0074] After the first configuration interface is displayed, the operation in the first configuration interface can be detected, and according to the detected operation on the first control, the set interval duration is obtained, and the set interval duration is stored.

[0075] Step S303: displaying a second configuration interface, wherein the second configuration interface includes a plurality of application options, and the application options are used to select the setting application.

[0076] In the embodiments of this application, please refer to Figure 6 The mobile terminal may also display a second configuration interface A8, which is used to select a setting application. The second configuration interface A8 includes a plurality of application options, and the setting application can be set according to the detected operation on different application options.

[0077] Step S304: selecting one or more applications as the set application according to the detected selection operation on the multiple application options.

[0078] It can be understood that in the second configuration interface, the user can check one or more application options. If it is detected that one application option is checked, the application corresponding to the application option is used as the set application. If it is detected that multiple application options are checked, the application corresponding to each application option is used as the set application.

[0079] Step S305: displaying a third configuration interface, wherein the third configuration interface includes a plurality of interface options corresponding to the setting application, and the interface options are used to select the setting interface.

[0080] In the embodiments of this application, please refer to Figure 7 The mobile terminal can also display a third configuration interface A9, which is used to configure the setting interface. The third configuration interface A9 includes multiple interface options corresponding to the setting application, and the setting application can be set according to the detected operation of different interface options.

[0081] It can be understood that after detecting a selection operation on any application option in the second configuration interface, the third configuration interface can be entered and displayed, and the third configuration interface is the configuration interface corresponding to the selected application option.

[0082] In some implementations, the third configuration interface may also provide an interface preview function so that the user can preview the interface and then confirm the selected application interface.

[0083] Step S306: selecting one or more application interfaces as the setting interface according to the detected selection operation on the multiple interface options.

[0084] It can be understood that in the third configuration interface, the user can check one or more interface options. If it is detected that one interface option is checked, the interface corresponding to the interface option will be used as the setting interface of the setting application. If it is detected that multiple interface options are checked, the interface corresponding to each interface option will be used as the setting interface of the setting application.

[0085] Step S307: when it is detected that the mobile terminal runs a setting application and displays a setting interface of the setting application, the camera collects environmental images according to a set interval.

[0086] In the embodiment of the present application, when the operating system of the mobile terminal detects that the mobile terminal is running a setting application and displays the setting interface of the setting application, the environment image can be collected through the camera according to the above-mentioned set interval. In other words, at every set interval, "collecting the environment image through the camera, if the environment image includes a face image, then performing face recognition on the face image to obtain a recognition result" is executed once, thereby reducing the consumption of processor resources and power of the mobile terminal for collecting images and face recognition, and improving the battery life of the mobile terminal.

[0087] In some embodiments, the security protection method may further include: detecting the occupancy rate of the processor of the mobile terminal; if the occupancy rate is greater than the set occupancy rate, increasing the set interval duration. If the occupancy rate of the processor of the mobile terminal is greater than the set occupancy rate, it means that the current mobile terminal has more processing tasks and the processor is under greater pressure. Therefore, the set interval duration may be increased to reduce the number of times the environmental image is collected and the face recognition is performed, reduce the burden on the processor, and avoid system crashes. The specific size of the set occupancy rate may not be limited, for example, it may be 80%, or 75%, etc.

[0088] In some embodiments, the safety protection method may further include: detecting the remaining power of the battery; if the remaining power is lower than the set power, increasing the set interval length. If the remaining power of the battery of the mobile terminal is lower than the set power, it means that the current sound power of the battery is not enough, so the set interval length may be increased to reduce the number of times of collecting environmental images and face recognition, and reduce the consumption of battery power. The specific size of the set power may not be limited, for example, it may be 50%, or 40%, etc.

[0089] Step S308: If the environment image includes a face image, perform face recognition on the face image to obtain a recognition result.

[0090] In the embodiment of the present application, step S308 can refer to the contents of the aforementioned embodiment and will not be described again here.

[0091] Step S309: When the recognition result indicates that the environment image includes a face image corresponding to an unregistered user, the setting interface is subjected to a preset security protection process. In some embodiments, the setting interface is subjected to a preset security protection process, which may include: closing the setting application. It is understandable that when the recognition result indicates that the environment image includes a face image corresponding to an unregistered user, closing the setting application can effectively prevent the leakage of content and information in the setting interface.

[0092] Further, the preset security protection processing for the setting interface may also include: continuing to collect environmental images through the camera; if the environmental images continued to be collected by the camera include the face image corresponding to the unregistered user, then outputting an alarm sound for prompting; recording the operation behavior of the setting application; obtaining the current positioning position, and sending the operation behavior and the positioning position to the designated terminal. It can be understood that if the environmental images continued to be collected by the camera after closing the setting application still include the face image corresponding to the unregistered user, it means that the unregistered user may still be holding the mobile terminal, so an alarm sound can be output to warn the unregistered user and also provide a prompt. In addition, the operation behavior of the setting application will be recorded, the current positioning position will be obtained, and the operation behavior and the positioning position will be sent to the designated terminal, so that the designated terminal can obtain the occurrence of the event in time, and can quickly find the mobile terminal according to the positioning position. Among them, the designated terminal can be a terminal pre-set by the registered user. For example, when the operation behavior and the positioning position are sent to the designated terminal in the form of a text message, the mobile terminal can pre-store the phone number of the designated terminal.

[0093] In other implementations, the mobile terminal may pre-store security protection strategies corresponding to each setting interface.

[0094] As an implementation method, the mobile terminal can display an association interface for associating security protection policies with a setting interface. The association interface includes options for different security protection policies and can display detailed information about the security protection policies, thereby facilitating users to associate security protection policies with the setting interface.

[0095] As another implementation, different setting interfaces have different security protection levels. Specifically, interfaces involving privacy information (such as chat content, shopping records, browsing records, etc.) can be used as first-type interfaces, and the security protection level corresponding to the first-type interfaces can be used as the first security protection level. Interfaces involving property information (such as bill content, bank card information, payment information, etc.) can be used as second-type interfaces, and the security protection level corresponding to the second-type interfaces can be used as the second security protection level, and the first security protection level is less than the second security protection level. The mobile terminal can set security protection policies corresponding to the security protection levels for the setting interfaces according to the security protection levels corresponding to different setting interfaces. Among them, the mobile terminal can identify information in different setting interfaces to determine whether the setting interface belongs to the first-type interface or the second-type interface; the mobile terminal can also classify different setting interfaces into the first-type interface or the second-type interface according to the user's operation, which is not limited here.

[0096] In this embodiment, the preset security protection processing for the setting interface may include: when the setting interface is the first type of interface, according to the security protection strategy corresponding to the first security protection level, the setting interface is anti-peeping processing; when the setting interface is the second type of interface, according to the security protection strategy corresponding to the second security protection level, the setting application is closed. It can be understood that in the first type of interface, since it involves privacy information, and the importance of privacy information is lower than the importance of property information, the first security protection level is lower than the second security protection level. For the security protection strategy of the first security level, only anti-peeping processing can be performed, such as switching the setting interface to a target interface with a prompt function, replacing the content of the target area in the setting interface, or reducing the brightness of the setting interface to a set brightness, wherein the target interface can be preset, for example, it can be a high-brightness solid color interface, etc.; the target area can be the central area of ​​the setting interface and the proportion of the target area to the setting interface can be greater than the preset proportion (for example, 70%, 80%, etc.); the set brightness can be the brightness at which the user cannot see the content of the setting interface clearly, and the specific brightness value can be not limited. For the security protection strategy of the second security level, since the displayed setting interface is the second type of interface, the setting application can be directly closed to prevent unregistered users from stealing property information, etc. by using illegal software.

[0097] Furthermore, when the setting interface is the second type of interface, after the setting application is closed, the camera can continue to collect environmental images; if the environmental images that the camera continues to collect include facial images corresponding to non-registered users, an alarm sound for prompting is output; the operation behavior of the setting application is recorded; the current positioning position is obtained, and the operation behavior and the positioning position are sent to the designated terminal.

[0098] The security protection method provided in the embodiment of the present application provides multiple configuration interfaces so that users can configure the setting application, setting interface, setting interval duration for detection, etc. that need to be protected, so as to meet the information protection needs of different users. When the setting application is running and the setting interface is displayed, the environment image is collected and face recognition is performed. If the recognition result indicates that the environment image includes a face image corresponding to an unregistered user, the setting interface is subjected to a preset security protection process, thereby realizing the protection of the setting interface of the setting application displayed on the mobile terminal, protecting the content and information in the setting interface, and improving the security of the mobile terminal.

[0099] See also Figure 8 , Figure 8 A schematic diagram of a process flow of a security protection method provided by another embodiment of the present application is shown. The security protection method can be applied to the operating system of the above-mentioned mobile terminal. Figure 8 The process shown is described in detail, and the security protection method may specifically include the following steps:

[0100] Step S410: Detecting the current environment information of the mobile terminal.

[0101] In the embodiment of the present application, before executing the process of the security protection method, the mobile terminal can also detect the current environment information of the mobile terminal. The environment information may include positioning information, time information, etc. The mobile terminal can obtain the environment information through built-in sensors such as a positioning module.

[0102] Step S420: If the environmental information meets the set environmental conditions, when it is detected that the mobile terminal runs a set application and displays a set interface of the set application, an environmental image is collected through the camera.

[0103] In an embodiment of the present application, after obtaining environmental information, it can be determined whether the environmental information meets the set conditions. When the environmental information meets the set environmental conditions, the camera is used to collect environmental images when it is detected that the mobile terminal runs a set application and displays the setting interface of the set application. When the environmental information does not meet the set environmental conditions, the camera is not used to collect environmental images when it is detected that the mobile terminal runs a set application and displays the setting interface of the set application. The set environmental conditions can be used to characterize that the mobile terminal is in a safe environment.

[0104] In some embodiments, the environmental information includes the positioning information of the mobile terminal; the environmental information satisfies the set environmental conditions, including: the positioning information is not the set positioning information. The set positioning information may include the registered user's address, office address, etc. Usually, when the user sets the location corresponding to the positioning information, the mobile terminal is in a relatively safe environment, so there is no need to perform the process of the security protection method. When the location is not set to the location corresponding to the positioning information, the mobile terminal is not in a safe environment, so it is necessary to perform the process of the security protection method. By detecting the environmental information as described above and determining whether to perform the process of the security protection method, it is possible to avoid useless image acquisition and face recognition in some cases, resulting in waste of resources and power loss of the mobile terminal.

[0105] Step S430: If the environment image includes a face image, perform face recognition on the face image to obtain a recognition result.

[0106] Step S440: When the recognition result indicates that the environment image includes a face image corresponding to an unregistered user, a preset security protection process is performed on the setting interface.

[0107] In the embodiment of the present application, step S430 and step S440 can refer to the contents of the aforementioned embodiment and will not be described again here.

[0108] The security protection method provided in the embodiment of the present application detects the environmental information of the mobile terminal. When the environmental information meets the set environmental conditions, it executes when it is detected that the mobile terminal is running a set application and displays the setting interface of the set application. When the environmental image is captured by the camera, the face recognition is performed when the environmental image includes a face image, and when the recognition result indicates that the environmental image includes a face image corresponding to a non-registered user, the setting interface is subjected to preset security protection processing, thereby realizing the process of detecting the environmental information and determining whether to perform the security protection method, which can avoid useless image capture and face recognition in some cases, resulting in waste of resources and power loss of the mobile terminal.

[0109] See also Fig. 9 , which shows a structural block diagram of a security protection device 400 provided in an embodiment of the present application. The security protection device 400 can be applied to the operating system of the above-mentioned mobile terminal, and the mobile terminal includes a touch screen. The security protection device 400 includes: an image acquisition module 410, a face recognition module 420 and a protection processing module 430. Among them, the image acquisition module 410 is used to collect the environmental image through the camera when it is detected that the mobile terminal runs a setting application and displays the setting interface of the setting application; the face recognition module is used to perform face recognition on the face image if the environmental image includes a face image to obtain a recognition result; the protection processing module is used to perform preset security protection processing on the setting interface when the recognition result indicates that the environmental image includes a face image corresponding to a non-registered user.

[0110] In some embodiments, the protection processing module 430 includes an image determination unit and a protection execution unit. The image determination unit is used to determine whether the environment image also includes a face image corresponding to a registered user when the recognition result indicates that the environment image includes a face image corresponding to a non-registered user; the protection execution unit is used to perform a preset security protection process on the setting interface if the environment image does not include a face image corresponding to the registered user.

[0111] Furthermore, the protection execution unit can be specifically used for: if the environmental image does not include the facial image corresponding to the registered user, determining whether a target environmental image is acquired within a preset time period before the current time, and the target environmental image includes the facial image corresponding to the registered user; if the target environmental image does not exist, performing preset security protection processing on the setting interface.

[0112] In some embodiments, the protection processing module 430 can also be used for: after determining whether the environmental image also includes a facial image corresponding to a registered user, if the environmental image also includes a facial image corresponding to the registered user, determining whether the facial image corresponding to the registered user is in a specified area in the environmental image; if the facial image corresponding to the registered user is not in the specified area in the environmental image, performing the security protection processing.

[0113] In some embodiments, the protection processing module 430 can also be used for: after determining whether the environmental image also includes a facial image corresponding to a registered user, if the other facial images include a facial image corresponding to the registered user, determine the proportion of the facial image corresponding to the registered user in the environmental image; if the proportion is less than the set proportion, perform the security protection processing.

[0114] Furthermore, the security protection device may also include an information prompt module and an information input module. The information prompt module is used to display prompt information before the security protection process is performed, and the prompt information is used to prompt the user to input verification information; the information input module is used to receive the input verification information; if the verification information does not match the set verification information, the security protection process is performed.

[0115] In some embodiments, the protection processing module 430 can also be used for: after determining whether the environmental image also includes a facial image corresponding to a registered user, if the environmental image also includes a facial image corresponding to the registered user, not performing the preset security protection processing on the setting interface.

[0116] In some implementations, the protection processing module 430 may be specifically configured to: close the setting application.

[0117] In this manner, the protection processing module 430 can also be specifically used to: continue to collect environmental images through the camera; if the environmental images that the camera continues to collect include facial images corresponding to non-registered users, output an alarm sound for prompting; record the operation behavior of the set application; obtain the current positioning position, and send the operation behavior and the positioning position to the designated terminal.

[0118] In some implementations, the image acquisition module 410 may be specifically configured to: collect environmental images through the camera at set intervals.

[0119] In some embodiments, the safety protection device 400 may further include a first interface display module and a duration determination module. The first interface display module is used to display a first configuration interface, the first configuration interface includes a first control, the first control is used to configure the set interval duration; the duration determination module is used to configure the set interval duration according to the detected operation of the first control.

[0120] In some embodiments, the security protection device 400 may further include: an occupancy detection module and a first duration adjustment module. The occupancy detection module is used to detect the occupancy of the processor of the mobile terminal; the first duration adjustment module is used to increase the set interval duration if the occupancy is greater than the set occupancy.

[0121] In some embodiments, the safety protection device 400 may further include: a power detection module and a second duration adjustment module. The power detection module is used to detect the remaining power of the battery; the second duration adjustment module is used to increase the set interval duration if the remaining power is lower than the set power.

[0122] In some embodiments, the security protection device 400 may further include an environment detection module. The environment detection module is used to detect the environment information of the mobile terminal; if the environment information meets the set environment conditions, the image acquisition module 410 executes the acquisition of the environment image through the camera when it is detected that the mobile terminal runs the set application and displays the setting interface of the set application.

[0123] Further, the environmental information includes positioning information of the mobile terminal; the environmental information satisfies a set environmental condition, including: the positioning information is not set positioning information.

[0124] In some embodiments, the security protection device 400 may also include a second interface display module, an application setting module, a third interface display module, and an interface setting module. The second interface display module is used to display a second configuration interface before the camera captures the environmental image when the mobile terminal is detected to be running a setting application and displaying the setting interface of the setting application; the second configuration interface includes multiple application options, and the application options are used to select the setting application; the application setting module is used to select one or more applications as the setting application according to the detected selection operation of the multiple application options; the third interface display module is used to display a third configuration interface, and the third configuration interface includes multiple interface options corresponding to the setting application, and the interface options are used to select the setting interface; the interface setting module is used to select one or more application interfaces as the setting interface according to the detected selection operation of the multiple interface options.

[0125] In some implementations, the image acquisition module 410 may be specifically configured to: cause the operating system of the mobile terminal to call the camera from the background, and control the camera to capture an environmental image.

[0126] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0127] In several embodiments provided in the present application, the coupling between modules may be electrical, mechanical or other forms of coupling.

[0128] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.

[0129] To summarize, the solution provided by the present application is to collect an environmental image through a camera when it is detected that a mobile terminal is running a setting application and displays a setting interface of the setting application. If the environmental image includes a face image, face recognition is performed on the face image to obtain a recognition result. When the recognition result indicates that the environmental image includes a face image corresponding to a non-registered user, a preset security protection processing is performed on the setting interface, thereby achieving protection of the setting interface of the setting application displayed on the mobile terminal, protecting the content and information in the setting interface, and improving the security of the mobile terminal.

[0130] Please refer to Fig.10 , which shows a structural block diagram of a mobile terminal provided in an embodiment of the present application. The mobile terminal 100 may be an electronic device capable of running applications, such as a smart phone, a tablet computer, an e-book, a smart watch, etc. The mobile terminal 100 in the present application may include one or more of the following components: a processor 110, a memory 120, a camera 130, and one or more applications, wherein one or more applications may be stored in the memory 120 and configured to be executed by one or more processors 110, and one or more programs are configured to execute the method described in the aforementioned method embodiment.

[0131] The processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire mobile terminal 100, and executes various functions and processes data of the mobile terminal 100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Optionally, the processor 110 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 110 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 110, but may be implemented separately through a communication chip.

[0132] The memory 120 may include a random access memory (RAM) or a read-only memory (ROM). The memory 120 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data (such as a phone book, audio and video data, chat record data) created by the terminal 100 during use.

[0133] The camera 130 is used to collect an environmental image of the environment in which the mobile terminal is located. The camera 130 may be a color camera or an infrared camera, and the specific type is not limited in the embodiment of the present application.

[0134] Please refer to Fig.11 , which shows a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable medium 800 stores program codes, which can be called by a processor to execute the method described in the above method embodiment.

[0135] The computer readable storage medium 800 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 800 includes a non-transitory computer-readable storage medium. The computer readable storage medium 800 has storage space for program code 810 that performs any method step in the above method. These program codes can be read from or written to one or more computer program products. The program code 810 can be compressed, for example, in an appropriate form.

[0136] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A safety protection method, characterized in that: An operating system applied to a mobile terminal, the mobile terminal including a camera, the method comprising: Detecting current location information of the mobile terminal; If the positioning information is not the set positioning information, when it is detected that the mobile terminal runs a setting application and displays a setting interface of the setting application, an environmental image is collected by the camera, and the set positioning information includes a registered user's address or office address; If the environment image includes a face image, performing face recognition on the face image to obtain a recognition result; When the recognition result indicates that the environment image includes a face image corresponding to an unregistered user, determining whether the environment image also includes a face image corresponding to a registered user; If the environment image does not include the facial image corresponding to the registered user, determine whether a target environment image is acquired within a preset time period before the current time, and the target environment image includes the facial image corresponding to the registered user; If the target environment image does not exist, performing a preset security protection process on the setting interface; If the target environment image is acquired within the preset time period, the preset security protection processing is not performed on the setting interface.

2. The method according to claim 1, characterized in that After determining whether the environment image also includes a face image corresponding to a registered user, the method further includes: If the environment image also includes a facial image corresponding to the registered user, determining whether the facial image corresponding to the registered user is in a designated area in the environment image; If the facial image corresponding to the registered user is not in the specified area of ​​the environmental image, the security protection processing is performed.

3. The method according to claim 1, characterized in that After determining whether the environment image also includes a face image corresponding to a registered user, the method further includes: If the environment image includes a facial image corresponding to a registered user, determining a proportion of the facial image corresponding to the registered user to the environment image; If the proportion is less than the set proportion, the security protection processing is performed.

4. The method according to claim 1, characterized in that: Before performing the security protection processing, the method further includes: Displaying prompt information, wherein the prompt information is used to prompt the user to enter verification information; Receive input verification information; If the verification information does not match the set verification information, the security protection process is performed.

5. The method according to claim 1, characterized in that After determining whether the environment image also includes a face image corresponding to a registered user, the method further includes: If the environment image also includes a face image corresponding to the registered user, the setting interface is not subjected to the preset security protection processing.

6. The method according to claim 1, characterized in that The performing preset security protection processing on the setting interface includes: According to the security protection strategy corresponding to the setting interface, the setting interface is subjected to a preset security protection process.

7. The method according to claim 6, characterized in that The setting interface includes a first type of interface and a second type of interface, a first security protection level corresponding to the first type of interface is lower than a second security protection level of the second type of interface, and performing a preset security protection process on the setting interface according to a security protection strategy corresponding to the setting interface includes: When the setting interface is an interface of the first type, performing anti-peeping processing on the setting interface according to the security protection strategy corresponding to the first security protection level; When the setting interface is the second type of interface, the setting application is closed according to the security protection policy corresponding to the second security protection level.

8. The method according to claim 7, characterized in that After closing the setting application, the method further includes: Continue to collect environmental images through the camera; If the environment image that the camera continues to collect includes a face image corresponding to an unregistered user, an alarm sound is output for prompting; The operation behavior of the setting application is recorded; The current location is obtained, and the operation behavior and the location are sent to a designated terminal.

9. The method according to claim 7, characterized in that: The anti-peeping processing of the setting interface includes: The setting interface is switched to a target interface with a prompt function, the content of a target area in the setting interface is replaced, or the brightness of the setting interface is reduced to a set brightness.

10. The method according to any one of claims 1 to 9, characterized in that: The collecting of the environment image by the camera comprises: The camera collects environmental images according to the set interval length.

11. The method according to claim 10, characterized in that Before collecting the environment image by the camera according to the set interval, the method further includes: Display a first configuration interface, wherein the first configuration interface includes a first control, and the first control is used to configure the set interval duration; The set interval duration is configured according to the detected operation on the first control.

12. The method according to claim 10, characterized in that The method further comprises: detecting an occupancy rate of a processor of the mobile terminal; If the occupancy rate is greater than the set occupancy rate, the set interval duration is increased.

13. The method according to claim 12, characterized in that The mobile terminal further includes a battery, and the method further includes: Detecting the remaining power of the battery; If the remaining power is lower than the set power, the set interval duration is increased.

14. The method according to any one of claims 1 to 9, characterized in that: When it is detected that the mobile terminal runs a setting application and displays a setting interface of the setting application, before collecting an environmental image through the camera, the method further includes: Detecting the current environment information of the mobile terminal; If the environmental information meets the set environmental condition, the step of collecting an environmental image through the camera when it is detected that the mobile terminal runs a set application and displays a set interface of the set application is executed.

15. A safety protection device, characterized in that: An operating system applied to a mobile terminal, wherein the mobile terminal includes a camera, and the device includes: an environment detection module, an image acquisition module, a face recognition module, and a protection processing module, wherein: The environment detection module is used to detect the current location information of the mobile terminal, and the location information includes the registered user's address and office address; The image acquisition module is used to collect an environmental image through the camera if the positioning information is not the set positioning information, when it is detected that the mobile terminal runs a set application and displays a setting interface of the set application, and the set positioning information includes the address or office address of the registered user; The face recognition module is used to perform face recognition on the face image to obtain a recognition result if the environment image includes a face image; The protection processing module is used to determine whether the environment image also includes a face image corresponding to a registered user when the recognition result indicates that the environment image includes a face image corresponding to a non-registered user; if the environment image does not include the face image corresponding to the registered user, determine whether a target environment image is acquired within a preset time period before the current time, and the target environment image includes the face image corresponding to the registered user; if the target environment image does not exist, perform preset security protection processing on the setting interface; if the target environment image is acquired within the preset time period, do not perform preset security protection processing on the setting interface.

16. A mobile terminal, characterized in that: include: one or more processors; Memory; One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the method according to any one of claims 1-14.

17. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program codes, which can be called by a processor to execute the method according to any one of claims 1 to 14.

Citation Information

Patent Citations

  • Locking method and locking device of mobile terminal

    CN105205371A

  • Application security protection method and apparatus, device and computer storage medium

    CN107609368A

  • Privacy protection method and apparatus, terminal and readable storage medium

    CN107657159A