WO2018161609A1 - Broadcast receiver control method and device, mobile terminal and storage medium - Google Patents

Broadcast receiver control method and device, mobile terminal and storage medium Download PDF

Info

Publication number
WO2018161609A1
WO2018161609A1 PCT/CN2017/108147 CN2017108147W WO2018161609A1 WO 2018161609 A1 WO2018161609 A1 WO 2018161609A1 CN 2017108147 W CN2017108147 W CN 2017108147W WO 2018161609 A1 WO2018161609 A1 WO 2018161609A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
broadcast
queue
receiver
self
Prior art date
Application number
PCT/CN2017/108147
Other languages
French (fr)
Chinese (zh)
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 广东欧珀移动通信有限公司
Publication of WO2018161609A1 publication Critical patent/WO2018161609A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling
    • 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/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • 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
    • 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
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the embodiments of the present invention relate to an application technology of an electronic device, and in particular, to a method and device for controlling a broadcast receiver, a mobile terminal, and a storage medium.
  • the embodiment of the present application provides a method and device for controlling a broadcast receiver, a mobile terminal, and a storage medium, which can improve system performance of the mobile terminal and reduce power consumption of the system.
  • an embodiment of the present application provides a method for controlling a broadcast receiver, where the method for controlling the broadcast receiver includes:
  • startup parameter exceeds a threshold corresponding to the startup parameter, determining the first application as an illegal startup application
  • the recipient queue is optimized according to the determined illegal launch application.
  • the embodiment of the present application further provides a control apparatus for a broadcast receiver, where the control apparatus of the broadcast receiver includes:
  • the parameter obtaining module is configured to obtain that the first application is self-starting according to at least one broadcast in the background. Dynamic startup parameters;
  • a startup parameter determining module configured to determine whether the startup parameter exceeds a threshold corresponding to the startup parameter
  • An illegally launching an application determining module configured to determine, when the startup parameter exceeds a threshold corresponding to the startup parameter, the first application as an illegal startup application
  • a receiver queue obtaining module configured to acquire a receiver queue of the target broadcast
  • a receiver queue optimization module configured to optimize the receiver queue according to the determined illegal startup application.
  • an embodiment of the present application further provides a mobile terminal, including a memory, a processor, and a computer program stored on the memory and operable on the processor, where the processor implements the following steps when executing the computer program :
  • startup parameter exceeds a threshold corresponding to the startup parameter, determining the first application as an illegal startup application
  • the recipient queue is optimized according to the determined illegal launch application.
  • the embodiment of the present application further provides a storage medium, wherein the storage medium stores a computer program, and the computer program causes the computer to execute a control method of a broadcast receiver as described above.
  • FIG. 1 is a flowchart of a method for controlling a broadcast receiver in an embodiment of the present application
  • FIG. 2 is a flowchart of another method for controlling a broadcast receiver in the embodiment of the present application.
  • FIG. 3 is a flowchart of another method for controlling a broadcast receiver in the embodiment of the present application.
  • FIG. 4 is a flowchart of another method for controlling a broadcast receiver in the embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a control apparatus of a broadcast receiver in an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a mobile terminal in an embodiment of the present application.
  • a method for controlling a broadcast recipient comprising:
  • startup parameter exceeds a threshold corresponding to the startup parameter, determining the first application as an illegal startup application
  • the recipient queue is optimized according to the determined illegal launch application.
  • the obtaining, by the first application, the startup parameters that are self-starting according to the broadcast in the background includes:
  • the frequency of the self-starting is determined according to the preset time period and the number of self-starting.
  • the obtaining, by the first application, the startup parameters that are self-starting according to the broadcast in the background includes:
  • the first application is detected to be self-starting according to the broadcast in the background, and the resource corresponding to the first application takes up time.
  • the optimizing the recipient queue according to the determined illegal launching application comprises:
  • the receiver queue is optimized according to the determined illegal startup application.
  • the optimizing the recipient queue according to the determined illegal launching application comprises:
  • the illegal launch application is in the preset whitelist application list, the illegal launch application is retained in the recipient queue.
  • the optimizing the recipient queue according to the determined illegal launching application comprises:
  • the optimizing the recipient queue according to the determined illegal launching application comprises:
  • An associated application that has data interaction with the illegally launched application is deleted in the recipient queue.
  • the step of obtaining a receiver queue of the target broadcast includes:
  • the broadcast management module When the broadcast management module detects that the target broadcast is to be issued, the broadcast management module identifies the type of the target broadcast before the target broadcast broadcast is issued, and acquires its corresponding recipient queue according to the type of the target broadcast.
  • the first application obtains a startup parameter that is self-started according to at least one broadcast in the background, and determines whether the startup parameter exceeds a threshold corresponding to the startup parameter. If the startup parameter exceeds a threshold corresponding to the startup parameter, the first application is determined. To start the application illegally, then obtain the receiver queue of the target broadcast, and finally optimize the receiver queue according to the determined illegal launch application. It is determined whether the first application is an illegal startup parameter according to the startup parameter that is started, and finally, the receiver queue is optimized according to the illegal startup parameter, which can improve the system performance of the mobile terminal and reduce the power consumption of the system.
  • FIG. 1 is a flowchart of a method for controlling a broadcast receiver according to an embodiment of the present disclosure. This embodiment may be applicable to a situation in which broadcast reception is performed.
  • the method may be performed by a mobile terminal, where the mobile terminal may be smart. Mobile phones, tablets, etc. As shown in FIG. 1 , the method specifically includes the following steps:
  • Step 110 Acquire a startup parameter that the first application performs self-starting according to at least one broadcast in the background.
  • the first application may be an application software installed on the mobile terminal or an application that is included in the system.
  • the application software installed on the mobile terminal may include a WeChat client, a QQ client, a Taobao client, and an Alipay client.
  • the application that comes with the system may include a calendar, a clock, a weather, a note, and the like.
  • the broadcast may be a system broadcast and an application broadcast, and the system broadcast may be broadcast by the system, and may include a bright screen broadcast, a screencast broadcast, an unlock broadcast, a network state change broadcast, a Bluetooth state change broadcast, a switch language broadcast, a switch theme broadcast, and the like.
  • the application broadcast can be a broadcast issued by the application software.
  • the startup parameters may include a self-starting frequency, an amount of resources occupied by the self-starting, and a resource occupation time corresponding to the first application.
  • the system may schedule the first application to start in the background.
  • the method for obtaining the self-starting start parameter of the first application in the background according to the at least one broadcast may be: counting, in the preset time period, the number of times the first application starts self-starting according to the at least one preset broadcast in the background, according to the preset time.
  • the number of the segments and the number of self-startings is determined by the frequency of the self-starting; or the amount of resources occupied by the first application in the background according to the broadcast is self-started; or the first application is detected to be self-starting according to the broadcast in the background, and the resources corresponding to the first application are Take up time.
  • Step 120 Determine whether the startup parameter exceeds a threshold corresponding to the startup parameter.
  • the startup parameter is the self-starting frequency
  • the corresponding threshold is the frequency threshold.
  • the setting method of the frequency threshold may be: the user sets according to the time of using the mobile terminal by itself, for example, within a fixed time period ( 5 minutes, 1 hour or 1 day, etc.), the threshold of the first application self-starting is 100 times; or the server statistics the frequency of self-starting according to the broadcast in the first application in different mobile terminals, and then the statistics are obtained more
  • the average value of the data is taken as the frequency threshold. For example, if the first application is Alipay, the average number of times the server performs self-starting according to the broadcast within 5 minutes in different mobile terminals by statistical payment is 70 times, 70 times. /5 minutes as the frequency threshold.
  • the startup parameter is the amount of resources occupied by the self-start, and the resource threshold can be set to any percentage between 10-20%.
  • the resource threshold includes CPU usage and memory footprint.
  • the startup parameter is the resource occupation time corresponding to the first application, and the method for setting the resource occupation time threshold may be that the server counts the resource occupation time corresponding to the self-starting of the first application in different mobile terminals according to the broadcast, and the statistics are obtained.
  • the resource occupancy time is averaged, and the average value obtained is taken as the resource occupation time threshold. For example, the average value can be 6 seconds.
  • Step 130 If the startup parameter exceeds the threshold corresponding to the startup parameter, the first application is determined to be an illegal startup application.
  • the startup parameter is a self-starting frequency
  • the self-starting frequency threshold is set to 50 times every 5 minutes. If the self-starting frequency of the first application exceeds the threshold, the first application is determined. Launch the app illegally.
  • the startup parameter is the amount of resources occupied by the self-starting, and the resource threshold is set to 15% of the CPU usage and 10% of the memory usage. If the amount of resources occupied by the first application based on the broadcast is greater than 15%, the first application will be the first.
  • the application determines to launch the application illegally.
  • the startup parameter is the resource occupation time corresponding to the first application, and the resource occupation time threshold is set to 5 seconds. If the resource usage time of the first application according to the broadcast self-starting is greater than 5 seconds, the first application is determined to be an illegal startup application.
  • Step 140 Acquire a receiver queue of the target broadcast.
  • the target broadcast may include system broadcast and third party broadcast.
  • the receiver queue may be a queue of all application software broadcast by the receiving target in the mobile terminal.
  • Each target broadcast has a corresponding receiver queue.
  • Table 1 is a correspondence table between three sets of target broadcast and receiver queues.
  • the process of obtaining the receiver queue of the target broadcast may be: when the broadcast management module detects that the target broadcast is to be sent, the broadcast management module identifies the type of the target broadcast before the target broadcast broadcast is sent, and then broadcasts according to the target.
  • the type gets its corresponding receiver queue.
  • the broadcast management module detects that the broadcast 1 is to be sent, and acquires its corresponding receiver queue according to the broadcast 1 as Application A, Application B, Application C, Application D, and Application E.
  • Step 150 Optimize the receiver queue according to the determined illegal launch application.
  • the method for optimizing the receiver queue according to the determined illegal startup application may be determining whether the number of receivers in the receiver queue is greater than a preset threshold, if the number of receivers in the receiver queue is greater than a preset threshold. , according to the determined illegal registration of the broadcast application to the receiver queue Row optimization; or deleting the determined illegally registered broadcast application in the receiver queue; or deleting the associated application having data interaction with the illegally registered broadcast application in the receiver queue; or if the illegally registered broadcast application is in the preset whitelist application list , the illegal registration broadcast application is retained in the receiver queue.
  • step 150 may be implemented to: if the application is illegally launched in the preset whitelist application list, the illegal launch application is retained in the recipient queue.
  • the preset whitelist application list may be a list of the users that are set according to the actual application situation of the user.
  • the application B and the application C are application software commonly used by the user, and the application B does not need to consider that the application B will automatically occupy the system resources.
  • Add Application B and Application C to the whitelisted application list Exemplarily, taking Table 1 as an example, if C is a determined illegal registration broadcast application, and application C is in the preset whitelist application list, for broadcast 2, the application C in the corresponding recipient list is not deleted. , that is, broadcast 2 continues to be sent to application C.
  • the technical solution provided in this embodiment firstly obtains a startup parameter that is self-started according to at least one broadcast in the background, and determines whether the startup parameter exceeds a threshold corresponding to the startup parameter, and if the startup parameter exceeds a threshold corresponding to the startup parameter, An application determines to illegally launch the application, then obtains a receiver queue of the target broadcast, and finally optimizes the receiver queue according to the determined illegally launched application. It is determined whether the first application is an illegal startup parameter according to the startup parameter that is started, and finally, the receiver queue is optimized according to the illegal startup parameter, which can improve the system performance of the mobile terminal and reduce the power consumption of the system.
  • FIG. 2 is a flowchart of a method for controlling a broadcast receiver according to an embodiment of the present disclosure. As shown in FIG. 2, in some embodiments, step 110 may be implemented as:
  • Step 111 In a preset time period, count the number of times the first application performs self-starting according to at least one preset broadcast in the background.
  • the preset time period can be 1 hour, 1 day or two days, and the like. Preset broadcasts can use higher frequency broadcasts such as bright screen broadcasts, screencast broadcasts, and unlock broadcasts.
  • the method for counting the number of times that the first application performs self-starting according to the at least one preset broadcast in the background is: when the first application is self-started according to the preset broadcast, the number of self-starting times is incremented by one, if the self-starting of the first application is not According to the preset broadcast, the number of self-starts is not cumulative.
  • the preset time period is selected as 1 hour, and the preset broadcast includes broadcast 1, broadcast 2, broadcast 3, and broadcast 4.
  • the number of times the first application starts from the broadcast 1 according to the broadcast 1 is 200 times, according to The number of times that broadcast 2 is self-started is 400, and the number of self-starts according to broadcast 3 is 260.
  • the number of self-startings according to the broadcast 4 is 340 times, and the first application is within 1200 hours, and the number of self-startings according to the preset broadcast is 1200 times.
  • Step 112 Determine the frequency of self-starting according to the preset time period and the number of self-starting.
  • the frequency threshold is in units of hours/hour, according to the above example, the first application is 1200 times according to the preset broadcast self-starting time within one hour, and the self-starting frequency is 100 times/5 minutes. .
  • step 120 may be implemented to determine whether the frequency of the self-starting of the first application exceeds a frequency threshold.
  • Step 130 may be implemented to determine that the first application is an illegal launch application if the self-starting frequency of the first application exceeds a frequency threshold.
  • the above calculation results in that the self-starting frequency of the first application is 100 times/5 minutes, and obviously exceeds the frequency threshold, and the first application is determined to be an illegal launch application.
  • the first application determines an illegal startup application, and the application with high self-starting frequency can be filtered out to prevent self-starting, thereby reducing system resources.
  • the occupancy rate improves the system performance of the mobile terminal.
  • step 110 may be further implemented to detect an amount of resources occupied by the first application in the background according to the broadcast.
  • the step 120 may be implemented to: determine whether the amount of resources occupied by the first application from the startup exceeds the resource threshold.
  • Step 130 may be implemented to determine that the first application is an illegal launch application if the amount of resources occupied by the first application self-start exceeds the resource amount threshold.
  • the resource amount of the application D self-starting is set to 10%.
  • the amount of resources occupied by the application D according to the broadcast self-starting is 12%, which obviously exceeds the resource threshold.
  • the application D is determined to be an illegal launch application.
  • the step 110 is further implemented to: detect that the first application is self-starting according to the broadcast in the background, and the resource usage time corresponding to the first application.
  • the resource occupation time may be from the first application according to the broadcast self-starting to the first application pair.
  • the method for detecting the resource occupation time of the first application may be: starting from the first application according to the broadcast self-starting, and stopping the timing when the first application is closed, no longer occupying the resource, and calculating the time difference between the two, that is, the first time The resource usage time of an application.
  • the step 120 may be implemented to: determine whether the resource occupation time corresponding to the first application exceeds the resource occupation time threshold.
  • the step 130 may be implemented to determine that the first application is an illegal launch application if the resource occupation time corresponding to the first application exceeds the resource occupation time threshold.
  • the resource usage time threshold corresponding to the first application is set to 5 seconds, and the resource usage time of the first application self-starting is 6.2 seconds. If the resource occupation time threshold is exceeded, the first application is actually an illegal application. .
  • FIG. 3 is a flowchart of a method for controlling a broadcast receiver according to an embodiment of the present disclosure. As shown in FIG. 3, in some embodiments, step 150 may be implemented as:
  • Step 151 Determine whether the number of recipients in the receiver queue is greater than a preset threshold.
  • the preset threshold may be any positive integer between 50 and 100.
  • the number of receivers in the receiver queue is counted, and it is determined whether the number of receivers in the receiver queue is greater than a preset value.
  • Step 152 If the number of receivers in the receiver queue is greater than a preset threshold, optimize the receiver queue according to the determined illegal startup application.
  • the method for optimizing the receiver queue according to the determined illegal startup application may be: deleting the determined illegal registration broadcast application in the receiver queue; or deleting the determined illegal registration broadcast application in the receiver queue, And deleting the associated application that has data interaction with the illegally registered broadcast application in the receiver queue; or deleting the determined illegal registered broadcast application in the receiver queue, and if the illegally registered broadcast application is in the preset whitelist application list, receiving The illegal registration broadcast application is retained in the queue; or if the illegal registration broadcast application is in the preset whitelist application list, the illegally registered broadcast application is retained in the recipient queue.
  • the receiver queue is optimized, and system resources are saved by controlling the number of target broadcast receivers, thereby improving system performance.
  • FIG. 4 is a flowchart of a method for controlling a broadcast receiver according to an embodiment of the present application. Further description of the above embodiments includes:
  • Step 201 Acquire a startup parameter that the first application performs self-starting according to at least one broadcast in the background. Some applications are self-starting in the background by receiving broadcasts. After the user uses the mobile terminal for a period of time, the application startup management module obtains startup parameters of the applications according to the broadcast self-starting, wherein the startup parameters include the self-starting frequency and the resources occupied by the self-starting. The amount of resource occupation time corresponding to the first application.
  • Step 202 Determine whether the startup parameter exceeds a threshold corresponding to the startup parameter.
  • the obtained startup parameters are respectively compared with the thresholds corresponding to the set startup parameters, and it is determined whether the startup parameters exceed their corresponding thresholds.
  • Step 203 If the startup parameter exceeds the threshold corresponding to the startup parameter, the first application is determined to be an illegal startup application.
  • the first application is determined to be an illegal startup application, and all the determined illegal startup applications may be saved as an illegal startup application list, which is directly in the subsequent step. use.
  • Step 204 Acquire a receiver queue of the target broadcast.
  • the target broadcast gets its receiver queue before each issue.
  • Step 205 Determine whether the number of recipients in the receiver queue is greater than a preset threshold.
  • Step 206 If the number of receivers in the receiver queue is greater than a preset threshold, optimize the receiver queue according to the determined illegal startup application.
  • the number of receivers in the receiver queue is greater than a preset threshold, it is identified whether the recipient queue contains an illegal startup application in the illegally launched application list, and if so, the illegal startup application is optimized.
  • FIG. 5 is a schematic structural diagram of a control apparatus for a broadcast receiver according to an embodiment of the present disclosure. As shown in FIG. 5, the apparatus includes: a startup parameter acquisition module 310, a startup parameter determination module 320, and an illegal startup application determination module 330. Receiver queue acquisition module 340 and receiver queue optimization module 350.
  • the startup parameter obtaining module 310 is configured to acquire a startup parameter that is automatically started by the first application according to at least one broadcast in the background;
  • the startup parameter determining module 320 is configured to determine whether the startup parameter exceeds a threshold corresponding to the startup parameter. value
  • the illegally launching the application determining module 330 is configured to determine that the first application is an illegal launching application when the startup parameter exceeds a threshold corresponding to the startup parameter;
  • a receiver queue obtaining module 340 configured to acquire a receiver queue of the target broadcast
  • the receiver queue optimization module 350 is configured to optimize the receiver queue according to the determined illegal startup application.
  • the parameter acquisition module 310 is activated for:
  • the frequency of self-starting is determined according to the preset time period and the number of self-starting.
  • the parameter acquisition module 310 is activated for:
  • the first application is detected to be self-starting according to the broadcast in the background, and the resource corresponding to the first application takes up time.
  • the receiver queue optimization module 350 is configured to:
  • the receiver queue is optimized according to the determined illegal launch application.
  • the receiver queue optimization module 350 is configured to:
  • the illegal launch application is retained in the receiver queue.
  • the foregoing apparatus may perform the methods provided by all the foregoing embodiments of the present application, and have corresponding functional modules and advantageous effects for performing the foregoing methods.
  • the foregoing apparatus may perform the methods provided by all the foregoing embodiments of the present application, and have corresponding functional modules and advantageous effects for performing the foregoing methods.
  • FIG. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure.
  • the mobile terminal may include: a casing (not shown), a memory 801, and a central processing unit (Central Processing Unit, A CPU 802 (also referred to as a processor, hereinafter referred to as a CPU), a computer program stored on the memory 801 and operable on the processor 802, a circuit board (not shown), and a power supply circuit (not shown) .
  • a CPU 802 also referred to as a processor, hereinafter referred to as a CPU
  • a computer program stored on the memory 801 and operable on the processor 802
  • a circuit board not shown
  • a power supply circuit not shown
  • the circuit board is disposed inside a space enclosed by the casing; the CPU 802 And the memory 801 is disposed on the circuit board; the power circuit is configured to supply power to each circuit or device of the mobile terminal; the memory 801 is configured to store executable program code; and the CPU 802 reads Taking the executable program code stored in the memory 801 to run a program corresponding to the executable program code, for performing: acquiring a startup parameter that the first application is self-starting according to at least one broadcast in the background; determining the startup parameter Whether the threshold corresponding to the startup parameter is exceeded; if the startup parameter exceeds the threshold corresponding to the startup parameter, the first application is determined to be an illegal startup application; the receiver queue of the target broadcast is acquired; and the receiver queue is optimized according to the determined illegal startup application.
  • the mobile terminal further includes: a peripheral interface 803, an RF (Radio Frequency) circuit 805, an audio circuit 806, a speaker 811, a power management chip 808, an input/output (I/O) subsystem 809, a touch screen 812, and others.
  • Input/control device 810 and external port 804 are communicated via one or more communication buses or signal lines 807.
  • the illustrated mobile terminal 800 is merely one example of a mobile terminal, and that the mobile terminal 800 may have more or fewer components than those shown in the figures, and two or more components may be combined. Or it can have different component configurations.
  • the various components shown in the figures can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
  • the mobile terminal for implementing the broadcast receiver control function provided in this embodiment is described in detail below.
  • the mobile terminal takes a mobile phone as an example.
  • the memory 801 can be accessed by the CPU 802, the peripheral interface 803, etc., and the memory 801 can include a high speed random access memory, and can also include a non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices. Or other volatile solid-state storage devices.
  • a non-volatile memory such as one or more magnetic disk storage devices, flash memory devices. Or other volatile solid-state storage devices.
  • Peripheral interface 803, which can connect the input and output peripherals of the device to CPU 802 and memory 801.
  • the I/O subsystem 809 can connect input and output peripherals on the device, such as touch screen 812 and other input/control devices 810, to peripheral interface 803.
  • the I/O subsystem 809 can include a display controller 8091 and one or more input controllers 8092 for controlling other input/control devices 810.
  • one or more input controllers 8092 receive electrical signals from other input/control devices 810 or transmit electrical signals to other input/control devices 810, and other input/control devices 810 may include physical buttons (press buttons, rocker buttons, etc.) ), dial, slide switch, steering Rod, click the wheel.
  • the input controller 8092 can be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
  • the touch screen 812 can be a resistive type, a capacitive inductive type, an infrared type or a surface acoustic wave type.
  • the touch screen 812 can be: external, built-in or integrated.
  • the touch screen 812 can be: a vector pressure sensing technology touch screen, a resistive technology touch screen, a capacitive technology touch screen, an infrared technology touch screen or a surface acoustic wave technology touch screen.
  • the touch screen 812 is an input interface and an output interface between the user terminal and the user, and displays the visual output to the user.
  • the visual output may include graphics, text, icons, videos, and the like.
  • the touch screen 812 sends an electrical signal (such as an electrical signal of the contact surface) triggered by the user on the touch screen to the processor 802.
  • Display controller 8091 in I/O subsystem 809 receives an electrical signal from touch screen 812 or an electrical signal to touch screen 812.
  • the touch screen 812 detects the contact on the touch screen, and the display controller 8091 converts the detected contact into an interaction with the user interface object displayed on the touch screen 812, that is, realizes human-computer interaction, and the user interface object displayed on the touch screen 812 may be running.
  • the icon of the game, the icon of the network to the corresponding network, and the like.
  • the device may also include a light mouse, which is a touch sensitive surface that does not display a visual output, or an extension of a touch sensitive surface formed by the touch screen.
  • the RF circuit 805 is mainly used for establishing communication between the mobile phone and the wireless network (ie, the network side), and realizing data reception and transmission between the mobile phone and the wireless network. For example, sending and receiving short messages, emails, and the like.
  • the audio circuit 806 is mainly used to receive audio data from the peripheral interface 803, convert the audio data into an electrical signal, and transmit the electrical signal to the speaker 811.
  • the speaker 811 is configured to restore the voice signal received by the mobile phone from the wireless network through the RF circuit 805 to sound and play the sound to the user.
  • the power management chip 808 is used for power supply and power management of the hardware connected to the CPU 802, the I/O subsystem, and the peripheral interface.
  • the central processing unit 802 is configured to:
  • the startup parameter exceeds the threshold corresponding to the startup parameter, the first application is determined to be an illegal startup. use;
  • a startup parameter that is self-starting according to the broadcast in the background including:
  • the frequency of self-starting is determined according to the preset time period and the number of self-starting.
  • a startup parameter that is self-starting according to the broadcast in the background including:
  • the first application is detected to be self-starting according to the broadcast in the background, and the resource corresponding to the first application takes up time.
  • the receiver queue is optimized according to the determined illegal launch application, including:
  • the receiver queue is optimized according to the determined illegal launch application.
  • the receiver queue is optimized according to the determined illegal launch application, including:
  • the illegal launch application is retained in the receiver queue.
  • the optimizing the recipient queue according to the determined illegal launching application comprises:
  • the optimizing the recipient queue according to the determined illegal launching application comprises:
  • An associated application that has data interaction with the illegally launched application is deleted in the recipient queue.
  • the step of obtaining a receiver queue of the target broadcast includes:
  • the broadcast management module When the broadcast management module detects that the target broadcast is to be issued, the broadcast management module identifies the type of the target broadcast before the target broadcast broadcast is issued, and acquires its corresponding recipient queue according to the type of the target broadcast.
  • the mobile terminal may further include a camera, a Bluetooth module, and the like, and details are not described herein.
  • the embodiment of the present application further provides a storage medium in which a computer program is stored, wherein the computer program causes the computer to execute the control method of the broadcast receiver described in any of the above embodiments.
  • the medium may include: a read only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like.

Abstract

A broadcast receiver control method and device, a mobile terminal and a storage medium. The method comprises: acquiring a startup parameter of a first application for self-starting in the background according to at least one broadcast (S110); determining whether the startup parameter exceeds a threshold corresponding thereto (S120); if yes, determining the first application as an illegally started application (S130); acquiring a receiver queue of a target broadcast (S140); and optimizing the receiver queue according to the determined illegally started application (S150). The system performance of a mobile terminal may thus be improved and the power consumption of a system may be reduced.

Description

一种广播接收者的控制方法、装置及移动终端、存储介质Control method and device for broadcast receiver, mobile terminal and storage medium
本申请要求于2017年03月10日提交中国专利局、申请号为201710140869.X、发明名称为“一种广播接收者的控制方法、装置及移动终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application filed on March 10, 2017, the Chinese Patent Office, the application number is 201710140869.X, and the invention is entitled "Control method, device and mobile terminal for a broadcast receiver". The content is incorporated herein by reference.
技术领域Technical field
本申请实施例涉及电子设备应用技术,尤其涉及一种广播接收者的控制方法、装置及移动终端、存储介质。The embodiments of the present invention relate to an application technology of an electronic device, and in particular, to a method and device for controlling a broadcast receiver, a mobile terminal, and a storage medium.
背景技术Background technique
随着互联网及智能终端的快速发展,各种应用程序(Application,APP)被开发出来并安装于智能终端上。一些流氓软件作为广播接收者,能够在后台通过接收广播进行自启动以进行不正当的操作。With the rapid development of the Internet and smart terminals, various applications (Applications, APPs) have been developed and installed on smart terminals. Some rogue software, as broadcast receivers, can self-start by receiving broadcasts in the background for improper operations.
发明内容Summary of the invention
本申请实施例提供一种广播接收者的控制方法、装置及移动终端、存储介质,可以提高移动终端的系统性能,并降低系统的耗电量。The embodiment of the present application provides a method and device for controlling a broadcast receiver, a mobile terminal, and a storage medium, which can improve system performance of the mobile terminal and reduce power consumption of the system.
第一方面,本申请实施例提供了一种广播接收者的控制方法,该广播接收者的控制方法包括:In a first aspect, an embodiment of the present application provides a method for controlling a broadcast receiver, where the method for controlling the broadcast receiver includes:
获取第一应用在后台根据至少一个广播进行自启动的启动参数;Obtaining a startup parameter that the first application performs self-starting according to at least one broadcast in the background;
判断所述启动参数是否超过所述启动参数对应的阈值;Determining whether the startup parameter exceeds a threshold corresponding to the startup parameter;
如果所述启动参数超过所述启动参数对应的阈值,则将所述第一应用确定为非法启动应用;If the startup parameter exceeds a threshold corresponding to the startup parameter, determining the first application as an illegal startup application;
获取目标广播的接收者队列;Obtain a receiver queue of the target broadcast;
根据确定的所述非法启动应用对所述接收者队列进行优化。The recipient queue is optimized according to the determined illegal launch application.
第二方面,本申请实施例还提供了一种广播接收者的控制装置,该广播接收者的控制装置包括:In a second aspect, the embodiment of the present application further provides a control apparatus for a broadcast receiver, where the control apparatus of the broadcast receiver includes:
启动参数获取模块,用于获取第一应用在后台根据至少一个广播进行自启 动的启动参数;The parameter obtaining module is configured to obtain that the first application is self-starting according to at least one broadcast in the background. Dynamic startup parameters;
启动参数判断模块,用于判断所述启动参数是否超过所述启动参数对应的阈值;a startup parameter determining module, configured to determine whether the startup parameter exceeds a threshold corresponding to the startup parameter;
非法启动应用确定模块,用于当所述启动参数超过所述启动参数对应的阈值时,将所述第一应用确定为非法启动应用;An illegally launching an application determining module, configured to determine, when the startup parameter exceeds a threshold corresponding to the startup parameter, the first application as an illegal startup application;
接收者队列获取模块,用于获取目标广播的接收者队列;a receiver queue obtaining module, configured to acquire a receiver queue of the target broadcast;
接收者队列优化模块,用于根据确定的所述非法启动应用对所述接收者队列进行优化。And a receiver queue optimization module, configured to optimize the receiver queue according to the determined illegal startup application.
第三方面,本申请实施例还提供了一种移动终端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现以下步骤:In a third aspect, an embodiment of the present application further provides a mobile terminal, including a memory, a processor, and a computer program stored on the memory and operable on the processor, where the processor implements the following steps when executing the computer program :
获取第一应用在后台根据至少一个广播进行自启动的启动参数;Obtaining a startup parameter that the first application performs self-starting according to at least one broadcast in the background;
判断所述启动参数是否超过所述启动参数对应的阈值;Determining whether the startup parameter exceeds a threshold corresponding to the startup parameter;
如果所述启动参数超过所述启动参数对应的阈值,则将所述第一应用确定为非法启动应用;If the startup parameter exceeds a threshold corresponding to the startup parameter, determining the first application as an illegal startup application;
获取目标广播的接收者队列;Obtain a receiver queue of the target broadcast;
根据确定的所述非法启动应用对所述接收者队列进行优化。The recipient queue is optimized according to the determined illegal launch application.
第四方面,本申请实施例还提供了一种存储介质,其中,所述存储介质中存储有计算机程序,所述计算机程序使得计算机执行如上面所述的广播接收者的控制方法。In a fourth aspect, the embodiment of the present application further provides a storage medium, wherein the storage medium stores a computer program, and the computer program causes the computer to execute a control method of a broadcast receiver as described above.
附图说明DRAWINGS
图1是本申请实施例中的一种广播接收者的控制方法的流程图;1 is a flowchart of a method for controlling a broadcast receiver in an embodiment of the present application;
图2是本申请实施例中的另一种广播接收者的控制方法的流程图;2 is a flowchart of another method for controlling a broadcast receiver in the embodiment of the present application;
图3是本申请实施例中的另一种广播接收者的控制方法的流程图;3 is a flowchart of another method for controlling a broadcast receiver in the embodiment of the present application;
图4是本申请实施例中的另一种广播接收者的控制方法的流程图;4 is a flowchart of another method for controlling a broadcast receiver in the embodiment of the present application;
图5是本申请实施例中的一种广播接收者的控制装置的结构示意图; FIG. 5 is a schematic structural diagram of a control apparatus of a broadcast receiver in an embodiment of the present application; FIG.
图6是本申请实施例中的一种移动终端的结构示意图。FIG. 6 is a schematic structural diagram of a mobile terminal in an embodiment of the present application.
具体实施方式detailed description
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本申请,而非对本申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本申请相关的部分而非全部结构。The present application will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting. In addition, it should be noted that, for the convenience of description, only some but not all of the structures related to the present application are shown in the drawings.
由于目前系统后台运行的应用数量增多会导致系统耗电量增加,浪费资源,多个应用同时启动或活动,会降低系统的性能。本申请可以采用如下的实现方式来克服。As the number of applications running in the background of the system increases, the system consumes more power, wastes resources, and multiple applications start or move at the same time, which reduces system performance. This application can be overcome by the following implementations.
一种广播接收者的控制方法,其中,包括:A method for controlling a broadcast recipient, comprising:
获取第一应用在后台根据至少一个广播进行自启动的启动参数;Obtaining a startup parameter that the first application performs self-starting according to at least one broadcast in the background;
判断所述启动参数是否超过所述启动参数对应的阈值;Determining whether the startup parameter exceeds a threshold corresponding to the startup parameter;
如果所述启动参数超过所述启动参数对应的阈值,则将所述第一应用确定为非法启动应用;If the startup parameter exceeds a threshold corresponding to the startup parameter, determining the first application as an illegal startup application;
获取目标广播的接收者队列;Obtain a receiver queue of the target broadcast;
根据确定的所述非法启动应用对所述接收者队列进行优化。The recipient queue is optimized according to the determined illegal launch application.
在一些实施例中,所述获取第一应用在后台根据广播进行自启动的启动参数,包括:In some embodiments, the obtaining, by the first application, the startup parameters that are self-starting according to the broadcast in the background, includes:
在预设时间段中,统计第一应用在后台根据至少一个预设广播进行自启动的次数;Counting, in the preset time period, the number of times the first application performs self-starting according to at least one preset broadcast in the background;
根据所述预设时间段和所述自启动的次数确定所述自启动的频率。The frequency of the self-starting is determined according to the preset time period and the number of self-starting.
在一些实施例中,所述获取第一应用在后台根据广播进行自启动的启动参数,包括:In some embodiments, the obtaining, by the first application, the startup parameters that are self-starting according to the broadcast in the background, includes:
检测第一应用在后台根据广播进行自启动占用的资源量;和/或,Detecting the amount of resources occupied by the first application in the background according to the broadcast; and/or,
检测第一应用在后台根据广播进行自启动,所述第一应用对应的资源占用时间。The first application is detected to be self-starting according to the broadcast in the background, and the resource corresponding to the first application takes up time.
在一些实施例中,所述根据确定的所述非法启动应用对所述接收者队列进行优化,包括: In some embodiments, the optimizing the recipient queue according to the determined illegal launching application comprises:
判断所述接收者队列中接收者的数量是否大于预设阈值;Determining whether the number of receivers in the receiver queue is greater than a preset threshold;
如果所述接收者队列中接收者的数量大于预设阈值,则根据确定的所述非法启动应用对所述接收者队列进行优化。If the number of receivers in the receiver queue is greater than a preset threshold, the receiver queue is optimized according to the determined illegal startup application.
在一些实施例中,所述根据确定的所述非法启动应用对所述接收者队列进行优化,包括:In some embodiments, the optimizing the recipient queue according to the determined illegal launching application comprises:
若所述非法启动应用在预设白名单应用列表中,则在所述接收者队列中保留所述非法启动应用。If the illegal launch application is in the preset whitelist application list, the illegal launch application is retained in the recipient queue.
在一些实施例中,所述根据确定的所述非法启动应用对所述接收者队列进行优化,包括:In some embodiments, the optimizing the recipient queue according to the determined illegal launching application comprises:
在所述接收者队列中删除确定的所述非法启动应用。Determining the determined illegal launch application in the recipient queue.
在一些实施例中,所述根据确定的所述非法启动应用对所述接收者队列进行优化,包括:In some embodiments, the optimizing the recipient queue according to the determined illegal launching application comprises:
在所述接收者队列中删除与所述非法启动应用存在数据交互的关联应用。An associated application that has data interaction with the illegally launched application is deleted in the recipient queue.
在一些实施例中,所述获取目标广播的接收者队列的步骤,包括:In some embodiments, the step of obtaining a receiver queue of the target broadcast includes:
当广播管理模块检测到目标广播要发出时,在目标广播广播发出前,广播管理模块识别目标广播的类型,根据目标广播的类型获取其对应的接收者队列。When the broadcast management module detects that the target broadcast is to be issued, the broadcast management module identifies the type of the target broadcast before the target broadcast broadcast is issued, and acquires its corresponding recipient queue according to the type of the target broadcast.
本申请实施例,首先获取第一应用在后台根据至少一个广播进行自启动的启动参数并判断启动参数是否超过启动参数对应的阈值,如果启动参数超过启动参数对应的阈值,则将第一应用确定为非法启动应用,然后获取目标广播的接收者队列,最后根据确定的非法启动应用对接收者队列进行优化。根据自启动的启动参数确定第一应用是否为非法启动参数,最后根据非法启动参数优化接收者队列,可以提高移动终端的系统性能,并降低系统的耗电量。In this embodiment, the first application obtains a startup parameter that is self-started according to at least one broadcast in the background, and determines whether the startup parameter exceeds a threshold corresponding to the startup parameter. If the startup parameter exceeds a threshold corresponding to the startup parameter, the first application is determined. To start the application illegally, then obtain the receiver queue of the target broadcast, and finally optimize the receiver queue according to the determined illegal launch application. It is determined whether the first application is an illegal startup parameter according to the startup parameter that is started, and finally, the receiver queue is optimized according to the illegal startup parameter, which can improve the system performance of the mobile terminal and reduce the power consumption of the system.
图1为本申请实施例提供的一种广播接收者的控制方法的流程图,本实施例可适用于对广播接收中进行控制的情况,该方法可以由移动终端来执行,移动终端可以是智能手机、平板电脑等。如图1所示,该方法具体包括如下步骤:FIG. 1 is a flowchart of a method for controlling a broadcast receiver according to an embodiment of the present disclosure. This embodiment may be applicable to a situation in which broadcast reception is performed. The method may be performed by a mobile terminal, where the mobile terminal may be smart. Mobile phones, tablets, etc. As shown in FIG. 1 , the method specifically includes the following steps:
步骤110,获取第一应用在后台根据至少一个广播进行自启动的启动参数。Step 110: Acquire a startup parameter that the first application performs self-starting according to at least one broadcast in the background.
其中,第一应用可以是安装于移动终端的应用软件或者系统自带的应用程 序,例如:安装于移动终端的应用软件可以包括微信客户端、QQ客户端、淘宝客户端和支付宝客户端等,系统自带的应用程序可以包括日历、时钟、天气和便签等。广播可以是系统广播和应用广播,系统广播可以由系统发出的广播,可以包括亮屏广播、熄屏广播、解锁广播、网络状态变化广播、蓝牙状态变化广播、切换语言广播、切换主题广播等,应用广播可以是由应用软件发出的广播。启动参数可以包括自启动的频率、自启动占用的资源量和第一应用对应的资源占用时间等。The first application may be an application software installed on the mobile terminal or an application that is included in the system. For example, the application software installed on the mobile terminal may include a WeChat client, a QQ client, a Taobao client, and an Alipay client. The application that comes with the system may include a calendar, a clock, a weather, a note, and the like. The broadcast may be a system broadcast and an application broadcast, and the system broadcast may be broadcast by the system, and may include a bright screen broadcast, a screencast broadcast, an unlock broadcast, a network state change broadcast, a Bluetooth state change broadcast, a switch language broadcast, a switch theme broadcast, and the like. The application broadcast can be a broadcast issued by the application software. The startup parameters may include a self-starting frequency, an amount of resources occupied by the self-starting, and a resource occupation time corresponding to the first application.
当设备内的广播发出之后,若第一应用位于该广播对应的接收者队列中,系统可调度第一应用在后台启动。获取第一应用在后台根据至少一个广播进行自启动的启动参数的方法可以是,在预设时间段中,统计第一应用在后台根据至少一个预设广播进行自启动的次数,根据预设时间段和自启动的次数确定自启动的频率;或者检测第一应用在后台根据广播进行自启动占用的资源量;或者检测第一应用在后台根据广播进行自启动,所述第一应用对应的资源占用时间。After the broadcast in the device is sent, if the first application is located in the receiver queue corresponding to the broadcast, the system may schedule the first application to start in the background. The method for obtaining the self-starting start parameter of the first application in the background according to the at least one broadcast may be: counting, in the preset time period, the number of times the first application starts self-starting according to the at least one preset broadcast in the background, according to the preset time. The number of the segments and the number of self-startings is determined by the frequency of the self-starting; or the amount of resources occupied by the first application in the background according to the broadcast is self-started; or the first application is detected to be self-starting according to the broadcast in the background, and the resources corresponding to the first application are Take up time.
步骤120,判断启动参数是否超过启动参数对应的阈值。Step 120: Determine whether the startup parameter exceeds a threshold corresponding to the startup parameter.
在本应用场景下,启动参数为自启动的频率,则对应的阈值为频率阈值,频率阈值的设置方法可以是:用户根据自身使用移动终端的时间情况进行设置,例如:在固定时间段内(5分钟、1小时或1天等),第一应用自启动的次数阈值为100次;或者服务器统计在第一应用在不同的移动终端中根据广播进行自启动的频率,然后将统计得到的多个数据求取平均值作为频率阈值,示例性的,假设第一应用为支付宝,服务器通过统计支付宝在不同的移动终端中5分钟内根据广播进行自启动的平均次数为70次,则将70次/5分钟作为频率阈值。启动参数为自启动占用的资源量,资源量阈值可以设置为10-20%之间的任意百分数。资源量阈值包括CPU占用量以及内存占用量。启动参数为第一应用对应的资源占用时间,资源占用时间阈值的设置方法可以是,服务器统计第一应用在不同的移动终端中根据广播进行自启动所对应的资源占用时间,对统计得到的多个资源占用时间求取平均值,将求得的平均值作为资源占用时间阈值,例如求得平均值可以是6秒。设置好每个启动参数对应的阈值后,将获取到的启动参数与设置的阈值进行比较,判断启动参数是否超过设置的阈值。 In this application scenario, the startup parameter is the self-starting frequency, and the corresponding threshold is the frequency threshold. The setting method of the frequency threshold may be: the user sets according to the time of using the mobile terminal by itself, for example, within a fixed time period ( 5 minutes, 1 hour or 1 day, etc.), the threshold of the first application self-starting is 100 times; or the server statistics the frequency of self-starting according to the broadcast in the first application in different mobile terminals, and then the statistics are obtained more The average value of the data is taken as the frequency threshold. For example, if the first application is Alipay, the average number of times the server performs self-starting according to the broadcast within 5 minutes in different mobile terminals by statistical payment is 70 times, 70 times. /5 minutes as the frequency threshold. The startup parameter is the amount of resources occupied by the self-start, and the resource threshold can be set to any percentage between 10-20%. The resource threshold includes CPU usage and memory footprint. The startup parameter is the resource occupation time corresponding to the first application, and the method for setting the resource occupation time threshold may be that the server counts the resource occupation time corresponding to the self-starting of the first application in different mobile terminals according to the broadcast, and the statistics are obtained. The resource occupancy time is averaged, and the average value obtained is taken as the resource occupation time threshold. For example, the average value can be 6 seconds. After the threshold corresponding to each startup parameter is set, the obtained startup parameter is compared with the set threshold, and it is determined whether the startup parameter exceeds the set threshold.
步骤130,如果启动参数超过启动参数对应的阈值,则将第一应用确定为非法启动应用。Step 130: If the startup parameter exceeds the threshold corresponding to the startup parameter, the first application is determined to be an illegal startup application.
在本应用场景下,示例性的,启动参数为自启动的频率,且自启动的频率阈值设置为每5分钟50次,如果第一应用的自启动频率超过该阈值,则将第一应用确定为非法启动应用。启动参数为自启动占用的资源量,且资源量阈值设置为CPU占用率15%,内存占用率10%,如果第一应用根据广播进行自启动的占用的资源量大于15%,则将第一应用确定为非法启动应用。启动参数为第一应用对应的资源占用时间,且资源占用时间阈值设置为5秒,如果第一应用根据广播自启动对应的资源占用时间大于5秒,则将第一应用确定为非法启动应用。In this application scenario, for example, the startup parameter is a self-starting frequency, and the self-starting frequency threshold is set to 50 times every 5 minutes. If the self-starting frequency of the first application exceeds the threshold, the first application is determined. Launch the app illegally. The startup parameter is the amount of resources occupied by the self-starting, and the resource threshold is set to 15% of the CPU usage and 10% of the memory usage. If the amount of resources occupied by the first application based on the broadcast is greater than 15%, the first application will be the first. The application determines to launch the application illegally. The startup parameter is the resource occupation time corresponding to the first application, and the resource occupation time threshold is set to 5 seconds. If the resource usage time of the first application according to the broadcast self-starting is greater than 5 seconds, the first application is determined to be an illegal startup application.
步骤140,获取目标广播的接收者队列。Step 140: Acquire a receiver queue of the target broadcast.
其中,目标广播可以包括系统广播和第三方广播。接收者队列可以是移动终端中由接收目标广播的所有应用软件组成的队列。每一个目标广播都有对应的接收者队列,示例性的,表1为三组目标广播与接收者队列的对应关系表。Among them, the target broadcast may include system broadcast and third party broadcast. The receiver queue may be a queue of all application software broadcast by the receiving target in the mobile terminal. Each target broadcast has a corresponding receiver queue. Illustratively, Table 1 is a correspondence table between three sets of target broadcast and receiver queues.
表1Table 1
Figure PCTCN2017108147-appb-000001
Figure PCTCN2017108147-appb-000001
在本应用场景下,获取目标广播的接收者队列的过程可以是,当广播管理模块检测到目标广播要发出时,在目标广播广播发出前,广播管理模块识别目标广播的类型,然后根据目标广播的类型获取其对应的接收者队列。示例性的,以表1中的信息为例,广播管理模块检测到广播1将要发出,则根据广播1获取其对应的接收者队列为应用A、应用B、应用C、应用D和应用E。In this application scenario, the process of obtaining the receiver queue of the target broadcast may be: when the broadcast management module detects that the target broadcast is to be sent, the broadcast management module identifies the type of the target broadcast before the target broadcast broadcast is sent, and then broadcasts according to the target. The type gets its corresponding receiver queue. Exemplarily, taking the information in Table 1 as an example, the broadcast management module detects that the broadcast 1 is to be sent, and acquires its corresponding receiver queue according to the broadcast 1 as Application A, Application B, Application C, Application D, and Application E.
步骤150,根据确定的非法启动应用对接收者队列进行优化。Step 150: Optimize the receiver queue according to the determined illegal launch application.
在本应用场景下,根据确定的非法启动应用对接收者队列进行优化的方法可以是判断接收者队列中接收者的数量是否大于预设阈值,如果接收者队列中接收者的数量大于预设阈值,则根据确定的非法注册广播应用对接收者队列进 行优化;或者在接收者队列中删除确定的非法注册广播应用;或者在接收者队列中删除与非法注册广播应用存在数据交互的关联应用;或者若非法注册广播应用在预设白名单应用列表中,则在接收者队列中保留非法注册广播应用。In this application scenario, the method for optimizing the receiver queue according to the determined illegal startup application may be determining whether the number of receivers in the receiver queue is greater than a preset threshold, if the number of receivers in the receiver queue is greater than a preset threshold. , according to the determined illegal registration of the broadcast application to the receiver queue Row optimization; or deleting the determined illegally registered broadcast application in the receiver queue; or deleting the associated application having data interaction with the illegally registered broadcast application in the receiver queue; or if the illegally registered broadcast application is in the preset whitelist application list , the illegal registration broadcast application is retained in the receiver queue.
在一些实施例中,步骤150可实施为:若非法启动应用在预设白名单应用列表中,则在接收者队列中保留非法启动应用。In some embodiments, step 150 may be implemented to: if the application is illegally launched in the preset whitelist application list, the illegal launch application is retained in the recipient queue.
其中,预设白名单应用列表可以是用户根据自身的实际应用情况设置的名单列表,例如,应用B和应用C是用户常用的应用软件,不需要考虑应用B会自启动而占用系统资源,则将应用B和应用C加入白名单应用列表。示例性的,以表1为例,假如C为确定的非法注册广播应用,而应用C又在预设白名单应用列表中,对于广播2,则不删除其对应的接收者列表中的应用C,即广播2继续发送至应用C。The preset whitelist application list may be a list of the users that are set according to the actual application situation of the user. For example, the application B and the application C are application software commonly used by the user, and the application B does not need to consider that the application B will automatically occupy the system resources. Add Application B and Application C to the whitelisted application list. Exemplarily, taking Table 1 as an example, if C is a determined illegal registration broadcast application, and application C is in the preset whitelist application list, for broadcast 2, the application C in the corresponding recipient list is not deleted. , that is, broadcast 2 continues to be sent to application C.
本实施例提供的技术方案,首先获取第一应用在后台根据至少一个广播进行自启动的启动参数并判断启动参数是否超过启动参数对应的阈值,如果启动参数超过启动参数对应的阈值,则将第一应用确定为非法启动应用,然后获取目标广播的接收者队列,最后根据确定的非法启动应用对接收者队列进行优化。根据自启动的启动参数确定第一应用是否为非法启动参数,最后根据非法启动参数优化接收者队列,可以提高移动终端的系统性能,并降低系统的耗电量。The technical solution provided in this embodiment firstly obtains a startup parameter that is self-started according to at least one broadcast in the background, and determines whether the startup parameter exceeds a threshold corresponding to the startup parameter, and if the startup parameter exceeds a threshold corresponding to the startup parameter, An application determines to illegally launch the application, then obtains a receiver queue of the target broadcast, and finally optimizes the receiver queue according to the determined illegally launched application. It is determined whether the first application is an illegal startup parameter according to the startup parameter that is started, and finally, the receiver queue is optimized according to the illegal startup parameter, which can improve the system performance of the mobile terminal and reduce the power consumption of the system.
图2为本申请实施例提供的一种广播接收者的控制方法的流程图,如图2所示,在一些实施例中,步骤110可实施为:FIG. 2 is a flowchart of a method for controlling a broadcast receiver according to an embodiment of the present disclosure. As shown in FIG. 2, in some embodiments, step 110 may be implemented as:
步骤111,在预设时间段中,统计第一应用在后台根据至少一个预设广播进行自启动的次数。Step 111: In a preset time period, count the number of times the first application performs self-starting according to at least one preset broadcast in the background.
预设时间段可以是1小时、1天或两天等。预设广播可以使用频率较高的广播,如亮屏广播、熄屏广播和解锁广播等。统计第一应用在后台根据至少一个预设广播进行自启动的次数的方法是,当第一应用根据预设广播进行自启动后,将自启动的次数累加1,若第一应用的自启动不是根据预设广播,则自启动的次数不累加。示例性的,预设时间段选为1小时,预设广播中包含广播1、广播2、广播3和广播4,第一应用在这1小时内根据广播1自启动的次数为200次,根据广播2自启动的次数为400次,根据广播3自启动的次数为260 次,根据广播4自启动的次数为340次,则第一应用在1小时内,根据预设广播自启动的次数为1200次。The preset time period can be 1 hour, 1 day or two days, and the like. Preset broadcasts can use higher frequency broadcasts such as bright screen broadcasts, screencast broadcasts, and unlock broadcasts. The method for counting the number of times that the first application performs self-starting according to the at least one preset broadcast in the background is: when the first application is self-started according to the preset broadcast, the number of self-starting times is incremented by one, if the self-starting of the first application is not According to the preset broadcast, the number of self-starts is not cumulative. Exemplarily, the preset time period is selected as 1 hour, and the preset broadcast includes broadcast 1, broadcast 2, broadcast 3, and broadcast 4. The number of times the first application starts from the broadcast 1 according to the broadcast 1 is 200 times, according to The number of times that broadcast 2 is self-started is 400, and the number of self-starts according to broadcast 3 is 260. The number of self-startings according to the broadcast 4 is 340 times, and the first application is within 1200 hours, and the number of self-startings according to the preset broadcast is 1200 times.
步骤112,根据预设时间段和自启动的次数确定自启动的频率。Step 112: Determine the frequency of self-starting according to the preset time period and the number of self-starting.
根据预设时间段和自启动的次数确定自启动的频率的计算方法可以是:自启动的频率=自启动的次数/预设时间段。示例性的,假设频率阈值的单位为次/小时,则根据上述例子,第一应用在1小时内,根据预设广播自启动的次数为1200次,则自启动的频率为100次/5分钟。The calculation method of determining the self-starting frequency according to the preset time period and the number of self-starting may be: self-starting frequency=self-starting time/preset time period. Exemplarily, assuming that the frequency threshold is in units of hours/hour, according to the above example, the first application is 1200 times according to the preset broadcast self-starting time within one hour, and the self-starting frequency is 100 times/5 minutes. .
相应的,步骤120可实施为:判断第一应用的自启动的频率是否超过频率阈值。Correspondingly, step 120 may be implemented to determine whether the frequency of the self-starting of the first application exceeds a frequency threshold.
步骤130可实施为,如果第一应用的自启动的频率超过频率阈值,则将第一应用确定为非法启动应用。Step 130 may be implemented to determine that the first application is an illegal launch application if the self-starting frequency of the first application exceeds a frequency threshold.
示例性的,假设频率阈值设置为50次/5分钟,上述计算得到第一应用的自启动频率为100次/5分钟,显然超过频率阈值,则将第一应用确定为非法启动应用。Exemplarily, assuming that the frequency threshold is set to 50 times/5 minutes, the above calculation results in that the self-starting frequency of the first application is 100 times/5 minutes, and obviously exceeds the frequency threshold, and the first application is determined to be an illegal launch application.
本实施例提供的技术方案,根据第一应用根据预设广播自启动的频率是否超过频率阈值来确定非法启动应用,可将自启动频率高的应用筛选出来,阻止其自启动,从而减少系统资源的占用率,提高移动终端的系统性能。According to the technical solution provided by the embodiment, according to whether the frequency of the preset broadcast self-starting exceeds the frequency threshold, the first application determines an illegal startup application, and the application with high self-starting frequency can be filtered out to prevent self-starting, thereby reducing system resources. The occupancy rate improves the system performance of the mobile terminal.
在一些实施例中,步骤110还可实施为:检测第一应用在后台根据广播进行自启动占用的资源量。In some embodiments, step 110 may be further implemented to detect an amount of resources occupied by the first application in the background according to the broadcast.
相应的,步骤120可实施为:判断第一应用自启动占用的资源量是否超过资源量阈值。Correspondingly, the step 120 may be implemented to: determine whether the amount of resources occupied by the first application from the startup exceeds the resource threshold.
步骤130可实施为:如果第一应用自启动占用的资源量超过资源量阈值,则将第一应用确定为非法启动应用。Step 130 may be implemented to determine that the first application is an illegal launch application if the amount of resources occupied by the first application self-start exceeds the resource amount threshold.
在本应用场景下,示例性的,假设应用D自启动的资源量设置为10%,在某台移动终端中,应用D根据广播进行自启动占用的资源量为12%,显然超过资源量阈值,则将应用D确定为非法启动应用。In this application scenario, it is assumed that the resource amount of the application D self-starting is set to 10%. In a mobile terminal, the amount of resources occupied by the application D according to the broadcast self-starting is 12%, which obviously exceeds the resource threshold. , the application D is determined to be an illegal launch application.
在一些实施例中,步骤110还可实施为:检测第一应用在后台根据广播进行自启动,第一应用对应的资源占用时间。In some embodiments, the step 110 is further implemented to: detect that the first application is self-starting according to the broadcast in the background, and the resource usage time corresponding to the first application.
其中,资源占用时间可以是从第一应用根据广播自启动开始到第一应用对 应进程终止或占用资源释放之间的时间。检测第一应用对应的资源占用时间的方法可以是,从第一应用根据广播自启动开始计时,到第一应用关闭不再占用资源停止计时,计算两者之间的时间差值,即为第一应用对应的资源占用时间。The resource occupation time may be from the first application according to the broadcast self-starting to the first application pair. The time between the termination of the process or the release of resources. The method for detecting the resource occupation time of the first application may be: starting from the first application according to the broadcast self-starting, and stopping the timing when the first application is closed, no longer occupying the resource, and calculating the time difference between the two, that is, the first time The resource usage time of an application.
相应的,步骤120可实施为:判断第一应用对应的资源占用时间是否超过资源占用时间阈值。Correspondingly, the step 120 may be implemented to: determine whether the resource occupation time corresponding to the first application exceeds the resource occupation time threshold.
步骤130可实施为:如果第一应用对应的资源占用时间是否超过资源占用时间阈值,则将第一应用确定为非法启动应用。The step 130 may be implemented to determine that the first application is an illegal launch application if the resource occupation time corresponding to the first application exceeds the resource occupation time threshold.
示例性的,第一应用对应的资源占用时间阈值设置为5秒,检测得到第一应用自启动的资源占用时间为6.2秒,显然超过资源占用时间阈值,则将第一应用确实为非法启动应用。Exemplarily, the resource usage time threshold corresponding to the first application is set to 5 seconds, and the resource usage time of the first application self-starting is 6.2 seconds. If the resource occupation time threshold is exceeded, the first application is actually an illegal application. .
图3为本申请实施例提供的一种广播接收者的控制方法的流程图,如图3所示,在一些实施例中,步骤150可实施为:FIG. 3 is a flowchart of a method for controlling a broadcast receiver according to an embodiment of the present disclosure. As shown in FIG. 3, in some embodiments, step 150 may be implemented as:
步骤151,判断接收者队列中接收者的数量是否大于预设阈值。Step 151: Determine whether the number of recipients in the receiver queue is greater than a preset threshold.
其中,预设阈值可以是50-100之间的任意正整数。在本应用场景下,在获取到目标广播的接收者队列后,统计接收者队列中接收者数量,并判断接收者队列中的接收中数量是否大于预设值。The preset threshold may be any positive integer between 50 and 100. In this application scenario, after the receiver queue of the target broadcast is obtained, the number of receivers in the receiver queue is counted, and it is determined whether the number of receivers in the receiver queue is greater than a preset value.
步骤152,如果接收者队列中接收者的数量大于预设阈值,则根据确定的非法启动应用对所述接收者队列进行优化。Step 152: If the number of receivers in the receiver queue is greater than a preset threshold, optimize the receiver queue according to the determined illegal startup application.
在本应用场景下,根据确定的非法启动应用对接收者队列进行优化的方法可以是,在接收者队列中删除确定的非法注册广播应用;或者在接收者队列中删除确定的非法注册广播应用,且在接收者队列中删除与非法注册广播应用存在数据交互的关联应用;或者在接收者队列中删除确定的非法注册广播应用,若非法注册广播应用在预设白名单应用列表中,则在接收者队列中保留非法注册广播应用;或者若非法注册广播应用在预设白名单应用列表中,则在接收者队列中保留非法注册广播应用。In this application scenario, the method for optimizing the receiver queue according to the determined illegal startup application may be: deleting the determined illegal registration broadcast application in the receiver queue; or deleting the determined illegal registration broadcast application in the receiver queue, And deleting the associated application that has data interaction with the illegally registered broadcast application in the receiver queue; or deleting the determined illegal registered broadcast application in the receiver queue, and if the illegally registered broadcast application is in the preset whitelist application list, receiving The illegal registration broadcast application is retained in the queue; or if the illegal registration broadcast application is in the preset whitelist application list, the illegally registered broadcast application is retained in the recipient queue.
本实施例提供的技术方案,当接收者队列中的接收者数量大于预设阈值时,对接收者队列进行优化,通过控制目标广播接收者的数量节省系统资源,提高系统性能。In the technical solution provided by the embodiment, when the number of receivers in the receiver queue is greater than a preset threshold, the receiver queue is optimized, and system resources are saved by controlling the number of target broadcast receivers, thereby improving system performance.
图4为本申请实施例提供的一种广播接收者的控制方法的流程图,作为对 上述实施例的进一步说明,包括:FIG. 4 is a flowchart of a method for controlling a broadcast receiver according to an embodiment of the present application. Further description of the above embodiments includes:
步骤201,获取第一应用在后台根据至少一个广播进行自启动的启动参数。一些应用通过接收广播在后台进行自启动,用户在使用移动终端一段时间后,应用启动管理模块获取这些应用根据广播自启动的启动参数,其中,启动参数包括自启动的频率、自启动占用的资源量和第一应用对应的资源占用时间。Step 201: Acquire a startup parameter that the first application performs self-starting according to at least one broadcast in the background. Some applications are self-starting in the background by receiving broadcasts. After the user uses the mobile terminal for a period of time, the application startup management module obtains startup parameters of the applications according to the broadcast self-starting, wherein the startup parameters include the self-starting frequency and the resources occupied by the self-starting. The amount of resource occupation time corresponding to the first application.
步骤202,判断启动参数是否超过启动参数对应的阈值。Step 202: Determine whether the startup parameter exceeds a threshold corresponding to the startup parameter.
将获取到的启动参数分别与设置好的启动参数对应的阈值进行比较,判断启动参数是否超过其对应的阈值。The obtained startup parameters are respectively compared with the thresholds corresponding to the set startup parameters, and it is determined whether the startup parameters exceed their corresponding thresholds.
步骤203,如果启动参数超过启动参数对应的阈值,则将第一应用确定为非法启动应用。Step 203: If the startup parameter exceeds the threshold corresponding to the startup parameter, the first application is determined to be an illegal startup application.
若启动参数的中至少一个启动参数超过其对应的阈值,则将第一应用确定为非法启动应用,可以将确定的所有的非法启动应用保存为一个非法启动应用名单,以在后续的步骤中直接使用。If at least one startup parameter of the startup parameter exceeds its corresponding threshold, the first application is determined to be an illegal startup application, and all the determined illegal startup applications may be saved as an illegal startup application list, which is directly in the subsequent step. use.
步骤204,获取目标广播的接收者队列。Step 204: Acquire a receiver queue of the target broadcast.
目标广播在每一次发出前,都要获取其接收者队列。The target broadcast gets its receiver queue before each issue.
步骤205,判断接收者队列中接收者的数量是否大于预设阈值。Step 205: Determine whether the number of recipients in the receiver queue is greater than a preset threshold.
步骤206,如果接收者队列中接收者的数量大于预设阈值,则根据确定的非法启动应用对接收者队列进行优化。Step 206: If the number of receivers in the receiver queue is greater than a preset threshold, optimize the receiver queue according to the determined illegal startup application.
当接收者队列中接收者的数量大于预设阈值时,识别接收者队列中是否包含非法启动应用名单中的非法启动应用,如果有,则对非法启动应用进行优化处理。When the number of receivers in the receiver queue is greater than a preset threshold, it is identified whether the recipient queue contains an illegal startup application in the illegally launched application list, and if so, the illegal startup application is optimized.
图5为本申请实施例提供的一种广播接收者的控制装置的结构示意图,如图5所示,该装置包括:启动参数获取模块310,启动参数判断模块320,非法启动应用确定模块330,接收者队列获取模块340和接收者队列优化模块350。FIG. 5 is a schematic structural diagram of a control apparatus for a broadcast receiver according to an embodiment of the present disclosure. As shown in FIG. 5, the apparatus includes: a startup parameter acquisition module 310, a startup parameter determination module 320, and an illegal startup application determination module 330. Receiver queue acquisition module 340 and receiver queue optimization module 350.
启动参数获取模块310,用于获取第一应用在后台根据至少一个广播进行自启动的启动参数;The startup parameter obtaining module 310 is configured to acquire a startup parameter that is automatically started by the first application according to at least one broadcast in the background;
启动参数判断模块320,用于判断启动参数是否超过启动参数对应的阈 值;The startup parameter determining module 320 is configured to determine whether the startup parameter exceeds a threshold corresponding to the startup parameter. value;
非法启动应用确定模块330,用于当启动参数超过启动参数对应的阈值时,将第一应用确定为非法启动应用;The illegally launching the application determining module 330 is configured to determine that the first application is an illegal launching application when the startup parameter exceeds a threshold corresponding to the startup parameter;
接收者队列获取模块340,用于获取目标广播的接收者队列;a receiver queue obtaining module 340, configured to acquire a receiver queue of the target broadcast;
接收者队列优化模块350,用于根据确定的非法启动应用对接收者队列进行优化。The receiver queue optimization module 350 is configured to optimize the receiver queue according to the determined illegal startup application.
在一些实施例中,启动参数获取模块310,用于:In some embodiments, the parameter acquisition module 310 is activated for:
在预设时间段中,统计第一应用在后台根据至少一个预设广播进行自启动的次数;Counting, in the preset time period, the number of times the first application performs self-starting according to at least one preset broadcast in the background;
根据预设时间段和自启动的次数确定自启动的频率。The frequency of self-starting is determined according to the preset time period and the number of self-starting.
在一些实施例中,启动参数获取模块310,用于:In some embodiments, the parameter acquisition module 310 is activated for:
检测第一应用在后台根据广播进行自启动占用的资源量;和/或,Detecting the amount of resources occupied by the first application in the background according to the broadcast; and/or,
检测第一应用在后台根据广播进行自启动,第一应用对应的资源占用时间。The first application is detected to be self-starting according to the broadcast in the background, and the resource corresponding to the first application takes up time.
在一些实施例中,接收者队列优化模块350,用于:In some embodiments, the receiver queue optimization module 350 is configured to:
判断接收者队列中接收者的数量是否大于预设阈值;Determining whether the number of recipients in the receiver queue is greater than a preset threshold;
如果接收者队列中接收者的数量大于预设阈值,则根据确定的非法启动应用对接收者队列进行优化。If the number of recipients in the receiver queue is greater than a preset threshold, the receiver queue is optimized according to the determined illegal launch application.
在一些实施例中,接收者队列优化模块350,用于:In some embodiments, the receiver queue optimization module 350 is configured to:
若非法启动应用在预设白名单应用列表中,则在接收者队列中保留非法启动应用。If the application is illegally launched in the preset whitelist application list, the illegal launch application is retained in the receiver queue.
上述装置可执行本申请前述所有实施例所提供的方法,具备执行上述方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本申请前述所有实施例所提供的方法。The foregoing apparatus may perform the methods provided by all the foregoing embodiments of the present application, and have corresponding functional modules and advantageous effects for performing the foregoing methods. For technical details that are not described in detail in this embodiment, reference may be made to the methods provided in all of the foregoing embodiments of the present application.
图6为本申请实施例提供的一种移动终端的结构示意图,如图6所示,该移动终端可以包括:壳体(图中未示出)、存储器801、中央处理器(Central Processing Unit,CPU)802(又称处理器,以下简称CPU)、存储在存储器801上并可在处理器802上运行的计算机程序、电路板(图中未示出)和电源电路(图中未示出)。所述电路板安置在所述壳体围成的空间内部;所述CPU802 和所述存储器801设置在所述电路板上;所述电源电路,用于为所述移动终端的各个电路或器件供电;所述存储器801,用于存储可执行程序代码;所述CPU802通过读取所述存储器801中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行:获取第一应用在后台根据至少一个广播进行自启动的启动参数;判断启动参数是否超过启动参数对应的阈值;如果启动参数超过启动参数对应的阈值,则将第一应用确定为非法启动应用;获取目标广播的接收者队列;根据确定的非法启动应用对接收者队列进行优化。FIG. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure. As shown in FIG. 6, the mobile terminal may include: a casing (not shown), a memory 801, and a central processing unit (Central Processing Unit, A CPU 802 (also referred to as a processor, hereinafter referred to as a CPU), a computer program stored on the memory 801 and operable on the processor 802, a circuit board (not shown), and a power supply circuit (not shown) . The circuit board is disposed inside a space enclosed by the casing; the CPU 802 And the memory 801 is disposed on the circuit board; the power circuit is configured to supply power to each circuit or device of the mobile terminal; the memory 801 is configured to store executable program code; and the CPU 802 reads Taking the executable program code stored in the memory 801 to run a program corresponding to the executable program code, for performing: acquiring a startup parameter that the first application is self-starting according to at least one broadcast in the background; determining the startup parameter Whether the threshold corresponding to the startup parameter is exceeded; if the startup parameter exceeds the threshold corresponding to the startup parameter, the first application is determined to be an illegal startup application; the receiver queue of the target broadcast is acquired; and the receiver queue is optimized according to the determined illegal startup application.
所述移动终端还包括:外设接口803、RF(Radio Frequency,射频)电路805、音频电路806、扬声器811、电源管理芯片808、输入/输出(I/O)子系统809、触摸屏812、其他输入/控制设备810以及外部端口804,这些部件通过一个或多个通信总线或信号线807来通信。The mobile terminal further includes: a peripheral interface 803, an RF (Radio Frequency) circuit 805, an audio circuit 806, a speaker 811, a power management chip 808, an input/output (I/O) subsystem 809, a touch screen 812, and others. Input/control device 810 and external port 804 are communicated via one or more communication buses or signal lines 807.
应该理解的是,图示移动终端800仅仅是移动终端的一个范例,并且移动终端800可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that the illustrated mobile terminal 800 is merely one example of a mobile terminal, and that the mobile terminal 800 may have more or fewer components than those shown in the figures, and two or more components may be combined. Or it can have different component configurations. The various components shown in the figures can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
下面就本实施例提供的用于实现广播接收者控制功能的移动终端进行详细的描述,该移动终端以手机为例。The mobile terminal for implementing the broadcast receiver control function provided in this embodiment is described in detail below. The mobile terminal takes a mobile phone as an example.
存储器801,所述存储器801可以被CPU802、外设接口803等访问,所述存储器801可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 801 can be accessed by the CPU 802, the peripheral interface 803, etc., and the memory 801 can include a high speed random access memory, and can also include a non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices. Or other volatile solid-state storage devices.
外设接口803,所述外设接口803可以将设备的输入和输出外设连接到CPU802和存储器801。 Peripheral interface 803, which can connect the input and output peripherals of the device to CPU 802 and memory 801.
I/O子系统809,所述I/O子系统809可以将设备上的输入输出外设,例如触摸屏812和其他输入/控制设备810,连接到外设接口803。I/O子系统809可以包括显示控制器8091和用于控制其他输入/控制设备810的一个或多个输入控制器8092。其中,一个或多个输入控制器8092从其他输入/控制设备810接收电信号或者向其他输入/控制设备810发送电信号,其他输入/控制设备810可以包括物理按钮(按压按钮、摇臂按钮等)、拨号盘、滑动开关、操纵 杆、点击滚轮。值得说明的是,输入控制器8092可以与以下任一个连接:键盘、红外端口、USB接口以及诸如鼠标的指示设备。I/O subsystem 809, which can connect input and output peripherals on the device, such as touch screen 812 and other input/control devices 810, to peripheral interface 803. The I/O subsystem 809 can include a display controller 8091 and one or more input controllers 8092 for controlling other input/control devices 810. Wherein, one or more input controllers 8092 receive electrical signals from other input/control devices 810 or transmit electrical signals to other input/control devices 810, and other input/control devices 810 may include physical buttons (press buttons, rocker buttons, etc.) ), dial, slide switch, steering Rod, click the wheel. It is worth noting that the input controller 8092 can be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
其中,按照触摸屏的工作原理和传输信息的介质分类,触摸屏812可以为电阻式、电容感应式、红外线式或表面声波式。按照安装方式分类,触摸屏812可以为:外挂式、内置式或整体式。按照技术原理分类,触摸屏812可以为:矢量压力传感技术触摸屏、电阻技术触摸屏、电容技术触摸屏、红外线技术触摸屏或表面声波技术触摸屏。Wherein, according to the working principle of the touch screen and the medium for transmitting information, the touch screen 812 can be a resistive type, a capacitive inductive type, an infrared type or a surface acoustic wave type. According to the installation manner, the touch screen 812 can be: external, built-in or integrated. According to the technical principle, the touch screen 812 can be: a vector pressure sensing technology touch screen, a resistive technology touch screen, a capacitive technology touch screen, an infrared technology touch screen or a surface acoustic wave technology touch screen.
触摸屏812,所述触摸屏812是用户终端与用户之间的输入接口和输出接口,将可视输出显示给用户,可视输出可以包括图形、文本、图标、视频等。可选的,触摸屏812将用户在触屏幕上触发的电信号(如接触面的电信号),发送给处理器802。The touch screen 812 is an input interface and an output interface between the user terminal and the user, and displays the visual output to the user. The visual output may include graphics, text, icons, videos, and the like. Optionally, the touch screen 812 sends an electrical signal (such as an electrical signal of the contact surface) triggered by the user on the touch screen to the processor 802.
I/O子系统809中的显示控制器8091从触摸屏812接收电信号或者向触摸屏812发送电信号。触摸屏812检测触摸屏上的接触,显示控制器8091将检测到的接触转换为与显示在触摸屏812上的用户界面对象的交互,即实现人机交互,显示在触摸屏812上的用户界面对象可以是运行游戏的图标、联网到相应网络的图标等。值得说明的是,设备还可以包括光鼠,光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸。 Display controller 8091 in I/O subsystem 809 receives an electrical signal from touch screen 812 or an electrical signal to touch screen 812. The touch screen 812 detects the contact on the touch screen, and the display controller 8091 converts the detected contact into an interaction with the user interface object displayed on the touch screen 812, that is, realizes human-computer interaction, and the user interface object displayed on the touch screen 812 may be running. The icon of the game, the icon of the network to the corresponding network, and the like. It is worth noting that the device may also include a light mouse, which is a touch sensitive surface that does not display a visual output, or an extension of a touch sensitive surface formed by the touch screen.
RF电路805,主要用于建立手机与无线网络(即网络侧)的通信,实现手机与无线网络的数据接收和发送。例如收发短信息、电子邮件等。The RF circuit 805 is mainly used for establishing communication between the mobile phone and the wireless network (ie, the network side), and realizing data reception and transmission between the mobile phone and the wireless network. For example, sending and receiving short messages, emails, and the like.
音频电路806,主要用于从外设接口803接收音频数据,将该音频数据转换为电信号,并且将该电信号发送给扬声器811。The audio circuit 806 is mainly used to receive audio data from the peripheral interface 803, convert the audio data into an electrical signal, and transmit the electrical signal to the speaker 811.
扬声器811,用于将手机通过RF电路805从无线网络接收的语音信号,还原为声音并向用户播放该声音。The speaker 811 is configured to restore the voice signal received by the mobile phone from the wireless network through the RF circuit 805 to sound and play the sound to the user.
电源管理芯片808,用于为CPU802、I/O子系统及外设接口所连接的硬件进行供电及电源管理。The power management chip 808 is used for power supply and power management of the hardware connected to the CPU 802, the I/O subsystem, and the peripheral interface.
在本实施例中,中央处理器802用于:In this embodiment, the central processing unit 802 is configured to:
获取第一应用在后台根据至少一个广播进行自启动的启动参数;Obtaining a startup parameter that the first application performs self-starting according to at least one broadcast in the background;
判断启动参数是否超过启动参数对应的阈值;Determining whether the startup parameter exceeds a threshold corresponding to the startup parameter;
如果启动参数超过启动参数对应的阈值,则将第一应用确定为非法启动应 用;If the startup parameter exceeds the threshold corresponding to the startup parameter, the first application is determined to be an illegal startup. use;
获取目标广播的接收者队列;Obtain a receiver queue of the target broadcast;
根据确定的非法启动应用对接收者队列进行优化。Optimize the receiver queue based on the determined illegal launch of the application.
进一步地,获取第一应用在后台根据广播进行自启动的启动参数,包括:Further, acquiring, by the first application, a startup parameter that is self-starting according to the broadcast in the background, including:
在预设时间段中,统计第一应用在后台根据至少一个预设广播进行自启动的次数;Counting, in the preset time period, the number of times the first application performs self-starting according to at least one preset broadcast in the background;
根据预设时间段和自启动的次数确定自启动的频率。The frequency of self-starting is determined according to the preset time period and the number of self-starting.
进一步地,获取第一应用在后台根据广播进行自启动的启动参数,包括:Further, acquiring, by the first application, a startup parameter that is self-starting according to the broadcast in the background, including:
检测第一应用在后台根据广播进行自启动占用的资源量;和/或,Detecting the amount of resources occupied by the first application in the background according to the broadcast; and/or,
检测第一应用在后台根据广播进行自启动,第一应用对应的资源占用时间。The first application is detected to be self-starting according to the broadcast in the background, and the resource corresponding to the first application takes up time.
进一步地,根据确定的非法启动应用对接收者队列进行优化,包括:Further, the receiver queue is optimized according to the determined illegal launch application, including:
判断接收者队列中接收者的数量是否大于预设阈值;Determining whether the number of recipients in the receiver queue is greater than a preset threshold;
如果接收者队列中接收者的数量大于预设阈值,则根据确定的非法启动应用对接收者队列进行优化。If the number of recipients in the receiver queue is greater than a preset threshold, the receiver queue is optimized according to the determined illegal launch application.
进一步地,根据确定的非法启动应用对接收者队列进行优化,包括:Further, the receiver queue is optimized according to the determined illegal launch application, including:
若非法启动应用在预设白名单应用列表中,则在接收者队列中保留非法启动应用。If the application is illegally launched in the preset whitelist application list, the illegal launch application is retained in the receiver queue.
在一些实施例中,所述根据确定的所述非法启动应用对所述接收者队列进行优化,包括:In some embodiments, the optimizing the recipient queue according to the determined illegal launching application comprises:
在所述接收者队列中删除确定的所述非法启动应用。Determining the determined illegal launch application in the recipient queue.
在一些实施例中,所述根据确定的所述非法启动应用对所述接收者队列进行优化,包括:In some embodiments, the optimizing the recipient queue according to the determined illegal launching application comprises:
在所述接收者队列中删除与所述非法启动应用存在数据交互的关联应用。An associated application that has data interaction with the illegally launched application is deleted in the recipient queue.
在一些实施例中,所述获取目标广播的接收者队列的步骤,包括:In some embodiments, the step of obtaining a receiver queue of the target broadcast includes:
当广播管理模块检测到目标广播要发出时,在目标广播广播发出前,广播管理模块识别目标广播的类型,根据目标广播的类型获取其对应的接收者队列。When the broadcast management module detects that the target broadcast is to be issued, the broadcast management module identifies the type of the target broadcast before the target broadcast broadcast is issued, and acquires its corresponding recipient queue according to the type of the target broadcast.
需要说明的是,移动终端还可以包括摄像头、蓝牙模块等,在此不再赘述。 It should be noted that the mobile terminal may further include a camera, a Bluetooth module, and the like, and details are not described herein.
本申请实施例还提供一种存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序使得计算机执行上述任一实施例所述的广播接收者的控制方法。The embodiment of the present application further provides a storage medium in which a computer program is stored, wherein the computer program causes the computer to execute the control method of the broadcast receiver described in any of the above embodiments.
需要说明的是,本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁盘或光盘等。It should be noted that those skilled in the art can understand that all or part of the steps of the foregoing embodiments can be completed by a program to instruct related hardware, and the program can be stored in a computer readable storage medium and stored. The medium may include: a read only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like.
注意,上述仅为本申请的较佳实施例及所运用技术原理。本领域技术人员会理解,本申请不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本申请的保护范围。因此,虽然通过以上实施例对本申请进行了较为详细的说明,但是本申请不仅仅限于以上实施例,在不脱离本申请构思的情况下,还可以包括更多其他等效实施例,而本申请的范围由所附的权利要求范围决定。 Note that the above are only the preferred embodiments of the present application and the technical principles applied thereto. A person skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various changes, modifications and substitutions can be made by those skilled in the art without departing from the scope of the invention. Therefore, although the present application has been described in detail by the above embodiments, the present application is not limited to the above embodiments, and other equivalent embodiments may be included without departing from the concept of the present application. The scope is determined by the scope of the appended claims.

Claims (20)

  1. 一种广播接收者的控制方法,其中,包括:A method for controlling a broadcast recipient, comprising:
    获取第一应用在后台根据至少一个广播进行自启动的启动参数;Obtaining a startup parameter that the first application performs self-starting according to at least one broadcast in the background;
    判断所述启动参数是否超过所述启动参数对应的阈值;Determining whether the startup parameter exceeds a threshold corresponding to the startup parameter;
    如果所述启动参数超过所述启动参数对应的阈值,则将所述第一应用确定为非法启动应用;If the startup parameter exceeds a threshold corresponding to the startup parameter, determining the first application as an illegal startup application;
    获取目标广播的接收者队列;Obtain a receiver queue of the target broadcast;
    根据确定的所述非法启动应用对所述接收者队列进行优化。The recipient queue is optimized according to the determined illegal launch application.
  2. 根据权利要求1所述的广播接收者的控制方法,其中,所述获取第一应用在后台根据广播进行自启动的启动参数,包括:The control method of the broadcast receiver according to claim 1, wherein the obtaining the startup parameter that the first application is self-starting according to the broadcast in the background comprises:
    在预设时间段中,统计第一应用在后台根据至少一个预设广播进行自启动的次数;Counting, in the preset time period, the number of times the first application performs self-starting according to at least one preset broadcast in the background;
    根据所述预设时间段和所述自启动的次数确定所述自启动的频率。The frequency of the self-starting is determined according to the preset time period and the number of self-starting.
  3. 根据权利要求1所述的广播接收者的控制方法,其中,所述获取第一应用在后台根据广播进行自启动的启动参数,包括:The control method of the broadcast receiver according to claim 1, wherein the obtaining the startup parameter that the first application is self-starting according to the broadcast in the background comprises:
    检测第一应用在后台根据广播进行自启动占用的资源量;和/或,Detecting the amount of resources occupied by the first application in the background according to the broadcast; and/or,
    检测第一应用在后台根据广播进行自启动,所述第一应用对应的资源占用时间。The first application is detected to be self-starting according to the broadcast in the background, and the resource corresponding to the first application takes up time.
  4. 根据权利要求1所述的广播接收者的控制方法,其中,所述根据确定的所述非法启动应用对所述接收者队列进行优化,包括:The broadcast recipient control method according to claim 1, wherein the optimizing the receiver queue according to the determined illegal launch application comprises:
    判断所述接收者队列中接收者的数量是否大于预设阈值;Determining whether the number of receivers in the receiver queue is greater than a preset threshold;
    如果所述接收者队列中接收者的数量大于预设阈值,则根据确定的所述非法启动应用对所述接收者队列进行优化。If the number of receivers in the receiver queue is greater than a preset threshold, the receiver queue is optimized according to the determined illegal startup application.
  5. 根据权利要求1所述的广播接收者的控制方法,其中,所述根据确定的所述非法启动应用对所述接收者队列进行优化,包括:The broadcast recipient control method according to claim 1, wherein the optimizing the receiver queue according to the determined illegal launch application comprises:
    若所述非法启动应用在预设白名单应用列表中,则在所述接收者队列中保留所述非法启动应用。If the illegal launch application is in the preset whitelist application list, the illegal launch application is retained in the recipient queue.
  6. 根据权利要求1所述的广播接收者的控制方法,其中,所述根据确定的 所述非法启动应用对所述接收者队列进行优化,包括:The broadcast recipient control method according to claim 1, wherein said determining according to said The illegally launching application optimizes the receiver queue, including:
    在所述接收者队列中删除确定的所述非法启动应用。Determining the determined illegal launch application in the recipient queue.
  7. 根据权利要求1所述的广播接收者的控制方法,其中,所述根据确定的所述非法启动应用对所述接收者队列进行优化,包括:The broadcast recipient control method according to claim 1, wherein the optimizing the receiver queue according to the determined illegal launch application comprises:
    在所述接收者队列中删除与所述非法启动应用存在数据交互的关联应用。An associated application that has data interaction with the illegally launched application is deleted in the recipient queue.
  8. 根据权利要求1所述的广播接收者的控制方法,其中,所述获取目标广播的接收者队列的步骤,包括:The method of controlling a broadcast recipient according to claim 1, wherein the step of acquiring a receiver queue of the target broadcast comprises:
    当广播管理模块检测到目标广播要发出时,在目标广播广播发出前,广播管理模块识别目标广播的类型,根据目标广播的类型获取其对应的接收者队列。When the broadcast management module detects that the target broadcast is to be issued, the broadcast management module identifies the type of the target broadcast before the target broadcast broadcast is issued, and acquires its corresponding recipient queue according to the type of the target broadcast.
  9. 一种广播接收者的控制装置,其中,包括:A broadcast receiver control device, comprising:
    启动参数获取模块,用于获取第一应用在后台根据至少一个广播进行自启动的启动参数;a startup parameter obtaining module, configured to acquire a startup parameter that is automatically started by the first application according to at least one broadcast in the background;
    启动参数判断模块,用于判断所述启动参数是否超过所述启动参数对应的阈值;a startup parameter determining module, configured to determine whether the startup parameter exceeds a threshold corresponding to the startup parameter;
    非法启动应用确定模块,用于当所述启动参数超过所述启动参数对应的阈值时,将所述第一应用确定为非法启动应用;An illegally launching an application determining module, configured to determine, when the startup parameter exceeds a threshold corresponding to the startup parameter, the first application as an illegal startup application;
    接收者队列获取模块,用于获取目标广播的接收者队列;a receiver queue obtaining module, configured to acquire a receiver queue of the target broadcast;
    接收者队列优化模块,用于根据确定的所述非法启动应用对所述接收者队列进行优化。And a receiver queue optimization module, configured to optimize the receiver queue according to the determined illegal startup application.
  10. 根据权利要求9所述的广播接收者的控制装置,其中,所述启动参数获取模块,用于:The control device of the broadcast receiver according to claim 9, wherein the startup parameter acquisition module is configured to:
    在预设时间段中,统计第一应用在后台根据至少一个预设广播进行自启动的次数;Counting, in the preset time period, the number of times the first application performs self-starting according to at least one preset broadcast in the background;
    根据所述预设时间段和所述自启动的次数确定所述自启动的频率。The frequency of the self-starting is determined according to the preset time period and the number of self-starting.
  11. 根据权利要求9所述的广播接收者的控制装置,其中,所述启动参数获取模块,用于:The control device of the broadcast receiver according to claim 9, wherein the startup parameter acquisition module is configured to:
    检测第一应用在后台根据广播进行自启动占用的资源量;和/或,Detecting the amount of resources occupied by the first application in the background according to the broadcast; and/or,
    检测第一应用在后台根据广播进行自启动,所述第一应用对应的资源占用 时间。Detecting that the first application is self-starting according to the broadcast in the background, and the resource corresponding to the first application is occupied. time.
  12. 根据权利要求9所述的广播接收者的控制装置,其中,所述接收者队列优化模块,用于:The broadcast receiver control device according to claim 9, wherein the receiver queue optimization module is configured to:
    判断所述接收者队列中接收者的数量是否大于预设阈值;Determining whether the number of receivers in the receiver queue is greater than a preset threshold;
    如果所述接收者队列中接收者的数量大于预设阈值,则根据确定的所述非法启动应用对所述接收者队列进行优化。If the number of receivers in the receiver queue is greater than a preset threshold, the receiver queue is optimized according to the determined illegal startup application.
  13. 根据权利要求9所述的广播接收者的控制装置,其中,所述接收者队列优化模块,用于:The broadcast receiver control device according to claim 9, wherein the receiver queue optimization module is configured to:
    若所述非法启动应用在预设白名单应用列表中,则在所述接收者队列中保留所述非法启动应用。If the illegal launch application is in the preset whitelist application list, the illegal launch application is retained in the recipient queue.
  14. 一种移动终端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现以下步骤:A mobile terminal includes a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to implement the following steps:
    获取第一应用在后台根据至少一个广播进行自启动的启动参数;Obtaining a startup parameter that the first application performs self-starting according to at least one broadcast in the background;
    判断所述启动参数是否超过所述启动参数对应的阈值;Determining whether the startup parameter exceeds a threshold corresponding to the startup parameter;
    如果所述启动参数超过所述启动参数对应的阈值,则将所述第一应用确定为非法启动应用;If the startup parameter exceeds a threshold corresponding to the startup parameter, determining the first application as an illegal startup application;
    获取目标广播的接收者队列;Obtain a receiver queue of the target broadcast;
    根据确定的所述非法启动应用对所述接收者队列进行优化。The recipient queue is optimized according to the determined illegal launch application.
  15. 根据权利要求14所述的移动终端,其中,所述获取第一应用在后台根据广播进行自启动的启动参数,包括:The mobile terminal according to claim 14, wherein the obtaining the startup parameter that the first application is self-starting according to the broadcast in the background comprises:
    在预设时间段中,统计第一应用在后台根据至少一个预设广播进行自启动的次数;Counting, in the preset time period, the number of times the first application performs self-starting according to at least one preset broadcast in the background;
    根据所述预设时间段和所述自启动的次数确定所述自启动的频率。The frequency of the self-starting is determined according to the preset time period and the number of self-starting.
  16. 根据权利要求14所述的移动终端,其中,所述获取第一应用在后台根据广播进行自启动的启动参数,包括:The mobile terminal according to claim 14, wherein the obtaining the startup parameter that the first application is self-starting according to the broadcast in the background comprises:
    检测第一应用在后台根据广播进行自启动占用的资源量;和/或,Detecting the amount of resources occupied by the first application in the background according to the broadcast; and/or,
    检测第一应用在后台根据广播进行自启动,所述第一应用对应的资源占用时间。The first application is detected to be self-starting according to the broadcast in the background, and the resource corresponding to the first application takes up time.
  17. 根据权利要求14所述的移动终端,其中,所述根据确定的所述非法启 动应用对所述接收者队列进行优化,包括:The mobile terminal of claim 14, wherein the invalidation according to the determination The application optimizes the recipient queue, including:
    判断所述接收者队列中接收者的数量是否大于预设阈值;Determining whether the number of receivers in the receiver queue is greater than a preset threshold;
    如果所述接收者队列中接收者的数量大于预设阈值,则根据确定的所述非法启动应用对所述接收者队列进行优化。If the number of receivers in the receiver queue is greater than a preset threshold, the receiver queue is optimized according to the determined illegal startup application.
  18. 根据权利要求14所述的移动终端,其中,所述根据确定的所述非法启动应用对所述接收者队列进行优化,包括:The mobile terminal of claim 14, wherein the optimizing the recipient queue according to the determined illegal launching application comprises:
    若所述非法启动应用在预设白名单应用列表中,则在所述接收者队列中保留所述非法启动应用。If the illegal launch application is in the preset whitelist application list, the illegal launch application is retained in the recipient queue.
  19. 根据权利要求41所述的移动终端,其中,所述根据确定的所述非法启动应用对所述接收者队列进行优化,包括:The mobile terminal of claim 41, wherein the optimizing the recipient queue according to the determined illegal launching application comprises:
    在所述接收者队列中删除与所述非法启动应用存在数据交互的关联应用。An associated application that has data interaction with the illegally launched application is deleted in the recipient queue.
  20. 一种存储介质,其中,所述存储介质中存储有计算机程序,所述计算机程序使得计算机执行如权利要求1至8任一项所述的广播接收者的控制方法。 A storage medium in which a computer program is stored, the computer program causing a computer to execute the control method of the broadcast recipient according to any one of claims 1 to 8.
PCT/CN2017/108147 2017-03-10 2017-10-27 Broadcast receiver control method and device, mobile terminal and storage medium WO2018161609A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710140869.XA CN106933684A (en) 2017-03-10 2017-03-10 A kind of control method of broadcast recipients, device and mobile terminal
CN201710140869.X 2017-03-10

Publications (1)

Publication Number Publication Date
WO2018161609A1 true WO2018161609A1 (en) 2018-09-13

Family

ID=59432878

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/108147 WO2018161609A1 (en) 2017-03-10 2017-10-27 Broadcast receiver control method and device, mobile terminal and storage medium

Country Status (2)

Country Link
CN (1) CN106933684A (en)
WO (1) WO2018161609A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106933684A (en) * 2017-03-10 2017-07-07 广东欧珀移动通信有限公司 A kind of control method of broadcast recipients, device and mobile terminal
CN107748684A (en) * 2017-11-21 2018-03-02 广东欧珀移动通信有限公司 Realize processing method, device, storage medium and the mobile terminal of self-starting
CN110888683B (en) * 2018-08-16 2022-05-06 腾讯科技(深圳)有限公司 Performance optimization method and device of operating system and readable medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140068779A1 (en) * 2012-09-06 2014-03-06 Box, Inc. System and method for creating a secure channel for inter-application communication based on intents
CN104066090A (en) * 2013-03-21 2014-09-24 联想(北京)有限公司 Information processing method and electronic device
CN104461725A (en) * 2014-12-30 2015-03-25 小米科技有限责任公司 Application process starting control method and device
CN104991803A (en) * 2015-07-10 2015-10-21 上海斐讯数据通信技术有限公司 System and method for managing and controlling self-startup of android application under specific conditions
CN106933684A (en) * 2017-03-10 2017-07-07 广东欧珀移动通信有限公司 A kind of control method of broadcast recipients, device and mobile terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104462978B (en) * 2014-12-24 2017-09-15 北京奇虎科技有限公司 A kind of method and apparatus of application program rights management
CN105094278B (en) * 2015-06-30 2018-10-12 努比亚技术有限公司 A kind of information processing method and device
CN106125882B (en) * 2016-06-15 2019-04-26 深圳市万普拉斯科技有限公司 A kind of management method and electronic equipment of application program
CN106201740A (en) * 2016-06-29 2016-12-07 北京金山安全软件有限公司 Broadcast message management method, device and equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140068779A1 (en) * 2012-09-06 2014-03-06 Box, Inc. System and method for creating a secure channel for inter-application communication based on intents
CN104066090A (en) * 2013-03-21 2014-09-24 联想(北京)有限公司 Information processing method and electronic device
CN104461725A (en) * 2014-12-30 2015-03-25 小米科技有限责任公司 Application process starting control method and device
CN104991803A (en) * 2015-07-10 2015-10-21 上海斐讯数据通信技术有限公司 System and method for managing and controlling self-startup of android application under specific conditions
CN106933684A (en) * 2017-03-10 2017-07-07 广东欧珀移动通信有限公司 A kind of control method of broadcast recipients, device and mobile terminal

Also Published As

Publication number Publication date
CN106933684A (en) 2017-07-07

Similar Documents

Publication Publication Date Title
CN107835033B (en) Antenna tuning switch control method and device, terminal equipment and storage medium
US20200008016A1 (en) Broadcast Processing Method, Non-Transitory Storage Medium, and Electronic Device
EP3592003B1 (en) Broadcast control method, device, storage medium and mobile terminal
KR102151135B1 (en) Method for managing power and electronic device thereof
EP3089046B1 (en) Electronic device operating method and electronic device for supporting the same
CN106851014B (en) Method, device and terminal for adjusting broadcast message queue
WO2018161607A1 (en) Broadcasting control method and apparatus, and mobile terminal and storage medium
WO2018161609A1 (en) Broadcast receiver control method and device, mobile terminal and storage medium
CN107831886B (en) Control method and device for associated starting application, storage medium and intelligent terminal
CN106851015B (en) Method, device and terminal for adjusting broadcast message queue
WO2018161969A1 (en) Broadcast queue adjustment method and apparatus, and terminal device
WO2018161955A1 (en) Method and device for controlling broadcast recipient, and mobile terminal
WO2018161589A1 (en) Control method, device, storage medium, and electronic apparatus for broadcast sending
CN106844070B (en) Broadcast control method and device and mobile terminal
CN107885588B (en) Application service control method and device, storage medium and mobile terminal
CN110741346B (en) Application management method and terminal
CN105549836B (en) Method for processing message on screen locking interface of mobile electronic terminal and mobile electronic terminal
CN106844057B (en) Data processing method and device and mobile terminal
CN106791090B (en) Mobile terminal restart control method and device and mobile terminal
US20170104712A1 (en) Electronic device, server and content providing method thereof
CN106936828B (en) Method, device and terminal for adjusting broadcast receiver queue
US20180262358A1 (en) Method for monitoring broadcast message and terminal
CN109614248B (en) Message compression method, device, storage medium and terminal equipment
CN108595281B (en) Moving object processing method, moving object processing device, storage medium and terminal
WO2019061248A1 (en) Virtual key operation method, terminal, storage medium, and computer program

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: 17899641

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17899641

Country of ref document: EP

Kind code of ref document: A1