Android Broadcast Receiver Queue Management for Response Time

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In Android systems, the increasing number of applications subscribing to broadcast messages leads to delayed responses due to queue occupation, affecting the response time of application programs.

Innovation Solution

A method and apparatus that acquire and manage a receiver queue for broadcast messages by removing non-launched third-party applications, allowing for faster message transmission by prioritizing relevant receivers based on application type and launching state.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If all subscribed applications are retained in the receiver queue to ensure comprehensive broadcast message delivery, then the completeness of message delivery is improved, but the response time of the broadcast message deteriorates due to queue occupation by too many applications

Engineering Contradiction:
Improvecompleteness of message deliveryVSAvoidresponse time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent extracts and removes specific receivers from the broadcast receiver queue based on their launching state. Non-launched receivers are identified and removed from the queue before broadcast message processing, reducing queue length and improving response time while maintaining delivery to active applications

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent applies different processing rules to different receivers in the queue based on their application type and launching state. Launched receivers are processed normally while non-launched receivers are removed, creating differentiated quality of service within the queue system

Inventive Principle:
Principle #3Local quality

2Reliability

If all subscribed applications are retained in the receiver queue to ensure comprehensive broadcast message delivery, then the completeness of message delivery is improved, but the system resource utilization deteriorates due to unnecessary processing overhead

Engineering Contradiction:
Improvecompleteness of message deliveryVSAvoidsystem resource utilization
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent extracts and removes specific receivers from the broadcast receiver queue based on their launching state. Non-launched receivers are identified and removed from the queue before broadcast message processing, reducing queue length and improving response time while maintaining delivery to active applications

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent applies partial action by selectively processing only the necessary subset of receivers (launched applications) rather than all subscribed applications. This partial processing approach eliminates wasted resources on non-launched applications while maintaining adequate message delivery to active applications

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS11048568B2Broadcast sending control method and apparatus, storage medium, and electronic device
Publication Date: 2021.06.29 GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
  • US11048568B2 patent drawing
  • US11048568B2 patent drawing
  • US11048568B2 patent drawing

AI summary

A broadcast sending control method includes: acquiring a receiver queue corresponding to a broadcast message; acquiring an application type and a launching state of a first receiver, wherein the first receiver is any receiver in the receiver queue; removing, in a case where the application type is a predetermined application type and the launching state is a predetermined launching state, the first receiver from the receiver queue; and sending, according to the receiver queue from which the first receiver has been removed, the broadcast message.