BROADCAST RECEIVER QUEUE ADJUSTMENT METHOD, APPARATUS, STORAGE MEDIUM, AND ELECTRONIC DEVICE
FIG4 is a structural diagram of an apparatus provided by an embodiment of the present disclosure to adjust broadcast receiver queue
In a preferred embodiment, a broadcast receiver queue adjusting apparatus may be provided to execute the method for adjusting the broadcast receiver queue as shown in FIG4. The apparatus may include a first acquisition module 410, a determination module 420, a generating module 430, and a moving module 440.
structural diagram
490
420
determination module
430
generating module
440
moving module
480
adjusting module
470
460
distribution prohibiting module
410
first acquisition module
450
endangered application setting module
['8. An apparatus for adjusting a broadcast receiver queue, comprising: a first acquisition module, arranged to acquire a historical parameter of any broadcast receiver; a determination module, arranged to determine whether the historical parameter meets a first predefined condition; a generating module, arranged to generate a second broadcast receiver queue, when the historical parameter of a first target broadcast receiver in a first broadcast receiver queue meets the first predefined condition; and a moving module, arranged to move the first target broadcast receiver to the second broadcast receiver queue, such that broadcast receivers rather than the first broadcast receiver in the first broadcast receiver queue and the first broadcast receiver in the second broadcast receiver queue process the broadcast messages in parallel.', '11. The apparatus according to claim 8, further comprising: an endangered application setting module, arranged to set a second target broadcast receiver to be an endangered application, when the historical parameter of the second target broadcast receiver meets a second predefined condition; a distribution prohibiting module, arranged to prohibit distribution of the broadcast messages to the second target broadcast receiver; wherein the historical parameter comprises a number of historical timeouts for processing the broadcast messages, historical time consumed to process the broadcast messages, a sum of duration of timeouts for processing the broadcast messages, or a dynamic time threshold value used to determine whether broadcast message processing times out; and the dynamic time threshold value is determined based on the number of historical timeouts, time increasing amplitude, and an initially set value.', '12. The apparatus according claim 8, wherein the historical parameter comprises the number of historical timeouts, and the apparatus further comprises: a second acquisition module, arranged to acquire a sum of duration of timeouts for the broadcast receiver to process the broadcast messages; and an adjusting module, arranged to adjust a sequence of broadcast receivers, which have a same number of historical timeouts , based on the sum of duration of timeouts.']