Application management method, device, electronic device and storage medium
By obtaining and analyzing device and program information of applications, it automatically determines and implements permission policies, solving the problem of unautomated application permission management in electronic devices and achieving a safe and convenient user experience.
Patent Information
- Application Number
- CN202110961506.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-20
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2041-08-20
AI Technical Summary
Application permission management in existing electronic devices is not automated enough and users need to manage it manually, which may lead to misoperation of permissions, affect user experience and may infringe privacy.
By obtaining the device information and program information of the target application, the application management and control strategy is determined, and the permissions of the application are automatically managed, including a permission management and control unit, a policy determination unit and an information acquisition unit, to achieve permission management without manual user intervention.
Automated application permission management is implemented to ensure that users can use applications normally, while protecting user privacy, avoiding permission misoperation, and improving user experience.
Smart Images

Figure CN113742703B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to an application management method, device, electronic device and storage medium. Background Art
[0002] With the rapid development of the current economy, more and more users are using electronic devices. People can install various applications in electronic devices to perform operations such as communication, entertainment, and information recording.
[0003] Currently, for applications installed on electronic devices, the application provider usually enables the permission to use the electronic device's resources by default, or the user manually manages the permission of the application. Some users may not understand the permissions of some applications. When disabling the permissions of an application, some functions of the application may become unusable. Alternatively, blindly enabling the permissions of an application may cause the application to infringe on the user's privacy, affecting the user experience. Summary of the invention
[0004] Embodiments of the present invention provide an application management method, device, electronic device and storage medium, which can automatically manage the permissions of applications installed in the electronic device without the need for the user to manually manage the permissions of each application on the electronic device, while the user of the electronic device can use the application normally.
[0005] An embodiment of the present invention provides an application management method, including:
[0006] Acquire target device information of a target electronic device where a target application is located and target program information of the target application;
[0007] Determining, according to the target device information, an application management and control policy corresponding to the target device information, wherein the application management and control policy includes a permission management and control policy for at least one application;
[0008] According to the target program information, selecting a target permission control policy corresponding to the target application from the permission control policies in the application control policy;
[0009] According to the target permission management and control policy, the permission of the target application to use the target electronic device is managed and controlled.
[0010] Accordingly, an embodiment of the present invention provides an application management and control device, including:
[0011] An information acquisition unit, used to acquire target device information of a target electronic device where a target application is located and target program information of the target application;
[0012] A policy determination unit, configured to determine, based on the target device information, an application management and control policy corresponding to the target device information, wherein the application management and control policy includes a permission management and control policy for at least one application;
[0013] A policy selection unit, configured to select, according to the target program information, a target permission control policy corresponding to the target application from the permission control policies in the application control policy;
[0014] The permission control unit is used to control the use permission of the target application to the target electronic device according to the target permission control policy.
[0015] Optionally, before the policy determination unit, a policy generation unit is further included, which is used to obtain permission setting information of each application in each electronic device and device information of each electronic device, and at least one application is deployed in the electronic device;
[0016] Classifying the permission setting information according to the device information of each electronic device to obtain application management and control information corresponding to each device information;
[0017] Information analysis is performed based on the application management and control information corresponding to each piece of device information to obtain the application management and control strategy corresponding to each piece of device information.
[0018] Optionally, the policy generation unit further includes an operation information acquisition unit for acquiring operation record information of each application when it is running in each of the electronic devices;
[0019] Classifying the operation record information according to the device information of each electronic device to obtain the application operation information corresponding to each device information;
[0020] The policy generating unit is used to perform information analysis based on the application management and control information and the application running information corresponding to each piece of device information to obtain the application management and control policy corresponding to each piece of device information.
[0021] Optionally, before the permission control unit, the application control device provided by the embodiment of the present invention further includes a historical control information acquisition unit, which is used to acquire historical program control information of the target user account, wherein the historical program control information includes permission control information of the target user for at least one application;
[0022] The permission control unit is used to control the use permission of the target application program to the target electronic device based on the historical program control information and the target permission control policy.
[0023] Optionally, the target application includes at least one application installed in the target electronic device, and the policy selection unit is used to select a target permission control policy corresponding to each target application from the permission control policies in the application control policy according to the target program information corresponding to each target application;
[0024] The permission control unit is used to control the permission of each target application to use the target electronic device according to the target permission control policy corresponding to each target application.
[0025] Optionally, the application management and control device further includes a permission closing unit, which is used to obtain program permission closing information and permission usage information of the target application in the target electronic device, wherein the program permission closing information is used to indicate permissions that the application cannot use;
[0026] Based on the permission closing information and the permission using information, the permission of the target application to use the target electronic device is re-controlled.
[0027] Optionally, the application management device provided in the embodiment of the present invention further includes a second permission management unit, which is used to obtain resource occupation information of the target electronic device and required resource information of the target application;
[0028] An analysis is performed based on the resource occupancy information and the required resource information, and according to the analysis result, the use permission of the target application to the target electronic device is re-controlled.
[0029] Correspondingly, an embodiment of the present invention also provides an electronic device, including a memory and a processor; the memory stores an application, and the processor is used to run the application in the memory to execute the steps in any application management method provided in the embodiment of the present invention.
[0030] In addition, an embodiment of the present invention further provides a computer-readable storage medium, which stores a plurality of instructions, and the instructions are suitable for a processor to load to execute the steps in any one of the application management methods provided in the embodiment of the present invention.
[0031] By adopting the scheme of the embodiment of the present invention, the target device information of the target electronic device where the target application is located and the target program information of the target application can be obtained, and the application management policy corresponding to the target device information is determined based on the target device information, the application management policy includes a permission management policy for at least one application, and the target permission management policy corresponding to the target application is selected from the permission management policies in the application management policy based on the target program information, and the use permission of the target application to the target electronic device is controlled based on the target permission management policy; since application management policies corresponding to different device information are pre-set, and the application management policy includes a permission management policy for at least one application, when the user of the target electronic device installs or starts to use the target application, the user does not need to manually manage the permissions of each application on the electronic device, and the permissions of the applications installed in the electronic device are automatically managed on the basis that the user of the electronic device can use the applications normally. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0033] Figure 1 Schematic diagram of a scenario of an application management method provided by an embodiment of the present invention;
[0034] Figure 2 is a flow chart of an application management method provided by an embodiment of the present invention;
[0035] Figure 3 It is a schematic diagram of the cooperation of various modules during application management and control provided by an embodiment of the present invention;
[0036] Figure 4 It is a technical implementation diagram of the application management and control method provided by an embodiment of the present invention;
[0037] Figure 5 is a structural diagram of an application management and control device provided by an embodiment of the present invention;
[0038] Figure 6 is another structural diagram of the application management and control device provided by an embodiment of the present invention;
[0039] Figure 7 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0040] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0041] The embodiments of the present invention provide an application management method, device, electronic device and computer-readable storage medium. Specifically, the embodiments of the present invention provide an application management method applicable to an application management device, which can be integrated in an electronic device.
[0042] The electronic device can be a terminal or other device, including but not limited to a mobile terminal and a fixed terminal. For example, a mobile terminal includes but is not limited to a smart phone, a smart watch, a tablet computer, a laptop computer, a smart car-mounted terminal, etc., wherein a fixed terminal includes but is not limited to a desktop computer, a smart TV, etc.
[0043] The electronic device may also be a device such as a server. The server may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It may also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), as well as big data and artificial intelligence platforms, but is not limited to these.
[0044] The application management and control method of the embodiment of the present invention may be implemented by a server, or may be implemented by a terminal and a server together.
[0045] The following uses the method of jointly implementing the application management and control method by a terminal and a server as an example to illustrate the method.
[0046] like Figure 1 As shown, the application management system provided by the embodiment of the present invention includes a terminal 10 and a server 20, etc.; the terminal 10 and the server 20 are connected via a network, for example, via a wired or wireless network connection, etc., wherein the terminal 10 can exist as a terminal for sending target device information and target program information to the server 20.
[0047] The terminal 10 may be a terminal for uploading target device information and target program information, and is used to send the target device information and target program information to the server 20 .
[0048] The server 20 can be used to obtain target device information of a target electronic device where a target application is located and target program information of the target application, and determine an application management policy corresponding to the target device information based on the target device information, wherein the application management policy includes a permission management policy for at least one application, and select a target permission management policy corresponding to the target application from the permission management policies in the application management policy based on the target program information.
[0049] The server 20 may send the target permission management policy to the terminal 10 , and the terminal 10 may manage the use permission of the target application to the target electronic device according to the target permission management policy.
[0050] It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments.
[0051] The embodiment of the present invention will be described from the perspective of an application management and control device, which can be specifically integrated in a server or a terminal.
[0052] like Figure 2 As shown, the specific process of the application management method of this embodiment can be as follows:
[0053] 201. Obtain target device information of a target electronic device where a target application is located and target program information of the target application.
[0054] The target application is an application that needs to be managed. For example, the target application may be an application that has just been installed in the target electronic device, or each application installed in the target electronic device may be managed as a target application when it is started or running.
[0055] The target electronic device is an electronic device installed with a target application, such as a smart phone, a laptop computer, a smart TV, etc.
[0056] Specifically, the target device information may be the device model of the target electronic device, identification information of the target electronic device, etc. For example, the target device information corresponding to a mobile phone may be the device model of the mobile phone and / or the IMEI code (International Mobile Equipment Identity) of the mobile phone, etc.
[0057] Optionally, the target program information of the target application may be a version number of the target application, a name of a permission to be obtained, a specific permission behavior performed when using the permission, and the like.
[0058] 202. Determine, based on the target device information, an application management and control policy corresponding to the target device information, where the application management and control policy includes a permission management and control policy for at least one application.
[0059] The application management policy may include permission management policies for one or more applications. For example, the application management policy may include permission management policies for application A, application B, and application C.
[0060] The permission control policy may be a specific permission control instruction for opening or closing one or more permissions. By executing the permission control instruction of a certain application, the electronic device may control whether the application can use resources in the electronic device.
[0061] It is understandable that a technician or an application management and control user may determine the permission setting strategy for different applications in different models of electronic devices in advance based on the settings of applications in other electronic devices.
[0062] Therefore, before step 202, the following steps may also be included:
[0063] Acquire permission setting information of each application in each electronic device and device information of each electronic device, wherein at least one application is deployed in the electronic device;
[0064] Classifying the permission setting information according to the device information of each electronic device to obtain application management and control information corresponding to each device information;
[0065] Information analysis is performed based on the application management and control information corresponding to each piece of device information to obtain the application management and control strategy corresponding to each piece of device information.
[0066] Specifically, Figure 3 As shown, the permission setting information of each application in each electronic device and the device information of each electronic device can be collected and reported through the client module. For example, the permission setting information may include the name of the permission enabled by each application, the permission behavior executed by using the permission, the name of the operation package called when using the permission, the version number of the application, etc. The device information may include information such as the model of each electronic device. The client module can send the permission setting information of each application in each electronic device and the device information of each electronic device to the big data analysis module for further processing.
[0067] The client module may be provided in each electronic device. For example, each electronic device having an application management and control client installed therein may serve as a client module.
[0068] The big data analysis module can analyze the permission setting information of most users for applications based on the permission setting information of each application in each electronic device reported by the client and the device information of each electronic device, according to the model of the electronic device, and derive a user-friendly and customized application management strategy.
[0069] The big data analysis module can be set in the terminal or in the server, and the present invention does not limit this. For example, the big data analysis module can be set in the same electronic device as the client module, or the big data analysis module can also be set in different electronic devices from the client module, and so on.
[0070] Before the step of “performing information analysis based on the application management and control information corresponding to each piece of device information to obtain the application management and control strategy corresponding to each piece of device information”, the following may also be included:
[0071] Acquiring running record information of each application when it is running in each of the electronic devices;
[0072] Classifying the operation record information according to the device information of each electronic device to obtain the application operation information corresponding to each device information;
[0073] The information analysis is performed based on the application management and control information corresponding to each of the device information to obtain the application management and control strategy corresponding to each of the device information, including:
[0074] Based on the application management and control information and the application running information corresponding to each piece of device information, information analysis is performed to obtain the application management and control strategy corresponding to each piece of device information.
[0075] The operation record information may include the usage of memory and other resources of the electronic device by each application during operation, the number of calls to images, texts and other information stored in the electronic device and / or the usage of the called images, texts and other information, etc.
[0076] Specifically, the big data analysis module can be used to sort the proportion or usage of system resources according to the application list of all applications during the startup process, analyze the impact of each application's behavior on the security of information in electronic devices and the resource consumption of electronic devices, obtain permission management strategies for different application programs in electronic devices of different models, and generate application management strategies corresponding to each device information.
[0077] 203. According to the target program information, select a target permission control policy corresponding to the target application from the permission control policies in the application control policy.
[0078] In some embodiments, there may be only one application program that needs to be managed and controlled. In other embodiments, at least two or all applications in the target electronic device may be managed and controlled at the same time.
[0079] That is, the target application includes at least one application installed in the target electronic device, and step 203 may include:
[0080] According to the target program information corresponding to each of the target applications, selecting a target permission control policy corresponding to each of the target applications from the permission control policies in the application control policy;
[0081] Correspondingly, the step of “controlling the target application's permission to use the target electronic device according to the target permission control policy” may specifically include:
[0082] The use permission of each target application program to the target electronic device is controlled according to the target permission management and control policy corresponding to each target application program.
[0083] Specifically, Figure 3 As shown, the cloud policy configuration module can obtain the corresponding optimal policy from the big data analysis module according to the device information of the electronic device, and send the permission control policy to the electronic device. The electronic device can set the permissions of multiple applications installed on the local device according to the permission control policy sent by the cloud policy configuration module.
[0084] In some optional examples, when multiple applications need to be managed at the same time, a new management and control policy for managing multiple applications can be generated based on the permission management and control policy corresponding to each application.
[0085] That is, the step of “controlling the usage permission of each target application to the target electronic device according to the target permission control policy corresponding to each target application” may include:
[0086] Generate an overall program control strategy based on the target permission control strategy corresponding to each target application program;
[0087] Based on the overall program control strategy, the use authority of each target application program to the target electronic device is controlled.
[0088] It is understandable that the overall program control strategy can be a direct combination of the target permission control strategies, or can be obtained by adjusting the target permission control strategies corresponding to one or some target application programs.
[0089] 204. According to the target permission management policy, manage the target application's permission to use the target electronic device.
[0090] In order to make the permission control of the application more in line with the user's usage habits, the permission of the target application can be controlled in combination with the user's past permission settings for various applications. Therefore, when the target electronic device is logged in with the target user account, before the step of "controlling the target application's permission to use the target electronic device according to the target permission control policy", the application control method provided in the embodiment of the present invention may also include:
[0091] Acquire historical program control information of the target user account, wherein the historical program control information includes permission control information of the target user for at least one application program;
[0092] Correspondingly, step 204 may include:
[0093] Based on the historical program management information and the target permission management policy, the use permission of the target application program to the target electronic device is managed.
[0094] For example, the target permission control policy only allows the target application to enable permissions A and B, but the historical program control information of the target user indicates that the target user will also enable permission C for other applications. At this time, permission C of the target application can also be enabled.
[0095] It is understandable that some applications may use permissions to obtain sensitive information of users after enabling permissions. For these applications, some of their permissions can be disabled. The application management method provided by the embodiment of the present invention may also include:
[0096] Acquire program permission closing information and permission usage information of the target application in the target electronic device, wherein the program permission closing information is used to indicate permissions that the application cannot use;
[0097] Based on the permission closing information and the permission using information, the permission of the target application to use the target electronic device is re-controlled.
[0098] The program permission closing information may indicate which permissions of which applications need to be closed. The permission usage information is the permissions used by the target application.
[0099] Specifically, Figure 3 The manual inspection module shown in the figure can analyze and verify the permissions used by the illegal applications through technical means, and deploy instructions to disable certain permissions of an application in the message channel, so that the client machine can disable the instructions in real time.
[0100] It is understandable that the authority control in the manual inspection module is based on factors such as customer complaints. Generally speaking, if no control is carried out, the risk is relatively high. Therefore, the authority control in the manual inspection module will take effect once deployed, so as to respond to compliance policy control in the first time.
[0101] In addition, the configuration results of the manual inspection module will also be synchronized to the cloud policy configuration module to take effect. All clients can request the latest configuration when updating the cloud policy.
[0102] In some optional embodiments, the application management method in the embodiment of the present invention may further include:
[0103] Acquiring resource occupancy information of the target electronic device and required resource information of the target application program;
[0104] An analysis is performed based on the resource occupancy information and the required resource information, and according to the analysis result, the use permission of the target application to the target electronic device is re-controlled.
[0105] The resource usage information may include information about memory resources already used in the target electronic device, applications using memory resources, etc. The target application's required resource information may include the amount of resources required for the target application to enable all permissions or the amount of resources required for the target application to enable each permission, etc.
[0106] When the remaining available resources in the target electronic device are available for the target application to enable more permissions, some permissions can continue to be enabled for the target application.
[0107] like Figure 4As shown, through AppOpsManager (application management client), technicians can set the permissions OP_AUTO_START (background self-start permission) and OP_ASSOC_START (associated start permission) of the application on the terminal to MODE_IGNORED. In MODE_IGNORED mode, all applications are not allowed to start automatically and associated self-start by default. After that, the default permission list can be read during the boot initialization to grant the application the self-start permission. At this time, some applications have the self-start and anti-self-start permissions. Tguard (application permission setting module) obtains a list set through getPackagesForOps (int[]ops), which contains the application set of the passed permissions. If the list set is empty, the set of all permissions of all applications is obtained. Tguard can show the user what permissions certain applications have. After that, the interface setMode can be used on the display interface of the electronic device to allow the user to change the permissions of the application, wherein the setMode interface can receive the permission setting related information generated by the user's change, and transmit the permission setting related information to the application management device, wherein getPackagesForOps (int[]ops) is a method for obtaining a list set, which can obtain the set of permissions of each application on the current terminal.
[0108] As can be seen from the above, the embodiment of the present invention can obtain the target device information of the target electronic device where the target application is located and the target program information of the target application, and determine the application management policy corresponding to the target device information based on the target device information, the application management policy includes a permission management policy for at least one application, and select the target permission management policy corresponding to the target application from the permission management policies in the application management policy based on the target program information, and control the use permission of the target application to the target electronic device based on the target permission management policy; since application management policies corresponding to different device information are pre-set, and the application management policy includes a permission management policy for at least one application, when the user of the target electronic device installs or starts to use the target application, the user does not need to manually manage the permissions of each application on the electronic device, and the permissions of the applications installed in the electronic device are automatically managed on the basis that the user of the electronic device can use the applications normally.
[0109] In order to better implement the above method, accordingly, an embodiment of the present invention also provides an application management and control device.
[0110] refer to Figure 5 , the device may include:
[0111] The information acquisition unit 501 may be used to acquire target device information of a target electronic device where a target application is located and target program information of the target application;
[0112] The policy determination unit 502 may be configured to determine, based on the target device information, an application management and control policy corresponding to the target device information, wherein the application management and control policy may include a permission management and control policy for at least one application;
[0113] The policy selection unit 503 may be configured to select a target permission control policy corresponding to the target application from the permission control policies in the application control policy according to the target application information;
[0114] The permission control unit 504 may be configured to control the use permission of the target application program to the target electronic device according to the target permission control policy.
[0115] In some optional embodiments, before the policy determination unit 502, a policy generation unit 505 may be included, which may be used to obtain permission setting information of each application in each electronic device and device information of each electronic device, wherein at least one application is deployed in the electronic device;
[0116] Classifying the permission setting information according to the device information of each electronic device to obtain application management and control information corresponding to each device information;
[0117] Information analysis is performed based on the application management and control information corresponding to each piece of device information to obtain the application management and control strategy corresponding to each piece of device information.
[0118] In some optional embodiments, the policy generation unit 505 may further include an operation information acquisition unit that can be used to acquire operation record information of each application when it is running in each of the electronic devices;
[0119] Classifying the operation record information according to the device information of each electronic device to obtain the application operation information corresponding to each device information;
[0120] The policy generating unit 505 may be used to perform information analysis based on the application management and control information and the application running information corresponding to each piece of device information, to obtain the application management and control policy corresponding to each piece of device information.
[0121] like Figure 6As shown, in some optional embodiments, before the permission control unit 504, the application management device provided by the embodiment of the present invention may further include a historical control information acquisition unit 506, which can be used to obtain historical program management information of the target user account, and the historical program management information may include permission management information of the target user for at least one application;
[0122] The permission control unit 504 may be used to control the use permission of the target application program to the target electronic device based on the historical program control information and the target permission control policy.
[0123] In some optional embodiments, the target application may include at least one application installed in the target electronic device, and the policy selection unit 503 may be used to select a target permission control policy corresponding to each target application from the permission control policy in the application control policy according to the target program information corresponding to each target application;
[0124] The permission control unit 504 may be used to control the permission of each target application to use the target electronic device according to the target permission control policy corresponding to each target application.
[0125] In some optional embodiments, the application management device may further include a permission closing unit 507, which may be used to obtain program permission closing information and permission usage information of the target application in the target electronic device, wherein the program permission closing information may be used to indicate permissions that the application cannot use;
[0126] Based on the permission closing information and the permission using information, the permission of the target application to use the target electronic device is re-controlled.
[0127] In some optional embodiments, the application management device provided by the embodiment of the present invention may further include a second permission management unit 508, which may be used to obtain resource occupation information of the target electronic device and required resource information of the target application;
[0128] An analysis is performed based on the resource occupancy information and the required resource information, and according to the analysis result, the use permission of the target application to the target electronic device is re-controlled.
[0129] As can be seen from the above, through the application management device, the target device information of the target electronic device where the target application is located and the target program information of the target application can be obtained, and the application management policy corresponding to the target device information is determined according to the target device information, and the application management policy includes a permission management policy for at least one application, and according to the target program information, the target permission management policy corresponding to the target application is selected from the permission management policies in the application management policy, and the use permission of the target application to the target electronic device is controlled according to the target permission management policy; since application management policies corresponding to different device information are pre-set, and the application management policy includes a permission management policy for at least one application, when the user of the target electronic device installs or starts to use the target application, the user does not need to manually control the permissions of each application on the electronic device, and the permissions of the applications installed in the electronic device are automatically controlled on the basis that the user of the electronic device can use the applications normally.
[0130] In addition, an embodiment of the present invention further provides an electronic device, which may be a terminal or a server, etc. Figure 7 As shown, it shows a schematic diagram of the structure of an electronic device involved in an embodiment of the present invention, specifically:
[0131] The electronic device may include a radio frequency (RF) circuit 701, a memory 702 including one or more computer-readable storage media, an input unit 703, a display unit 704, a sensor 705, an audio circuit 706, a wireless fidelity (WiFi) module 707, a processor 708 including one or more processing cores, and a power supply 709. Those skilled in the art will appreciate that Figure 7 The terminal structure shown in the figure does not constitute a limitation on the terminal, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0132] The RF circuit 701 can be used for receiving and sending signals during the process of sending and receiving information or making calls. In particular, after receiving the downlink information of the base station, it is handed over to one or more processors 708 for processing; in addition, the data related to the uplink is sent to the base station. Usually, the RF circuit 701 includes but is not limited to an antenna, at least one amplifier, a tuner, one or more oscillators, a subscriber identity module (SIM) card, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, etc. In addition, the RF circuit 701 can also communicate with the network and other devices through wireless communication. Wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.
[0133] The memory 702 can be used to store software programs and modules, and the processor 708 executes various functional applications and data processing by running the software programs and modules stored in the memory 702. The memory 702 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the terminal (such as audio data, a phone book, etc.), etc. In addition, the memory 702 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. Accordingly, the memory 702 may also include a memory controller to provide the processor 708 and the input unit 703 with access to the memory 702.
[0134] The input unit 703 can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. Specifically, in a specific embodiment, the input unit 703 may include a touch-sensitive surface and other input devices. The touch-sensitive surface, also known as a touch display screen or a touch pad, can collect the user's touch operations on or near it (such as the user's operation on or near the touch-sensitive surface using any suitable object or accessory such as a finger, a stylus, etc.), and drive the corresponding connection device according to a pre-set program. Optionally, the touch-sensitive surface may include a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 708, and can receive and execute the command sent by the processor 708. In addition, the touch-sensitive surface can be implemented using multiple types such as resistive, capacitive, infrared and surface acoustic waves. In addition to the touch-sensitive surface, the input unit 703 may also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, and the like.
[0135] The display unit 704 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the terminal, which can be composed of graphics, text, icons, videos and any combination thereof. The display unit 704 may include a display panel. Optionally, the display panel may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. Further, the touch-sensitive surface may cover the display panel. When the touch-sensitive surface detects a touch operation on or near it, it is transmitted to the processor 708 to determine the type of touch event. The processor 708 then provides a corresponding visual output on the display panel according to the type of touch event. Although in Figure 7 In the embodiment, the touch-sensitive surface and the display panel are used as two independent components to realize input and output functions, but in some embodiments, the touch-sensitive surface and the display panel can be integrated to realize input and output functions.
[0136] The terminal may also include at least one sensor 705, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel according to the brightness of the ambient light, and the proximity sensor may turn off the display panel and / or backlight when the terminal is moved to the ear. As a type of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can be configured in the terminal, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.
[0137] The audio circuit 706, the speaker, and the microphone can provide an audio interface between the user and the terminal. The audio circuit 706 can transmit the electrical signal converted from the received audio data to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 706 and converted into audio data, and then the audio data is processed by the output processor 708 and sent to, for example, another terminal through the RF circuit 701, or the audio data is output to the memory 702 for further processing. The audio circuit 706 may also include an earplug jack to provide communication between an external headset and the terminal.
[0138] WiFi is a short-range wireless transmission technology. The terminal can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 707. It provides users with wireless broadband Internet access. Figure 7 A WiFi module 707 is shown, but it is understandable that it is not an essential component of the terminal and can be omitted as required without changing the essence of the invention.
[0139] The processor 708 is the control center of the terminal. It uses various interfaces and lines to connect various parts of the entire mobile phone. It executes various functions of the terminal and processes data by running or executing software programs and / or modules stored in the memory 702, and calling data stored in the memory 702, so as to monitor the mobile phone as a whole. Optionally, the processor 708 may include one or more processing cores; preferably, the processor 708 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 708.
[0140] The terminal also includes a power supply 709 (such as a battery) for supplying power to each component. Preferably, the power supply can be logically connected to the processor 708 through a power management system, so that the power management system can manage charging, discharging, and power consumption management. The power supply 709 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0141] Although not shown, the terminal may also include a camera, a Bluetooth module, etc., which will not be described in detail here. Specifically in this embodiment, the processor 708 in the terminal will load the executable files corresponding to the processes of one or more applications into the memory 702 according to the following instructions, and the processor 708 will run the applications stored in the memory 702 to implement various functions, as follows:
[0142] Acquire target device information of a target electronic device where a target application is located and target program information of the target application;
[0143] Determining, according to the target device information, an application management and control policy corresponding to the target device information, wherein the application management and control policy includes a permission management and control policy for at least one application;
[0144] According to the target program information, selecting a target permission control policy corresponding to the target application from the permission control policies in the application control policy;
[0145] According to the target permission management and control policy, the permission of the target application to use the target electronic device is managed and controlled.
[0146] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0147] To this end, an embodiment of the present invention provides a computer-readable storage medium, which stores a plurality of instructions, which can be loaded by a processor to execute the steps in any application management method provided in an embodiment of the present invention. For example, the instructions can execute the following steps:
[0148] Acquire target device information of a target electronic device where a target application is located and target program information of the target application;
[0149] Determining, according to the target device information, an application management and control policy corresponding to the target device information, wherein the application management and control policy includes a permission management and control policy for at least one application;
[0150] According to the target program information, selecting a target permission control policy corresponding to the target application from the permission control policies in the application control policy;
[0151] According to the target permission management and control policy, the permission of the target application to use the target electronic device is managed and controlled.
[0152] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0153] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0154] Since the instructions stored in the computer-readable storage medium can execute the steps in any application management method provided in the embodiments of the present invention, the beneficial effects that can be achieved by any application management method provided in the embodiments of the present invention can be achieved. Please refer to the previous embodiments for details and will not be repeated here.
[0155] According to one aspect of the present application, a computer program product or a computer program is also provided, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the methods provided in various optional implementations of the above embodiments.
[0156] The above is a detailed introduction to an application management method, device, electronic device and storage medium provided in an embodiment of the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for technical personnel in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A method for application management and control, characterized in that: include: Acquire target device information of a target electronic device where a target application is located and target program information of the target application; The target device information is the device model of the target electronic device; Acquire permission setting information of each application in each electronic device and device information of each electronic device, wherein at least one application is deployed in the electronic device; the device information of each electronic device includes the model of each electronic device; Classifying the permission setting information according to the device information of each electronic device to obtain application management and control information corresponding to each device information; Performing information analysis based on the application management and control information corresponding to each piece of device information to obtain an application management and control strategy corresponding to each piece of device information; Determining, according to the target device information, an application management and control policy corresponding to the target device information, wherein the application management and control policy includes a permission management and control policy for at least one application; According to the target program information, selecting a target permission control policy corresponding to the target application from the permission control policies in the application control policy; According to the target permission management and control policy, the permission of the target application to use the target electronic device is managed and controlled.
2. The application management method according to claim 1, characterized in that: Before performing information analysis based on the application management and control information corresponding to each piece of device information to obtain the application management and control strategy corresponding to each piece of device information, the method further includes: Acquiring running record information of each application when it is running in each of the electronic devices; Classifying the operation record information according to the device information of each electronic device to obtain the application operation information corresponding to each device information; The information analysis is performed based on the application management and control information corresponding to each of the device information to obtain the application management and control strategy corresponding to each of the device information, including: Based on the application management and control information and the application running information corresponding to each piece of device information, information analysis is performed to obtain the application management and control strategy corresponding to each piece of device information.
3. The application management method according to claim 1, characterized in that: The target electronic device is logged in with a target user account. Before controlling the target application's permission to use the target electronic device according to the target permission control policy, the method further includes: Acquire historical program control information of the target user account, wherein the historical program control information includes permission control information of the target user for at least one application program; The controlling the target application's permission to use the target electronic device according to the target permission control policy includes: Based on the historical program management information and the target permission management policy, the use permission of the target application program to the target electronic device is managed.
4. The application management method according to claim 1, characterized in that: The target application comprises at least one application installed in the target electronic device; The step of selecting, according to the target program information, a target permission control policy corresponding to the target application from the permission control policies in the application control policy comprises: According to the target program information corresponding to each of the target applications, selecting a target permission control policy corresponding to each of the target applications from the permission control policies in the application control policy; The controlling the target application's permission to use the target electronic device according to the target permission control policy includes: The use permission of each target application program to the target electronic device is controlled according to the target permission management and control policy corresponding to each target application program.
5. The application management method according to claim 1, characterized in that: The method further comprises: Acquire program permission closing information and permission usage information of the target application in the target electronic device, wherein the program permission closing information is used to indicate permissions that the application cannot use; Based on the permission closing information and the permission using information, the permission of the target application to use the target electronic device is re-controlled.
6. The application management method according to claim 1, characterized in that: The method further comprises: Acquiring resource occupancy information of the target electronic device and required resource information of the target application program; An analysis is performed based on the resource occupancy information and the required resource information, and according to the analysis result, the use permission of the target application to the target electronic device is re-controlled.
7. An application management and control device, characterized in that: include: An information acquisition unit, used to acquire target device information of a target electronic device where a target application is located and target program information of the target application; The target device information is the device model of the target electronic device; Acquire permission setting information of each application in each electronic device and device information of each electronic device, wherein at least one application is deployed in the electronic device; the device information of each electronic device includes the model of each electronic device; Classifying the permission setting information according to the device information of each electronic device to obtain application management and control information corresponding to each device information; Performing information analysis based on the application management and control information corresponding to each piece of device information to obtain an application management and control strategy corresponding to each piece of device information; A policy determination unit, configured to determine, based on the target device information, an application management and control policy corresponding to the target device information, wherein the application management and control policy includes a permission management and control policy for at least one application; A policy selection unit, configured to select, according to the target program information, a target permission control policy corresponding to the target application from the permission control policies in the application control policy; The permission control unit is used to control the use permission of the target application to the target electronic device according to the target permission control policy.
8. An electronic device, characterized in that: It comprises a memory and a processor; the memory stores an application program, and the processor is used to run the application program in the memory to execute the steps in the application program management method described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the steps in the application management method described in any one of claims 1 to 6.
Citation Information
Patent Citations
Terminal device and system function management and control method and device of terminal device
CN104239764A
Dynamic generation method and device of SELinux (Security-Enhanced Linux) strategy, and terminal equipment
CN106095495A
Method and system for hierarchically managing application programs
CN106293335A
Equipment permission control method and device
CN106570390A
Method, mobile terminal, server and storage medium for permission configuration of application program
CN108664786A
