Android Broadcast Queue Parallel Processing Segmentation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The existing broadcast sending process in Android systems is inefficient, leading to high resource consumption and poor system stability due to sequential processing of broadcast messages, where a next message can only be sent after the previous one is completely processed.

Innovation Solution

A method and apparatus that determine whether the sending process of a current broadcast message is the same as an already sent message, allowing for parallel processing by sending the current message while the previous message is being processed, and managing the broadcast queue to optimize message delivery and reduce resource consumption.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If sequential processing of broadcast messages is used, then system stability is maintained, but broadcast processing efficiency is low and resource consumption is high

Engineering Contradiction:
Improvebroadcast processing efficiencyVSAvoidprocessing time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent segments the broadcast message processing by dividing it into different sending processes (first sending process and second sending process). This allows the broadcast queue to be processed in parallel segments rather than sequentially, improving processing efficiency while maintaining system stability through structured segmentation of the processing workflow.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements preliminary action by pre-judging whether the current broadcast message belongs to the first or second sending process before actual processing. This pre-categorization enables parallel processing paths to be established in advance, reducing waiting time and improving overall broadcast processing efficiency without compromising system stability.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If sequential processing of broadcast messages is used, then message order is maintained, but system resource consumption is high

Engineering Contradiction:
Improvebroadcast processing efficiencyVSAvoidsystem resource consumption
Core Design Contradiction:
ProductivityVSUse of energy by moving object

Solution Approach 1:

By segmenting broadcast messages into two distinct sending processes based on pre-judgment criteria, the system can process different segments in parallel. This reduces the total processing time and resource consumption compared to sequential processing, while still maintaining message order within each segment through structured handling.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces dynamic processing by adaptively routing broadcast messages to different sending processes based on their characteristics. This dynamic segmentation allows the system to optimize resource allocation and processing efficiency by matching message types with appropriate processing paths, reducing overall system resource consumption.

Inventive Principle:
Principle #15Dynamics

3Productivity

If parallel processing of broadcast messages is implemented, then processing efficiency is improved, but system complexity increases

Engineering Contradiction:
Improvebroadcast processing efficiencyVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent manages system complexity by clearly segmenting the broadcast processing into two distinct sending processes with well-defined boundaries and routing criteria. This structured segmentation makes the parallel processing system easier to understand, implement, and maintain compared to more complex parallel processing architectures, balancing efficiency improvement with manageable system complexity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

By performing pre-judgment to categorize broadcast messages into first or second sending processes before processing begins, the patent simplifies the parallel processing logic. This preliminary classification reduces the complexity of real-time decision-making during processing and makes the system architecture more straightforward and easier to manage.

Inventive Principle:
Principle #10Preliminary action

4Loss of time

If parallel processing of broadcast messages is implemented, then processing time is reduced, but system stability may be compromised

Engineering Contradiction:
Improveprocessing timeVSAvoidsystem stability
Core Design Contradiction:
Loss of timeVSReliability

Solution Approach 1:

The patent maintains system stability in parallel processing by clearly defining two separate sending processes with distinct responsibilities and routing criteria. This structured segmentation ensures that each process handles specific message types in a controlled manner, preventing chaos and maintaining reliability while achieving faster processing through parallel execution.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

By performing pre-judgment to determine which sending process should handle each broadcast message before processing begins, the patent ensures that messages are routed to the appropriate parallel process in advance. This preliminary routing maintains system stability by preventing conflicts and ensuring orderly processing, while still enabling parallel execution to reduce overall processing time.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentEP3373137B1Method, apparatus and terminal device for sending broadcast
Publication Date: 2021.01.06 GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
  • EP3373137B1 patent drawingFigure 1
  • EP3373137B1 patent drawingFigure 2
  • EP3373137B1 patent drawingFigure 3

AI summary

A method, apparatus and terminal device for sending broadcast are provided. The method includes: acquiring (S101) a current broadcast message to be sent in a broadcast sending queue, and determining a sending process of the current broadcast message to be sent; determining (S102) a sending process of an already sent broadcast message in the broadcast sending queue; and according to whether the sending process of the current broadcast message to be sent is the same sending process as the sending process of the already sent broadcast message, determining (S103) whether to send the current broadcast message to be sent to a broadcast recipient of the current broadcast message to be sent while the already sent broadcast message is being processed.