Method, device and medium for protecting user privacy information
By providing the option to close or maintain permissions when making cross-application calls, the problem of users not being able to know about application permission calls in a timely manner is solved, users can actively control their privacy information, and the effectiveness of privacy protection is improved.
Patent Information
- Application Number
- CN202010540101.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-12
- Publication Date
- 2025-10-21
- Estimated Expiration
- 2040-06-12
AI Technical Summary
After installing a new app, users cannot promptly know when the app invokes the privacy permissions of an already installed app, resulting in incomplete protection of privacy information.
When a cross-application call is detected, if the calling application is running in the background and the called application involves permission restrictions, the option of closing or maintaining the calling application is provided, and the call information is detected through the permission management service to determine the running status of the application. The user can choose the degree of permission restriction as needed.
Users gain control over the calling application and can close or keep the application running in a timely manner, improving the protection of privacy information.
Smart Images

Figure CN113806695B_ABST
Abstract
Description
Technical Field
[0001] This article relates to the field of mobile terminal data processing technology, and in particular to a method, device and medium for protecting user privacy information. Background Art
[0002] Many applications in mobile terminals involve users' private information, such as identity information, contact information, multimedia information, etc.
[0003] After a first application is newly installed and obtains the permission of another installed second application, during actual use, the user does not know when the first application will call the second application, that is, does not know when the first application uses the permission involving user privacy in the second application.
[0004] As users' awareness of privacy protection increases, more detailed permission management methods are urgently needed. Summary of the Invention
[0005] To overcome the problems existing in the related art, this article provides a method, device and medium for protecting user privacy information.
[0006] According to a first aspect of an embodiment of this document, a method for protecting user privacy information is provided, including:
[0007] When it is detected that the calling application in a cross-application call is running in the background and the callee is subject to permission restrictions, an option for closing the calling application is displayed;
[0008] After receiving the touch information for the option for closing the calling application, the running of the calling application is terminated.
[0009] In one embodiment, the method further includes: displaying an option for maintaining the caller application, and maintaining the running of the caller application after receiving touch information for the option for maintaining the caller application.
[0010] In one embodiment, the method further includes: displaying more than one permission restriction setting options, different permission restriction setting options corresponding to different permission restriction levels, and setting the permission restriction level according to the permission restriction setting option selected by the user.
[0011] In one embodiment, the permission restriction degree setting option includes: a first degree setting option and a second degree setting option;
[0012] The first degree setting option corresponds to the following method for determining the running location of the caller application: querying a foreground running application set in the activity management service, and when the caller application belongs to the foreground running application set, determining that the caller application is running in the foreground; when the caller application does not belong to the foreground running application set, determining that the caller application is running in the background;
[0013] The second-level setting option corresponds to the following method for determining the running location of the caller application: determining the process of the caller application, and when the process of the caller application belongs to the set of running processes maintained in the permission management service, determining that the caller application is running in the foreground; when the process of the caller application does not belong to the set of running processes maintained in the permission management service, determining that the caller application is running in the background.
[0014] In one embodiment, the method further comprises: detecting that, in a cross-application call, the caller application is running in the background and the callee application involves permission restrictions;
[0015] The detection that the calling application in the cross-application call is running in the background and the called party is involved in permission restrictions includes: the permission management service receives call information of the management class instant call function, or receives call information of the management class continuous call function; determines that the calling application in the call information is running in the background and the called party is involved in permission restrictions.
[0016] According to a second aspect of the embodiments of this document, a device for protecting user privacy information is provided, including:
[0017] A first display module is configured to display an option for closing the calling application when it is detected that the calling application is running in the background and the callee is subject to permission restrictions in a cross-application call;
[0018] A first receiving module is configured to receive touch information for the option for closing the calling application;
[0019] The first processing module is configured to terminate the running of the calling application after the first receiving module receives the touch information for the option for closing the calling application.
[0020] In one embodiment, the device further comprises:
[0021] a second display module, configured to display an option for maintaining the caller application;
[0022] a second receiving module, configured to receive touch information for the option for maintaining the calling application;
[0023] The second processing module is further configured to receive, through the second receiving module, touch information for the option for maintaining the calling application, and maintain the running of the calling application.
[0024] In one embodiment, the device further comprises:
[0025] a third display module, configured to display one or more permission restriction setting options, wherein different permission restriction setting options correspond to different permission restriction levels;
[0026] The third processing module is used to set the permission restriction level according to the permission restriction level setting option selected by the user.
[0027] In one embodiment, the permission restriction degree setting option includes: a first degree setting option and a second degree setting option;
[0028] The first degree setting option corresponds to the following method for determining the running location of the caller application: querying a foreground running application set in the activity management service, and when the caller application belongs to the foreground running application set, determining that the caller application is running in the foreground; when the caller application does not belong to the foreground running application set, determining that the caller application is running in the background;
[0029] The second-level setting option corresponds to the following method for determining the running location of the caller application: determining the process of the caller application, and when the process of the caller application belongs to the set of running processes maintained in the permission management service, determining that the caller application is running in the foreground; when the process of the caller application does not belong to the set of running processes maintained in the permission management service, determining that the caller application is running in the background.
[0030] In one embodiment, the apparatus further comprises a detection module for detecting that, in a cross-application call, the caller application is running in the background and the callee application involves permission restrictions;
[0031] The detection module includes:
[0032] A receiving module, configured to receive, through a rights management service, call information of a management class instant call function, or receive call information of a management class continuous call function;
[0033] The determination module is used to determine in the calling information that the calling application is running in the background and the called application involves permission restrictions.
[0034] According to a third aspect of the embodiments of this document, there is provided an apparatus for protecting user privacy information, including:
[0035] processor;
[0036] a memory for storing processor-executable instructions;
[0037] Wherein, the processor is configured to:
[0038] When it is detected that the calling application in a cross-application call is running in the background and the callee is subject to permission restrictions, an option for closing the calling application is displayed;
[0039] After receiving the touch information for the option for closing the calling application, the running of the calling application is terminated.
[0040] According to a fourth aspect of the embodiments of this document, a non-transitory computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor of a mobile terminal, the mobile terminal is enabled to perform a method for protecting user privacy information, the method comprising:
[0041] When it is detected that the calling application in a cross-application call is running in the background and the callee is subject to permission restrictions, an option for closing the calling application is displayed;
[0042] After receiving the touch information for the option for closing the calling application, the running of the calling application is terminated.
[0043] The technical solution provided by the embodiments of this article may include the following beneficial effects: when the calling application runs in the background during a cross-application call and the called application involves permission restrictions, a way is provided to the user to close the application, so that the user has control over closing the application, thereby protecting the user's personal privacy information.
[0044] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present invention and, together with the description, serve to explain the principles of the present invention.
[0046] Figure 1 is a flow chart showing a method for protecting user privacy information according to an exemplary embodiment;
[0047] Figure 2 is a structural diagram of a device for protecting user privacy information according to an exemplary embodiment;
[0048] Figure 3 The figure is a structural diagram of a device for protecting user privacy information according to an exemplary embodiment. DETAILED DESCRIPTION
[0049] Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of this disclosure, as detailed in the appended claims.
[0050] The present disclosure provides a method for protecting user privacy information. Figure 1 , Figure 1 FIG. 1 is a flow chart showing a method for protecting user privacy information according to an exemplary embodiment. Figure 1 As shown, this method includes:
[0051] Step S11: When it is detected that the caller application is running in the background and the callee is subject to permission restrictions in a cross-application call, an option for closing the caller application is displayed; Step S12: After receiving touch information for the option for closing the caller application, the operation of the caller application is terminated.
[0052] The callee is an application, such as a contact application, a photo album application, a call log application, etc. Alternatively, the callee is a system service, such as a location service or a recording service.
[0053] In this embodiment, when the calling application runs in the background during a cross-application call and the called application is subject to permission restrictions, a way is provided to the user to close the application, giving the user control over closing the application, thereby protecting the user's personal privacy information.
[0054] The present disclosure provides a method for protecting user privacy information, which includes: Figure 1 The method shown also includes: displaying an option for maintaining the caller application, and maintaining the operation of the caller application after receiving touch information for the option for maintaining the caller application.
[0055] In one embodiment, the option for closing the calling application is displayed while the option for maintaining the calling application is displayed, for example, the two options are displayed simultaneously in the same notification box.
[0056] In this embodiment, when it is detected that the caller application is running in the background and the callee application is subject to permission restrictions in a cross-application call, in addition to providing the user with a way to close the caller application, the user is also provided with a way to maintain the caller application, so that the user has control over the caller application and can close or maintain the caller application according to usage needs.
[0057] A method for protecting user privacy information is provided in an embodiment of the present disclosure. This method includes the method in the previous embodiment, and also includes: displaying more than one permission restriction setting option, different permission restriction setting options corresponding to different permission restriction levels, and setting the permission restriction level according to the permission restriction setting option selected by the user.
[0058] In one embodiment, after receiving touch information for the option to maintain the caller application, one or more permission restriction level setting options are displayed. Alternatively, when no cross-application call is detected and the callee application is running in the background and permission restrictions are involved, one or more permission restriction level setting options are displayed. Alternatively, after powering on or restarting the device, one or more permission restriction level setting options are displayed.
[0059] In one embodiment, the permission restriction degree setting option includes: a first degree setting option and a second degree setting option.
[0060] The first degree setting option corresponds to the following method for determining the running location of the caller application: querying a foreground running application set in the activity management service, and when the caller application belongs to the foreground running application set, determining that the caller application is running in the foreground; when the caller application does not belong to the foreground running application set, determining that the caller application is running in the background;
[0061] The second-level setting option corresponds to the following method for determining the running location of the caller application: determining the process of the caller application, and when the process of the caller application belongs to the set of running processes maintained in the permission management service, determining that the caller application is running in the foreground; when the process of the caller application does not belong to the set of running processes maintained in the permission management service, determining that the caller application is running in the background.
[0062] The first-level setting option corresponds to the following method for determining the running location of the calling application: the applications included in the foreground running application set in the activity management service are applications that receive user interaction information, or are the applications that are at the forefront of the current display interface. Applications that are not displayed on the current interface but are running and have interactive output are not included in the foreground running application set in the activity management service. For example, an application that is not displayed on the current interface but is running and outputting audio data is not included in the foreground running application set in the activity management service.
[0063] The second level setting option corresponds to the following method for determining the running location of the calling application. An application that is not displayed on the current interface but is running and has interactive output belongs to the foreground application. For example, an application that is not displayed on the current interface but is running and outputs audio data belongs to the foreground application.
[0064] In this embodiment, the method for determining whether the application is running in the foreground is adjusted, and the conditions for determining whether the application is running in the foreground are adjusted, so that the user has the control right to adjust the degree of permission restriction.
[0065] The present invention provides a method for protecting user privacy information. Figure 1 The method shown, and in step S11, it is detected that the calling application in the cross-application call is running in the background and the called application involves permission restrictions;
[0066] The detection that the calling application in the cross-application call is running in the background and the called party is involved in permission restrictions includes: the permission management service receives call information of the management class instant call function, or receives call information of the management class continuous call function; determines that the calling application in the call information is running in the background and the called party is involved in permission restrictions.
[0067] In one embodiment, determining whether the called party involves permission restrictions includes: when the called party is an application, determining whether the called party belongs to a set application set; when the called party belongs to a set application set, determining that the called party involves permission restrictions; when the called party does not belong to a set application set, determining that the called party does not involve permission restrictions. When the called party is a system service, determining whether the called party belongs to a set service set; when the called party belongs to a set service set, determining that the called party involves permission restrictions; when the called party does not belong to a set service set, determining that the called party does not involve permission restrictions. The set application set includes system default applications involving permission restrictions, and / or user-marked applications involving permission restrictions. The set service set includes system default services involving permission restrictions, and / or user-marked services involving permission restrictions.
[0068] In this method, the permission management service in the framework layer is improved so that the permission management service can detect that the caller application is running in the background and the callee is involved in permission restrictions in a cross-application call, and a permission management application is set in the application layer so that the permission management application assists in displaying the option for closing the caller application. The corresponding management service of the callee in the framework layer receives a call request and calls the corresponding calling function when verifying the permission. The permission management service learns of the call and the caller application and the callee of the calling function, determines the identification information of the caller application based on the caller application, determines the representation information of the callee based on the callee, and notifies the permission management application of the determination of the representation information of the callee (for example, notifying the permission management application in an asynchronous and cross-process manner). The permission management application learns the identification information of the caller application and determines the entry to close the caller application.
[0069] In this embodiment, obtaining a cross-application call operation includes: receiving call information of an instant call function of the application operation management (AppOpsManager) class, or receiving call information of a continuous call function of the application operation management (AppOpsManager) class.
[0070] The continuously called function is the startOp function, an Application Programming Interface (API) in the AppOpsManager class. The StartOp function's parameters include the operation name (op) in string format, the source identifier (uid) in integer format, and the package name (packageName) in string format. The operation name is the name of the called application, the source identifier is the caller's application code, and the package name is the unique identifier of the calling application in the system. The StartOp function is used to execute calls continuously for a certain duration.
[0071] The instantaneous call function is the noteOp function, which is an application programming interface (API) in the AppOpsManager class. The parameters of the noteOp function include: the operation name (op) in string format, the source identifier (uid) in integer format, and the package name (packageName) in string format. The operation name refers to the name of the called party, the source identifier is the label code of the caller application, and the package name refers to the unique identifier of the caller application in the system. The function corresponding to the StartOp function is a single execution call. The present disclosure provides a device for protecting user privacy information, with reference to Figure 2 , Figure 2 FIG. 1 is a structural diagram of a device for protecting user privacy information according to an exemplary embodiment. Figure 2 As shown, this device includes:
[0072] A first display module 201 is configured to display an option for closing the calling application when it is detected that the calling application is running in the background and the callee is subject to permission restrictions in a cross-application call;
[0073] A first receiving module 202 is configured to receive touch information for the option for closing the calling application;
[0074] The first processing module 203 is configured to terminate the running of the calling application after the first receiving module receives the touch information for the option for closing the calling application.
[0075] The present disclosure provides a device for protecting user privacy information, which includes: Figure 2 The device shown in FIG. 1 further comprises:
[0076] a second display module, configured to display an option for maintaining the caller application;
[0077] a second receiving module, configured to receive touch information for the option for maintaining the calling application;
[0078] The second processing module is further configured to receive, through the second receiving module, touch information for the option for maintaining the calling application, and maintain the running of the calling application.
[0079] An embodiment of the present disclosure provides a device for protecting user privacy information. The device includes the device of the previous embodiment and further includes:
[0080] a third display module, configured to display one or more permission restriction setting options, wherein different permission restriction setting options correspond to different permission restriction levels;
[0081] The third processing module is used to set the permission restriction level according to the permission restriction level setting option selected by the user.
[0082] In one embodiment, the permission restriction degree setting option includes: a first degree setting option and a second degree setting option.
[0083] The first degree setting option corresponds to the following method for determining the running location of the caller application: querying a foreground running application set in the activity management service, and when the caller application belongs to the foreground running application set, determining that the caller application is running in the foreground; when the caller application does not belong to the foreground running application set, determining that the caller application is running in the background;
[0084] The second-level setting option corresponds to the following method for determining the running location of the caller application: determining the process of the caller application, and when the process of the caller application belongs to the set of running processes maintained in the permission management service, determining that the caller application is running in the foreground; when the process of the caller application does not belong to the set of running processes maintained in the permission management service, determining that the caller application is running in the background.
[0085] An embodiment of the present disclosure provides a device for protecting user privacy information. The device includes the device of the previous embodiment and further includes:
[0086] A detection module is used to detect in cross-application calls that the calling application is running in the background and the called application is subject to permission restrictions;
[0087] The detection module includes:
[0088] A receiving module, configured to receive, through a rights management service, call information of a management class instant call function, or receive call information of a management class continuous call function;
[0089] The determination module is used to determine in the calling information that the calling application is running in the background and the called application involves permission restrictions.
[0090] The present disclosure provides a device for protecting user privacy information, including:
[0091] processor;
[0092] a memory for storing processor-executable instructions;
[0093] Wherein, the processor is configured to:
[0094] When it is detected that the calling application in a cross-application call is running in the background and the callee is subject to permission restrictions, an option for closing the calling application is displayed;
[0095] After receiving the touch information for the option for closing the calling application, the running of the calling application is terminated.
[0096] In an embodiment of the present disclosure, a non-transitory computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor of a mobile terminal, the mobile terminal is enabled to perform a method for protecting user privacy information, the method comprising:
[0097] When it is detected that the calling application in a cross-application call is running in the background and the callee is subject to permission restrictions, an option for closing the calling application is displayed;
[0098] After receiving the touch information for the option for closing the calling application, the running of the calling application is terminated.
[0099] Figure 3 FIG3 is a block diagram illustrating an apparatus 300 for determining performance parameters of a speech enhancement algorithm according to an exemplary embodiment. For example, apparatus 300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like.
[0100] Reference Figure 3, apparatus 300 may include one or more of the following components: a processing component 302 , a memory 304 , a power component 306 , a multimedia component 308 , an audio component 310 , an input / output (I / O) interface 312 , a sensor component 314 , and a communication component 316 .
[0101] The processing component 302 generally controls the overall operation of the device 300, such as operations associated with display, phone calls, data communications, camera operation, and recording operations. The processing component 302 may include one or more processors 320 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 302 may include one or more modules to facilitate interaction between the processing component 302 and other components. For example, the processing component 302 may include a multimedia module to facilitate interaction between the multimedia component 303 and the processing component 302.
[0102] The memory 304 is configured to store various types of data to support operations on the device 300. Examples of such data include instructions for any application or method operating on the device 300, contact data, phone book data, messages, pictures, videos, etc. The memory 304 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.
[0103] The power supply component 306 provides power to the various components of the device 300. The power supply component 306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device 300.
[0104] The multimedia component 303 includes a screen that provides an output interface between the device 300 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor can not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 303 includes a front camera and / or a rear camera. When the device 300 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have a focal length and optical zoom capability.
[0105] The audio component 310 is configured to output and / or input audio signals. For example, the audio component 310 includes a microphone (MIC) that is configured to receive external audio signals when the device 300 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 304 or transmitted via the communication component 316. In some embodiments, the audio component 310 further includes a speaker for outputting audio signals.
[0106] I / O interface 312 provides an interface between processing component 302 and peripheral interface modules, such as a keyboard, click wheel, buttons, etc. These buttons may include but are not limited to: a home button, volume buttons, a start button, and a lock button.
[0107] The sensor assembly 314 includes one or more sensors for providing various aspects of the status assessment of the device 300. For example, the sensor assembly 314 can detect the open / closed state of the device 300, the relative positioning of components, such as the display and keypad of the device 300. The sensor assembly 314 can also detect changes in the position of the device 300 or a component of the device 300, the presence or absence of user contact with the device 300, the orientation or acceleration / deceleration of the device 300, and temperature changes of the device 300. The sensor assembly 314 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 314 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 314 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0108] The communication component 316 is configured to facilitate wired or wireless communication between the device 300 and other devices. The device 300 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 316 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 316 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0109] In an exemplary embodiment, the apparatus 300 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-described method.
[0110] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 304 including instructions, which can be executed by the processor 320 of the apparatus 300 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0111] Other embodiments of the present invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present invention being indicated by the following claims.
[0112] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof, which is limited only by the appended claims.
Claims
1. A method for protecting user privacy information, characterized in that: include: When it is detected that the calling application in a cross-application call is running in the background and the callee is subject to permission restrictions, an option for closing the calling application is displayed; After receiving the touch information for the option for closing the calling application, terminating the running of the calling application; The method further includes: displaying an option for maintaining the caller application, maintaining the operation of the caller application after receiving touch information for the option for maintaining the caller application, and, Displaying one or more permission restriction setting options, where different permission restriction setting options correspond to different permission restriction levels, and setting the permission restriction level according to the permission restriction setting option selected by the user, wherein the permission restriction setting option is associated with the running location of the calling application; The permission restriction degree setting options include: a first degree setting option and a second degree setting option; wherein the first degree setting option corresponds to a method for determining the running location of a calling application, in which an application that is not displayed on the current interface but is running and has interactive output is not considered a foreground application; The second level setting option corresponds to a method for determining the running location of a calling application, in which an application that is not displayed on the current interface but is running and has interactive output is considered a foreground application.
2. The method according to claim 1, wherein The first degree setting option corresponds to the following method for determining the running location of the caller application: querying a foreground running application set in the activity management service, and when the caller application belongs to the foreground running application set, determining that the caller application is running in the foreground; when the caller application does not belong to the foreground running application set, determining that the caller application is running in the background; The second-level setting option corresponds to the following method for determining the running location of the caller application: determining the process of the caller application, and when the process of the caller application belongs to the set of running processes maintained in the permission management service, determining that the caller application is running in the foreground; when the process of the caller application does not belong to the set of running processes maintained in the permission management service, determining that the caller application is running in the background.
3. The method according to claim 1, wherein The method further includes: detecting that, in a cross-application call, the calling application is running in the background and the called application involves permission restrictions; The detection that the calling application in the cross-application call is running in the background and the called party is involved in permission restrictions includes: the permission management service receives call information of the management class instant call function, or receives call information of the management class continuous call function; determines that the calling application in the call information is running in the background and the called party is involved in permission restrictions.
4. A device for protecting user privacy information, characterized in that: include: A first display module is configured to display an option for closing the calling application when it is detected that the calling application is running in the background and the callee is subject to permission restrictions in a cross-application call; A first receiving module is configured to receive touch information for the option for closing the calling application; a first processing module, configured to terminate the running of the calling application after the first receiving module receives the touch information for the option for closing the calling application; The device further comprises: a second display module, configured to display an option for maintaining the caller application; a second receiving module, configured to receive touch information for the option for maintaining the calling application; The second processing module is further configured to receive, at the second receiving module, touch information for the option for maintaining the caller application, and maintain the operation of the caller application; The device further includes: a third display module for displaying one or more permission restriction level setting options, wherein different permission restriction level setting options correspond to different permission restriction levels; a third processing module, configured to set a permission restriction level according to a permission restriction level setting option selected by a user, wherein the permission restriction level setting option is associated with a running location of a caller application; The permission restriction degree setting options include: a first degree setting option and a second degree setting option; wherein the first degree setting option corresponds to a method for determining the running location of a calling application, in which an application that is not displayed on the current interface but is running and has interactive output is not considered a foreground application; The second level setting option corresponds to a method for determining the running location of a calling application, in which an application that is not displayed on the current interface but is running and has interactive output is considered a foreground application.
5. The device according to claim 4, characterized in that The first degree setting option corresponds to the following method for determining the running location of the caller application: querying a foreground running application set in the activity management service, and when the caller application belongs to the foreground running application set, determining that the caller application is running in the foreground; when the caller application does not belong to the foreground running application set, determining that the caller application is running in the background; The second-level setting option corresponds to the following method for determining the running location of the caller application: determining the process of the caller application, and when the process of the caller application belongs to the set of running processes maintained in the permission management service, determining that the caller application is running in the foreground; when the process of the caller application does not belong to the set of running processes maintained in the permission management service, determining that the caller application is running in the background.
6. The device according to claim 5, characterized in that The device further includes a detection module for detecting that, in a cross-application call, the calling application is running in the background and the called application involves permission restrictions; The detection module includes: A receiving module, configured to receive, through a rights management service, call information of a management class instant call function, or receive call information of a management class continuous call function; The determination module is used to determine in the calling information that the calling application is running in the background and the called application involves permission restrictions.
7. A device for protecting user privacy information, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to: When it is detected that the calling application in a cross-application call is running in the background and the callee is subject to permission restrictions, an option for closing the calling application is displayed; After receiving the touch information for the option for closing the calling application, terminating the running of the calling application; displaying an option for maintaining the caller application, and upon receiving touch information for the option for maintaining the caller application, maintaining the operation of the caller application, and, Displaying one or more permission restriction setting options, where different permission restriction setting options correspond to different permission restriction levels, and setting the permission restriction level according to the permission restriction setting option selected by the user, wherein the permission restriction setting option is associated with the running location of the calling application; The permission restriction degree setting options include: a first degree setting option and a second degree setting option; wherein the first degree setting option corresponds to a method for determining the running location of a calling application, in which an application that is not displayed on the current interface but is running and has interactive output is not considered a foreground application; The second level setting option corresponds to a method for determining the running location of a calling application, in which an application that is not displayed on the current interface but is running and has interactive output is considered a foreground application.
8. A non-transitory computer-readable storage medium, which, when instructions in the storage medium are executed by a processor of a mobile terminal, enables the mobile terminal to perform a method for protecting user privacy information, the method comprising: When it is detected that the calling application in a cross-application call is running in the background and the callee is subject to permission restrictions, an option for closing the calling application is displayed; After receiving the touch information for the option for closing the calling application, terminating the running of the calling application; The method further includes: displaying an option for maintaining the caller application, maintaining the operation of the caller application after receiving touch information for the option for maintaining the caller application, and, Displaying one or more permission restriction setting options, where different permission restriction setting options correspond to different permission restriction levels, and setting the permission restriction level according to the permission restriction setting option selected by the user, wherein the permission restriction setting option is associated with the running location of the calling application; The permission restriction degree setting options include: a first degree setting option and a second degree setting option; wherein the first degree setting option corresponds to a method for determining the running location of a calling application, in which an application that is not displayed on the current interface but is running and has interactive output is not considered a foreground application; The second level setting option corresponds to a method for determining the running location of a calling application, in which an application that is not displayed on the current interface but is running and has interactive output is considered a foreground application.
Citation Information
Patent Citations
Mobile equipment privacy authority control method, mobile equipment privacy authority control device and corresponding mobile phone equipment
CN105072255A
Secret divulgence prevention processing method and device for privacy authority, electronic equipment and storage medium
CN111259421A