IP Library Granted Patent US 11,160,052
Granted Patent B2
US 11,160,052 · App. 16/565,431 · Granted Oct 26, 2021

Method for adjusting broadcast receiver queue, storage medium and electronic device

Inventors: Liangjing Fu (Guangdong, CN); Runsheng Pei (Guangdong, CN); Zhiyong Lin (Guangdong, CN); Ruyu Wu (Guangdong, CN); Jun Zhang (Guangdong, CN)
Assignee: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
H04W72/005H04M1/72403H04M1/72484H04W72/10H04H60/90
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,160,052
App. No.
16/565,431
Granted
Oct 26, 2021
Kind
B2
Abstract

Provided are a method for adjusting a broadcast receiver queue, an apparatus, a storage medium, and an electronic device. The method may include: acquiring a historical parameter of a broadcast receiver; determining whether the historical parameter meets a first predefined condition; when the historical parameter of a first target broadcast receiver in a first broadcast receiver queue meets the first predefined condition, generating a second broadcast receiver queue; and moving the first target broadcast receiver to the second broadcast receiver queue, such that broadcast receivers other than the first target broadcast receiver in the first broadcast receiver queue and the first broadcast receiver in the second broadcast receiver queue may process the broadcast messages in parallel.

Claims (72)

1. A method for adjusting a broadcast receiver queue, applied in an electronic device, comprising:

acquiring a historical parameter of any broadcast receiver, wherein the broadcast receiver is arranged in a first broadcast receiver queue;

determining whether the historical parameter meets a first predefined condition;

generating a second broadcast receiver queue, when the historical parameter of a first target broadcast receiver in the first broadcast receiver queue meets the first predefined condition; and

moving the first target broadcast receiver to the second broadcast receiver queue, such that other broadcast receivers rather than the first target broadcast receiver in the first target broadcast receiver queue and the first target broadcast receiver in the second broadcast receiver queue process broadcast messages in parallel, and the second broadcast queue consists of only broadcast receivers, which are initially arranged in the first broadcast queue, and each of the broadcast receivers in the second broadcast queue has the historical parameter meeting the first predefined condition, wherein the historical parameter comprises a dynamic time threshold value, which is used to determine whether the broadcast messages are time-out processed;

wherein determining whether the historical parameter meets the first predefined condition comprises:

determining whether the dynamic time threshold value, which is used to determine whether the broadcast messages are time-out processed, is greater than a set threshold value for the first time;

wherein generating the second broadcast receiver queue, when the historical parameter of the first target broadcast receiver in the first broadcast receiver queue meets the first predefined condition, comprises:

generating the second broadcast receiver queue, when the corresponding dynamic time threshold value of the first target broadcast receiver in the first broadcast receiver queue is greater than the set threshold value for the first time;

wherein the dynamic time threshold value is determined based on the number of the historical timeouts, a time increasing amplitude, and an initially set value,

wherein the initially set value is smaller than the set threshold value,

wherein the set threshold value is a fixed value,

wherein when a time that one of the broadcast receivers, which includes the first target broadcast receiver, consumes to process one of the broadcast messages is greater than the dynamic time threshold value, the number of the historical timeouts is increased by one, and

wherein the time increasing amplitude is an increased amount of the dynamic time threshold value for each increase of the number of timeouts over a predetermined number.

2. The method according to claim 1 , further comprising:

setting the first target broadcast receiver to be a second target broadcast receiver, when the historical parameter of the first target broadcast receiver further meets a second predefined condition;

prohibiting from distributing the broadcast messages to the second target broadcast receiver.

3. The method according to claim 1 , wherein the historical parameter comprises a number of historical timeouts for processing broadcast messages, and the method further comprises:

acquiring a sum of duration of historical timeouts for one of the broadcast receivers, which includes the first target broadcast receiver, to process the broadcast messages; and

adjusting a sequence of any broadcast receivers that have a same number of historical timeouts based on the acquired sum of duration of historical timeouts.

4. The method according to claim 1 , further comprising:

when more than one first target broadcast receivers being available, and receiving a target broadcast message, detecting in sequence whether each of the first target broadcast receivers completes processing the target broadcast message within a third set threshold value;

when a present first target broadcast receiver is detected as not completing processing the target broadcast message within the third set threshold value, distributing the target broadcast message to a next first target broadcast receiver, and labeling the next first target broadcast receiver as the present first target broadcast receiver.

5. A non-transitory storage medium, for storing a plurality of instructions which are able to be executed by a processor for causing the processor to perform a method to adjust a broadcast receiver queue, wherein the method comprises:

acquiring a historical parameter of any broadcast receiver, wherein the broadcast receiver is arranged in a first broadcast receiver queue;

determining whether the historical parameter meets a first predefined condition;

generating a second broadcast receiver queue when the historical parameter of a first target broadcast receiver in the first broadcast receiver queue meets the first predefined condition; and

moving the first target broadcast receiver to the second broadcast receiver queue, such that other broadcast receivers rather than the first target broadcast receiver in the first broadcast receiver queue and the first target broadcast receiver in the second broadcast receiver queue process broadcast messages in parallel, and the second broadcast queue consists of only broadcast receivers, which are initially arranged in the first broadcast queue, and each of the broadcast receivers in the second broadcast queue has the historical parameter meeting the first predefined condition, wherein the historical parameter comprises a dynamic time threshold value, which is used to determine whether the broadcast messages are time-out processed;

wherein determining whether the historical parameter meets the first predefined condition comprises:

determining whether the dynamic time threshold value, which is used to determine whether broadcast messages is time-out processed, is greater than a set threshold value for the first time;

wherein generating the second broadcast receiver queue, when the historical parameter of the first target broadcast receiver in the first broadcast receiver queue meets the first predefined condition, comprises:

generating the second broadcast receiver queue, when the corresponding dynamic time threshold value of the first target broadcast receiver in the first broadcast receiver queue is greater than the set threshold value for the first time;

wherein the dynamic time threshold value is determined based on the number of the historical timeouts, a time increasing amplitude, and an initially set value,

wherein the initially set value is smaller than the set threshold value,

wherein the set threshold value is a fixed value,

wherein when a time that one of the broadcast receivers, which includes the first target broadcast receiver, consumes to process one of the broadcast messages is greater than the dynamic time threshold value, the number of the historical timeouts is increased by one, and

wherein the time increasing amplitude is an increased amount of the dynamic time threshold value for each increase of the number of timeouts over a predetermined number.

6. The non-transitory storage medium according to claim 5 , wherein

when the historical parameter of the first broadcast receiver further meets a second predefined condition, the instructions are executed to

set the first target broadcast receiver to be a second target broadcast receiver; and

prohibit from distributing the broadcast messages to the second target broadcast receiver.

7. The non-transitory storage medium according to claim 5 , wherein

the historical parameter comprises a number of historical timeouts for processing the broadcast messages, and a sum of duration of historical timeouts for one of the broadcast receivers, which includes the first target broadcast receiver, to process the broadcast messages; and

the instructions are executed to adjust a sequence of any broadcast receivers that have a same number of historical timeouts based on the acquired sum of duration of historical timeouts.

8. The non-transitory storage medium according to claim 7 , wherein

the instructions are further executed to sequence the broadcast receivers that have the same number of historical timeouts based on the acquired sum of duration of historical timeouts from the smallest to the greatest, such that a broadcast receiver that has a smaller sum of duration of timeout, process a next broadcast message first.

9. The non-transitory storage medium according to claim 5 , wherein

when more than one first target broadcast receivers being available, and receiving a target broadcast message, the instructions are executed to detect in sequence whether each of the first target broadcast receivers completes processing the target broadcast message within a third set threshold value; and

when a present first target broadcast receiver is detected as not completing processing the target broadcast message within the third set threshold value, the instructions are executed to distribute the target broadcast message to a next first target broadcast receiver, and labeling the next first target broadcast receiver as the present first target broadcast receiver.

10. An electronic device, comprising a processor and a non-transitory memory, wherein the non-transitory memory stores a plurality of instructions and the instructions stored in the non-transitory memory are loaded by the processor to:

acquire a historical parameter of any broadcast receiver, wherein the broadcast receiver is arranged in a first broadcast receiver queue;

determine whether the historical parameter meets a first predefined condition;

generate a second broadcast receiver queue, when the historical parameter of a first target broadcast receiver in the first broadcast receiver queue meets the first predefined condition; and

move the first target broadcast receiver to the second broadcast receiver queue, such that other broadcast receivers rather than the first target broadcast receiver in the first broadcast receiver queue and the first target broadcast receiver in the second broadcast receiver queue process broadcast messages in parallel, and the second broadcast queue consists of only broadcast receivers, which are initially arranged in the first broadcast queue, and each of the broadcast receivers in the second broadcast queue has the historical parameter meeting the first predefined condition, wherein the historical parameter comprises a dynamic time threshold value, which is used to determine whether the broadcast messages are time-out processed;

wherein determining whether the historical parameter meets the first predefined condition comprises:

determining whether the dynamic time threshold value, which is used to determine whether broadcast messages is time-out processed, is greater than a set threshold value for the first time;

wherein generating the second broadcast receiver queue, when the historical parameter of the first target broadcast receiver in the first broadcast receiver queue meets the first predefined condition, comprises:

generating the second broadcast receiver queue, when the corresponding dynamic time threshold value of the first target broadcast receiver in the first broadcast receiver queue is greater than the set threshold value for the first time;

wherein the dynamic time threshold value is determined based on the number of the historical timeouts, a time increasing amplitude, and an initially set value,

wherein the initially set value is smaller than the set threshold value,

wherein the set threshold value is a fixed value,

wherein when a time that one of the broadcast receivers, which includes the first target broadcast receiver, consumes to process one of the broadcast messages is greater than the dynamic time threshold value, the number of the historical timeouts is increased by one, and

wherein the time increasing amplitude is an increased amount of the dynamic time threshold value for each increase of the number of timeouts over a predetermined number.

11. The electronic device according to claim 10 , wherein the processor is arranged to:

set the first target broadcast receiver to be a second target broadcast receiver, when the historical parameter of the first target broadcast receiver further meets a second predefined condition; and

prohibit from distributing the broadcast messages to the second target broadcast receiver.

12. The electronic device according to claim 10 , wherein the historical parameter comprises a number of historical timeouts for processing the broadcast messages, and the processor is further arranged to

acquire a sum of duration of historical timeouts for one of the broadcast receivers, which includes the first target broadcast receiver, to process the broadcast messages; and

adjust a sequence of any broadcast receivers that have a same number of historical timeouts according to the acquired sum of duration of historical timeouts.

13. The electronic device according to claim 10 , wherein the processor is further arranged to:

detect in sequence whether each of the first target broadcast receivers completes processing a target broadcast message within a third set threshold value when more than one of the first target broadcast receivers being available, and receiving the target broadcast message; and

when a present first target broadcast receivers is detected as not completing processing the target broadcast message within the third set threshold value, distribute the target broadcast message to a next first target broadcast receiver and label the next first target broadcast receiver as the present first target broadcast receiver.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 24, 2025
From: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
To: NOKIA TECHNOLOGIES OY
Reel/Frame 071711/0153 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 17, 2019
From: FU, LIANGJING; PEI, RUNSHENG; LIN, ZHIYONG; WU, RUYU; ZHANG, JUN
To: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
Reel/Frame 050408/0457 →
Priority Claims (1)
CN 201710141454.4 · Mar 10, 2017 · national
Continuity (2)
Continuation PCTCN2017106944 · Oct 19, 2017
Related Publication 20200008175A1 · Jan 2, 2020