Security policy execution method, device, equipment and storage medium
By responding to the pressing operation and determining the target security policy in the user device, the problem that existing technology cannot meet the diverse needs of users is solved, and efficient security protection in emergency situations is achieved.
Patent Information
- Application Number
- CN202211579517.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-08
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-12-08
AI Technical Summary
The existing technology cannot meet the diversified needs of users in emergency situations and improve the security protection effect of user equipment.
By determining that the user device is in protection mode, it responds to the user's pressing operation, obtains the number of pressings, determines the corresponding target security policy from multiple security policies, and executes the target security policy, including prohibiting the use of preset functions and prohibiting the use of preset functions. Set up the APP, delete preset data and lock the screen.
Provide users with different levels of security policies in emergency situations to meet users' diverse needs and improve the security protection effect of user equipment.
Smart Images

Figure CN116193018B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of user equipment, and in particular to a method, apparatus, device and storage medium for executing a security policy. Background Art
[0002] As people frequently use user devices for daily activities such as payment and social networking, it is crucial to improve the security protection of user devices. Currently, the security protection of user devices is usually improved in the following two ways: 1. Determine the user's security status through expression recognition, and determine whether to lock related programs based on the judgment results. 2. Set up a security zone in the user device to ensure the security of applications (APPs) and data in the security zone.
[0003] However, the above two methods cannot meet the diversified needs of users in emergency situations. Therefore, how to meet the diversified needs of users and improve the security protection effect of user equipment is a technical problem that needs to be solved urgently. Summary of the invention
[0004] The present application provides a security policy execution method, device, equipment and storage medium to meet the diverse needs of users and improve the security protection effect of user devices. The technical solution of the present application is as follows:
[0005] In a first aspect, a method for executing a security policy is provided, the method comprising: determining that a user device is in a protection mode, and in response to a user pressing an operation on the user device, obtaining the number of times the user presses the user device within a first preset time period; determining a target security policy corresponding to the number of presses from multiple security policies, and executing the target security policy; the multiple security policies include prohibiting the use of preset functions, prohibiting the use of preset APPs, and deleting preset data and locking the screen.
[0006] In a possible implementation, the method further includes: in response to a user's protection mode startup operation on the user device, starting the protection mode; the protection mode startup operation includes pressing at least two physical keys simultaneously and continuing for a second preset time length, or the number of shakes performed within a third preset time length is greater than a preset number.
[0007] In a possible implementation, the method further includes: after starting the protection mode, entering the protection mode lock screen state; a first unlocking strategy for unlocking the protection mode lock screen state is different from a second unlocking strategy for unlocking the non-protection mode lock screen state.
[0008] In one possible implementation, entering a protected mode lock screen state includes: when the user device is in a non-protected mode lock screen state, entering a protected mode lock screen state from a non-protected mode lock screen state; when the user device is in a non-protected mode screen unlocked state, entering a protected mode lock screen state from a non-protected mode screen unlocked state.
[0009] In a possible implementation, determining that the user device is in the protection mode includes: determining that the user device is in a protection mode screen unlock state in the protection mode.
[0010] In a second aspect, a security policy execution device is provided, which includes a determination unit, an acquisition unit and a processing unit; the determination unit is used to determine that a user device is in a protection mode; the acquisition unit is used to obtain the number of times a user presses the user device within a first preset time period in response to a user pressing the user device after the determination unit determines that the user device is in the protection mode; the processing unit is used to determine a target security policy corresponding to the number of presses from multiple security policies, and execute the target security policy; the multiple security policies include prohibiting the use of preset functions, prohibiting the use of preset apps, and deleting preset data and locking the screen.
[0011] In a possible implementation, the processing unit is further used to: start the protection mode in response to a user's protection mode start-up operation on the user device; the protection mode start-up operation includes pressing at least two physical keys simultaneously and continuing for a second preset time length, or the number of shakes performed within a third preset time length is greater than a preset number.
[0012] In a possible implementation, the processing unit is further used to: enter a protection mode lock screen state after starting the protection mode; and a first unlocking strategy for unlocking the protection mode lock screen state is different from a second unlocking strategy for unlocking the non-protection mode lock screen state.
[0013] In a possible implementation, the above-mentioned processing unit is specifically used to: when the user device is in a non-protected mode locked screen state, enter a protected mode locked screen state from a non-protected mode locked screen state; when the user device is in a non-protected mode screen unlocked state, enter a protected mode locked screen state from a non-protected mode screen unlocked state.
[0014] In a possible implementation, the above-mentioned determination unit is specifically used to: determine that the user equipment is in a protection mode screen unlock state in the protection mode.
[0015] According to a third aspect, an electronic device is provided, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute instructions to implement the method of the first aspect and any possible implementation manner thereof.
[0016] In a fourth aspect, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method in the above-mentioned first aspect and any possible implementation manner thereof.
[0017] In a fifth aspect, a computer program product is provided. The computer program product includes computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the method of the first aspect and any possible implementation manner thereof.
[0018] The technical solution of the first aspect provided by the present application brings at least the following beneficial effects: the method in the prior art of locking related programs or setting a security zone to protect the security of APPs and data in the security zone cannot meet the diversified needs of users in an emergency. The present application obtains the number of presses performed by the user on the user device within a first preset time period, determines the target security policy corresponding to the number of presses from multiple security policies, and executes the target security policy. Among them, multiple security policies include prohibiting the use of preset functions, prohibiting the use of preset APPs, and deleting preset data and locking the screen. Since multiple security policies are different levels of security policies pre-set by the user in the user device according to user needs, different levels of security policies can be implemented for the user in an emergency, thereby meeting the diversified needs of the user.
[0019] It should be noted that the technical effects brought about by any implementation method in the second to fifth aspects can refer to the technical effects brought about by the corresponding implementation method in the first aspect, and will not be repeated here.
[0020] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification are used to explain the principles of the present application, and do not constitute an improper limitation on the present application.
[0022] Figure 1 is a structural diagram of a security policy execution system according to an exemplary embodiment;
[0023] Figure 2 is a flow chart of a method for executing a security policy according to an exemplary embodiment;
[0024] Figure 3 is a flowchart of another method for executing a security policy according to an exemplary embodiment;
[0025] Figure 4 is a flowchart of another method for executing a security policy according to an exemplary embodiment;
[0026] Figure 5 is a flow chart of another method for executing a security policy according to an exemplary embodiment;
[0027] Figure 6 is a block diagram of a security policy execution device according to an exemplary embodiment;
[0028] Figure 7 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0029] In order to enable ordinary persons in the art to better understand the technical 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 accompanying drawings.
[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
[0031] Before introducing in detail the execution method of the security policy provided by this application, a brief introduction is first given to the implementation environment (implementation architecture) involved in this application.
[0032] The security policy execution method provided in the embodiment of the present application can be applicable to the security policy execution system. Figure 1 A schematic diagram of the structure of the execution system of the security policy is shown. Figure 1 As shown, the security policy execution system 10 includes a user device 11 and a security policy execution device 12. The user device 11 is connected to the security policy execution device 12, and the user device 11 and the security policy execution device 12 can be connected in a wired manner or in a wireless manner, which is not limited in the embodiment of the present application.
[0033] The user device 11 may be used to obtain a user's pressing operation on the user device 11 , and send the obtained user's pressing operation on the user device 11 to the security policy execution device 12 .
[0034] The security policy execution device 12 may be used to receive a pressing operation of the user on the user device 11 sent by the user device 11 .
[0035] The security policy execution device 12 can also be used to process the received user's pressing operation on the user device 11, for example, to determine that the user device is in protection mode, and in response to the user's pressing operation on the user device, obtain the number of times the user presses the user device within a first preset time period; determine the target security policy corresponding to the number of presses from multiple security policies, and execute the target security policy.
[0036] Optionally, the user equipment 11 may be a terminal device such as a mobile phone, a tablet computer, a personal digital assistant (PDA), etc.
[0037] Optionally, the security policy execution device 12 may also implement the functions to be implemented by the security policy execution device 12 through a virtual machine (VM) deployed on a physical machine.
[0038] In different application scenarios, the user device 11 and the security policy execution device 12 may be independent devices or integrated into the same device, which is not specifically limited in the embodiments of the present application.
[0039] When the user device 11 and the security policy execution device 12 are integrated into the same device, the data transmission mode between the user device 11 and the security policy execution device 12 is the data transmission between the internal modules of the device. In this case, the data transmission process between the two is the same as the "data transmission process between the user device 11 and the security policy execution device 12 when they are independent of each other".
[0040] In the following embodiments provided in the embodiments of the present application, the embodiments of the present application are described by taking the example that the user equipment 11 and the security policy execution device 12 are integrated into the same device.
[0041] For ease of understanding, the following specifically introduces the method for executing the security policy provided by this application in conjunction with the accompanying drawings.
[0042] Figure 2 is a flow chart of a method for executing a security policy according to an exemplary embodiment. The method can be applied to a user device, such as Figure 2As shown, the method for executing the security policy includes the following steps:
[0043] S201: The user equipment determines that the user equipment is in a protection mode, and in response to a pressing operation of the user on the user equipment, obtains the number of pressing operations performed by the user on the user equipment within a first preset time period.
[0044] As a possible implementation, the user device determines that the user device is in the protection mode screen unlock state in the protection mode, and vibrates for a preset time. Further, the user presses the user device, and the user device obtains the number of presses performed by the user on the user device within the first preset time.
[0045] It should be noted that the first preset duration may specifically be 2 seconds.
[0046] In actual applications, pressure sensors are set on both sides of the user device. When the pressure pulse is greater than a preset threshold, the user device determines that the user performs a pressing operation on the user device. After the user performs a protection mode setting operation in the user device, the user device can obtain the pressing data of the user performing a pressing operation on the user device, and the pressing data includes the pressure pulse and the pressing time. Further, the user device determines the first preset duration and the preset threshold based on the obtained pressing data of the user performing a pressing operation on the user device.
[0047] S202: The user equipment determines a target security policy corresponding to the number of pressing times from a plurality of security policies, and executes the target security policy.
[0048] Among them, multiple security policies include prohibiting the use of preset functions, prohibiting the use of preset apps, deleting preset data and locking the screen.
[0049] As a possible implementation manner, the user device determines a target security policy corresponding to the number of presses performed by the user on the user device within a first preset time period based on the acquired number of presses, and executes the target security policy.
[0050] It should be noted that the preset functions may specifically be Internet access functions and communication functions, the preset APP may specifically be an APP with communication functions or payment functions, and the preset data may specifically be address books, text messages, photos, and videos.
[0051] Exemplarily, multiple security policies may be as shown in Table 1 below:
[0052] Table 1: Multiple security policies
[0053] Number of presses Security Policy 1 Disable the use of preset functions 2 Prohibit the use of default apps 3 Delete preset data and lock the screen
[0054] Exemplarily, as shown in Table 1 above, when the number of presses performed by the user on the user device within 2 seconds obtained by the user device is 1, the user device prohibits the use of the preset function. When the number of presses performed by the user on the user device within 2 seconds obtained by the user device is 2, the user device prohibits the use of the preset APP. When the number of presses performed by the user on the user device within 2 seconds obtained by the user device is 3, the user device deletes the preset data and locks the screen.
[0055] It is understandable that the existing method of locking related programs or setting up a security zone to protect the security of apps and data in the security zone cannot meet the diversified needs of users in an emergency. The present application obtains the number of presses performed by the user on the user device within a first preset time period, determines the target security policy corresponding to the number of presses from multiple security policies, and executes the target security policy. Among them, multiple security policies include prohibiting the use of preset functions, prohibiting the use of preset apps, and deleting preset data and locking the screen. Since multiple security policies are different levels of security policies pre-set by the user in the user device according to user needs, different levels of security policies can be implemented for the user in an emergency, thereby meeting the diversified needs of the user.
[0056] In some embodiments, to enable protection mode, such as Figure 3 As shown, the security policy execution method provided in the embodiment of the present application also includes:
[0057] S301: A user equipment starts a protection mode in response to a user's protection mode starting operation on the user equipment.
[0058] The protection mode startup operation includes pressing at least two physical keys simultaneously for a second preset time period, or the number of shakes performed within a third preset time period is greater than a preset number.
[0059] As a possible implementation method, the user presses at least two physical keys of the user device at the same time, the user device determines the duration for which the user presses the at least two physical keys, and starts the protection mode if the duration for which the user presses the at least two physical keys is greater than a second preset duration.
[0060] It should be noted that the physical keys may specifically be a volume up key, a volume down key and a power key, and the second preset time length may specifically be 3 seconds.
[0061] As another possible implementation, the user shakes the user device up and down quickly continuously, and the user device determines the number of times the user device is shaken within a third preset time period. Further, the user device starts the protection mode when the number of shakes is greater than the preset number.
[0062] It should be noted that the third preset time length may be specifically 3 seconds, and the preset number of times may be specifically 5 times.
[0063] It can be understood that the present application can quickly start the protection mode in a variety of ways, thereby ensuring the payment security of the user's device and improving the security protection effect of the user's device.
[0064] In some embodiments, after the protection mode is activated, Figure 4 As shown, the security policy execution method provided in the embodiment of the present application also includes:
[0065] S302: After the protection mode is started, the user device enters the protection mode lock screen state.
[0066] The first unlocking strategy for unlocking the protection mode lock screen state is different from the second unlocking strategy for unlocking the non-protection mode lock screen state.
[0067] It should be noted that the first unlocking strategy may specifically be at least one of digital unlocking, letter unlocking, symbol unlocking, graphic unlocking, fingerprint unlocking and expression unlocking.
[0068] For example, when the first unlocking strategy and the second unlocking strategy are digital unlocking, the first unlocking strategy may be 123456, and the second unlocking strategy may be 654321. When the first unlocking strategy and the second unlocking strategy are digital unlocking and letter unlocking, the first unlocking strategy may be abc123, and the second unlocking strategy may be 321abc. When the first unlocking strategy and the second unlocking strategy are expression unlocking, the first unlocking strategy may be the user's fearful expression, and the second unlocking strategy may be the user's normal expression. When the first unlocking strategy and the second unlocking strategy are digital unlocking, letter unlocking, and fingerprint unlocking, the first unlocking strategy may be abc123+left thumb fingerprint, and the second unlocking strategy may be 321abc+right thumb fingerprint.
[0069] In actual application, after the user performs a setting operation in the user device, the user device can obtain the first unlocking strategy. A password type list is displayed in the user device, and the password type list includes numbers, letters, symbols, graphics, fingerprints, and emoticons. The user can select at least one of the password type list. In response to the user's selection operation in the password type list, the user device displays a corresponding password type interface. Further, the user device obtains the first unlocking strategy in response to the user's input operation or entry operation on the corresponding password type interface.
[0070] It is understandable that the user can select at least one of numbers, letters, symbols, graphics, fingerprints, and emoticons as the first unlocking strategy, which meets the needs of different users for different forms of passwords and effectively improves the security protection effect of the user's device.
[0071] In some embodiments, to enter the protected mode lock screen state, such as Figure 5 As shown, the above S302 can be implemented in the following manner:
[0072] S401: The user device determines whether the user device is in a non-protection mode locked screen state.
[0073] S402: When the user equipment is in a non-protected mode locked screen state, the user equipment enters a protected mode locked screen state from the non-protected mode locked screen state.
[0074] S403: When the user device is in a non-protected mode screen unlocked state, the user device enters a protected mode screen locked state from the non-protected mode screen unlocked state.
[0075] It can be understood that since the first unlocking strategy used to unlock the protection mode lock screen state is different from the second unlocking strategy used to unlock the non-protection mode lock screen state, after the user starts the protection mode, only the first unlocking strategy can be used to unlock the protection mode lock screen state, which can effectively improve the security protection effect of the user's device.
[0076] Figure 6 A security policy execution device 500 is shown according to an exemplary embodiment. Figure 6 As shown, the security policy execution device 500 includes a determination unit 501 , an acquisition unit 502 and a processing unit 503 .
[0077] The determining unit 501 is configured to determine whether the user equipment is in a protection mode.
[0078] The acquisition unit 502 is used to acquire the number of times the user presses the user equipment within a first preset time period in response to the user pressing the user equipment after the determination unit 501 determines that the user equipment is in the protection mode.
[0079] The processing unit 503 is used to determine a target security policy corresponding to the number of presses from a plurality of security policies and execute the target security policy. The plurality of security policies include prohibiting the use of preset functions, prohibiting the use of preset apps, and deleting preset data and locking the screen.
[0080] Optional, such as Figure 6 As shown, in order to start the protection mode, the processing unit 503 is further used to:
[0081] In response to a user's protection mode activation operation on the user device, the protection mode is activated. The protection mode activation operation includes pressing at least two physical keys simultaneously for a second preset time, or the number of shakes performed within a third preset time is greater than a preset number.
[0082] Optional, such as Figure 6 As shown, after the protection mode is started, the processing unit 503 is further used to:
[0083] After the protection mode is started, the protection mode lock screen state is entered. The first unlocking strategy for unlocking the protection mode lock screen state is different from the second unlocking strategy for unlocking the non-protection mode lock screen state.
[0084] Optional, such as Figure 6 As shown, in order to enter the protection mode lock screen state, the processing unit 503 is specifically used to:
[0085] When the user device is in a non-protected mode lock screen state, enter the protected mode lock screen state from the non-protected mode lock screen state.
[0086] When the user device is in a non-protected mode screen unlock state, the protected mode screen lock state is entered from the non-protected mode screen unlock state.
[0087] Optional, such as Figure 6 As shown, the determination unit 501 is specifically used for:
[0088] Determines whether the user's device is in protected mode and the protected mode screen is unlocked.
[0089] Figure 7 FIG. 1 is a block diagram of an electronic device according to an exemplary embodiment. Figure 7 As shown, the electronic device 600 includes but is not limited to: a processor 601 and a memory 602 .
[0090] The memory 602 is used to store executable instructions of the processor 601. It can be understood that the processor 601 is configured to execute instructions to implement the security policy execution method in the above embodiment.
[0091] It should be noted that those skilled in the art can understand that Figure 7 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and the electronic device may include Figure 7 More or fewer components may be shown, or certain components may be combined, or the components may be arranged differently.
[0092] The processor 601 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 602, and calling data stored in the memory 602, it executes various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. The processor 601 may include one or more processing units. Optionally, the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes the execution of wireless security policies. It is understandable that the above-mentioned modem processor may not be integrated into the processor 601.
[0093] The memory 602 may be used to store software programs and various data. The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one functional module (such as a determination unit, a processing unit), etc. In addition, the memory 602 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0094] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory including instructions. The above instructions can be executed by a processor of an electronic device to implement the security policy execution method in the above embodiment.
[0095] In actual implementation, the functions of the determination unit 501, the acquisition unit 502 and the processing unit 503 can all be Figure 7 The processor 601 in the memory 602 calls the computer program stored in the memory 602 to implement. The specific execution process can refer to the description of the execution method of the security policy in the above embodiment, which will not be repeated here.
[0096] Optionally, the computer-readable storage medium may be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0097] In an exemplary embodiment, the present application also provides a computer program product including one or more instructions, and the one or more instructions can be executed by a processor of an electronic device to complete the method in the above embodiment.
[0098] It should be noted that when the instructions in the above-mentioned computer-readable storage medium or one or more instructions in the computer program product are executed by the processor of the electronic device, the various processes of the above-mentioned method embodiment are implemented, and the same technical effect as the above-mentioned method can be achieved. To avoid repetition, they will not be repeated here.
[0099] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0100] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or security policy execution connection shown or discussed can be through some interfaces, indirect coupling of devices or units or security policy execution connection, which can be electrical, mechanical or other forms.
[0101] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0102] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0103] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks or optical disks.
[0104] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for executing a security policy, characterized in that: Applied to a user device, pressure sensors are arranged on both sides of the user device, and the method comprises: Determining that the user device is in a protected mode screen unlock state in the protected mode; When the pressure pulse is greater than a preset threshold, obtaining, in response to the user's pressing operation on the user device, a number of times the user performs the pressing operation on the user device within a first preset time period; Determine a target security policy corresponding to the number of presses from a plurality of security policies, and execute the target security policy; the plurality of security policies include prohibiting the use of a preset function, prohibiting the use of a preset application APP, and deleting preset data and locking the screen; In response to the user's protection mode startup operation on the user device, the protection mode is started; the protection mode startup operation includes pressing at least two physical keys simultaneously and continuing for a second preset time length, or the number of shakes performed within a third preset time length is greater than a preset number.
2. The execution method according to claim 1, characterized in that: The method further comprises: After the protection mode is started, a protection mode lock screen state is entered; a first unlocking strategy for unlocking the protection mode lock screen state is different from a second unlocking strategy for unlocking the non-protection mode lock screen state.
3. The execution method according to claim 2, characterized in that: The step of entering the protection mode lock screen state includes: When the user equipment is in the non-protected mode locked screen state, entering the protected mode locked screen state from the non-protected mode locked screen state; When the user equipment is in a non-protected mode screen unlocked state, the protected mode screen locked state is entered from the non-protected mode screen unlocked state.
4. A security policy execution device, characterized in that: Applied to user equipment, the execution device includes a determination unit, an acquisition unit and a processing unit; The determining unit is used to determine that the user equipment is in a protection mode screen unlock state in the protection mode; The acquiring unit is configured to acquire, after the determining unit determines that the user equipment is in the protection mode, a number of presses performed by the user on the user equipment within a first preset time period in response to a press operation performed by the user on the user equipment; The processing unit is used to determine a target security policy corresponding to the number of pressing times from a plurality of security policies, and execute the target security policy; The multiple security policies include prohibiting the use of preset functions, prohibiting the use of preset application programs APP, and deleting preset data and locking the screen; The processing unit is further used for: In response to the user's protection mode startup operation on the user device, the protection mode is started; the protection mode startup operation includes pressing at least two physical keys simultaneously and continuing for a second preset time length, or the number of shakes performed within a third preset time length is greater than a preset number.
5. The execution device according to claim 4, characterized in that: The processing unit is further used for: After the protection mode is started, a protection mode lock screen state is entered; a first unlocking strategy for unlocking the protection mode lock screen state is different from a second unlocking strategy for unlocking the non-protection mode lock screen state.
6. The execution device according to claim 5, characterized in that: The processing unit is specifically used for: When the user equipment is in the non-protected mode locked screen state, entering the protected mode locked screen state from the non-protected mode locked screen state; When the user equipment is in a non-protected mode screen unlocked state, the protected mode screen locked state is entered from the non-protected mode screen unlocked state.
7. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the method according to any one of claims 1 to 3.
8. A computer-readable storage medium, characterized in that: When the computer-executable instructions stored in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can perform the method as claimed in any one of claims 1 to 3.
Citation Information
Patent Citations
Method for having access to safe mode in one-touch mode
CN103442141A
Data processing method, device and mobile terminal
CN105678171A
Terminal security protection method and device
WO2019090702A1
