WO2018161963A1 - 广播接收者的管理方法、装置及终端 - Google Patents

广播接收者的管理方法、装置及终端 Download PDF

Info

Publication number
WO2018161963A1
WO2018161963A1 PCT/CN2018/078598 CN2018078598W WO2018161963A1 WO 2018161963 A1 WO2018161963 A1 WO 2018161963A1 CN 2018078598 W CN2018078598 W CN 2018078598W WO 2018161963 A1 WO2018161963 A1 WO 2018161963A1
Authority
WO
WIPO (PCT)
Prior art keywords
broadcast
historical
broadcast receiver
timeout
threshold
Prior art date
Application number
PCT/CN2018/078598
Other languages
English (en)
French (fr)
Inventor
付亮晶
裴润升
林志泳
吴汝煜
张俊
Original Assignee
广东欧珀移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Publication of WO2018161963A1 publication Critical patent/WO2018161963A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/548Queue

Definitions

  • the present disclosure relates to the field of terminal technologies, for example, to a management method, apparatus, and terminal for a broadcast receiver.
  • broadcast is a mechanism widely used to transfer information between applications.
  • the broadcast in the Android operating system is used to monitor system events or application events.
  • some applications perform self-starting or other operations in the background by receiving multiple broadcast messages.
  • the application When some applications receive broadcast messages, the application itself performs some time-consuming operations or the application itself is stuck, resulting in the received broadcast messages being unable to be processed in time. Some applications may also timeout the broadcast, affecting the subsequent distribution of the broadcast. Poor stability.
  • the embodiment of the present invention provides a method, a device, and a terminal for managing a broadcast receiver, which can optimize the order in which a broadcast receiver processes a broadcast, and avoid the influence of a broadcast receiver with a slow processing speed on a broadcast receiver with a faster processing speed. System stability.
  • An embodiment provides a method for managing a broadcast recipient, including:
  • the order of the broadcast recipients in the broadcast receiver queue is adjusted based on the historical parameters.
  • An embodiment provides a management apparatus for a broadcast recipient, including:
  • a broadcast message sending module configured to receive a broadcast message sent by a broadcast sender, and send the broadcast message to a broadcast receiver
  • a first obtaining module configured to acquire a historical parameter that the broadcast receiver processes the broadcast message
  • the first adjustment module is configured to adjust an order of the broadcast recipients in the broadcast receiver queue based on the historical parameters.
  • An embodiment provides a terminal comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor executing the computer program to implement the following steps:
  • the order of the broadcast recipients in the broadcast receiver queue is adjusted based on the historical parameters.
  • An embodiment provides a non-transitory computer readable storage medium storing computer executable instructions arranged to perform the methods described above.
  • An embodiment provides a terminal, including:
  • At least one processor At least one processor
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform the method described above.
  • FIG. 1 is a flowchart of a method for managing a broadcast receiver according to an embodiment
  • FIG. 2 is a flowchart of a method for managing a broadcast receiver according to another embodiment
  • FIG. 3 is a flowchart of a method for managing a broadcast receiver according to another embodiment
  • FIG. 4 is a flowchart of a method for managing a broadcast receiver according to another embodiment
  • FIG. 5 is a structural block diagram of a management apparatus of a broadcast receiver according to an embodiment
  • FIG. 6 is a schematic structural diagram of a terminal according to an embodiment.
  • FIG. 1 is a flowchart of a method for managing a broadcast recipient provided by an embodiment, the method being performed by a management device of a broadcast recipient, the management device being executed by at least one of software and hardware.
  • the management device is configured in a terminal such as a mobile phone.
  • the management method of the broadcast recipient includes the following steps.
  • step 110 a broadcast message sent by a broadcast sender is received, and the broadcast message is sent to a broadcast recipient.
  • the broadcast sender's service process sends a broadcast message to the broadcast management module (such as ActivityManagerService, activity management service) by calling a broadcast send function (such as the sendBroadcast function), and the broadcast management module receives the broadcast message and receives the broadcast message.
  • the broadcast message is placed in the broadcast transmission queue, and the broadcast management module transmits the broadcast message in the broadcast transmission queue to the broadcast receiver that meets the reception condition through a process communication mechanism (such as a Binder process communication mechanism).
  • a broadcast message refers to information transmitted by a system or application during operation for transmission between systems, between systems and applications, and/or between applications.
  • the broadcast message is a broadcast message with a system startup function, a short message type broadcast message, a telephone type broadcast message, or a three-party application type broadcast message.
  • step 120 the broadcast receiver processes the historical parameters of the broadcast message.
  • the historical parameters of the broadcast receiver processing the broadcast message include a historical timeout period for processing the broadcast message, a historical average time for processing the broadcast message, a historical timeout period for processing the broadcast message accumulation, or a dynamic time threshold for processing the broadcast message, wherein The dynamic time threshold is used to determine whether the processing of the broadcast message has timed out.
  • the historical timeout period for the broadcast recipient to process the broadcast message is the historical timeout of the broadcast receiver processing the broadcast message within a preset time period or a preset number of times.
  • the broadcast receiver processes one broadcast message or processes a plurality of broadcast messages within a preset time period, and in order to determine the speed at which each broadcast receiver processes the broadcast message, the preset time period is set to enable the broadcast
  • the receiver processes multiple broadcast messages. Therefore, each broadcast recipient may process multiple broadcast messages, the number of timeouts may be multiple or zero.
  • the number of timeouts for the broadcast recipient to process the broadcast message is obtained by the number of timeouts identified.
  • the broadcast management module is a function module in the terminal system, and a variable is created in the broadcast management module, and the variable is used to identify the number of timeouts, and the timeout number is obtained according to the number of timesout times of the identifier.
  • whether the broadcast receiver processes the broadcast message timeout is determined by determining whether the time at which the broadcast receiver processes the broadcast message is greater than a set time threshold; when the broadcast receiver processes the broadcast message for a time greater than a set time threshold, It is determined that the broadcast receiver has timed out to process the broadcast message.
  • the broadcast receiver processes the broadcast message timeout the number of timeouts for processing the broadcast message by the broadcast recipient is identified.
  • the historical average time that the broadcast recipient processes the broadcast message is the historical average time that the broadcast recipient processed the broadcast message within a preset time period, or the historical average time that the broadcast recipient processed the broadcast message within a preset number of times .
  • the historical timeout period is the time during which the broadcast recipient processes the broadcast message within a preset time period or a preset number of times beyond a set time threshold.
  • the set time threshold is fixed.
  • the set time threshold varies with the number of timeouts.
  • the accumulated historical timeout period is the time at which each time a threshold of a set time is exceeded and summed.
  • the broadcast receiver when the broadcast receiver processes the broadcast message for a time greater than the dynamic time threshold, it is determined that the broadcast recipient processes the broadcast message timeout.
  • the dynamic time threshold is determined based on an initial set value, a historical timeout number, and a time increase value, wherein the time increase value is an increase amount of the dynamic time threshold for each set number of timeouts.
  • step 130 the order of the broadcast recipients in the broadcast receiver queue is adjusted based on the historical parameters.
  • the broadcast receiver sorts in a queue manner and processes the broadcast message in order.
  • the order of broadcast receivers in the queue is A1, A2, A3, A4.
  • A1 receives the broadcast message.
  • A2 receives and processes the broadcast message, A3, A4 and so on. .
  • adjusting the order of the broadcast recipients in the broadcast receiver queue based on the historical parameters includes ranking the broadcast recipients based on the historical parameters to adjust the order in which the broadcast recipients process the broadcast messages. For example, if the historical parameter is the accumulated historical timeout period, the broadcast recipients are sorted according to the accumulated historical timeout period from small to large to adjust the order in which the broadcast receiver processes the broadcast message.
  • adjusting the order of the broadcast recipients in the broadcast receiver queue based on the historical parameters further comprises: adjusting the order of the broadcast recipients in the broadcast receiver queue if the historical parameters of the broadcast receiver processing the broadcast message meet the set conditions If the historical parameters of the broadcast receiver processing the broadcast message do not meet the set conditions, the order of the broadcast recipients is not adjusted.
  • the setting condition includes that the accumulated historical timeout period exceeds the first preset time threshold, the historical average time exceeds the second preset time threshold, the historical timeout number exceeds the preset number threshold, or the dynamic time threshold exceeds the third preset time threshold for the first time. Wait.
  • the order of the broadcast receivers in the broadcast receiver queue is adjusted by the broadcast receiver processing the historical parameters of the broadcast message, so that the order of the broadcasts processed by the plurality of broadcast receivers can be optimized, and the broadcast receivers with slower processing speeds can be avoided.
  • a history parameter includes a historical timeout number
  • acquiring, by the broadcast receiver, a historical parameter of the broadcast message including: acquiring The broadcast receiver processes a historical timeout number of the broadcast message; the adjusting the order of the broadcast recipients in the broadcast receiver queue based on the historical parameter, comprising: selecting the broadcast recipient according to a historical timeout period The order of as few as is sorted sequentially in the broadcast receiver queue to adjust the order in which the broadcast recipient processes the broadcast messages.
  • the management method of the broadcast recipient includes the following steps.
  • step 210 a broadcast message sent by a broadcast sender is received, and the broadcast message is sent to a broadcast recipient.
  • step 220 a history timeout number of the broadcast receiver processing the broadcast message is obtained.
  • the historical timeout of the broadcast recipient processing the broadcast message refers to the number of timeouts for processing the broadcast message prior to the current. In some embodiments, the historical timeout of the broadcast recipient processing the broadcast message is the historical timeout of the broadcast recipient processing the broadcast message within the preset time period. In some embodiments, the historical timeout of the broadcast recipient processing the broadcast message is the historical timeout of the broadcast recipient processing the broadcast message under other conditions.
  • the historical timeout number is incremented once when the broadcast recipient processes the broadcast message for a time greater than the set fixed time threshold.
  • the set fixed time threshold is 10 s, and when the broadcast receiver processes the broadcast message for more than 10 s, the number of times the broadcast receiver processes the broadcast message increases once.
  • the historical timeout number is increased once when the broadcast receiver processes the broadcast message for a time greater than the dynamic time threshold, wherein the dynamic time threshold is determined based on the initial set value, the historical timeout number, and the time increase value, the time increase The value is the amount of increase in the dynamic time threshold for each set number of timeouts.
  • T1 is the initial set value of the dynamic time threshold
  • C is the historical timeout number
  • the time increase value is the number of timeouts per increment, which is increased by 1 s based on the corresponding dynamic time threshold when the broadcast message was last processed.
  • the dynamic time threshold is determined by the historical timeout number and the time increase value, and the number of timeouts for the broadcast receiver to process the broadcast message can be reasonably controlled.
  • step 230 the broadcast receivers are sequentially sorted in the broadcast receiver queue in order of decreasing the number of historical timeouts to adjust the order of processing the broadcast messages.
  • the broadcast receivers are sorted in as little as the number of historical timeouts, and the broadcast receivers with less history timeouts can process the broadcast messages first.
  • the three broadcast receivers are A, B, and C, respectively.
  • the historical timeout number of A is 3 times
  • the historical timeout number of B is 0 times
  • the historical timeout number of C is 2 times.
  • the three broadcast receivers A, B, and C are sorted according to the number of historical timeouts from small to large. After the adjustment, the order of the broadcast receivers in the broadcast receiver queue is B, C, and A. Since the history timeout of B is small, the B can process the distributed broadcast messages first, thereby avoiding the broadcast receivers whose processing speed is slow. The impact of faster broadcast receivers.
  • adjusting the order of the broadcast receiver in the broadcast receiver queue based on the historical parameter further includes: a history of the broadcast recipient The number of timeouts, when the number of historical timeouts exceeds the first set threshold, the broadcast receiver in the broadcast receiver queue whose historical timeout number exceeds the first set threshold is adjusted to a historical timeout number that does not exceed the first After the broadcast receiver of the threshold is set, and the broadcast receiver whose history timeout number exceeds the first set threshold is arranged in descending order according to the historical timeout number, the order in which the plurality of broadcast recipients process the broadcast message is adjusted. If the number of historical timeouts does not exceed the first set threshold, the order of the broadcast recipients is not adjusted.
  • the method of adjusting the order of the broadcast recipients in the broadcast receiver queue is exemplified. For example, if the first set threshold is 5 times, the order of the broadcast receivers in the broadcast receiver queue is A, B, and C, wherein the historical timeout number of A is 3 times, and the historical timeout number of B is 0 times.
  • the historical timeout of C is 2 times. Since the number of historical timeouts for processing broadcast messages by the three broadcast receivers A, B, and C has not reached 5 times, the order of the three broadcast receivers A, B, and C in the broadcast receiver queue is not adjusted, A, B. And C process the broadcast message in the original order.
  • the historical timeout period of the A and C processing broadcast messages exceeds the first set threshold, and the broadcast receivers A and C whose history timeout times exceed the first set threshold are adjusted to the history.
  • the broadcast receiver B whose number of timeouts does not exceed the first set threshold is reached, and the broadcast receiver whose history timeout number exceeds the first set threshold is sorted in descending order according to the number of timeouts. Since the historical timeout of C is less than the historical timeout of A, C is before A. Therefore, the order of adjustment of the three broadcast recipients A, B, and C is B, C, and A.
  • the order of the broadcast receivers in the broadcast receiver queue is adjusted by the broadcast receiver processing the historical timeout period of the broadcast message, so that the order of the broadcast receivers to process the broadcast messages can be optimized, and the broadcast receiver can be reasonably controlled to process the broadcast messages, thereby avoiding
  • the effect of slower-processing broadcast receivers on broadcast receivers with faster processing speeds ensures system stability.
  • FIG. 3 is a flowchart of a method for managing a broadcast receiver according to an embodiment.
  • acquiring a historical parameter of a broadcast receiver processing the broadcast message includes: acquiring the The broadcast receiver processes a historical average time of the broadcast message; the adjusting the order of the broadcast recipients in the broadcast receiver queue based on the historical parameter comprises: reducing the broadcast recipient according to a historical average time from less A plurality of sequences are sequentially ordered in the broadcast receiver queue to adjust the order in which the broadcast recipient processes the broadcast messages.
  • the management method of the broadcast recipient includes the following steps.
  • step 310 a broadcast message sent by a broadcast sender is received, and the broadcast message is sent to a broadcast recipient.
  • step 320 a historical average time for the broadcast receiver to process the broadcast message is obtained.
  • the historical average time is calculated by adding the time at which the broadcast receiver processes the broadcast message within a preset time period or a preset number of times, adding the sum divided by the broadcast processed by the broadcast recipient. The number of messages.
  • step 330 the broadcast recipients are sequentially sorted in the broadcast receiver queue in descending order of the historical average time to adjust the order in which the broadcast messages are processed.
  • the broadcast receivers are sorted in the broadcast receiver queue in descending order of the historical average time, and the broadcast receiver having a shorter historical average time can process the broadcast message first, thereby improving the processing speed of the broadcast message.
  • adjusting the order of the broadcast receiver in the broadcast receiver queue based on the historical parameter further includes: when the historical average time exceeds the When the preset time threshold is two, the order of the broadcast receivers in the broadcast receiver queue is adjusted, and when the historical average time does not exceed the second preset time threshold, the order of the plurality of broadcast recipients in the broadcast receiver queue is No adjustments are made.
  • the order of the broadcast receivers in the broadcast receiving author queue is adjusted by the broadcast receiver processing the historical average time of the broadcast messages, so that the order of the broadcast receivers to process the broadcast messages can be optimized, and the broadcast receivers can be reasonably controlled to process the broadcast messages, thereby avoiding The effect of slower-processing broadcast receivers on broadcast receivers with faster processing speeds ensures system stability.
  • FIG. 4 is a flowchart of a method for managing a broadcast receiver according to an embodiment.
  • acquiring a historical parameter of the broadcast receiver processing the broadcast message includes: acquiring the The broadcast receiver processes a dynamic time threshold corresponding to the broadcast message; and the adjusting the order of the broadcast receivers in the broadcast receiver queue based on the historical parameter comprises: locating the broadcast receiver according to a corresponding dynamic time threshold The order of at most is sequentially sorted in the broadcast receiver queue to adjust the order in which the broadcast messages are processed.
  • the management method of the broadcast recipient includes the following steps.
  • step 410 a broadcast message sent by a broadcast sender is received, and the broadcast message is sent to a broadcast recipient.
  • the broadcast receiver is configured to process a dynamic time threshold corresponding to the broadcast message.
  • the dynamic time threshold is used to determine whether the broadcast receiver processes the broadcast message timeout; the dynamic time threshold is determined based on the acquired historical timeout number, the time increase value, and the initial set value.
  • the historical timeout period for the broadcast receiver to process the broadcast message corresponds to the dynamic time threshold. Therefore, the broadcast receiver corresponds to the dynamic time threshold based on the number of historical timeouts when processing the broadcast message. For example, the number of timesout for the broadcast receiver to process the broadcast message is 0, which corresponds to the initial set value of the dynamic time threshold. That is, if the number of timesout for the broadcast receiver to process the broadcast message is 0, it is determined whether the processing of the broadcast message is timed out based on the time at which the broadcast message is processed and the initial set value of the dynamic time threshold.
  • step 430 the broadcast receivers are sequentially sorted in the broadcast receiver queue in descending order of the corresponding dynamic time thresholds to adjust the order in which the broadcast messages are processed.
  • the broadcast receivers are sorted in the broadcast receiver queue according to the corresponding dynamic time thresholds in a descending order, so that the broadcast receivers with corresponding dynamic time thresholds can process the broadcast messages first and improve the broadcast.
  • the processing speed of the message is a predefined range of time thresholds in a descending order.
  • adjusting the order of the broadcast recipient in the broadcast receiver queue based on the historical parameter further includes: when the broadcast recipient dynamically When the time threshold exceeds the third preset time threshold for the first time, the order of the broadcast receivers in the broadcast receiver queue is adjusted, and when the dynamic time threshold does not exceed the third preset time threshold, the broadcast receiver is The order in the broadcast receiver queue is not adjusted.
  • the initial set value of the dynamic time threshold is less than the third preset time threshold; the third preset time threshold is a fixed value. Since the dynamic time threshold varies with the number of historical timeouts, there is a case where the dynamic time threshold is greater than the third preset time threshold. For example, the initial time value of the dynamic time threshold is 5 s, and the third preset time threshold is 10 s. If the number of timeouts increases once, the dynamic time threshold increases by 1 s. When the number of timeouts reaches 6 times, the dynamic time threshold is 11 s. The time threshold exceeds the third preset time threshold for the first time.
  • the order of the broadcast receivers in the broadcast receiver queue is adjusted by the broadcast receiver processing the dynamic time threshold corresponding to the broadcast message, so that the order of the broadcast receivers to process the broadcast can be optimized, and the broadcast receivers with slower processing speed can be avoided.
  • the management method of the broadcast receiver when the broadcast receiver processes the historical parameters of the broadcast message, including a historical timeout number, a historical average time, or a dynamic time threshold, the management method of the broadcast receiver further includes: when the target broadcast receives When the number of historical timeouts for processing the broadcast message reaches the second set threshold, setting the target broadcast recipient to the restricted state, and controlling the number of broadcast messages distributed to the target broadcast recipient; or when the target broadcast recipient processes the broadcast When the historical average time of the message reaches the third set threshold, setting the target broadcast receiver to a restricted state, and controlling the number of broadcast messages distributed to the target broadcast receiver; or when the target broadcast receiver processes the broadcast message corresponding to When the dynamic time threshold reaches the fourth set threshold, the target broadcast recipient is set to a restricted state, and the number of broadcast messages distributed to the target recipient is controlled.
  • the dynamic time threshold is used to determine whether the broadcast receiver processes the broadcast message for a timeout; the dynamic time threshold is determined based on the acquired historical timeout number, the time increase value, and the initial set value.
  • the number of broadcast messages distributed to the target broadcast recipient is controlled, and the number of broadcast messages distributed to the target broadcast recipient is less than the number of broadcast messages distributed to the non-target broadcast recipients.
  • the distribution of broadcast messages to the target broadcast recipient is prohibited. For example, when the target broadcast receiver of the restricted state is running in the background, it is prohibited to send the broadcast message to the target broadcast recipient running in the background.
  • the management method of the broadcast receiver further includes: acquiring the number of target broadcast recipients in the restricted state; and the number of target broadcast recipients in the restricted state and the total number of the broadcast recipients When the ratio of the number is greater than the set ratio threshold, the second set threshold, the third set threshold, or the fourth set threshold is adjusted to control the number of target broadcast recipients of the restricted state.
  • the number of target broadcast recipients in the restricted state is appropriately controlled. Therefore, in some embodiments, when the ratio of the number of target broadcast recipients of the restricted state to the total number of broadcast recipients is greater than a set ratio threshold, adjusting the second set threshold, the third set threshold, or the fourth set threshold is The number of target broadcast recipients that control the restricted state can reasonably control the distribution of broadcast messages to avoid situations where the broadcast recipient does not respond to broadcast messages.
  • FIG. 5 is a structural block diagram of a management apparatus for a broadcast receiver according to an embodiment, where the apparatus is configured to perform a management method of a broadcast receiver.
  • the management apparatus includes a broadcast message sending module 510.
  • the broadcast message sending module 510 is configured to receive a broadcast message sent by the broadcast sender, and send the broadcast message to the broadcast receiver.
  • the first obtaining module 520 is configured to acquire a historical parameter that the broadcast receiver processes the broadcast message
  • the first adjustment module 530 is configured to adjust an order of the broadcast recipients in the broadcast receiver queue based on the historical parameters.
  • the historical parameter includes a historical timeout number
  • the first obtaining module 520 is configured to acquire a historical timeout period of the broadcast receiver processing the broadcast message
  • the first adjustment module 530 is configured to sequentially sort the broadcast receivers in the broadcast receiver queue in order of decreasing the number of historical timeouts based on the historical timeout number to adjust the processing of the broadcast message. order.
  • the historical parameter includes a historical timeout number
  • the first obtaining module 520 is configured to acquire a historical timeout period of the broadcast receiver processing the broadcast message
  • the first adjustment module 530 is configured to set, according to the historical timeout number, that the historical timeout number exceeds the first setting in the broadcast receiver queue when the historical timeout number exceeds a first set threshold
  • the broadcast receiver of the threshold adjusts to the broadcast receiver whose number of historical timeouts does not exceed the first set threshold, and the broadcast receiver whose history timeout exceeds the first set threshold is in descending order according to the historical timeout period. Arrange to adjust the order in which multiple broadcast recipients process broadcast messages.
  • the first adjustment module is configured to: when the broadcast receiver processes the broadcast message for a time greater than a set time fixed value, the historical timeout number is increased once; or
  • the historical timeout number is increased once, wherein the dynamic time threshold is determined based on an initial set value, the historical timeout number, and a time increase value,
  • the time increase value is an increase amount of the dynamic time threshold for each set number of timeouts.
  • the historical parameter includes a historical average time
  • the first obtaining module 520 is configured to acquire a historical average time that the broadcast receiver processes the broadcast message
  • the first adjustment module 530 is configured to sequentially sort the broadcast receivers in the broadcast receiver queue in order of decreasing the historical average time based on the historical average time to adjust the processing of the broadcast message. order.
  • the historical parameter includes a dynamic time threshold
  • the first obtaining module 520 is configured to acquire a dynamic time threshold for the broadcast receiver to process the broadcast message.
  • the first adjusting module 530 is configured to sequentially sort the broadcast receivers in the broadcast receiver queue according to the dynamic time threshold according to the dynamic time threshold to adjust the processing broadcast according to the corresponding dynamic time threshold.
  • the dynamic time threshold is used to determine whether the broadcast receiver processes the broadcast message for timeout; the dynamic time threshold is determined based on the acquired historical timeout number, the time increase value, and the initial set value.
  • the historical parameter includes: a historical timeout number, a historical average time, or a dynamic time threshold; the apparatus further includes: a broadcast message distribution control module 540.
  • the broadcast message distribution control module 540 is configured to set the target broadcast recipient to be a restricted state when the target broadcast receiver processes the history timeout of the broadcast message to reach a second set threshold, and control the distribution to the target broadcast receiver The number of broadcast messages; or
  • the target broadcast receiver processes the dynamic time threshold corresponding to the broadcast message to reach a fourth set threshold, setting the target broadcast receiver to a restricted state, and controlling the number of broadcast messages distributed to the target recipient;
  • the dynamic time threshold is used to determine whether the broadcast receiver processes the broadcast message for timeout; the dynamic time threshold is determined based on the acquired historical timeout number, the time increase value, and the initial set value.
  • the apparatus further includes: a second acquisition module 550 and a second adjustment module 560.
  • the second obtaining module 550 is configured to acquire the number of target broadcast recipients in the restricted state
  • the second adjustment module 560 is configured to adjust the second set threshold, the third set threshold, or the fourth, when the ratio of the number of target broadcast recipients in the restricted state to the total number of broadcast recipients is greater than a set ratio threshold.
  • the threshold is set to control the number of target broadcast recipients in the restricted state.
  • the management apparatus of the broadcast receiver provided by the foregoing embodiment can adjust the order of the broadcast receivers in the broadcast receiver queue by the broadcast receiver processing the historical parameters of the broadcast message, thereby optimizing the order in which the broadcast receiver processes the broadcast and avoiding the processing speed.
  • the effect of slower broadcast receivers on broadcast receivers with faster processing speeds ensures system stability.
  • FIG. 6 is a schematic structural diagram of a terminal.
  • the terminal 600 includes a memory 601, a central processing unit (CPU) 602 (also referred to as a processor, hereinafter referred to as a CPU), a touch screen 612, and is stored in the memory and can be run on the CPU.
  • CPU central processing unit
  • Computer program also referred to as a processor, hereinafter referred to as a CPU
  • the touch screen 612 is configured to convert a user operation into an electrical signal input to the CPU and display a visual output signal; when the CPU 602 executes the computer program, the following steps are implemented: receiving a broadcast message sent by a broadcast sender, and acquiring the broadcast message Transmitting to a broadcast recipient; acquiring a history parameter of the broadcast recipient processing the broadcast message; adjusting an order of the broadcast recipient in a broadcast receiver queue based on the historical parameter.
  • the terminal 600 further includes: a peripheral interface 603, a radio frequency (RF) circuit 605, an audio circuit 606, a speaker 611, a power management chip 608, and an input/output (Input/Output, I/O).
  • RF radio frequency
  • Subsystem 609, other input/control devices 610, and external port 604 are communicated via one or more communication buses or signal lines 607.
  • the illustrated terminal 600 is merely one example of a terminal. In some embodiments, the terminal 600 has more or fewer components than those shown in FIG. 6, combining two or more components, or having different components. Configuration. In some embodiments, the components illustrated in Figure 6 are implemented in hardware, software, or a combination of hardware and software, including at least one of one or more signal processing circuits and application specific integrated circuits.
  • the following is a description of a terminal integrated with a broadcast receiver management device provided by some embodiments, which uses a mobile phone as an example.
  • the memory 601 is accessed by the CPU 602, the peripheral interface 603, and the like. In some embodiments, the memory 601 includes a high speed random access memory. In some embodiments, memory 601 includes a non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other volatile solid state storage devices.
  • the peripheral interface 603 connects the input and output peripherals of the device to the CPU 602 and the memory 601.
  • the I/O subsystem 609 connects input/output peripherals on the device, such as touch screen 612 and other input/control devices 610, to peripheral interface 603.
  • I/O subsystem 609 includes display controller 6091 and one or more input controllers 6092 for controlling other input/control devices 610.
  • one or more input controllers 6092 receive electrical signals from other input/control devices 610 or transmit electrical signals to other input/control devices 610.
  • other input/control devices 610 include physical buttons (press buttons, rocker buttons, etc.), dials, slide switches, joysticks, or click wheels.
  • the input controller 6092 is coupled to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
  • the touch screen 612 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 includes at least one of: graphics, text, icons, and video.
  • Display controller 6091 in I/O subsystem 609 receives an electrical signal from touch screen 612 or an electrical signal to touch screen 612.
  • the touch screen 612 detects contact on the touch screen, and the display controller 6091 converts the detected contact into an interaction with a user interface object displayed on the touch screen 612, ie, implements human-computer interaction.
  • the user interface objects displayed on touch screen 612 are icons that run the game, icons that are networked to the respective network, and the like.
  • the device further includes 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 605 is configured to establish communication between the handset and the wireless network (ie, the network side) to enable data reception and transmission between the handset and the wireless network. For example, sending and receiving short messages, emails, and the like.
  • RF circuit 605 receives and transmits an RF signal, also referred to as an electromagnetic signal, and RF circuit 605 converts the electrical signal into an electromagnetic signal or converts the electromagnetic signal into an electrical signal, and through the electromagnetic signal and communication network and Other devices communicate.
  • RF circuit 605 includes known circuitry configured to perform these functions, and RF circuitry 605 includes at least one of: an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators , Digital Signal Processor, Coder-DECoder (CODEC) chipset and Subscriber Identity Module (SIM).
  • an antenna system an RF transceiver, one or more amplifiers, a tuner, one or more oscillators , Digital Signal Processor, Coder-DECoder (CODEC) chipset and Subscriber Identity Module (SIM).
  • CDOEC Coder-DECoder
  • the audio circuit 606 is arranged to receive audio data from the peripheral interface 603, convert the audio data into an electrical signal, and transmit the electrical signal to the speaker 611.
  • the speaker 611 is configured to restore the voice signal received by the handset from the wireless network via the RF circuitry 605 to sound and play the sound to the user.
  • the power management chip 608 is configured to provide power and power management for the hardware to which the CPU 602, the I/O subsystem, and the peripheral interface are connected.
  • the management method, device, and terminal of the broadcast receiver can optimize the order in which the broadcast receiver processes the broadcast, and avoid the influence of the broadcast receiver with a slow processing speed on the broadcast receiver having a faster processing speed, thereby ensuring system stability.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本文公开了一种广播接收者的管理方法、装置及终端,其中,该方法包括:接收广播发送者发送的广播消息,并将所述广播消息发送给广播接收者;获取所述广播接收者处理所述广播消息的历史参数;以及基于所述历史参数调整所述广播接收者在广播接收者队列中的顺序。

Description

广播接收者的管理方法、装置及终端 技术领域
本公开涉及终端技术领域,例如,涉及一种广播接收者的管理方法、装置及终端。
背景技术
安卓(Android)操作系统中,广播是一种广泛运用在应用程序之间传输信息的机制,安卓(Android)操作系统中的广播用于监听系统事件或应用程序事件。
在安卓(Android)操作系统中,一些应用在后台通过接收多种广播消息进行自启动或者执行其他操作。在一些应用接收广播消息时,应用本身在执行一些耗时的操作或者应用本身出现卡顿,导致接收到的广播消息无法及时处理,甚至有些应用对广播还会超时处理,影响广播的后续分发,稳定性差。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本申请实施例提供一种广播接收者的管理方法、装置及终端,能够优化广播接收者处理广播的顺序,避免处理速度较慢的广播接收者对处理速度较快的广播接收者的影响,保障系统稳定性。
一实施例提供了一种广播接收者的管理方法,包括:
接收广播发送者发送的广播消息,并将所述广播消息发送给广播接收者;
获取所述广播接收者处理所述广播消息的历史参数;以及
基于所述历史参数调整所述广播接收者在广播接收者队列中的顺序。
一实施例提供了一种广播接收者的管理装置,包括:
广播消息发送模块,设置为接收广播发送者发送的广播消息,将所述广播消息发送给广播接收者;
第一获取模块,设置为获取所述广播接收者处理所述广播消息的历史参数;以及
第一调整模块,设置为基于所述历史参数调整所述广播接收者在广播接收者队列中的顺序。
一实施例提供了一种终端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现以下步骤:
接收广播发送者发送的广播消息,并将所述广播消息发送给广播接收者;
获取所述广播接收者处理所述广播消息的历史参数;以及
基于所述历史参数调整所述广播接收者在广播接收者队列中的顺序。
一实施例提供了一种非暂态计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述的方法。
一实施例提供了一种终端,包括:
至少一个处理器;以及
与所述至少一个处理器通信连接的存储器;其中,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器执行上述方法。
在阅读并了解附图和详细描述后,可以明白其他方面。
附图说明
图1是一个实施例提供的一种广播接收者的管理方法流程图;
图2是另一个实施例提供的一种广播接收者的管理方法流程图;
图3是另一个实施例提供的一种广播接收者的管理方法流程图;
图4是另一个实施例提供的一种广播接收者的管理方法流程图;
图5是一个实施例提供的一种广播接收者的管理装置结构框图;以及
图6是一个实施例提供的一种终端的结构示意图。
具体实施方式
图1是一个实施例提供的一种广播接收者的管理方法流程图,所述方法由一种广播接收者的管理装置来执行,所述管理装置由软件和硬件中至少之一来执行。一些实施例中,所述管理装置配置在诸如手机等终端中。
如图1所示,广播接收者的管理方法包括以下步骤。
步骤110中,接收广播发送者发送的广播消息,并将所述广播消息发送给广播接收者。
在广播处理过程中,广播发送者的服务进程通过调用广播发送函数(如sendBroadcast函数)将广播消息发送至广播管理模块(如ActivityManagerService,活动管理服务),广播管理模块接收到该广播消息后将该广播消息放入广播发送队列,广播管理模块通过进程通信机制(如Binder进程通信机制)将广播发送队列中的广播消息发送至符合接收条件的广播接收者。
在广播机制中,广播消息指的是系统或者应用程序在运行过程中发送的,用于系统之间、系统和应用程序之间、/或应用程序之间传输的信息。示例性的,广播消息是具有系统启动功能的广播消息、短信类广播消息、电话类广播消息或者三方应用类广播消息等。
步骤120中,获取所述广播接收者处理所述广播消息的历史参数。
一些实施例中,广播接收者处理广播消息的历史参数包括处理广播消息的历史超时次数、处理广播消息的历史平均时间,处理广播消息累加的历史超时时间或者处理广播消息对应的动态时间阈值,其中,动态时间阈值用于判断处理广播消息是否超时。
一些实施例中,广播接收者处理广播消息的历史超时次数是广播接收者在预设时间段内或者预设次数内处理广播消息的历史超时次数。
在一些实施例中,在预设时间段内广播接收者处理一个广播消息或者处理多个广播消息,为了确定每个广播接收者处理广播消息的快慢,对预设时间段进行设置,以使广播接收者处理多个广播消息。因此,每个广播接收者在处理多个广播消息时,超时次数可能是多次或者0次。
在一些实施例中,对于广播接收者处理广播消息的超时次数是通过标识的超时次数而获得。一些实施例中,广播管理模块是终端系统中的一个功能模块,在广播管理模块中创建一个变量,采用该变量标识超时次数,根据标识的超时次数而获得超时次数。
一些实施例中,对于广播接收者处理广播消息是否超时通过如下的方式:判断广播接收者处理广播消息的时间是否大于设定时间阈值;当广播接收者处理广播消息的时间大于设定时间阈值,判定广播接收者处理广播消息超时。当广播接收者处理广播消息超时时,对该广播接收者处理广播消息的超时次数进行标识。
一些实施例中,广播接收者处理广播消息的历史平均时间是广播接收者在预设时间段内处理广播消息的历史平均时间,或者是广播接收者在预设次数内处理广播消息的历史平均时间。
一些实施例中,历史超时时间是广播接收者在预设时间段内或者预设次数内处理广播消息的时间超出一设定时间阈值的时间。一些实施例中,该设定时间阈值固定不变。一些实施例中,该设定时间阈值随超时次数的变化而变化。一些实施例中,累加的历史超时时间是将每次超过一设定时间阈值的时间进行相加,并求和获得的时间。
一些实施例中,当广播接收者处理广播消息的时间大于动态时间阈值时,判断该广播接收者处理广播消息超时。其中,动态时间阈值基于初始设定值、历史超时次数以及时间增幅值进行确定,其中,时间增幅值为每增加设定数量的超时次数,动态时间阈值的增加量。
步骤130中,基于所述历史参数调整所述广播接收者在广播接收者队列中的顺序。
在上述实施例中,对于注册同一广播消息的广播接收者而言,当广播消息下发时,广播接收者以队列的方式进行排序,并按照顺序处理广播消息。例如,队列中广播接收者的排序为A1、A2、A3、A4,当下发广播消息时,A1接收广播消息,A1接收并处理广播消息之后,A2接收并处理广播消息,A3、A4以此类推。
一些实施例中,基于历史参数调整广播接收者在广播接收者队列中的顺序包括,基于所述历史参数将广播接收者进行排序,以调整广播接收者处理广播消息的顺序。例如,历史参数若为累加的历史超时时间,将广播接收者按照累加的历史超时时间从少到多进行排序,以调整广播接收者处理广播消息的顺序。
一些实施例中,基于历史参数调整广播接收者在广播接收者队列中的顺序还包括:若广播接收者处理广播消息的历史参数符合设定条件,调整广播接收 者在广播接收者队列中的顺序;若广播接收者处理广播消息的历史参数不符合设定条件,对广播接收者的顺序不进行调整。其中设定条件包括累加的历史超时时间超过第一预设时间阈值,历史平均时间超过第二预设时间阈值,历史超时次数超过预设次数阈值,或者动态时间阈值首次超过第三预设时间阈值等。
上述实施例中,通过广播接收者处理广播消息的历史参数调整广播接收者在广播接收者队列中的顺序,能够优化多个广播接收者处理广播的顺序,避免处理速度较慢的广播接收者对处理速度较快的广播接收者的影响,保障系统稳定性。
图2是一个实施例提供的一种广播接收者的管理方法流程图,该方法中,当历史参数包括历史超时次数时,获取所述广播接收者处理所述广播消息的历史参数,包括:获取所述广播接收者处理所述广播消息的历史超时次数;所述基于所述历史参数调整所述广播接收者在广播接收者队列中的顺序,包括:将所述广播接收者按照历史超时次数从少到多的顺序在所述广播接收者队列中依次排序,以调整所述广播接收者处理广播消息的顺序。
如图2所示,广播接收者的管理方法包括以下步骤。
步骤210中,接收广播发送者发送的广播消息,并将所述广播消息发送给广播接收者。
步骤220中,获取所述广播接收者处理所述广播消息的历史超时次数。
在一些实施例中,广播接收者处理广播消息的历史超时次数是指在当前之前处理广播消息的超时次数。在一些实施例中,广播接收者处理广播消息的历史超时次数是预设时间段内广播接收者处理广播消息的历史超时次数。在一些实施例中,播接收者处理广播消息的历史超时次数是广播接收者在其他条件下处理广播消息的历史超时次数。
在一些实施例中,当广播接收者处理广播消息的时间大于设定的固定时间阈值时,历史超时次数增加一次。例如,设定的固定时间阈值为10s,当广播接收者处理广播消息的时间大于10s时,广播接收者处理广播消息的超时次数增加一次。
在一些实施例中,当广播接收者处理广播消息的时间大于动态时间阈值时,历史超时次数增加一次,其中,动态时间阈值基于初始设定值、历史超时次数以及时间增幅值进行确定,时间增幅值为每增加设定数量的超时次数,动态时 间阈值的增加量。
例如,每增加一次历史超时次数,动态时间阈值在上一次处理广播消息时对应动态时间阈值的基础上增加1秒(s),采用公式表述为:T=C×T0+T1。其中,T1为动态时间阈值的初始设定值,C为历史超时次数,T0为时间增幅值,如为1。若动态时间阈值的初始设定值为10s,历史超时次数为1次,动态时间阈值为:1×1+10=11s,即在初始设定值的基础上增加1s,为11s。若再次处理广播消息的时间小于11s,则不超时,若广播接收者处理广播消息的时间大于11s,则超时,历史超时次数增加1次。一些实施例中,时间增幅值是每增加两次超时次数,在上一次处理广播消息时对应的动态时间阈值的基础上增加1s。
通过历史超时次数和时间增幅值确定动态时间阈值,能够合理控制广播接收者处理广播消息的超时次数。
步骤230中,将所述广播接收者按照历史超时次数从少到多的顺序在所述广播接收者队列中依次排序,以调整处理广播消息的顺序。
其中,按照历史超时次数从少到多将广播接收者进行排序,能够使历史超时次数较少的广播接收者先处理广播消息。
例如,三个广播接收者分别依次是A、B和C,其中,A的历史超时次数是3次,B的历史超时次数是0次,C的历史超时次数是2次。将A、B和C三个广播接收者按照历史超时次数从少到多进行排序。调整之后广播接收者在广播接收者队列中的顺序是B、C、A,由于B的历史超时次数较少,能够使B先处理分发的广播消息,避免了处理速度较慢的广播接收者对处理速度较快的广播接收者的影响。
一些实施例中,在上述实施例的基础上,当历史参数包括历史超时次数时,基于历史参数调整所述广播接收者在广播接收者队列中的顺序还包括:于所述广播接收者的历史超时次数,当历史超时次数超过第一设定阈值时,将所述广播接收者队列中,历史超时次数超过所述第一设定阈值的广播接收者调整到历史超时次数未超过所述第一设定阈值的广播接收者之后,且历史超时次数超过所述第一设定阈值的广播接收者按照历史超时次数从少到多依次排列,以调整多个广播接收者处理广播消息的顺序。若历史超时次数没有超过第一设定阈值,对广播接收者的顺序不进行调整。
当历史超时次数超过第一设定阈值时,对上述调整广播接收者在广播接收 者队列中的顺序的方法进行举例说明。例如,若第一设定阈值为5次,广播接收者在广播接收者队列中的顺序依次是A、B、C,其中,A的历史超时次数是3次,B的历史超时次数是0次,C的历史超时次数是2次。由于A、B和C三个广播接收者处理广播消息的历史超时次数均没有达到5次,所以A、B和C三个广播接收者在广播接收者队列中的顺序不进行调整,A、B和C按照原来的顺序处理广播消息。
又如,若第一设定阈值为1次,A和C处理广播消息的历史超时次数超过第一设定阈值,将历史超时次数超过第一设定阈值的广播接收者A和C调整到历史超时次数未超过第一设定阈值的广播接收者B之后,且历史超时次数超过第一设定阈值的广播接收者按照超时次数从少到多依次排序。由于C的历史超时次数小于A的历史超时次数,故C在A之前,因此,A,B,C三个广播接收者的调整之后的顺序依次为B、C、A。
上述实施例中,通过广播接收者处理广播消息的历史超时次数调整广播接收者在广播接收者队列中的顺序,能够优化广播接收者处理广播消息的顺序,合理控制广播接收者处理广播消息,避免处理速度较慢的广播接收者对处理速度较快的广播接收者的影响,保障系统稳定性。
图3是一个实施例提供的一种广播接收者的管理方法流程图,该方法中,当历史参数包括历史平均时间时,获取广播接收者处理所述广播消息的历史参数,包括:获取所述广播接收者处理所述广播消息的历史平均时间;所述基于所述历史参数调整所述广播接收者在广播接收者队列中的顺序,包括:将所述广播接收者按照历史平均时间从少到多的顺序在所述广播接收者队列中依次排序,以调整所述广播接收者处理广播消息的顺序。
如图3所示,广播接收者的管理方法包括以下步骤。
步骤310中,接收广播发送者发送的广播消息,并将所述广播消息发送给广播接收者。
步骤320中,获取所述广播接收者处理所述广播消息的历史平均时间。
在一些实施例中,历史平均时间的计算方法为:将广播接收者在预设时间段内或者预设次数内处理广播消息的时间相加,相加的和除以该广播接收者处理的广播消息的数量。
步骤330中,将所述广播接收者按照历史平均时间从少到多的顺序在所述 广播接收者队列中依次排序,以调整处理广播消息的顺序。
上述实施例中,将广播接收者按照历史平均时间从少到多的顺序在广播接收者队列中排序,能够使历史平均时间较短的广播接收者先处理广播消息,提高广播消息的处理速度。
一些实施例中,在上述实施例的基础上,当历史参数包括历史平均时间时,基于所述历史参数调整所述广播接收者在广播接收者队列中的顺序还包括:当历史平均时间超过第二预设时间阈值时,调整广播接收者在广播接收者队列中的顺序,当所述历史平均时间未超过第二预设时间阈值时,对多个广播接收者在广播接收者队列中的顺序不进行调整。
上述实施例中,通过广播接收者处理广播消息的历史平均时间调整广播接收者在广播接收作者队列中的顺序,能够优化广播接收者处理广播消息的顺序,合理控制广播接收者处理广播消息,避免处理速度较慢的广播接收者对处理速度较快的广播接收者的影响,保障系统稳定性。
图4是一个实施例提供的一种广播接收者的管理方法流程图,该方法中,当历史参数包括动态时间阈值时,获取广播接收者处理所述广播消息的历史参数,包括:获取所述广播接收者处理所述广播消息对应的动态时间阈值;所述基于所述历史参数调整广播接收者在广播接收者队列中的顺序,包括:将所述广播接收者按照对应的动态时间阈值从少到多的顺序在所述广播接收者队列中依次排序,以调整处理广播消息的顺序。
如图4所示,广播接收者的管理方法包括以下步骤。
步骤410中,接收广播发送者发送的广播消息,并将所述广播消息发送给广播接收者。
步骤420中,获取所述广播接收者处理所述广播消息对应的动态时间阈值。
其中,动态时间阈值用于判断所述广播接收者处理广播消息是否超时;动态时间阈值基于获取的历史超时次数、时间增幅值以及初始设定值进行确定。
广播接收者处理广播消息的历史超时次数与动态时间阈值相对应。因此,广播接收者处理广播消息时基于历史超时次数与动态时间阈值对应。例如,广播接收者处理广播消息的超时次数为0,对应的是动态时间阈值的初始设定值。即若广播接收者处理广播消息的超时次数为0,判断处理广播消息是否超时基于处理广播消息的时间与动态时间阈值的初始设定值进行确定。
步骤430中,将所述广播接收者按照对应的动态时间阈值从少到多的顺序在所述广播接收者队列中依次排序,以调整处理广播消息的顺序。
在上述实施例中,将广播接收者按照对应的动态时间阈值从少到多的顺序在广播接收者队列中排序,能够使对应的动态时间阈值较少的广播接收者先处理广播消息,提高广播消息的处理速度。
一些实施例中,在上述实施例的基础上,当历史参数包括动态时间阈值时,基于所述历史参数调整所述广播接收者在广播接收者队列中的顺序还包括:当广播接收者的动态时间阈值首次超过第三预设时间阈值时,调整所述广播接收者在广播接收者队列中的顺序,当所述动态时间阈值未超过第三预设时间阈值时,对所述广播接收者在广播接收者队列中的顺序不进行调整。
一些实施例中,动态时间阈值的初始设定值小于第三预设时间阈值;第三预设时间阈值为固定值。由于动态时间阈值随历史超时次数而变化,因此,存在动态时间阈值大于第三预设时间阈值的情况。例如,动态时间阈值的初始设定值为5s,第三预设时间阈值为10s,若每超时次数增加一次,动态时间阈值增加1s,当超时次数达到6次时,动态时间阈值为11s,动态时间阈值首次超过第三预设时间阈值。
上述实施例中,通过广播接收者处理广播消息对应的动态时间阈值调整广播接收者在广播接收者队列中的顺序,能够优化广播接收者处理广播的顺序,避免处理速度较慢的广播接收者对处理速度较快的广播接收者的影响,保障系统稳定性。
一些实施例中,在上述实施例的基础上,当广播接收者处理广播消息的历史参数包括:历史超时次数、历史平均时间或者动态时间阈值,广播接收者的管理方法还包括:当目标广播接收者处理广播消息的历史超时次数达到第二设定阈值时,设置所述目标广播接收者为限制状态,并控制分发给所述目标广播接收者广播消息的数量;或者当目标广播接收者处理广播消息的历史平均时间达到第三设定阈值时,设置所述目标广播接收者为限制状态,并控制分发给所述目标广播接收者广播消息的数量;或者当目标广播接收者处理广播消息对应的动态时间阈值达到第四设定阈值时,设置所述目标广播接收者为限制状态,并控制分发给所述目标接收者广播消息的数量。
一些实施例中,所述动态时间阈值用于判断广播接收者处理广播消息是否 超时;所述动态时间阈值基于获取的历史超时次数、时间增幅值以及初始设定值进行确定。一些实施例中,控制分发给目标广播接收者广播消息的数量,且分发给目标广播接收者广播消息的数量小于分发给非目标广播接收者广播消息的数量。一些实施例中,禁止将广播消息分发给目标广播接收者。例如,当限制状态的目标广播接收者在后台运行时,禁止将广播消息发给后台运行的目标广播接收者。
由此,通过控制分发给限制状态的目标广播接收者广播消息的数量,能够避免处理速度较慢的广播接收者对其他广播接收者的影响,提高广播消息的处理速度,减少超时次数,保证系统的稳定性。
一些实施例中,在上述实施例的基础上,广播接收者的管理方法还包括:获取限制状态的目标广播接收者的数量;当限制状态的目标广播接收者的数量与所述广播接收者总数量的比例大于设定比例阈值时,调整所述第二设定阈值、所述第三设定阈值或者所述第四设定阈值以控制限制状态的目标广播接收者的数量。
对于注册了同一广播消息的广播接收者而言,为了避免不响应广播消息的情形,对限制状态的目标广播接收者的数量进行适当控制。因此,一些实施例中,当限制状态的目标广播接收者数量与广播接收者总数量的比例大于设定比例阈值时,调整第二设定阈值、第三设定阈值或者第四设定阈值以控制限制状态的目标广播接收者的数量,能够合理控制广播消息的分发,避免出现广播接收者不响应广播消息的情形。
图5是一个实施例提供的一种广播接收者的管理装置结构框图,所述装置用于执行一种广播接收者的管理方法,如图5所示,所述管理装置包括广播消息发送模块510、第一获取模块520和第一调整模块530。
其中,广播消息发送模块510,设置为接收广播发送者发送的广播消息,将所述广播消息发送给广播接收者;
第一获取模块520,设置为获取所述广播接收者处理所述广播消息的历史参数;以及
第一调整模块530,设置为基于所述历史参数调整所述广播接收者在广播接收者队列中的顺序。
一些实施例中,所述历史参数包括历史超时次数;
所述第一获取模块520,设置为获取所述广播接收者处理所述广播消息的历史超时次数;
所述第一调整模块530,设置为基于所述历史超时次数,将所述广播接收者按照历史超时次数从少到多的顺序在所述广播接收者队列中依次排序,以调整处理广播消息的顺序。
一些实施例中,所述历史参数包括历史超时次数;
所述第一获取模块520,设置为获取所述广播接收者处理所述广播消息的历史超时次数;
所述第一调整模块530,设置为基于所述历史超时次数,当所述历史超时次数超过第一设定阈值时,将所述广播接收者队列中,历史超时次数超过所述第一设定阈值的广播接收者调整到历史超时次数未超过所述第一设定阈值的广播接收者之后,且历史超时次数超过所述第一设定阈值的广播接收者按照历史超时次数从少到多依次排列,以调整多个广播接收者处理广播消息的顺序。
一些实施例中,所述第一调整模块设置为:当广播接收者处理所述广播消息的时间大于设定时间固定值时,所述历史超时次数增加一次;或者
当广播接收者处理所述广播消息的时间大于动态时间阈值时,所述历史超时次数增加一次,其中,所述动态时间阈值基于初始设定值、所述历史超时次数以及时间增幅值进行确定,所述时间增幅值为每增加设定数量的超时次数,所述动态时间阈值的增加量。
一些实施例中,所述历史参数包括历史平均时间;
所述第一获取模块520,设置为获取所述广播接收者处理所述广播消息的历史平均时间;
所述第一调整模块530,设置为基于所述历史平均时间,将所述广播接收者按照历史平均时间从少到多的顺序在所述广播接收者队列中依次排序,以调整处理广播消息的顺序。
一些实施例中,所述历史参数包括动态时间阈值;
所述第一获取模块520,设置为获取所述广播接收者处理所述广播消息的动态时间阈值;
所述第一调整模块530,设置为基于所述动态时间阈值,将所述广播接收者 按照对应的动态时间阈值从少到多的顺序在所述广播接收者队列中依次排序,以调整处理广播消息的顺序;
其中,所述动态时间阈值用于判断所述广播接收者处理广播消息是否超时;所述动态时间阈值基于获取的历史超时次数、时间增幅值以及初始设定值进行确定。
一些实施例中,所述历史参数包括:历史超时次数、历史平均时间或者动态时间阈值;所述装置还包括:广播消息分发控制模块540。
广播消息分发控制模块540,设置为当目标广播接收者处理广播消息的历史超时次数达到第二设定阈值时,设置所述目标广播接收者为限制状态,并控制分发给所述目标广播接收者广播消息的数量;或者
当目标广播接收者处理广播消息的历史平均时间达到第三设定阈值时,设置所述目标广播接收者为限制状态,并控制分发给所述目标广播接收者广播消息的数量;或者
当目标广播接收者处理广播消息对应的动态时间阈值达到第四设定阈值时,设置所述目标广播接收者为限制状态,并控制分发给所述目标接收者广播消息的数量;
其中,所述动态时间阈值用于判断广播接收者处理广播消息是否超时;所述动态时间阈值基于获取的历史超时次数、时间增幅值以及初始设定值进行确定。
一些实施例中,所述装置还包括:第二获取模块550和第二调整模块560。
其中,第二获取模块550设置为获取限制状态的目标广播接收者的数量;以及
第二调整模块560设置为当限制状态的目标广播接收者的数量与所述广播接收者总数量的比例大于设定比例阈值,调整所述第二设定阈值、第三设定阈值或者第四设定阈值以控制限制状态的目标广播接收者的数量。
上述实施例提供的一种广播接收者的管理装置,通过广播接收者处理广播消息的历史参数调整广播接收者在广播接收者队列中的顺序,能够优化广播接收者处理广播的顺序,避免处理速度较慢的广播接收者对处理速度较快的广播接收者的影响,保障系统稳定性。
一些实施例提供了一种终端,该终端中可集成上述实施例提供的广播接收 者的管理装置。图6为一种终端的结构示意图。如图6所示,该终端600包括:存储器601、中央处理器(Central Processing Unit,CPU)602(又称处理器,以下简称CPU)、触摸屏612以及存储在存储器上并可在CPU上运行的计算机程序。所述触摸屏612,用于将用户操作转换成电信号输入至所述CPU,并显示可视输出信号;CPU602执行计算机程序时实现以下步骤:接收广播发送者发送的广播消息,将获取的广播消息发送给广播接收者;获取所述广播接收者处理所述广播消息的历史参数;基于所述历史参数调整所述广播接收者在广播接收者队列中的顺序。
一些实施例中,所述终端600还包括:外设接口603、射频(Radio Frequency,RF)电路605、音频电路606、扬声器611、电源管理芯片608、输入/输出(Input/Output,I/O)子系统609、其他输入/控制设备610以及外部端口604,这些部件通过一个或多个通信总线或信号线607来通信。
图示终端600仅仅是终端的一个范例,一些实施例中,终端600具有比图6中所示出的更多的或者更少的部件,组合两个或更多的部件,或者具有不同的部件配置。一些实施例中,图6中所示出的部件在包括一个或多个信号处理电路和专用集成电路中至少之一在内的硬件、软件、或硬件和软件的组合中实现。
下面就一些实施例提供的集成有广播接收者的管理装置的终端进行描述,该终端以手机为例。
一些实施例中,所述存储器601被CPU602、外设接口603等访问。一些实施例中,所述存储器601包括高速随机存取存储器。一些实施例中,存储器601包括非易失性存储器,例如一个或多个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
一些实施例中,所述外设接口603将设备的输入和输出外设连接到CPU602和存储器601。
一些实施例中,所述I/O子系统609将设备上的输入/输出外设,例如触摸屏612和其他输入/控制设备610,连接到外设接口603。一些实施例中,I/O子系统609包括显示控制器6091和用于控制其他输入/控制设备610的一个或多个输入控制器6092。一些实施例中,一个或多个输入控制器6092从其他输入/控制设备610接收电信号或者向其他输入/控制设备610发送电信号。一些实施例中,其他输入/控制设备610包括物理按钮(按压按钮、摇臂按钮等)、拨号盘、 滑动开关、操纵杆或点击滚轮。一些实施例中,输入控制器6092与以下任一个连接:键盘、红外端口、USB接口以及诸如鼠标的指示设备。
所述触摸屏612是用户终端与用户之间的输入接口和输出接口,将可视输出显示给用户。一些实施例中,可视输出包括以下至少之一:图形、文本、图标以及视频。
I/O子系统609中的显示控制器6091从触摸屏612接收电信号或者向触摸屏612发送电信号。触摸屏612检测触摸屏上的接触,显示控制器6091将检测到的接触转换为与显示在触摸屏612上的用户界面对象的交互,即实现人机交互。一些实施例中,显示在触摸屏612上的用户界面对象是运行游戏的图标、联网到相应网络的图标等。一些实施例中,设备还包括光鼠,光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸。
一些实施例中,RF电路605设置为建立手机与无线网络(即网络侧)的通信,实现手机与无线网络的数据接收和发送。例如收发短信息、电子邮件等。一些实施例中,RF电路605接收并发送RF信号,RF信号也称为电磁信号,RF电路605将电信号转换为电磁信号或将电磁信号转换为电信号,并且通过该电磁信号与通信网络以及其他设备进行通信。一些实施例中,RF电路605包括设置为执行这些功能的已知电路,RF电路605包括以下至少之一:天线系统、RF收发机、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、编译码器(Coder-DECoder,CODEC)芯片组以及用户标识模块(Subscriber Identity Module,SIM)。
一些实施例中,音频电路606设置为从外设接口603接收音频数据,将该音频数据转换为电信号,并且将该电信号发送给扬声器611。
一些实施例中,扬声器611设置为将手机通过RF电路605从无线网络接收的语音信号,还原为声音并向用户播放该声音。
一些实施例中,电源管理芯片608设置为为CPU602、I/O子系统及外设接口所连接的硬件进行供电及电源管理。
工业实用性
上述广播接收者的管理方法、装置及终端,能够优化广播接收者处理广播的顺序,避免处理速度较慢的广播接收者对处理速度较快的广播接收者的影响,保障系统稳定性。

Claims (18)

  1. 一种广播接收者的管理方法,包括:
    接收广播发送者发送的广播消息,并将所述广播消息发送给广播接收者;
    获取所述广播接收者处理所述广播消息的历史参数;以及
    基于所述历史参数调整所述广播接收者在广播接收者队列中的顺序。
  2. 根据权利要求1所述的方法,其中,所述历史参数包括历史超时次数;
    所述获取所述广播接收者处理所述广播消息的历史参数,包括:
    获取所述广播接收者处理所述广播消息的历史超时次数;
    所述基于所述历史参数调整所述广播接收者在广播接收者队列中的顺序,包括:
    基于所述历史超时次数,将所述广播接收者按照历史超时次数从少到多的顺序在所述广播接收者队列中依次排序,以调整处理广播消息的顺序。
  3. 根据权利要求1所述的方法,其中,所述历史参数包括历史超时次数;
    所述获取所述广播接收者处理所述广播消息的历史参数,包括:
    获取所述广播接收者处理所述广播消息的历史超时次数;
    所述基于所述历史参数调整所述广播接收者在广播接收者队列中的顺序,包括:
    基于所述历史超时次数,当所述历史超时次数超过第一设定阈值时,将所述广播接收者队列中,历史超时次数超过所述第一设定阈值的广播接收者调整到历史超时次数未超过所述第一设定阈值的广播接收者之后,且历史超时次数超过所述第一设定阈值的广播接收者按照历史超时次数从少到多依次排列,以调整多个广播接收者处理广播消息的顺序。
  4. 根据权利要求2或3所述的方法,其中,
    当所述广播接收者处理所述广播消息的时间大于设定时间固定值时,所述历史超时次数增加一次;或者
    当所述广播接收者处理所述广播消息的时间大于动态时间阈值时,所述历史超时次数增加一次,其中,所述动态时间阈值基于初始设定值、所述历史超 时次数以及时间增幅值进行确定,所述时间增幅值为每增加设定数量的超时次数,所述动态时间阈值的增加量。
  5. 根据权利要求1所述的方法,其中,所述历史参数包括历史平均时间;
    所述获取所述广播接收者处理所述广播消息的历史参数,包括:
    获取所述广播接收者处理所述广播消息的历史平均时间;
    所述基于所述历史参数调整所述广播接收者在广播接收者队列中的顺序,包括:
    基于所述历史平均时间,将所述广播接收者按照所述历史平均时间从少到多的顺序在所述广播接收者队列中依次排序,以调整处理广播消息的顺序。
  6. 根据权利要求1所述的方法,其中,所述历史参数包括动态时间阈值;
    所述获取所述广播接收者处理所述广播消息的历史参数,包括:
    获取所述广播接收者处理所述广播消息的动态时间阈值;
    所述基于所述历史参数调整所述广播接收者在广播接收者队列中的顺序,包括:
    基于所述动态时间阈值,将所述广播接收者按照对应的动态时间阈值从少到多的顺序在所述广播接收者队列中依次排序,以调整处理广播消息的顺序;
    其中,所述动态时间阈值用于判断所述广播接收者处理广播消息是否超时;所述动态时间阈值基于获取的历史超时次数、时间增幅值以及初始设定值进行确定。
  7. 根据权利要求1所述的方法,其中,所述历史参数包括:历史超时次数、历史平均时间或者动态时间阈值;
    所述方法还包括:
    当目标广播接收者处理广播消息的历史超时次数达到第一设定阈值时,设置所述目标广播接收者为限制状态,并控制分发给所述目标广播接收者广播消息的数量;或者
    当目标广播接收者处理广播消息的历史平均时间达到第二设定阈值时,设置所述目标广播接收者为限制状态,并控制分发给所述目标广播接收者广播消息的数量;或者
    当目标广播接收者处理广播消息对应的动态时间阈值达到第三设定阈值时,设置所述目标广播接收者为限制状态,并控制分发给所述目标接收者广播消息的数量;
    其中,所述动态时间阈值用于判断广播接收者处理广播消息是否超时;所述动态时间阈值基于获取的历史超时次数、时间增幅值以及初始设定值进行确定。
  8. 根据权利要求7所述的方法,还包括:
    获取限制状态的目标广播接收者的数量;以及
    当限制状态的目标广播接收者的数量与所述广播接收者总数量的比例大于设定比例阈值,调整所述第一设定阈值、第二设定阈值或者第三设定阈值以控制限制状态的目标广播接收者的数量。
  9. 一种广播接收者的管理装置,包括:
    广播消息发送模块,设置为接收广播发送者发送的广播消息,将所述广播消息发送给广播接收者;
    第一获取模块,设置为获取所述广播接收者处理所述广播消息的历史参数;以及
    第一调整模块,设置为基于所述历史参数调整所述广播接收者在广播接收者队列中的顺序。
  10. 根据权利要求9所述的装置,其中,所述历史参数包括历史超时次数;
    所述第一获取模块设置为获取所述广播接收者处理所述广播消息的历史超时次数;以及
    所述第一调整模块设置为基于所述历史超时次数,将所述广播接收者按照所述历史超时次数从少到多的顺序在所述广播接收者队列中依次排序,以调整处理广播消息的顺序。
  11. 根据权利要求9所述的装置,其中,所述历史参数包括历史超时次数;
    所述第一获取模块设置为获取所述广播接收者处理所述广播消息的历史超时次数;以及
    所述第一调整模块设置为基于所述历史超时次数,当所述历史超时次数超过第一设定阈值时,将所述广播接收者队列中,历史超时次数超过所述第一设定阈值的广播接收者调整到历史超时次数未超过所述第一设定阈值的广播接收者之后,且历史超时次数超过所述第一设定阈值的广播接收者按照历史超时次数从少到多依次排列,以调整所述广播接收者处理广播消息的顺序。
  12. 根据权利要求10或11所述的装置,其中,所述第一调整模块设置为:
    当所述广播接收者处理所述广播消息的时间大于设定时间固定值时,所述历史超时次数增加一次;或者
    当所述广播接收者处理所述广播消息的时间大于动态时间阈值时,所述历史超时次数增加一次,其中,所述动态时间阈值基于初始设定值、所述历史超时次数以及时间增幅值进行确定,所述时间增幅值为每增加设定数量的超时次数,所述动态时间阈值的增加量。
  13. 根据权利要求9所述的装置,其中,所述历史参数包括历史平均时间;
    所述第一获取模块设置为获取所述广播接收者处理所述广播消息的历史平 均时间;以及
    所述第一调整模块设置为基于所述历史平均时间,将所述广播接收者按照历史平均时间从少到多的顺序在所述广播接收者队列中依次排序,以调整处理广播消息的顺序。
  14. 根据权利要求9所述的装置,其中,所述历史参数包括动态时间阈值;
    所述第一获取模块,设置为获取所述广播接收者处理所述广播消息的动态时间阈值;以及
    所述第一调整模块,设置为基于所述动态时间阈值,将所述广播接收者按照对应的动态时间阈值从少到多的顺序在所述广播接收者队列中依次排序,以调整处理广播消息的顺序;
    其中,所述动态时间阈值用于判断广播接收者处理广播消息是否超时;所述动态时间阈值基于获取的历史超时次数、时间增幅值以及初始设定值进行确定。
  15. 根据权利要求9所述的装置,其中,所述历史参数包括:历史超时次数、历史平均时间或者动态时间阈值;
    所述装置还包括:
    广播消息分发控制模块,设置为当目标广播接收者处理广播消息的历史超时次数达到第一设定阈值时,设置所述目标广播接收者为限制状态,并控制分发给所述目标广播接收者广播消息的数量;或者
    当目标广播接收者处理广播消息的历史平均时间达到第二设定阈值时,设置所述目标广播接收者为限制状态,并控制分发给所述目标广播接收者广播消息的数量;或者
    当目标广播接收者处理广播消息对应的动态时间阈值达到第三设定阈值时,设置所述目标广播接收者为限制状态,并控制分发给所述目标接收者广播消息的数量;
    其中,所述动态时间阈值用于判断广播接收者处理广播消息是否超时;所述动态时间阈值基于获取的历史超时次数、时间增幅值以及初始设定值进行确定。
  16. 根据权利要求15所述的装置,还包括:
    第二获取模块,设置为获取限制状态的目标广播接收者的数量;以及
    第二调整模块,设置为当限制状态的目标广播接收者的数量与所述广播接收者总数量的比例大于设定比例阈值,调整所述第一设定阈值、所述第二设定阈值或者所述第三设定阈值以控制限制状态的目标广播接收者的数量。
  17. 一种终端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现以下步骤:
    接收广播发送者发送的广播消息,并将所述广播消息发送给广播接收者;
    获取所述广播接收者处理所述广播消息的历史参数;以及
    基于所述历史参数调整所述广播接收者在广播接收者队列中的顺序。
  18. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行权利要求1-8中任一项的方法。
PCT/CN2018/078598 2017-03-10 2018-03-09 广播接收者的管理方法、装置及终端 WO2018161963A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710140552.6 2017-03-10
CN201710140552.6A CN106919459B (zh) 2017-03-10 2017-03-10 一种广播接收者的管理方法、装置及终端

Publications (1)

Publication Number Publication Date
WO2018161963A1 true WO2018161963A1 (zh) 2018-09-13

Family

ID=59460408

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/078598 WO2018161963A1 (zh) 2017-03-10 2018-03-09 广播接收者的管理方法、装置及终端

Country Status (2)

Country Link
CN (1) CN106919459B (zh)
WO (1) WO2018161963A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106919459B (zh) * 2017-03-10 2020-12-04 Oppo广东移动通信有限公司 一种广播接收者的管理方法、装置及终端
CN107729158B (zh) * 2017-09-20 2022-01-11 惠州Tcl移动通信有限公司 一种简化应用程序注册器的方法、存储介质及电子设备
CN109274509B (zh) * 2018-08-22 2021-03-12 Oppo广东移动通信有限公司 广播状态确定方法、装置、电子设备及存储介质
CN110333942A (zh) * 2019-07-05 2019-10-15 中国工商银行股份有限公司 电子设备以及由电子设备执行的任务处理方法
CN110633161B (zh) * 2019-09-19 2022-09-02 北京安云世纪科技有限公司 一种广播的处理方法及装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012048383A1 (en) * 2010-10-15 2012-04-19 Unico Computer Systems Pty Ltd Method and apparatus for communication and alert system
CN103095902A (zh) * 2011-11-07 2013-05-08 联想(北京)有限公司 信息处理方法和设备
CN103634636A (zh) * 2013-11-13 2014-03-12 Tcl集团股份有限公司 一种Android智能电视的应用快捷操控方法和系统
CN106406821A (zh) * 2016-08-15 2017-02-15 平安科技(深圳)有限公司 数据处理请求的排序方法及装置
CN106851592A (zh) * 2017-03-10 2017-06-13 广东欧珀移动通信有限公司 一种广播接收者的调整方法、装置及终端
CN106919459A (zh) * 2017-03-10 2017-07-04 广东欧珀移动通信有限公司 一种广播接收者的管理方法、装置及终端

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140181851A1 (en) * 2012-12-21 2014-06-26 Dor Givon Methods Circuits Apparatuses Systems and Associated Computer Executable Code for Providing Viewer Analytics Relating to Broadcast and Otherwise Distributed Content
CN103200531B (zh) * 2013-04-10 2016-03-09 广东全通教育股份有限公司 一种彩信群发方法及系统
CN103491507B (zh) * 2013-09-05 2017-08-01 广东欧珀移动通信有限公司 一种有序广播优先级重定位的方法及装置
CN103888619B (zh) * 2014-04-16 2016-03-23 青岛海信电子设备股份有限公司 一种消息处理方法及其系统
CN104680060B (zh) * 2014-11-25 2017-04-05 北京奇虎科技有限公司 一种程序的自启管理方法和装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012048383A1 (en) * 2010-10-15 2012-04-19 Unico Computer Systems Pty Ltd Method and apparatus for communication and alert system
CN103095902A (zh) * 2011-11-07 2013-05-08 联想(北京)有限公司 信息处理方法和设备
CN103634636A (zh) * 2013-11-13 2014-03-12 Tcl集团股份有限公司 一种Android智能电视的应用快捷操控方法和系统
CN106406821A (zh) * 2016-08-15 2017-02-15 平安科技(深圳)有限公司 数据处理请求的排序方法及装置
CN106851592A (zh) * 2017-03-10 2017-06-13 广东欧珀移动通信有限公司 一种广播接收者的调整方法、装置及终端
CN106919459A (zh) * 2017-03-10 2017-07-04 广东欧珀移动通信有限公司 一种广播接收者的管理方法、装置及终端

Also Published As

Publication number Publication date
CN106919459B (zh) 2020-12-04
CN106919459A (zh) 2017-07-04

Similar Documents

Publication Publication Date Title
WO2018161963A1 (zh) 广播接收者的管理方法、装置及终端
EP3592004B1 (en) Broadcast processing method, device, storage medium and terminal device
EP3373138B1 (en) Method, device, terminal and storage medium for adjusting broadcast message queue
CN106851014B (zh) 调整广播消息队列的方法、装置及终端
US11051272B2 (en) Method for arranging broadcast message in operating system and electronic device
WO2018161956A1 (zh) 广播接收者的调整方法、装置及终端
CN107070670B (zh) 控制广播发送者发送广播消息的方法、装置和终端设备
US11160052B2 (en) Method for adjusting broadcast receiver queue, storage medium and electronic device
US10908976B2 (en) Broadcast queue adjustment method, terminal, and storage medium
US20200004614A1 (en) Broadcast Transmission Method, Terminal, and Storage Medium
CN106953852B (zh) 广播接收器的注册方法、装置和终端设备
US10785741B2 (en) Registration method for broadcast receiver, terminal and storage medium
US20200004612A1 (en) Method of Generating Broadcast Queue, Storage Medium, and Terminal
EP3373137B1 (en) Method, apparatus and terminal device for sending broadcast
CN106844070B (zh) 一种广播的控制方法、装置及移动终端
WO2018161955A1 (zh) 一种广播接收者的控制方法、装置及移动终端
CN106936828B (zh) 一种广播接收者队列调整方法、装置及终端
CN106899943B (zh) 控制广播发送者发送广播消息的方法、装置和终端设备
US20180262358A1 (en) Method for monitoring broadcast message and terminal
CN106919461B (zh) 广播接收者队列调整方法、装置和终端设备

Legal Events

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

Ref document number: 18764818

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

Country of ref document: EP

Kind code of ref document: A1