Application privacy protection method and device, equipment and storage medium

By monitoring and closing the process of smartphone background applications, the problem of smartphone privacy leakage is solved, and higher privacy protection is achieved, and browsing traces are avoided.

CN119312378APending Publication Date: 2025-01-14XIAN ZHONGNUO COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310868331.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-14
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

The retention of background application processes on smartphones leads to the risk of privacy leakage, especially when screen projection or screen sharing, users' browsing traces may be directly exposed.

Method used

通过监测后台应用程序的标识,并与隐私保护列表进行匹配,关闭相关后台进程,以清除浏览痕迹,避免隐私泄露。

Benefits of technology

It effectively avoids users' direct exposure of previous browsing traces when opening the application again, improves privacy protection and enhances user privacy security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119312378A_ABST
    Figure CN119312378A_ABST
Patent Text Reader

Abstract

The invention relates to a privacy protection method and device of an application program, equipment and a storage medium, and the privacy protection method of the application program comprises the following steps: when it is monitored that the application program runs in a background, obtaining an identifier of the application program; obtaining identifiers of the application programs in the privacy protection list; and matching the identifier of the application program with the identifier of any application program in the privacy protection list, and if the identifier of the application program is matched with the identifier of any application program in the privacy protection list, closing the background process of the application program. According to the privacy protection method for the application program, the related application program can be monitored according to the privacy protection list set by the user, and the background process is closed in time, so that the browsing trace of the user on the application program is eliminated, and the user is prevented from directly exposing the previous browsing trace when opening the application program again.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of application technology, and in particular to a privacy protection method, apparatus, device and storage medium for an application. Background Art

[0002] The background of a smartphone can automatically retain the application process. Generally, when the user exits the application, the application process will be kept running in the background, so that when the user reopens the application, the application interface can be directly restored to the time when the user exited.

[0003] The above-mentioned background retention mechanism can bring a convenient experience to users, but at the same time it also creates the risk of privacy leakage. For example, when a user uses the screen projection or screen sharing functions of a smartphone at work, once the application is running in the background, when the application is opened, the content of the previously browsed page will be directly exposed in the screen projection or screen sharing, causing privacy leakage. Summary of the invention

[0004] Based on this, the purpose of this application is to propose a privacy protection method for an application to prevent the user from directly exposing previous browsing traces when opening the application again.

[0005] The present application embodiment discloses a privacy protection method for an application program, which is applied to a mobile terminal and includes the following steps:

[0006] When it is detected that an application is running in the background, obtaining an identification of the application;

[0007] Get the ID of the application in the privacy protection list;

[0008] The identifier of the application is matched with the identifier of any application in the privacy protection list. If the identifier of the application matches the identifier of any application in the privacy protection list, the background process of the application is closed to clear the browsing traces of the application.

[0009] The embodiment of the present application also discloses a privacy protection device for an application program, which is applied to a mobile terminal and includes:

[0010] A background monitoring module, used to obtain the identification of an application when it is detected that an application is running in the background;

[0011] A list monitoring module is used to obtain the identifiers of applications in the privacy protection list;

[0012] A process management module is used to match the identifier of the application with the identifier of any application in the privacy protection list. If the identifier of the application matches the identifier of any application in the privacy protection list, the background process of the application is closed to clear the browsing traces of the application.

[0013] An embodiment of the present application further discloses a computer device, including a memory and a processor; the memory is used to store a computer program; the processor is used to implement a method as described in any one of the embodiments of the present application when executing the computer program.

[0014] An embodiment of the present application further discloses a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute a method as described in any one of the embodiments of the present application.

[0015] When the embodiment of the present application detects that an application is running in the background, the identification of the application is obtained; the identification of the application in the privacy protection list is obtained; the identification of the application is matched with the identification of any application in the privacy protection list, and if the identification of the application matches the identification of any application in the privacy protection list, the background process of the application is closed. The embodiment of the present application can monitor the relevant applications and close the background processes in time according to the privacy protection list set by the user, so as to clear the user's browsing traces of the application and avoid the user directly exposing the previous browsing traces when opening the application again.

[0016] For better understanding and implementation, the present application is described in detail below with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 A flowchart of a privacy protection method for an application program according to an embodiment of the present application;

[0018] Figure 2 A flowchart of a privacy protection method for an application program according to an embodiment of the present application;

[0019] Figure 3 A flowchart of a privacy protection method for an application program according to an embodiment of the present application;

[0020] Figure 4 A schematic diagram of a privacy protection device for an application according to an embodiment of the present application;

[0021] Figure 5 A schematic diagram of the structure of a computer device according to an embodiment of the present application. DETAILED DESCRIPTION

[0022] Please refer to Figure 1 The present application embodiment discloses a privacy protection method for an application program, which is applied to a mobile terminal and includes the following steps:

[0023] S101: when it is detected that an application is running in the background, obtaining an identification of the application;

[0024] S102: Obtaining the identifier of the application in the privacy protection list;

[0025] S103: Match the identifier of the application with the identifier of any application in the privacy protection list. If the identifier of the application matches the identifier of any application in the privacy protection list, close the background process of the application to clear the browsing traces of the application.

[0026] When the embodiment of the present application detects that an application is running in the background, the identification of the application is obtained; the identification of the application in the privacy protection list is obtained; the identification of the application is matched with the identification of any application in the privacy protection list, and if the identification of the application matches the identification of any application in the privacy protection list, the background process of the application is closed. The embodiment of the present application can monitor the relevant applications and close the background processes in time according to the privacy protection list set by the user, so as to clear the user's browsing traces of the application and avoid the user directly exposing the previous browsing traces when opening the application again.

[0027] The execution subject of the privacy protection method of the application described in the embodiment of the present application is a mobile terminal, such as a smart phone, a tablet, etc.

[0028] In step S101, it is monitored whether there is an application running in the background, and when it is detected that there is an application running in the background, an identifier of the application is obtained.

[0029] Taking the Android system as an example, each APP has an APP identifier (UID), and the APP processes running in the system will also be marked with the corresponding APP identifier. Therefore, the APP identifier can be used to determine which APP the running process in the system belongs to. When multiple APP processes are running simultaneously in the mobile terminal, different APP processes have different priorities. The APP with the highest priority is displayed on the interactive interface of the mobile terminal, that is, it is in the foreground; while other processes with relatively low priorities will not be displayed on the interactive interface of the mobile terminal, that is, they are in the background. Therefore, when it is necessary to monitor whether there is an application running in the background, the process information running in the system can be obtained, and the priority information of the process can be used to determine whether it is the highest priority. If it is not the highest priority, it means that the process is running in the background, so that it can be determined that there is an application running in the background, otherwise it is determined that there is no application running in the background. Further, when it is detected that there is an application running in the background, the APP identifier of the process of the application is obtained.

[0030] In one embodiment, when it is detected that an application is running in the background, the step of obtaining the identification of the application includes:

[0031] It is monitored whether there is an application running in the background according to a preset period, and when it is detected that there is an application running in the background, an identifier of the application is obtained.

[0032] This embodiment performs monitoring according to a preset period, wherein the preset period can be set according to the situation, for example, set to 0.2 seconds, then the running process information in the system is obtained every 0.2 seconds and it is determined whether there is a process running in the background.

[0033] Please refer to Figure 2 In one embodiment, when it is detected that an application is running in the background, before the step of obtaining the identification of the application, the method further includes:

[0034] Step S100: Acquire usage status information of the mobile terminal; the usage status information is used to indicate the degree of privacy of the use of the mobile terminal; if the usage status information of the mobile terminal is preset status information, monitor whether there is an application running in the background.

[0035] In this embodiment, it is first determined whether the use environment of the mobile terminal is private. When the privacy level of the mobile terminal is not enough, the privacy protection of the applications in the privacy protection list is performed, that is, the background process is monitored and closed; if the privacy level can meet certain requirements, there is no need to perform privacy protection on the applications in the privacy protection list. Specifically, it is determined by obtaining the use status information of the mobile terminal. When the use status information of the mobile terminal is the preset status information, it means that the privacy level of the use environment of the mobile terminal is not enough, and privacy protection is required. The use status information is used to indicate the use privacy level of the mobile terminal; the preset status information is used to indicate that the use privacy level of the mobile terminal is low or lower than the user's requirements, which can be set according to the situation. It should be noted that in different situations, the situations that may cause privacy exposure are different, and the focus of the use status information may also be different. Specifically, it can be determined according to the actual scenario which information of the mobile terminal is set as the use status information and monitored. For example, when considering the scenario of screen projection or screen sharing, the permission status information of the screen recording permission of the mobile terminal system is the object that needs to be monitored, which is the use status information that needs to be monitored.

[0036] In a specific embodiment, the step of obtaining the usage status information of the mobile terminal in step S100 includes:

[0037] Get the system's screen recording permission status information;

[0038] If the usage status information of the mobile terminal in step S100 is the preset status information, the step of monitoring whether there is an application running in the background includes:

[0039] If the permission status information is authorization status information, it is monitored whether there is an application running in the background.

[0040] This embodiment specifically provides protection for scenarios such as screen projection or screen sharing that may cause the exposure of application browsing privacy. In this scenario, by obtaining the permission status information of the system's screen recording permission, it is determined whether the system's screen recording permission is authorized. If the permission status information of the screen recording is authorized, it means that the mobile terminal is using sensitive functions such as screen projection or screen sharing. At this time, the privacy level of the mobile terminal is low, so it is necessary to protect the privacy of the applications in the privacy protection list.

[0041] In one embodiment, the privacy protection method of the application further includes the steps of:

[0042] When receiving a closing instruction or an opening instruction from the user, in response to the closing instruction, stop monitoring whether there is an application running in the background; in response to the opening instruction, monitor whether there is an application running in the background.

[0043] In this embodiment, the user can choose whether to perform privacy protection. The user can turn on the privacy protection function when privacy protection is needed, otherwise the privacy protection function can be turned off to avoid clearing the background process of the application program when it is unnecessary, which affects the user experience.

[0044] For step S102, the identifier of the application in the privacy protection list is obtained;

[0045] Among them, the privacy protection list is a list for storing the identifiers of applications that need privacy protection, which can be a database or data table in the memory of the mobile terminal. The privacy protection list can be embodied in a visual form in the mobile terminal, and the relevant interactive design can be carried out as needed, so that the privacy protection list can intuitively display the applications saved therein in the interactive interface of the mobile terminal. Furthermore, the privacy protection list can be designed as a window component on the desktop of the mobile terminal, wherein a number of controls are provided in the window component for responding to user operations, obtaining the identifiers of applications that the user wants to protect privacy according to the user's operating instructions, and adding them to the database or data table, thereby protecting the privacy of the relevant applications, and the privacy protection function can also be turned off or on according to the user's operating instructions.

[0046] Please refer to Figure 3 In one embodiment, the privacy protection method of the application further comprises the steps of:

[0047] S104: When receiving the user's adding instruction, monitoring the user's selection operation on any application on the mobile terminal; obtaining the identifier of the selected application, and recording the identifier of the application in the privacy protection list.

[0048] This embodiment implements privacy protection by allowing users to add applications to a privacy protection list. Specifically, the adding instruction can be issued by adding a control. The adding control can be set in the above-mentioned desktop window component or in a setting page of a mobile terminal. This embodiment obtains the identifier of the selected application according to the user's selection, and records the identifier of the application in the privacy protection list, thereby performing privacy protection on the application selected by the user.

[0049] For step S103, the identifier of the application is matched with the identifier of any application in the privacy protection list. If the identifier of the application matches the identifier of any application in the privacy protection list, the background process of the application is closed to clear the browsing traces of the application.

[0050] In this step, when the identifier of the application running in the background matches the identifier of any application in the privacy protection list, it means that the application running in the background is the application that needs privacy protection, so the background process of the application is closed to clear the browsing traces left by the user in the application. After the background process of the application is closed, the next time the user opens the application, it will not be restored to the browsing page when exiting, but the initialized welcome page will be displayed. Therefore, the exposure of the user's browsing traces in the application is avoided.

[0051] In one embodiment, in step S103, if the identification of the application matches the identification of any application in the privacy protection list, the step of closing the background process of the application includes:

[0052] If the identifier of the application matches the identifier of any application in the privacy protection list, obtaining the current time;

[0053] If the current time is within a preset privacy protection time period, the background process of the application is closed.

[0054] In this embodiment, the user can set a privacy protection time period. Only during the set privacy protection time period will privacy protection be performed and the background process of the application program be closed; otherwise, privacy protection will not be performed and the background process of the application program does not need to be closed. The privacy protection time period can be set according to user needs, for example, it can be set to the time period of 15:00-17:00.

[0055] In another embodiment, if the identification of the application matches the identification of any application in the privacy protection list, the step of closing the background process of the application includes:

[0056] If the identifier of the application matches the identifier of any application in the privacy protection list, obtaining the duration of the application running in the background;

[0057] If the duration exceeds a preset time threshold, the background process of the application is closed.

[0058] Considering that in some cases the user does not really want to exit the application, but accidentally triggers the exit, or sometimes the user only temporarily switches the application, but does not want the background process of the application to be closed immediately. Therefore, in this embodiment, the user can set a time threshold, and the background process of the application will only be closed when the duration of the application running in the background exceeds the preset time threshold, otherwise it will not be closed. Among them, the duration of the application running in the background is calculated from the time when the application is monitored to be running in the background; the preset time threshold can be set according to user needs, for example, set to 10 seconds. In one example, the preset time threshold is set to 10 seconds. Therefore, as long as the user exits the application and opens the application again within 10 seconds, the duration of the application running in the background does not exceed 10 seconds, and the background process of the application will not be closed.

[0059] In one embodiment, the judgment can be made in combination with the two conditions of duration and preset time period, and if the identification of the application matches the identification of any application in the privacy protection list, the step of closing the background process of the application includes:

[0060] If the identifier of the application matches the identifier of any application in the privacy protection list, obtaining the current time and the duration of the application running in the background;

[0061] If the current time is within the preset privacy protection time period and the duration exceeds a preset time threshold, the background process of the application is closed.

[0062] In this embodiment, the background process of the application is closed only when the duration of the application running in the background exceeds the preset time threshold and is within the preset privacy protection time period, otherwise the background process of the application is not closed. The user can set the privacy protection time period and the preset time threshold according to the actual situation, so that the privacy protection function better meets the actual privacy protection needs and brings the user a better user experience.

[0063] Please refer to Figure 4 The embodiment of the present application also discloses a privacy protection device for an application program, which is applied to a mobile terminal and includes:

[0064] The background monitoring module 201 is used to obtain the identification of the application when it is detected that there is an application running in the background;

[0065] A list monitoring module 202, used to obtain the identifiers of the applications in the privacy protection list;

[0066] The process management module 203 is used to match the identifier of the application with the identifier of any application in the privacy protection list. If the identifier of the application matches the identifier of any application in the privacy protection list, the background process of the application is closed to clear the browsing traces of the application.

[0067] It should be noted that the privacy protection device of the application provided in the above embodiment only uses the division of the above functional modules as an example when executing the privacy protection method of the application. In actual applications, the above 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. In addition, the privacy protection device of the application provided in the above embodiment and the privacy protection method of the application belong to the same concept. The implementation process is detailed in the privacy protection method embodiment of the above application, which will not be repeated here.

[0068] Please refer to Figure 5 The embodiment of the present application further discloses a computer device 301, including a memory 302, a processor 303, and a computer program 304 stored in the memory 302; when the processor 303 executes the computer program 304, the steps of the method described in any of the above embodiments are implemented.

[0069] Among them, the processor 303 may include one or more processing cores. The processor 303 uses various interfaces and lines to connect various parts in the computer device 301, and executes various functions and processes data of the computer device 301 by running or executing instructions, programs, code sets or instruction sets stored in the memory 302, and calling the data in the memory 302. Optionally, the processor 303 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programble Logic Array, PLA). The processor 303 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (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 the content to be displayed on the touch display; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 303, and it can be implemented separately through a chip.

[0070] Among them, the memory 302 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 302 includes a non-transitory computer-readable storage medium. The memory 302 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 302 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 at least one function (such as touch instructions, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 302 may also be optionally at least one storage device located away from the aforementioned processor 303.

[0071] The present application embodiment also discloses a computer-readable storage medium, on which a computer program is stored, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to perform the method described in any of the above embodiments. That is, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including several instructions to make a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) perform all or part of the steps of the method described in each embodiment of the present application. The computer program may include a computer program code, which may be in the form of source code, object code, executable file or some intermediate form, etc. The aforementioned storage medium includes: any entity or device capable of carrying a computer program code, a recording medium, a U disk, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electric carrier signal, a telecommunication signal, and a software distribution medium, etc.

[0072] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several modifications and improvements can be made without departing from the concept of the present application, and the present application is also intended to include such modifications and modifications.

Claims

1. A privacy protection method for an application, characterized in that: Applied to the mobile terminal, including the following steps: When it is detected that an application is running in the background, obtaining an identification of the application; Get the ID of the application in the privacy protection list; The identification of the application is matched with the identification of any application in the privacy protection list. If the identification of the application matches the identification of any application in the privacy protection list, the background process of the application is closed to clear the browsing traces of the application.

2. The privacy protection method for an application according to claim 1, characterized in that: Also includes the steps: When receiving the user's adding instruction, monitoring the user's selection operation on any application on the mobile terminal; The identifier of the selected application is obtained, and the identifier of the application is recorded in the privacy protection list.

3. The privacy protection method for an application according to claim 1, characterized in that: If the identification of the application matches the identification of any application in the privacy protection list, the step of closing the background process of the application includes: If the identifier of the application matches the identifier of any application in the privacy protection list, obtaining the current time; If the current time is within a preset privacy protection time period, the background process of the application is closed.

4. The privacy protection method for an application according to claim 1, characterized in that: If the identification of the application matches the identification of any application in the privacy protection list, the step of closing the background process of the application includes: If the identifier of the application matches the identifier of any application in the privacy protection list, obtaining the duration of the application running in the background; If the duration exceeds a preset time threshold, the background process of the application is closed.

5. The privacy protection method for an application according to any one of claims 1 to 4, characterized in that: Before the step of obtaining the identification of the application program when it is detected that the application program is running in the background, the method further includes: Acquire usage status information of the mobile terminal; the usage status information is used to indicate the degree of privacy of the use of the mobile terminal; If the usage status information of the mobile terminal is the preset status information, it is monitored whether there is an application running in the background.

6. The privacy protection method for an application according to claim 5, characterized in that: The step of obtaining the usage status information of the mobile terminal includes: Get the system's screen recording permission status information; If the usage status information of the mobile terminal is the preset status information, the step of monitoring whether there is an application running in the background includes: If the permission status information is authorization status information, it is monitored whether there is an application running in the background.

7. The privacy protection method for an application according to any one of claims 1 to 4, characterized in that: When it is detected that an application is running in the background, the step of obtaining the identification of the application includes: It is monitored whether there is an application running in the background according to a preset period, and when it is detected that there is an application running in the background, an identifier of the application is obtained.

8. A privacy protection device for an application, characterized in that: Applied to mobile terminals, including: A background monitoring module, used to obtain the identification of an application when it is detected that an application is running in the background; A list monitoring module is used to obtain the identifiers of applications in the privacy protection list; A process management module is used to match the identifier of the application with the identifier of any application in the privacy protection list. If the identifier of the application matches the identifier of any application in the privacy protection list, the background process of the application is closed to clear the browsing traces of the application.

9. A computer device, characterized in that: The method comprises a memory and a processor; the memory is used to store a computer program; the processor is used to implement the method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 7.