Android Broadcast Receiver Queue Prioritization
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In Android systems, the increasing number of applications subscribing to broadcast messages leads to delayed responses due to queue occupancy, affecting the response time of applications to broadcast messages.
Innovation Solution
A control method and apparatus that prioritize and sort receiver queues based on predetermined priorities and user operation records to determine a target receiver for broadcast message delivery, ensuring faster response times.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If more applications subscribe to broadcast messages, then the system can provide richer functionality, but the response time of applications to broadcast messages increases due to queue occupancy
Solution Approach 1:
The patent applies local quality by differentiating treatment for different receivers based on their priority levels. High-priority receivers (such as system services) receive broadcast messages immediately, while low-priority receivers (such as user applications) receive messages after a delay or are filtered out. This selective local treatment resolves the contradiction by ensuring critical functionality maintains while reducing unnecessary queue occupancy from low-priority applications.
Solution Approach 2:
The patent implements partial action by selectively delivering broadcast messages to only certain receivers based on priority thresholds. Instead of delivering to all subscribers (excessive action), the system delivers to a subset of high-priority receivers (partial action), thereby reducing queue occupancy time and improving response time for critical applications while maintaining essential functionality.
2Ease of operation
If applications subscribe to broadcast messages to receive information, then the system can enable communication between applications, but excessive subscriptions cause queue occupancy delays
Solution Approach 1:
The patent changes the parameter of receiver priority to control message delivery behavior. By assigning different priority levels to different types of receivers (system services vs. user applications), the system can selectively deliver messages based on priority thresholds. This parameter change enables maintained communication capability for essential services while improving message delivery efficiency by reducing queue occupancy from low-priority subscriptions.
Data Source
AI summary
A control method for broadcast sending includes: acquiring a receiver queue corresponding to a broadcast message to be sent; determining a target receiver according to priorities of receivers in the receiver queue and a predetermined priority; and sending the broadcast message to the target receiver.


