Android Broadcast Processing Optimization via Message Segmentation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In the Android system, when broadcast receivers are registered using static registration, normal broadcast messages are inefficiently processed, leading to high system resource consumption and poor stability due to their placement in ordered broadcast queues, which slows down the processing of both normal and ordered broadcast messages.

Innovation Solution

A method that acquires and determines the type of broadcast messages in the queue, allowing normal broadcast messages to be sent directly to corresponding receivers without waiting for feedback from previous receivers, thereby improving processing speed and reducing resource consumption by optimizing the broadcast processing mechanism.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If normal broadcast messages are placed in ordered broadcast queues for static registration, then broadcast receivers can be reliably notified, but processing efficiency decreases and system resource consumption increases

Engineering Contradiction:
Improvebroadcast delivery reliabilityVSAvoidbroadcast processing efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent segments broadcast messages into two distinct types: normal broadcast messages and ordered broadcast messages. This segmentation allows different processing mechanisms to be applied to each type, optimizing both reliability and efficiency. Normal broadcast messages use direct sending to improve efficiency, while ordered broadcast messages maintain the queueing mechanism for reliability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies different quality characteristics to different parts of the broadcast processing system. By determining the type of broadcast message and applying specialized handling accordingly, the system optimizes local processing behavior - using direct sending for normal messages and ordered queueing for ordered messages, thereby resolving the contradiction between efficiency and reliability.

Inventive Principle:
Principle #3Local quality

2Stability of the object's composition

If normal broadcast messages wait for feedback from previous receivers in ordered queues, then processing order is maintained, but processing time increases

Engineering Contradiction:
Improveprocessing order stabilityVSAvoidbroadcast processing time
Core Design Contradiction:
Stability of the object's compositionVSLoss of time

Solution Approach 1:

The patent segments broadcast messages into normal and ordered types, allowing normal broadcast messages to bypass the feedback-waiting mechanism entirely. This segmentation enables normal messages to be sent directly to all registered receivers without waiting for previous messages, dramatically reducing processing time while maintaining stable order through the ordered broadcast message type for cases where sequencing is required.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces dynamic processing behavior based on message type. The system determines the type of broadcast message at runtime and applies different processing strategies accordingly - direct sending for normal messages and sequential processing with feedback for ordered messages. This dynamic approach optimizes processing time while maintaining stability where needed.

Inventive Principle:
Principle #15Dynamics

3Device complexity

If all broadcast messages use the same processing mechanism, then system complexity is reduced, but resource consumption increases

Engineering Contradiction:
Improvebroadcast processing complexityVSAvoidsystem resource consumption
Core Design Contradiction:
Device complexityVSUse of energy by moving object

Solution Approach 1:

The patent applies local quality by implementing type-specific processing mechanisms within the broadcast system. By determining the message type and applying specialized handling (direct sending vs. ordered queueing), the system optimizes resource consumption for each message type while maintaining manageable overall complexity through a unified processing framework.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent changes the processing parameters based on message type. The system determines the type of broadcast message and adjusts processing parameters accordingly - using direct sending parameters for normal messages and ordered queueing parameters for ordered messages. This parameter change approach optimizes resource consumption without requiring completely separate processing systems.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS10819455B2Broadcast processing method, non-transitory storage medium, and electronic device
Publication Date: 2020.10.27 GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
  • US10819455B2 patent drawing
  • US10819455B2 patent drawing
  • US10819455B2 patent drawing

AI summary

A method for broadcast processing, a non-transitory storage medium and an electronic device are provided. The method includes: acquiring a currently-sending broadcast message in a broadcast queue; determining a type of the broadcast message; and calling an interface configured to send the broadcast message and sending the broadcast message to a corresponding broadcast receiver.