WO2019042283A1 - 应用的管控方法、终端及存储介质 - Google Patents

应用的管控方法、终端及存储介质 Download PDF

Info

Publication number
WO2019042283A1
WO2019042283A1 PCT/CN2018/102747 CN2018102747W WO2019042283A1 WO 2019042283 A1 WO2019042283 A1 WO 2019042283A1 CN 2018102747 W CN2018102747 W CN 2018102747W WO 2019042283 A1 WO2019042283 A1 WO 2019042283A1
Authority
WO
WIPO (PCT)
Prior art keywords
broadcast receiver
state
application
broadcast
operation instruction
Prior art date
Application number
PCT/CN2018/102747
Other languages
English (en)
French (fr)
Inventor
刘小锐
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to US16/643,620 priority Critical patent/US20200401467A1/en
Publication of WO2019042283A1 publication Critical patent/WO2019042283A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present disclosure relates to the field of communication technologies, for example, to a management method, a terminal, and a storage medium of an application.
  • smart terminals integrate more and more functions, so that the system function list of the intelligent terminal contains more and more applications (Application, APP), and users can install various kinds on the smart terminal.
  • applications such as entertainment, work and life related software applications.
  • the embodiments of the present disclosure provide a management control method, a terminal, and a storage medium, which can control an application more finely than a system level, thereby ensuring that a user can use an application after being installed, and that all behaviors of the application are guaranteed. Within the user's knowable range.
  • An embodiment of the present disclosure provides a management method for an application, where the method includes:
  • the broadcast message is sent to the broadcast receiver that is allowed to be received in the broadcast receiver declared to the at least one application to control the corresponding application of the broadcast receiver whose status is allowed to be received.
  • An embodiment of the present disclosure provides a terminal, where the terminal includes at least a processor and a storage medium configured to store executable instructions, where
  • the processor is configured to execute the stored executable instructions, the executable instructions comprising:
  • the broadcast message is sent to the broadcast receiver that is allowed to be received in the broadcast receiver declared to the at least one application to control the corresponding application of the broadcast receiver whose status is allowed to be received.
  • Embodiments of the present disclosure provide a storage medium in which computer executable instructions are stored, the computer executable instructions being configured to execute the application management method.
  • the control granularity of the management method of the application is a broadcast receiver, which is more refined than the application-level granularity control method, and can ensure all applications under the premise of ensuring that the application can be used normally.
  • the behavior is within the user's knowable range, thereby preventing the application from performing operations that damage the user data security by monitoring the state change of the mobile phone in the background, thereby improving the security of the user data.
  • FIG. 1 is a schematic diagram of an implementation process of an application management method according to an embodiment
  • FIG. 2 is an interface diagram of a configuration broadcast receiver according to an embodiment
  • FIG. 3 is an interface diagram of a configuration broadcast receiver according to another embodiment
  • FIG. 4 is a schematic diagram of an implementation process of an application management method according to another embodiment
  • FIG. 5 is a schematic diagram of an implementation process of an application management method according to another embodiment
  • FIG. 6 is a schematic structural diagram of a terminal provided by an embodiment.
  • the broadcast receiver is used to receive and respond to messages broadcast by the system.
  • the broadcast mechanism in essence, is a message subscription/release mechanism. Therefore, the first step in using this message-driven model is to subscribe to the message.
  • the subscription message is actually a registered broadcast receiver. After the system sends a broadcast message, the system acquires the broadcast receiver corresponding to the broadcast message according to the registration status, and then calls the processing function of the broadcast receiver at the application level to complete the processing of the broadcast message.
  • the process of registering the broadcast receiver is to register the broadcast receiver to the Activity Manager Service (AMS).
  • the application registers the broadcast receiver into the ActivityManagerService by calling the register broadcast receiver (registerReceiver) function of the context function wrapper (ContextWrapper) class.
  • the broadcast receiver can be regarded as a subclass of the broadcast receiver (BroadcastReceiver) class.
  • a software virtual entity A software virtual entity.
  • Dynamic registration that is, the function of registering and releasing the broadcast receiver
  • this registration method is usually used to update the state of the user interface (UI).
  • UI user interface
  • this method is used to register a broadcast receiver (BroadcastReceiver) when an activity is started. Once a broadcast event is received, it can update the current Activity in the onReceive method. Control.
  • the unregistered receiver (unregisterReceiver) method should be called to deregister, so you cannot receive the message.
  • An activity represents a visual user interface that focuses on the events a user is engaged in.
  • an activity may represent a list of menu items that the user can select, or may display a photo along with the title of the photo.
  • a text messaging application may have a first activity that displays a list of contacts to send information; a second activity that writes information to selected contacts; other activities, revisit old information or change settings. While these activities work together to form a holistic user interface, each activity is independent of other activities.
  • Static registration that is, registering the broadcast receiver in the Android application entry file (AndroidManifest.xml).
  • This registration method ensures that the BroadcastReceiver is always active after the application is installed. It is usually used to monitor system status changes, such as the power of the phone, the status of the Wireless-Fidelity (Wi-Fi) network card (of course Monitoring these things is also dependent on the software requirements).
  • Wi-Fi Wireless-Fidelity
  • the BroadcastReceiver usually after a certain system event is generated, the corresponding operation is performed. For example, when the Wi-Fi network card is opened, the user is prompted to send a message indicating that the Wi-Fi network card is turned on.
  • the priority of dynamic registration is higher than the priority of static registration.
  • FIG. 1 is a schematic diagram of an implementation process of an application management method according to an embodiment. As shown in Figure 1, the method includes the following steps.
  • Step 1010 Determine, according to the received broadcast message of the operating system, an identifier of a broadcast receiver corresponding to the identifier of the broadcast message.
  • step 1010 determines, according to the received broadcast message of the operating system, that the identifier of the broadcast receiver corresponding to the identifier of the broadcast message may be performed by the terminal.
  • the terminal may be a mobile terminal having a wireless communication capability such as a mobile phone (mobile phone), a tablet (iPad) or a notebook having a touch function.
  • the step 1010 receives a broadcast message sent by its own operating system, which may be performed by a service (process) in the terminal.
  • a service can be an AMS running on a system process. AMS is mainly used to manage the registration, transmission, and scheduling processing of broadcast messages.
  • the content of the broadcast message is data information that can be closely related to the application, or it can be Android (Android) system information, such as network connection changes, battery power changes, received text messages, or system setting changes. If the application registers with BroadcastReceiver, it can accept the specified broadcast information.
  • the operating state of the terminal changes, for example, when the terminal is turned on or off, the time is changed, the battery is low, or the Universal Serial Bus (USB) is plugged and unplugged, the operating system of the terminal changes according to the operating state of the terminal. And send the corresponding broadcast message.
  • the broadcast message carries at least the identifier of the broadcast message, and the identifier of the broadcast message may be, for example, a type of a broadcast message.
  • the ActivityManagerService obtains the identifier of the broadcast receiver of the corresponding application in the terminal from the registration list according to the identifier of the broadcast message.
  • the identity of the broadcast receiver herein includes at least the type of broadcast receiver.
  • Step 1020 Filter out at least one application-received broadcast receiver that is the same as the identifier of the broadcast receiver.
  • the application may be an application that is installed and in an operating state in the terminal, and may of course be all applications installed in the terminal.
  • An application would declare multiple broadcast receivers, here a broadcast receiver that is to be identified the same as the broadcast receiver, ie a broadcast receiver that can receive and process the broadcast message.
  • Step 1030 Send the broadcast message to a broadcast receiver that is allowed to receive in a broadcast receiver declared by the at least one application to control an application corresponding to a broadcast receiver that is allowed to receive.
  • the state of the broadcast receiver includes allowing reception and prohibiting reception. If the status of a broadcast receiver is to allow reception, it means that a corresponding broadcast message can be sent to the broadcast receiver; if the status of a broadcast receiver is prohibition of reception, it means that the corresponding broadcast cannot be sent to the broadcast receiver. Message. In the actual implementation process, the status of a broadcast receiver may be determined by querying a correspondence table between the broadcast receiver identifier and the broadcast receiver status.
  • the status of the at least one application-recognized broadcast receiver is that the broadcast receiver that is allowed to receive receives the broadcast message, and performs corresponding processing according to the broadcast message. For example, if a broadcast message of a time change refresh time is received, the broadcast receiver that is allowed to receive the broadcast message updates the time according to the received broadcast message.
  • the method before the step 1030, the method further includes:
  • the method further includes: obtaining and outputting an identifier of the broadcast receiver of the own application declaration and a current state; receiving a first operation instruction that the user configures a state of the broadcast receiver, and based on the first operation The instruction configures the state of the broadcast receiver.
  • the packaged management service (PackagemanagerService) can perform a full scan of the installed application to acquire and output the broadcast receiver of all application claims. The identity and current status of the user for configuration. In this way, the user can perform management control on the broadcast receiver of the application declaration according to his own needs and the current state of the terminal.
  • the broadcast receiver further sends the broadcast message to a broadcast receiver in a broadcast receiver declared to allow reception of the at least one application to control an application corresponding to the broadcast receiver that is allowed to receive.
  • the broadcast message is sent to the broadcast receiver only when the state of the broadcast receiver of the application is allowed to be received, that is, the control granularity of the control method of the application provided by this embodiment is a broadcast receiver. Compared with the application-oriented granularity, the control method is more detailed.
  • the state of the broadcast receiver is configured by the user, it is possible to ensure that all behaviors of the application are in the user while ensuring that the application can be used normally.
  • the application is prevented from performing operations that damage the user data security by monitoring the state change of the terminal in the background, thereby improving the security of the user data.
  • the present embodiment provides an application management method, which is applied to a terminal, and the method includes the following steps.
  • Step 1 Acquire and output the identifier and status of the broadcast receiver of the installed application declaration in the terminal.
  • the service process in the terminal scans the broadcast receiver with the installed application declaration, and acquires and outputs all the broadcast receivers.
  • the identity and current status when the identifier and status of the broadcast receiver are output, the identifier and status of the broadcast receiver may be output according to the application identifier, or the identifier and status of the broadcast receiver may be output according to the identifier of the broadcast receiver.
  • Step 20 Receive a first operation instruction that a user configures a state of the broadcast receiver, and configure a state of the broadcast receiver based on the first operation instruction.
  • each application since there are many applications installed on the terminal, each application also declares multiple broadcast receivers, for example, 15 applications are installed on one terminal, and the number of broadcast receivers declared by each application is May be the same or different, assuming that each application has an average of 5 broadcast receivers, so the number of broadcast receivers output is 75. For users, this number is quite large. .
  • the user In order to enable customers to configure the status of the broadcast receiver more conveniently and quickly according to their own needs, the user is provided with a variety of configuration methods. When the number of broadcast receivers that the user needs to configure is small, the state of the broadcast receiver can be configured one by one.
  • the type of the broadcast receiver may be provided for the user or according to the application.
  • FIG. 2 is a schematic diagram of an interface for configuring a broadcast receiver according to an embodiment.
  • an interface 201 for configuring all broadcast receivers declared by an application is provided in an interface for configuring a broadcast receiver.
  • the application 1 can be configured in the area 202.
  • FIG. 3 is a schematic diagram of an interface for configuring a broadcast receiver according to another embodiment.
  • an interface 301 for configuring a broadcast receiver of the same type is provided in an interface for configuring a broadcast receiver.
  • the type 302 can be configured in the area 302.
  • Step 30 Receive a broadcast message sent by an operating system of the terminal.
  • Step 40 Determine an identifier of a broadcast receiver corresponding to the broadcast message according to the identifier of the broadcast message.
  • Step 50 Determine a first broadcast receiver set that is the same as the identifier of the broadcast receiver.
  • the first broadcast receiver set includes a broadcast receiver declared by at least one of the terminals.
  • Step 60 Determine a broadcast receiver in the first broadcast receiver set that is allowed to receive as a second broadcast receiver set.
  • Step 70 Send the broadcast message to a broadcast receiver in the second broadcast receiver set to control a corresponding application of the broadcast receiver in the second broadcast receiver set.
  • the identity of the broadcast receiver includes at least the type of the broadcast receiver.
  • obtaining and outputting the identifier and status of the broadcast receiver of the installed application in the terminal including:
  • the receiving user configures a first operation instruction of a state of the broadcast receiver, and is configured based on the first operation instruction.
  • a state of the broadcast receiver comprising: receiving a first operation instruction that a user configures a state of the broadcast receiver; and if the first operation instruction is used to configure a state of a broadcast receiver, based on the first operation Determining, by the instruction, a type of the broadcast receiver to be configured and an identifier of the application to which the broadcast receiver to be configured belongs, the type of the broadcast receiver to be configured, the identifier of the application, and the first operation according to the determined
  • the instruction configures a state of the broadcast receiver declared by the application; if the first operation instruction is used to configure a state of a broadcast receiver belonging to the same application, determining, according to the first operation instruction, a target application to which the broadcast receiver to be configured belongs And the identifier of the target application is determined according
  • the user can configure for a single broadcast receiver when the identity and status of the output broadcast receivers are consecutively arranged according to the broadcast receiver declared by the same application. For example, the user can configure the state of the time refresh broadcast receiver declared by a weather forecast application to allow reception, and configure the state of the data refresh broadcast receiver to prohibit reception.
  • the weather forecasting application only updates the time, does not update the data, can ensure the normal use of the weather forecasting application, and can prevent the data update from consuming a lot of power and data traffic.
  • the status of the broadcast receiver declared by the weather application can be configured to prohibit reception.
  • the receiving user configures the first state of the broadcast receiver Manipulating an instruction, and configuring a state of the broadcast receiver based on the first operation instruction, comprising: receiving a first operation instruction that a user configures a state of the broadcast receiver; if the first operation instruction is used to configure a broadcast receiver a state of determining, according to the first operation instruction, a type of a broadcast receiver to be configured and an identifier of an application to which the broadcast receiver to be configured belongs, according to the determined type of the broadcast receiver to be configured, Determining an application identifier and the operation instruction to configure a state of the broadcast receiver to be configured; if the first operation instruction is configured to configure a state of a broadcast receiver belonging to the same type, determining, based on the first operation instruction Type of broadcast receiver to be configured, according to the determined type of broadcast receiver to be configured and the first operation Arranged so that the broadcast
  • the user can configure for a single broadcast receiver. For example, if the user only wants to update the data of the instant messaging application in real time and does not want the data of the weather forecasting application to be updated in real time, the user can configure the status of the data update of the weather forecasting application to the broadcast receiver to prohibit receiving, but The status of the data update broadcast receiver declared in the instant messaging application is configured to allow reception. Similarly, because the user's power is low or not connected to the Wi-Fi network, and all applications do not update data, the user can configure the status of the broadcast receiver of the type of data update as Reception is prohibited.
  • the configuring the status of the broadcast receiver according to the determined type of the broadcast receiver to be configured, the identifier of the application, and the first operation instruction includes:
  • the state of the broadcast receiver to be configured is allowed to be received based on the first operation instruction.
  • the second operation instruction configured to prohibit reception, the state of the broadcast receiver to be configured is configured to be disabled by the prohibition reception.
  • the broadcast receiver if receiving a confirmation issued by the user to configure a state of the broadcast receiver to be configured as a second operation instruction for prohibiting reception, maintaining the broadcast reception to be configured based on the second operation instruction The status of the device is to prohibit reception.
  • the state of the application-declared broadcast receiver may be configured by the user, but for some designated broadcast receivers, if the state of the broadcast receiver is configured to prohibit reception, the application may be unavailable. Therefore, when the user configures the state of the broadcast receiver to prohibit reception, a prompt message is output for the user to refer to whether to insist on configuring the state of the broadcast receiver to prohibit reception.
  • it may also be configured to configure the state of the broadcast receiver of the new application when a new application is installed.
  • the following steps may be implemented: acquiring and outputting the identifier and status of the broadcast receiver of the new application declaration after detecting that a new application is installed; receiving a broadcast receiver configured by the user to configure the new application a third operational command of the state, and configuring a state of the broadcast receiver of the new application announcement based on the third operational command.
  • the state of the broadcast receiver declared by the new application is configured, and the new application can be controlled in time without waiting for the user to configure the configuration.
  • the terminal configures the state of the broadcast receiver according to an operation instruction of the user to configure the state of the broadcast receiver, and then determines the identifier of the broadcast message after receiving the broadcast message sent by the operating system of the terminal.
  • An identifier of a broadcast receiver declared by the corresponding application in the terminal and determining a first broadcast receiver set identical to the identifier of the broadcast receiver; and then receiving, in the first broadcast receiver set, a broadcast reception that is allowed to receive Determining to be a second set of broadcast receivers; finally transmitting the broadcast message to a broadcast receiver in the second set of broadcast receivers to control the application, such that only the state of the broadcast receiver declared in the application is When the receiving is allowed, the broadcast message is sent to the broadcast receiver.
  • the control granularity of the control method of the application is a broadcast receiver, which is more refined than the application-based granularity control method. And since the state of the broadcast receiver is configured by the user, it can ensure that all behaviors of the application are in the user. Understood within the range, thereby preventing the application in the background while the user lossy data security operation state by monitoring changes in the terminal, to improve the security of user data.
  • FIG. 4 is a schematic diagram of an implementation process of an application management method according to another embodiment. As shown in Figure 4, the method includes the following steps.
  • Step 4010 Obtain a state parameter of the terminal itself.
  • the state parameter of the terminal may be the current battery power of the terminal, the network environment and the network state where the terminal is currently located, or may be the current in the Subscriber Identification Module (SIM) in the terminal. Remaining data traffic, etc.
  • SIM Subscriber Identification Module
  • the state parameter of the acquiring terminal itself may be acquired in real time without interruption; or may be acquired periodically after a certain time interval.
  • Step 4020 Determine whether the state parameter meets a preset condition.
  • the preset condition is a condition for automatically configuring a broadcast receiver of an application that the terminal has installed.
  • the preset condition may be that the current battery power of the terminal is lower than the first preset value, the terminal is in a certain preset network, or the current remaining traffic of the SIM in the terminal is lower than the second preset value.
  • the preset condition may be 10% of the maximum power of the battery, or the terminal is currently in the Wi-Fi network, or the current remaining data traffic of the SIM card in the terminal is less than 10 megabytes.
  • step 4030 If the state parameter meets the preset condition, proceed to step 4030; if the state parameter does not satisfy the preset condition, proceed to step 4050.
  • Step 4030 Determine an identifier of the broadcast receiver corresponding to the preset condition and a status of the broadcast receiver.
  • the terminal stores an identifier of the broadcast receiver to be configured when the state parameter of the terminal itself meets a certain preset condition, and a state to be configured by the broadcast receiver. For example, when the current battery power of the terminal is less than 10% of the maximum battery power, the state of the broadcast receiver of the terminal mobile data connection is configured to prohibit reception, and the state of the broadcast receiver of the wireless data connection is configured to be prohibited from receiving. . As another example, when the terminal is in a Wi-Fi network, the state of the broadcast receiver of the wireless data connection is configured to allow reception.
  • the identifier of the broadcast receiver corresponding to the preset condition and the state of the broadcast receiver may be preset by the user. In this way, the intelligence of the terminal can be increased, and the behavior of the installed application in the terminal in the background can be guaranteed to be within the user's knowable range.
  • Step 4040 Configure a state of the broadcast receiver corresponding to the preset condition.
  • the process of implementing the state of configuring the broadcast receiver corresponding to the preset condition first determining the current state of the broadcast receiver to be configured, and the current state of the broadcast receiver to be configured The status of the configuration is compared; if the current status of the broadcast receiver to be configured is the same as the status to be configured, no processing is performed; if the current status of the broadcast receiver to be configured is different from the status to be configured, the broadcast to be configured The state of the receiver changes to the state to be configured.
  • Step 4050 Receive a broadcast message sent by an operating system of the terminal.
  • Step 4060 Determine, according to the identifier of the broadcast message, an identifier of a broadcast receiver of an application declaration in the terminal.
  • Step 4070 Determine a status of the broadcast receiver according to the identifier of the broadcast receiver.
  • Step 4080 Determine whether the status of the broadcast receiver is allowed to be received.
  • step 409 is entered; if the status of the broadcast receiver is prohibition of reception, the process ends.
  • Step 4090 sending the broadcast message to the broadcast receiver.
  • the method further includes: determining whether the switch of the automatic configuration broadcast receiver is turned on; if the switch of the automatic configuration broadcast receiver is turned on, proceeding to step 4010; if the automatic configuration of the broadcast receiver switch is not turned on, Proceed to step 4050.
  • the terminal acquires its own state parameter, and when the state parameter meets a certain preset condition, the broadcast receiver is configured according to the corresponding relationship preset by the user.
  • the state is automatically configured, and after receiving the broadcast message sent by the operating system of the terminal, determining the identifier of the broadcast receiver declared by the application in the terminal according to the identifier of the broadcast message; and determining the identifier according to the identifier of the broadcast receiver Declaring the state of the broadcast receiver, if the state of the broadcast receiver is to allow reception, transmitting the broadcast message to the broadcast receiver, such that only when the state of the broadcast receiver of the application declaration is allowed to be received The broadcast message is sent to the broadcast receiver.
  • control granularity of the control method of the application is also a broadcast receiver, and the state of the broadcast receiver can be more refined than the control method with granularity of the application.
  • Automatic configuration according to the user's preset settings not only improves the intelligence of the terminal, but also Enough to ensure that all actions within the application range of known users, in order to prevent application in the background while the user lossy data security operation state by monitoring changes in the terminal, to improve the security of user data.
  • This embodiment first provides an application management method, which is mainly for the user to dynamically control the broadcast receiver declared by the application after installing the application, and uniformly list the broadcast receivers declared by each application installed by the user for providing User configuration.
  • the user can configure all the broadcast receiver states that are installed by the application in a special configuration interface, and control the application's background behavior by allowing or disabling certain broadcast receivers of the application.
  • the application installed by the user in the state where the terminal is started, performs a full scan of the installed application through the PackagemanagerService, traverses all the applications once, and extracts the broadcast receivers of all application claims for presentation and use of the configuration interface.
  • the component related to the broadcast receiver is operated according to the state of the broadcast receiver configured by the user. For example, when the user configures the state of the broadcast receiver to prohibit receiving, the component corresponding to the broadcast receiver is called, and the disable interface of the PackageManagerService is called to disable the component related to the broadcast receiver; when the user When the state of the broadcast receiver is configured to allow reception, the component corresponding to the broadcast receiver is invoked by the component corresponding to the broadcast receiver, and the component related to the broadcast receiver is enabled.
  • FIG. 5 is a schematic diagram of an implementation process of an application management method according to another embodiment. As shown in Figure 5, the method includes the following steps.
  • step 5010 the user enters the application management configuration interface.
  • the user can enter the application management configuration interface through the touch operation.
  • the user when the user installs a new application, the user enters the application management configuration interface.
  • Step 5020 On the application management configuration interface, obtain application information installed by the user.
  • the application information installed by the user includes the identifier and status of the broadcast receiver declared by the user installed by the user.
  • the broadcast receiver of each application declared by the user may be listed through the scan of the PackageManagerService, that is, output to the application management configuration interface.
  • step 5030 the user configures for each application's broadcast receiver.
  • step 5040 during the switch or during operation, the terminal issues a system broadcast due to a state change.
  • step 5050 when the system issues a system broadcast and needs the ActivityManagerService for distribution, the ActivityManagerService determines the configuration result by reading the configuration interface.
  • the ActivityManagerService determines whether the state of the broadcast receiver corresponding to the system broadcast declared by an application is allowed to be received, if the state of the corresponding broadcast receiver of the system broadcast is allowed to be received, and the broadcast receiver also wishes Receiving, the ActivityManagerService sends the system broadcast to the broadcast receiver; if the state of the broadcast receiver corresponding to the system broadcast by the application is forbidden to receive, the process ends.
  • Step 5060 the broadcast receiver receives the system broadcast and performs processing.
  • the ActivityManagerService determines whether the broadcast receiver of an application can receive the broadcast receiver according to the configuration result of the configuration interface.
  • This system broadcast of the system if the broadcast receiver declared by the application is prohibited by the user, that is, the state of the broadcast receiver declared by the application is prohibition of reception, the broadcast receiver of the application is prohibited from receiving the broadcast. Therefore, it is possible to prevent certain applications from performing specific operations in the background by monitoring the state changes of the terminal, thereby ensuring the security of the end user data.
  • FIG. 6 is a schematic structural diagram of a terminal provided by an embodiment.
  • the terminal 600 includes a processor 601 and a storage medium 602 configured to store executable instructions, the processor 601 configured to execute stored executable instructions, the executable instructions including: receiving according to a broadcast message of the operating system, determining an identifier of the broadcast receiver corresponding to the identifier of the broadcast message; screening a broadcast receiver of the at least one application claim identical to the identifier of the broadcast receiver; to the at least one application The state of the declared broadcast receiver is to allow the receiving broadcast receiver to transmit the broadcast message to control the corresponding application of the broadcast receiver whose status is allowed to be received.
  • the processor 601 is configured to execute the stored executable instructions, the executable instructions further comprising:
  • the identifier of the broadcast receiver includes at least the type of the broadcast receiver, correspondingly, when the types of broadcast receivers belonging to the same broadcast receiver and belonging to different applications are typed according to the type of the broadcast receiver and a state, the receiving a first operation instruction that a user configures a state of the broadcast receiver, and configuring a state of the broadcast receiver based on the first operation instruction, including: receiving a state in which a user configures a state of the broadcast receiver An operation instruction; if the first operation instruction is used to configure a state of a broadcast receiver, determining, according to the first operation instruction, a type of a broadcast receiver to be configured and an application to which the broadcast receiver to be configured belongs And determining, according to the determined type of the broadcast receiver to be configured, the identifier of the application, and the first operation instruction, a state of the broadcast receiver to be configured; if the first operation instruction is used Configuring a state of a broadcast receiver belonging to the same type, determining, based on the first operation instruction, a
  • the receiving user configures a first operation instruction of a state of the broadcast receiver, and is configured based on the first operation instruction.
  • a state of the broadcast receiver comprising: receiving a first operation instruction that a user configures a state of the broadcast receiver; and if the first operation instruction is used to configure a state of a broadcast receiver, based on the first operation Determining, by the instruction, a type of the broadcast receiver to be configured and an identifier of the application to which the broadcast receiver to be configured belongs, the type of the broadcast receiver to be configured, the identifier of the application, and the first operation according to the determined
  • the instruction configures a state of the broadcast receiver to be configured; if the first operation instruction is used to configure a state of a broadcast receiver belonging to the same application, determining, according to the first operation instruction, a broadcast receiver to be configured to belong to An identifier of the target application, configuring a broadcast connection of
  • the configuring, according to the determined type of the broadcast receiver to be configured, the identifier of the application, and the first operation instruction, the state of the broadcast receiver to be configured including:
  • the state of the broadcast receiver to be configured is allowed to be received based on the first operation instruction.
  • the state is configured to disable the received second operational command, and the state of the broadcast receiver to be configured is configured to be disabled by the inhibited reception.
  • the processor 601 is configured to execute the stored executable instructions, the executable instructions further comprising: acquiring a state parameter of the terminal itself; determining whether the state parameter meets a preset condition, wherein the The preset condition is that the condition of the broadcast receiver declared by the application is automatically configured; if the state parameter meets the preset condition, determining the identifier and state of the broadcast receiver corresponding to the preset condition; and corresponding to the preset condition The identity and status of the broadcast receiver configure the state of the broadcast receiver corresponding to the preset condition.
  • the processor 601 is configured to execute stored executable instructions, the executable instructions further comprising: setting a component associated with the broadcast receiver to be configured to be disabled.
  • the processor is configured to execute the stored executable instructions, the executable instructions further comprising: after detecting that a new application is installed, acquiring and outputting an identifier of the broadcast receiver of the new application claim And a state; receiving a third operation instruction that the user configures a state of the broadcast receiver of the new application declaration, and configuring a state of the broadcast receiver of the new application declaration based on the third operation instruction.
  • the embodiment provides a computer storage medium.
  • the computer storage medium stores computer executable instructions, and the computer executable instructions are configured to execute an application management method provided by other embodiments of the present disclosure.
  • embodiments of the present disclosure can be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of a hardware embodiment, a software embodiment or a combination of software and hardware aspects. Moreover, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a specified manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device, the instruction
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide functionality for implementing a process in a flow or a flow or a block diagram in a block or blocks.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Circuits Of Receivers In General (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

一种应用的管控方法、终端及存储介质。其中,所述方法包括:根据所接收的操作系统的广播消息,确定与所述广播消息的标识对应的广播接收器的标识;筛选出与所述广播接收器的标识相同的至少一个应用声明的广播接收器;向所述至少一个应用声明的广播接收器中状态为允许接收的广播接收器发送所述广播消息,以对状态为允许接收的广播接收器相应的应用进行管控。

Description

应用的管控方法、终端及存储介质
本公开要求在2017年8月31日提交中国专利局、申请号为201710768564.3的中国专利申请的优先权,该申请的全部内容通过引用结合在本公开中。
技术领域
本公开涉及通信技术领域,例如涉及一种应用的管控方法、终端及存储介质。
背景技术
随着通信技术的发展,智能终端集成了越来越多的功能,从而使得智能终端的系统功能列表中包含了越来越多的应用(Application,APP),用户可以在智能终端上安装各种各样的应用,例如娱乐、工作和生活等相关软件应用。
很多应用在安装后,都会在智能终端开机或者是运行过程中自动启动,进行一些用户不可察觉的行为,这具有相当大的危险性。市面上主流的智能终端厂商都深度定制了系统级的应用管控系统,但是这类管控系统对应用程序的后台行为,要么是全部允许的,要么是全部禁止的,采用的是黑白名单机制。但是现在越来越多的应用,如果彻底禁止该应用的后台行为,那么该应用将无法正常运行,如果全部放开管控,那么该应用的行为又变得不受控。
因此,在系统级应用管控系统上,没有比系统级更细化的管控措施,使得既保证用户安装某个应用后能够正常使用,又保证该应用的所有行为在用户的可知范围内。
发明内容
本公开实施例提供一种应用的管控方法、终端及存储介质,能够比系统级更细化地对应用进行管控,既保证用户安装某个应用后能够正常使用,又保证该应用的所有行为在用户的可知范围内。
本公开实施例提供一种应用的管控方法,所述方法包括:
根据所接收的操作系统的广播消息,确定与所述广播消息的标识对应的广播接收器的标识;
筛选出与所述广播接收器的标识相同的至少一个应用声明的广播接收器;
向所述至少一个应用声明的广播接收器中状态为允许接收的广播接收器发送所述广播消息,以对状态为允许接收的广播接收器相应的应用进行管控。
本公开实施例提供一种终端,所述终端至少包括处理器和配置为存储可执行指令的存储介质,其中,
处理器配置为执行存储的可执行指令,所述可执行指令包括:
根据所接收的操作系统的广播消息,确定与所述广播消息的标识对应的广播接收器的标识;
筛选出与所述广播接收器的标识相同的至少一个应用声明的广播接收器;
向所述至少一个应用声明的广播接收器中状态为允许接收的广播接收器发送所述广播消息,以对状态为允许接收的广播接收器相应的应用进行管控。
本公开实施例提供一种存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令配置为执行上述应用管控方法。
本公开实施例提供的应用的管控方法的管控粒度是广播接收器,相比于以应用为粒度的管控方法更加细化,并且能够在保证应用能够正常使用的前提下,又能够保证应用的所有行为在用户的可知范围内,从而防止应用在后台通过监控手机状态变化而进行有损用户数据安全的操作,提高了用户数据的安全性。
附图说明
图1为一实施例提供的一种应用的管控方法的实现流程示意图;
图2为一实施例提供的一种配置广播接收器的界面图;
图3为另一实施例提供的一种配置广播接收器的界面图;
图4为另一实施例提供的一种应用的管控方法的实现流程示意图;
图5为另一实施例提供的一种应用的管控方法的实现流程示意图;
图6为一实施例提供的终端的组成结构示意图。
具体实施方式
下面将结合本公开实施例中的附图,对公开的技术方案进行描述。以下实施例用于说明本公开,但不用来限制本公开的范围。
为了更好的理解本公开实施例,首先对终端操作系统的广播机制、广播接收器以及广播接收器的注册方法进行说明。
广播接收器用于接收和响应系统广播的消息。广播机制,从本质来说,是一种消息订阅/发布机制,因此,使用这种消息驱动模型的第一步便是订阅消息, 而对应用来说,订阅消息其实就是注册广播接收器,当系统发送广播消息后,系统根据注册情况,获取与广播消息对应的广播接收器,然后在应用层面分别调用广播接收器的处理函数,完成广播消息的处理。
应用注册广播接收器的过程就把是广播接收器注册到活动管理服务(ActivityManagerService,AMS)的过程。应用是通过调用上下文功能包装(ContextWrapper)类的注册广播接收器(registerReceiver)函数来把广播接收器注册到ActivityManagerService中去的,广播接收器可以视为广播接收器(BroadcastReceiver)类的子类,属于一种软件虚拟的实体。
注册广播接收器的方法有两种,一种方法是静态注册,另一种方法是动态注册。
动态注册,即通过函数来注册和解除广播接收器,这种注册方法通常用于更新用户界面(User Interface,UI)的状态。一般来说,都是在一个活动(Activity)启动的时候使用此方法注册广播接收器(BroadcastReceiver),一旦接收到广播的事件,就可以在正在接收(onReceive)方法当中更新当前的这个Activity当中的控件。但是需要注意的是如果这个Activity不可见了,就应该调用未注册接收器(unregisterReceiver)方法来解除注册,所以就不能收到消息了。
这里对活动进行相关说明。一个活动表示一个可视化的用户界面,关注一个用户从事的事件。例如,一个活动可能表示一个用户可选择的菜单项列表,或者可能显示照片连同照片的标题。一个文本短信应用程序可能有第一个活动,显示联系人的名单发送信息;第二个活动,写信息给选定的联系人;其他活动,重新查看旧信息或更改设置。虽然这些活动一起工作形成一个整体的用户界面,但是每个活动是独立于其他活动的。
静态注册,即在安卓应用入口文件(AndroidManifest.xml)中注册广播接收器。这种注册方法可以保证在应用程序安装之后,BroadcastReceiver始终处于活动状态,通常用于监听系统状态的改变,比如说手机的电量、无线保真(Wireless-Fidelity,Wi-Fi)网卡的状态(当然,监视这些东西也是取决于软件的需求)。对于这样的BroadcastReceiver,通常是在产生某个指定的系统事件之后,进行相应的操作,比如说Wi-Fi网卡打开时,给用户一个提示消息,提示用户Wi-Fi网卡已打开。
在广播机制中,动态注册的优先级是要高于静态注册优先级的。
实施例一
图1为一实施例提供的一种应用的管控方法的实现流程示意图。如图1所示,所述方法包括以下步骤。
步骤1010,根据所接收的操作系统的广播消息,确定与所述广播消息的标识对应的广播接收器的标识。
这里,步骤1010根据所接收的操作系统的广播消息,确定与所述广播消息的标识对应的广播接收器的标识可以是由终端执行的。终端可以是具有触控功能的移动电话(手机)、平板电脑(iPad)或笔记本等具有无线通信能力的移动终端。在一实施例中,所述步骤1010接收自身的操作系统发出的广播消息可以是由终端中的一个服务(进程)执行的。服务可以是运行于系统进程的AMS。AMS主要用于管理广播消息的注册、发送以及调度处理。
广播消息的内容是可以与应用密切相关的数据信息,也可以是安卓(Android)的系统信息,例如网络连接变化、电池电量变化、接收的短信或系统设置变化等。如果应用程序注册了BroadcastReceiver,则可以接受到指定的广播信息。当终端的运行状态发生变化,例如在终端开关机、时间发生改变、电池电量低或通用串行总线(Universal Serial Bus,USB)插拔等情况下,终端的操作系统都会根据终端运行状态的改变而发出相应的广播消息。
所述广播消息中至少携带有所述广播消息的标识,所述广播消息的标识例如可以是广播消息的类型。
由于一个类型的广播接收器只能接收一种类型的广播消息,所以在注册列表中存在有广播接收器与广播消息的对应关系。接收到所述广播消息后,ActivityManagerService根据所述广播消息的标识从注册列表中获取终端中对应的应用的广播接收器的标识。这里的广播接收器的标识至少包括广播接收器的类型。
步骤1020,筛选出与所述广播接收器的标识相同的至少一个应用声明的广播接收器。
这里,所述应用可以是所述终端中已安装且处于运行状态的应用,当然也可以是所述终端中已安装的所有应用。一个应用会声明多个广播接收器,这里是要确定与所述广播接收器的标识相同的广播接收器,也就是可以接收并处理所述广播消息的广播接收器。
步骤1030,向所述至少一个应用声明的广播接收器中状态为允许接收的广 播接收器发送所述广播消息,以对状态为允许接收的广播接收器相应的应用进行管控。
这里,广播接收器的状态包括允许接收和禁止接收。如果一个广播接收器的状态为允许接收,那么就表示可以向这个广播接收器发送相应的广播消息;如果一个广播接收器的状态为禁止接收,那么就表示不能向这个广播接收器发送相应的广播消息。在实际实现的过程中,可以通过查询广播接收器标识和广播接收器状态的对应关系表来确定一个广播接收器的状态。
在本实施例中,所述至少一个应用声明的广播接收器中状态为允许接收的广播接收器接收到所述广播消息后,根据所述广播消息进行相应的处理。比如,如果接收到时间变化刷新时间的广播消息时,允许接收这一广播消息的广播接收器会根据接收到的广播消息更新时间。
在其他实施例中,所述步骤1030之前,所述方法还包括:
判断与所述广播接收器的标识相同的至少一个应用声明的广播接收器的状态是否为允许接收,其中,如果所述广播接收器的状态是允许接收,则进入步骤1030;如果所述广播接收器的状态是禁止接收,则结束流程。
在其他实施例中,所述方法还包括:获取并输出自身应用声明的广播接收器的标识和当前的状态;接收用户配置所述广播接收器的状态的第一操作指令,并基于第一操作指令配置所述广播接收器的状态。
在终端启动的状态下,用户通过触控操作进入到配置广播接收器状态的界面后,可以通过包管理服务(PackagemanagerService)对已安装的应用进行全盘扫描,获取并输出所有应用声明的广播接收器的标识和当前的状态,供用户配置。这样,用户可以根据自身的需要及终端当前的状态,对应用声明的广播接收器进行管理控制。
在本实施例中,根据所接收的操作系统的广播消息,确定与所述广播消息的标识对应的广播接收器的标识,然后筛选出与所述广播接收器的标识相同的至少一个应用声明的广播接收器,再向所述至少一个应用声明的广播接收器中状态为允许接收的广播接收器发送所述广播消息,以对状态为允许接收的广播接收器相应的应用进行管控。这样,只有在应用声明的广播接收器的状态是允许接收的时候,才会向广播接收器发送广播消息,也就是说,本实施例提供的应用的管控方法的管控粒度是广播接收器,相比于以应用为粒度的管控方法更加细化,另外,由于所述广播接收器的状态是由用户配置的,如此能够在保证 应用能够正常使用的前提下,又能够保证应用的所有行为在用户的可知范围内,从而防止应用在后台通过监控终端状态变化而进行有损用户数据安全的操作,提高了用户数据的安全性。
实施例二
基于前述的实施例,本实施例提供一种应用的管控方法,应用于终端,所述方法包括以下步骤。
步骤1,获取并输出终端中已安装的应用声明的广播接收器的标识和状态。
在本实施例中,当用户进入到终端已安装应用声明的广播接收器的配置界面时,终端中的服务进程会对已安装应用声明的广播接收器进行扫描,获取并输出所有的广播接收器的标识和当前的状态。在输出广播接收器的标识和状态的时候,可以根据应用标识输出广播接收器的标识和状态,也可以根据广播接收器的标识输出广播接收器的标识和状态。
步骤20,接收用户配置所述广播接收器的状态的第一操作指令,并基于第一操作指令配置所述广播接收器的状态。
在本实施例中,由于终端上安装的应用较多,而每个应用也会声明多个广播接收器,比如,一个终端上安装了15个应用,每个应用声明的广播接收器的个数可能是相同的,也可能是不同的,假定每个应用平均声明的广播接收器有5个,这样,输出的广播接收器的个数为75个,对于用户来说,这个数量是相当大的。为了使得客户能够根据自己的需要更方便快捷的对广播接收器的状态进行配置,为用户提供多种配置方式。当用户需要配置的广播接收器的个数较少时,可以逐个对广播接收器的状态进行配置。而当用户需要配置的广播接收器的个数较多,且是对某一个应用或者某一种类型的广播接收器的状态进行统一配置时,可以为用户提供按照广播接收器的类型或者按照应用的标识进行统一配置的接口。
图2为一实施例提供的一种配置广播接收器的界面图。如图2所示,在配置广播接收器的界面中提供了对一个应用声明的所有广播接收器进行配置的接口201,当用户选中了201的全选后,可以在区域202中配置应用1中声明的所有广播接收器的状态。如果用户没有选中201,则可以在203区域所在列对每个广播接收器的状态进行单独配置。
图3为另一实施例提供的一种配置广播接收器的界面图。如图3所示,在 配置广播接收器的界面中提供了对属于同一类型的广播接收器进行配置的接口301,当用户选中了301的全选后,可以在区域302中配置属于类型1的所有广播接收器的状态。如果用户没有选中301,则可以在303区域所在列对每个广播接收器的状态进行单独配置。
步骤30,接收终端的操作系统发出的广播消息。
步骤40,根据所述广播消息的标识确定与所述广播消息对应的广播接收器的标识。
步骤50,确定与所述广播接收器的标识相同的第一广播接收器集合。
这里,所述第一广播接收器集合包括所述终端中至少一个应用声明的广播接收器。
步骤60,将所述第一广播接收器集合中状态为允许接收的广播接收器确定为第二广播接收器集合。
步骤70,向所述第二广播接收器集合中的广播接收器发送所述广播消息,以对所述第二广播接收器集合中的广播接收器相应的应用进行管控。
在其他实施例中,所述广播接收器的标识至少包括所述广播接收器的类型。对应地,获取并输出终端中已安装的应用的广播接收器的标识和状态,包括:
获取所述终端中已安装的应用的广播接收器的类型和状态;按照应用的标识输出属于同一应用的广播接收器的类型和状态;或者,按照广播接收器的类型输出属于同一广播接收器的类型且属于不同应用的广播接收器的类型和状态。
在其他实施例中,当按照应用的标识输出属于同一应用的广播接收器的类型和状态时,所述接收用户配置所述广播接收器的状态的第一操作指令,并基于第一操作指令配置所述广播接收器的状态,包括:接收用户配置所述广播接收器的状态的第一操作指令;如果所述第一操作指令用于配置一个广播接收器的状态,则基于所述第一操作指令确定要配置的广播接收器的类型和所述要配置的广播接收器所属的应用的标识,根据确定的所述要配置的广播接收器的类型、所述应用的标识和所述第一操作指令配置应用声明的广播接收器的状态;如果所述第一操作指令用于配置属于同一应用的广播接收器的状态,则基于所述第一操作指令确定要配置的广播接收器所属的目标应用的标识,根据确定的所述目标应用的标识和所述第一操作指令配置所述目标应用声明的所有广播接收器的状态。
也就是说,当输出的广播接收器的标识和状态是按照同一个应用声明的广播接收器连续排列的话,用户可以针对单个的广播接收器进行配置。比如,用户可以将某个天气预报应用声明的时间刷新广播接收器的状态配置为允许接收,而将数据刷新广播接收器的状态配置为禁止接收。这样,这个天气预报应用仅对时间进行更新,不对数据进行更新,能够保证这个天气预报应用正常使用,又能避免数据更新消耗很多的电量以及数据流量。同样地,用户不想让天气预报应用在后台运行,则可以将这个天气预报应用声明的广播接收器的状态都配置为禁止接收。
在其他实施例中,当按照广播接收器的类型输出属于同一广播接收器的类型且属于不同应用的广播接收器的类型和状态时,所述接收用户配置所述广播接收器的状态的第一操作指令,并基于第一操作指令配置所述广播接收器的状态,包括:接收用户配置所述广播接收器的状态的第一操作指令;如果所述第一操作指令用于配置一个广播接收器的状态,则基于所述第一操作指令确定要配置的广播接收器的类型和所述要配置的广播接收器所属的应用的标识,根据确定的所述要配置的广播接收器的类型、所述应用的标识和所述操作指令配置所述要配置的广播接收器的状态;如果所述第一操作指令用于配置属于同一类型的广播接收器的状态,则基于所述第一操作指令确定要配置的广播接收器的类型,根据确定的所述要配置的广播接收器的类型和所述第一操作指令配置与所述要配置的广播接收器类型相同的所有广播接收器的状态。
同样地,当输出的广播接收器的标识和状态是按照广播接收器的类型连续排列的话,用户可以针对单个的广播接收器进行配置。比如,用户如果只想让即时通信应用的数据进行实时更新,不想让天气预报应用的数据进行实时更新,那么用户可以将天气预报应用声明的数据更新广播接收器的状态配置为禁止接收,而将即时通信应用中声明的数据更新广播接收器的状态配置为允许接收。同样地,用户由于终端的电量较低或者没有在Wi-Fi网络连接下,想让所有的应用都不进行数据更新,那么用户则可以将类型为数据更新类型的广播接收器的状态都配置为禁止接收。
在其他实施例中,所述根据确定的所述要配置的广播接收器的类型、所述应用的标识和所述第一操作指令配置所述广播接收器的状态,包括:
如果所述第一操作指令用于将所述要配置的广播接收器的状态由允许接收配置为禁止接收,则基于所述第一操作指令将所述要配置的广播接收器的状态 由允许接收配置为禁止接收;生成并输出将所述要配置的广播接收器的状态配置为禁止接收所造成的影响的提示信息;如果没有接收到用户发出的确认将所述要配置的广播接收器的状态配置为禁止接收的第二操作指令,则将所述要配置的广播接收器的状态由禁止接收配置为允许接收。
在一实施例中,如果接收到用户发出的确认将所述要配置的广播接收器的状态配置为禁止接收的第二操作指令,则基于所述第二操作指令保持所述要配置的广播接收器的状态为禁止接收。
在本实施例中,应用声明的广播接收器的状态可以是由用户进行配置的,但是对于一些指定的广播接收器来说,如果广播接收器的状态被配置为禁止接收可能会导致应用不可用,因此在用户将广播接收器的状态配置为禁止接收时,会输出一个提示信息,以供用户参考是否坚持将该广播接收器的状态配置为禁止接收。
在其他实施例中,还可以是当安装了一个新应用时,对新应用声明的广播接收器的状态进行配置。在实现的过程中,可以通过以下步骤实现:当检测到有新应用安装后,获取并输出所述新应用声明的广播接收器的标识和状态;接收用户配置所述新应用声明的广播接收器的状态的第三操作指令,并基于第三操作指令配置所述新应用声明的广播接收器的状态。这样,当安装了一个新应用时就对新应用声明的广播接收器的状态进行配置,不用等到用户统一进行配置时配置,可以及时的对新应用进行管控。
本实施例中与其它实施例中相同步骤或概念的解释可以参考其它实施例中的描述。
在本实施例中,终端根据用户配置广播接收器的状态的操作指令,对广播接收器的状态进行配置,然后在接收到终端的操作系统发出的广播消息后,根据所述广播消息的标识确定终端中对应的应用声明的广播接收器的标识;并确定与所述广播接收器的标识相同的第一广播接收器集合;再将所述第一广播接收器集合中状态为允许接收的广播接收器确定为第二广播接收器集合;最后向所述第二广播接收器集合中的广播接收器发送所述广播消息,以对应用进行管控,这样,只有在应用声明的广播接收器的状态是允许接收的时候,才会向广播接收器发送广播消息,也就是说,本实施例提供的应用的管控方法的管控粒度是广播接收器,相比于以应用为粒度的管控方法更加细化,并且由于广播接收器的状态是由用户进行配置的,能够保证应用的所有行为在用户的可知范围 内,从而防止应用在后台通过监控终端状态变化而进行有损用户数据安全的操作,提高了用户数据的安全性。
实施例三
图4为另一实施例提供的一种应用的管控方法的实现流程示意图。如图4所示,所述方法包括以下步骤。
步骤4010,获取终端自身的状态参数。
在本实施例中,所述自身的状态参数可以是终端当前的电池电量、终端当前所处的网络环境及网络状态、也可以是指终端中的客户识别模块(Subscriber Identification Module,SIM)中当前剩余的数据流量等。
在实际实现的过程中,获取终端自身的状态参数可以是实时不间断的去获取;也可以是经过一定的时间间隔周期性地获取。
步骤4020,判断所述状态参数是否满足预设条件。
这里,所述预设条件是自动配置终端已安装的应用的广播接收器的条件。在实现的过程中,所述预设条件可以是终端当前的电池电量低于第一预设值、终端处于某一预设的网络中或者终端中SIM当前剩余流量低于第二预设值。例如,所述预设条件可以是电池最大电量的10%,或者是终端当前处于Wi-Fi网络中,还可以是终端中的SIM卡当前剩余的数据流量低于10兆。
如果所述状态参数满足所述预设条件,则进入步骤4030;如果所述状态参数不满足所述预设条件,则进入步骤4050。
步骤4030,确定所述预设条件对应的广播接收器的标识和广播接收器的状态。
在本实施例中,终端中存储有当终端自身的状态参数满足某一种预设条件时,该预设条件要配置的广播接收器的标识以及这些广播接收器要配置的状态。比如,当终端当前的电池电量为低于电池最大电量的10%时,则将终端移动数据连接的广播接收器的状态配置为禁止接收,将无线数据连接的广播接收器的状态配置为禁止接收。再比如,当终端处于Wi-Fi网络中时,将无线数据连接的广播接收器的状态配置为允许接收。
在一实施例中,预设条件对应的广播接收器的标识以及将广播接收器的状态可以是由用户预先设置好的。这样,既能增加终端的智能性,又能保证终端中已安装的应用在后台的行为在用户的可知范围内。
步骤4040,配置所述预设条件对应的广播接收器的状态。
在本实施例中,在实现配置所述预设条件对应的广播接收器的状态的过程中,首先要确定这些要配置的广播接收器当前的状态,将要配置的广播接收器当前的状态与要配置的状态进行对比;如果要配置的广播接收器当前的状态与要配置的状态相同,则不进行处理;如果要配置的广播接收器当前的状态与要配置的状态不同,则将要配置的广播接收器的状态改变为要配置的状态。
步骤4050,接收终端的操作系统发出的广播消息。
步骤4060,根据所述广播消息的标识确定终端中的应用声明的广播接收器的标识。
步骤4070,根据所述广播接收器的标识确定所述广播接收器的状态。
步骤4080,判断所述广播接收器的状态是否为允许接收。
在本实施例中,如果所述广播接收器的状态为允许接收,则进入步骤409;如果所述广播接收器的状态为禁止接收,则结束流程。
步骤4090,向所述广播接收器发送所述广播消息。
在其他实施例中,所述方法还包括:判断自动配置广播接收器的开关是否开启;如果自动配置广播接收器的开关开启,则进入步骤4010;如果自动配置广播接收器的开关未开启,则进入步骤4050。
在本实施例中,当自动配置广播接收器状态的开关启动时,终端获取自身的状态参数,并在状态参数满足一定的预设条件时,按照用户预先设置好的对应关系对一些广播接收器的状态进行自动配置,然后在接收到终端的操作系统发出的广播消息后根据所述广播消息的标识确定终端中的应用声明的广播接收器的标识;再根据所述广播接收器的标识确定所述广播接收器的状态,如果所述广播接收器的状态为允许接收,向所述广播接收器发送所述广播消息,这样,只有在应用声明的广播接收器的状态是允许接收的时候,才会向广播接收器发送广播消息,也就是说,本实施例提供的应用的管控方法的管控粒度也是广播接收器,相比于以应用为粒度的管控方法更加细化,广播接收器的状态能够根据用户的预先设置进行自动配置,不但提高了终端的智能性,还能够保证应用的所有行为在用户的可知范围内,从而防止应用在后台通过监控终端状态变化而进行有损用户数据安全的操作,提高了用户数据的安全性。
实施例四
本实施例先提供一种应用的管控方法,主要针对用户在安装应用程序后,对应用程序声明的广播接收器进行动态管控,将用户安装的每个应用声明的广播接收器统一列出,供用户配置。
在本实施例中,用户可以在专门的配置界面,配置所有安装应用声明的广播接收器状态,通过允许或禁止应用的某些广播接收器,达到控制应用在后台行为的目的。
用户安装的应用,在终端启动的状态下,通过PackagemanagerService进行对已安装的应用全盘扫描,将所有的应用进行一次遍历,将所有应用声明的广播接收器提取出来,供配置界面呈现和使用。
当用户针对某个应用配置了该应用的某一广播接收器状态时,在配置界面点击确认后,根据用户配置的该广播接收器的状态对与该广播接收器相关的组件进行相应的操作。例如,当用户将该广播接收器的状态配置为禁止接收时,会通过该广播接收器对应的组件,调用PackageManagerService的不可用(disable)接口,将该广播接收器相关的组件禁用;当用户将该广播接收器的状态配置为允许接收时,会通过该广播接收器对应的组件,调用PackageManagerService的可用(enable)接口,将该广播接收器相关的组件启用。
图5为另一实施例提供的一种应用的管控方法的实现流程示意图。如图5所示,所述方法包括以下步骤。
步骤5010,用户进入到应用管控配置界面。
这里,在终端启动的状态下,用户可以通过触控操作进入到应用管控配置界面。也可以是,当用户安装了一个新的应用后,进入到应用管控配置界面。
步骤5020,应用管控配置界面上,获取用户安装的应用信息。
这里,用户安装的应用信息包括用户安装的应用声明的广播接收器的标识和状态。在实现的过程中,可以通过PackageManagerService的扫描,将用户安装的每个应用声明的广播接收器全部列出,也就是输出到应用管控配置界面上。
步骤5030,用户针对每个应用的广播接收器进行配置。
步骤5040,终端在开关机或者运行过程中,由于状态变化,会发出系统广播。
步骤5050,当系统发出系统广播,需要ActivityManagerService进行分发时,ActivityManagerService通过读取配置界面的配置结果进行判定。
这里,ActivityManagerService判断某个应用声明的该系统广播对应的广播接收器的状态是否为允许接收,如果该应用声明的该系统广播对应的广播接收器的状态为允许接收,且该广播接收器也希望接收则ActivityManagerService将所述系统广播发送给该广播接收器;如果该应用声明的该系统广播对应的广播接收器的状态为禁止接收,则流程结束。
步骤5060,该广播接收器接收所述系统广播并进行处理。
在本实施例中,当终端在开机过程中,或者是在运行中状态发生变化,发出系统广播时,ActivityManagerService会根据用户在配置界面的配置结果,判定某个应用声明的广播接收器是否可以接收系统的这个系统广播,如果该应用声明的广播接收器是被用户禁止掉的,也就是说该应用声明的广播接收器的状态是禁止接收,则禁止该应用的这个广播接收器接收该广播,从而达到防止某些应用在后台通过监控终端状态变化而进行特定的操作,保证了终端用户数据的安全。
实施例五
图6为一实施例提供的终端的组成结构示意图。如图6示,所述终端600包括:处理器601和配置为存储可执行指令的存储介质602,所述处理器601配置为执行存储的可执行指令,所述可执行指令包括:根据所接收的操作系统的广播消息,确定与所述广播消息的标识对应的广播接收器的标识;筛选出与所述广播接收器的标识相同的至少一个应用声明的广播接收器;向所述至少一个应用声明的广播接收器中状态为允许接收的广播接收器发送所述广播消息,以对状态为允许接收的广播接收器相应的应用进行管控。
其他实施例中,所述处理器601配置为执行存储的可执行指令,所述可执行指令还包括:
获取并输出应用声明的广播接收器的标识和状态;
接收用户配置所述广播接收器的状态的第一操作指令,并基于第一操作指令配置所述广播接收器的状态。
在其他实施例中,所述广播接收器的标识至少包括广播接收器的类型,对应的,当按照广播接收器的类型输出属于同一广播接收器的类型且属于不同应用的广播接收器的类型和状态时,所述接收用户配置所述广播接收器的状态的第一操作指令,并基于第一操作指令配置所述广播接收器的状态,包括:接收 用户配置所述广播接收器的状态的第一操作指令;如果所述第一操作指令用于配置一个广播接收器的状态,则基于所述第一操作指令确定要配置的广播接收器的类型和所述要配置的广播接收器所属的应用的标识,根据确定的所述要配置的广播接收器的类型、所述应用的标识和所述第一操作指令配置所述要配置的广播接收器的状态;如果所述第一操作指令用于配置属于同一类型的广播接收器的状态,则基于所述第一操作指令确定要配置的广播接收器的类型,根据确定的所述要配置的广播接收器的类型和所述第一操作指令配置与所述要配置的广播接收器的类型相同的广播接收器的状态。
在其他实施例中,当按照应用的标识输出属于同一应用的广播接收器的类型和状态时,所述接收用户配置所述广播接收器的状态的第一操作指令,并基于第一操作指令配置所述广播接收器的状态,包括:接收用户配置所述广播接收器的状态的第一操作指令;如果所述第一操作指令用于配置一个广播接收器的状态,则基于所述第一操作指令确定要配置的广播接收器的类型和所述要配置的广播接收器所属的应用的标识,根据确定的所述要配置的广播接收器的类型、所述应用的标识和所述第一操作指令配置所述要配置的广播接收器的状态;如果所述第一操作指令用于配置属于同一应用的广播接收器的状态,则基于所述第一操作指令确定要配置的广播接收器所属的目标应用的标识,根据确定的目标应用的标识和所述操作指令配置所述目标应用声明的广播接收器的状态。
在其他实施例中,所述根据确定的所述要配置的广播接收器的类型、所述应用的标识和所述第一操作指令配置所述要配置的广播接收器的状态,包括:
如果所述第一操作指令用于将所述要配置的广播接收器的状态由允许接收配置为禁止接收,则基于所述第一操作指令将所述要配置的广播接收器的状态由允许接收配置为禁止接收;生成并输出将所述要配置的广播接收器的状态配置为禁止接收所造成的影响的提示信息;如果接收到用户发出的确认将所述要配置的广播接收器的状态配置为禁止接收的第二操作指令,则基于所述第二操作指令保持所述要配置的广播接收器的状态为禁止接收;如果没有接收到用户发出的确认将所述要配置的广播接收器的状态配置为禁止接收的第二操作指令,则将所述要配置的广播接收器的状态由禁止接收配置为允许接收。
在其他实施例中,所述处理器601配置为执行存储的可执行指令,所述可执行指令还包括:获取终端自身的状态参数;判断所述状态参数是否满足预设条件,其中,所述预设条件是自动配置应用声明的广播接收器的条件;如果所 述状态参数满足预设条件,则确定所述预设条件对应的广播接收器的标识和状态;基于所述预设条件对应的广播接收器的标识和状态配置所述预设条件对应的广播接收器的状态。
在其他实施例中,所述处理器601配置为执行存储的可执行指令,所述可执行指令还包括:将与所述要配置的广播接收器相关联的组件设置为禁用。
在其他实施例中,所述处理器配置为执行存储的可执行指令,所述可执行指令还包括:当检测到有新应用安装后,获取并输出所述新应用声明的广播接收器的标识和状态;接收用户配置所述新应用声明的广播接收器的状态的第三操作指令,并基于第三操作指令配置所述新应用声明的广播接收器的状态。
本实施例提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令配置为执行本公开其他实施例提供的应用管控方法。
本领域内的技术人员应明白,本公开的实施例可提供为方法、系统或计算机程序产品。因此,本公开可采用硬件实施例、软件实施例或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本公开是参照本公开实施例提供的方法、设备(系统)和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以指定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个 流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
以上所述,仅为本公开的实施例,并非用于限定本公开的保护范围。

Claims (11)

  1. 一种应用的管控方法,包括:
    根据所接收的操作系统的广播消息,确定与所述广播消息的标识对应的广播接收器的标识;
    筛选出与所述广播接收器的标识相同的至少一个应用声明的广播接收器;
    向所述至少一个应用声明的广播接收器中状态为允许接收的广播接收器发送所述广播消息,以对状态为允许接收的所述广播接收器相应的应用进行管控。
  2. 根据权利要求1所述的方法,其中,在所述根据所接收的操作系统的广播消息,确定与所述广播消息的标识对应的广播接收器的标识之前,还包括:
    获取并输出应用声明的广播接收器的标识和状态;
    接收用户配置所述广播接收器的状态的第一操作指令,并基于所述第一操作指令配置所述广播接收器的状态。
  3. 根据权利要求2所述的方法,其中,所述广播接收器的标识至少包括广播接收器的类型;
    所述获取并输出应用声明的广播接收器的标识和状态,包括:获取应用声明的广播接收器的类型和状态,并按照广播接收器的类型输出属于同一广播接收器的类型且属于不同应用的广播接收器的类型和状态;
    所述接收用户配置所述广播接收器的状态的第一操作指令,并基于所述第一操作指令配置所述广播接收器的状态,包括:接收用户配置所述广播接收器的状态的第一操作指令;如果所述第一操作指令用于配置一个广播接收器的状态,则基于所述第一操作指令确定要配置的广播接收器的类型和所述要配置的广播接收器所属的应用的标识,根据确定的所述要配置的广播接收器的类型、所述应用的标识和所述第一操作指令配置所述要配置的广播接收器的状态;如果所述第一操作指令用于配置属于同一类型的广播接收器的状态,则基于所述第一操作指令确定要配置的广播接收器的类型,根据确定的所述要配置的广播接收器的类型和所述第一操作指令配置与所述要配置的广播接收器的类型相同的广播接收器的状态。
  4. 根据权利要求2所述的方法,其中,所述广播接收器的标识至少包括广播接收器的类型;
    所述获取并输出应用声明的广播接收器的标识和状态,包括:获取应用声明的广播接收器的类型和状态,并按照应用的标识输出属于同一应用的广播接收器的类型和状态;
    所述接收用户配置所述广播接收器的状态的第一操作指令,并基于所述第一操作指令配置所述广播接收器的状态,包括:接收用户配置所述广播接收器的状态的第一操作指令;如果所述第一操作指令用于配置一个广播接收器的状态,则基于所述第一操作指令确定要配置的广播接收器的类型和所述要配置的广播接收器所属的应用的标识,根据确定的所述要配置的广播接收器的类型、所述应用的标识和所述第一操作指令配置所述要配置的广播接收器的状态;如果所述第一操作指令用于配置属于同一应用的广播接收器的状态,则基于所述第一操作指令确定要配置的广播接收器所属的目标应用的标识,根据确定的所述目标应用的标识和所述第一操作指令配置所述目标应用声明的广播接收器的状态。
  5. 根据权利要求3或4所述的方法,其中,所述根据确定的所述要配置的广播接收器的类型、所述应用的标识和所述第一操作指令配置所述要配置的广播接收器的状态,包括:
    如果所述第一操作指令用于将所述要配置的广播接收器的状态由允许接收配置为禁止接收,则基于所述第一操作指令将所述要配置的广播接收器的状态由允许接收配置为禁止接收;
    生成并输出将所述要配置的广播接收器的状态配置为禁止接收所造成的影响的提示信息;
    如果没有接收到用户发出的确认将所述要配置的广播接收器的状态配置为禁止接收的第二操作指令,则将所述要配置的广播接收器的状态由禁止接收配置为允许接收。
  6. 根据权利要求5所述的方法,还包括:
    如果接收到用户发出的确认将所述要配置的广播接收器的状态配置为禁止接收的第二操作指令,则基于所述第二操作指令保持所述要配置的广播接收器的状态为禁止接收。
  7. 根据权利要求1至5任一项所述的方法,还包括:
    获取终端的状态参数;
    判断所述状态参数是否满足预设条件,其中,所述预设条件与广播接收器的标识和状态存在对应关系;
    如果所述状态参数满足预设条件,则确定与所述预设条件对应的广播接收器的标识和状态;
    基于所述预设条件对应的广播接收器的标识和状态配置所述预设条件对应的广播接收器的状态。
  8. 根据权利要求5所述的方法,其中,在所述基于所述第一操作指令将所述要配置的广播接收器的状态由允许接收配置为禁止接收之后,还包括:
    将与所述要配置的广播接收器相关联的组件设置为禁用。
  9. 根据权利要求1-5任一项所述的方法,还包括:
    当检测到有新应用安装后,获取并输出所述新应用声明的广播接收器的标识和状态;
    接收用户配置所述新应用声明的广播接收器的状态的第三操作指令,并基于所述第三操作指令配置所述新应用声明的广播接收器的状态。
  10. 一种终端,所述终端至少包括处理器和配置为存储可执行指令的存储介质,所述处理器配置为执行存储的可执行指令,所述可执行指令包括:
    根据所接收的操作系统的广播消息,确定与所述广播消息的标识对应的广播接收器的标识;
    筛选出与所述广播接收器的标识相同的至少一个应用声明的广播接收器;
    向所述至少一个应用声明的广播接收器中状态为允许接收的广播接收器发送所述广播消息,以对状态为允许接收的所述广播接收器相应的应用进行管控。
  11. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令配置为执行上述权利要求1至9任一项提供的应用管控方法。
PCT/CN2018/102747 2017-08-31 2018-08-28 应用的管控方法、终端及存储介质 WO2019042283A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/643,620 US20200401467A1 (en) 2017-08-31 2018-08-28 Management and control method for application, terminal, and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710768564.3 2017-08-31
CN201710768564.3A CN108196960B (zh) 2017-08-31 2017-08-31 一种应用的管控方法、终端及存储介质

Publications (1)

Publication Number Publication Date
WO2019042283A1 true WO2019042283A1 (zh) 2019-03-07

Family

ID=62572749

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/102747 WO2019042283A1 (zh) 2017-08-31 2018-08-28 应用的管控方法、终端及存储介质

Country Status (3)

Country Link
US (1) US20200401467A1 (zh)
CN (1) CN108196960B (zh)
WO (1) WO2019042283A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11663628B2 (en) 2012-05-14 2023-05-30 Iqzone, Inc. Systems and methods for unobtrusively displaying media content on portable devices
CN108196960B (zh) * 2017-08-31 2023-08-04 中兴通讯股份有限公司 一种应用的管控方法、终端及存储介质
US11736777B2 (en) 2019-10-25 2023-08-22 Iqzone, Inc. Using activity-backed overlays to display rich media content on portable devices during periods of user inactivity

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103425225A (zh) * 2012-05-16 2013-12-04 腾讯科技(深圳)有限公司 便携数据设备操作系统中的应用程序装置及其运行方法
WO2014168375A1 (en) * 2013-04-09 2014-10-16 Samsung Electronics Co., Ltd. Method and apparatus for updating application in electronic device
CN104991803A (zh) * 2015-07-10 2015-10-21 上海斐讯数据通信技术有限公司 对android应用程序在特定条件下自启动的管控系统及方法
CN105278931A (zh) * 2014-06-19 2016-01-27 腾讯科技(深圳)有限公司 一种安卓系统禁止应用程序后台自启的方法及终端
CN106502728A (zh) * 2016-09-30 2017-03-15 北京金山安全软件有限公司 应用程序下载的管理方法、装置及电子设备
CN108196960A (zh) * 2017-08-31 2018-06-22 中兴通讯股份有限公司 一种应用的管控方法、终端及存储介质

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8121296B2 (en) * 2001-03-28 2012-02-21 Qualcomm Incorporated Method and apparatus for security in a data processing system
CN103595547B (zh) * 2013-11-15 2016-07-13 北京奇虎科技有限公司 智能设备的广播拦截方法和装置
US20180152893A1 (en) * 2015-04-29 2018-05-31 Huawei Technologies Co., Ltd. Terminal control method and apparatus and terminal device
CN105138372A (zh) * 2015-08-27 2015-12-09 上海斐讯数据通信技术有限公司 一种基于Android系统的后台服务管控系统及方法
CN106874077B (zh) * 2015-12-11 2020-04-21 腾讯科技(深圳)有限公司 进程运行方法及装置
CN106201740A (zh) * 2016-06-29 2016-12-07 北京金山安全软件有限公司 一种广播消息管理方法、装置及设备
CN107070670B (zh) * 2017-03-10 2020-01-14 Oppo广东移动通信有限公司 控制广播发送者发送广播消息的方法、装置和终端设备

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103425225A (zh) * 2012-05-16 2013-12-04 腾讯科技(深圳)有限公司 便携数据设备操作系统中的应用程序装置及其运行方法
WO2014168375A1 (en) * 2013-04-09 2014-10-16 Samsung Electronics Co., Ltd. Method and apparatus for updating application in electronic device
CN105278931A (zh) * 2014-06-19 2016-01-27 腾讯科技(深圳)有限公司 一种安卓系统禁止应用程序后台自启的方法及终端
CN104991803A (zh) * 2015-07-10 2015-10-21 上海斐讯数据通信技术有限公司 对android应用程序在特定条件下自启动的管控系统及方法
CN106502728A (zh) * 2016-09-30 2017-03-15 北京金山安全软件有限公司 应用程序下载的管理方法、装置及电子设备
CN108196960A (zh) * 2017-08-31 2018-06-22 中兴通讯股份有限公司 一种应用的管控方法、终端及存储介质

Also Published As

Publication number Publication date
US20200401467A1 (en) 2020-12-24
CN108196960A (zh) 2018-06-22
CN108196960B (zh) 2023-08-04

Similar Documents

Publication Publication Date Title
US9003431B2 (en) Method and system for implementing function extension of open platform
CN108388431B (zh) 应用程序热更新的控制方法、装置、存储介质及移动终端
CN107783803B (zh) 智能终端的系统优化方法、装置、存储介质及智能终端
US20140096236A1 (en) Apparatus and method for securing mobile terminal
KR102373225B1 (ko) 전자 장치 및 전자 장치에서 기능 제공 방법
JP6101360B2 (ja) アプリケーションの状態を設定するための方法、装置、プログラム及び記録媒体
WO2019042283A1 (zh) 应用的管控方法、终端及存储介质
CN107026933B (zh) 一种多开应用的消息管理方法、装置及智能终端
CN106844026B (zh) 一种清理终端设备进程的方法及系统
CN106484538B (zh) 一种终端设备的内存控制方法、装置及终端设备
US10191732B2 (en) Systems and methods for preventing service disruption during software updates
CN107943270B (zh) 应用服务的控制方法、装置及存储介质和移动终端
CN107070670B (zh) 控制广播发送者发送广播消息的方法、装置和终端设备
CN106937258B (zh) 一种广播的控制方法、装置及移动终端
EP3486823B1 (en) System notification service control method, apparatus, terminal device, and storage medium
AU2017261545B2 (en) Blocking functionality on a smart device
CN108038010A (zh) 安卓系统启动阶段广播发送方法、装置和终端
CN110868693A (zh) 应用程序流量控制方法、终端设备及存储介质
CN106569832A (zh) 应用程序的管理方法、装置及终端
US20190235884A1 (en) Method and system for disabling non-deletable application in mobile terminal
US20220006841A1 (en) Remote management of a user device
CN106502732B (zh) 一种应用程序的关闭方法、装置及智能终端
CN107943268B (zh) 调度作业控制方法、装置、终端设备及存储介质
CN106295320A (zh) 一种基于白名单的Android系统定制桌面
CN113360251B (zh) 智能合约执行与跨合约调用方法、装置及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18850397

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 09/09/1205A)

122 Ep: pct application non-entry in european phase

Ref document number: 18850397

Country of ref document: EP

Kind code of ref document: A1