RILD Thread Segmentation for AP-Modem Interaction Bottlenecks

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The interaction between an application process (AP) and a modem in Android systems is inefficient due to frequent interruptions at the modem end, reducing performance when handling multiple tasks.

Innovation Solution

Establishing multiple Radio Interface Layer Daemon (RILD) threads between the AP and modem end, each assigned a specific task type, allowing messages to be sent through corresponding threads, thereby improving interaction efficiency by enabling simultaneous processing of different tasks.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If the conventional RIL sends each AT command to the serial port causing the modem end to be interrupted every time, then the message transmission can be completed, but the performance of the modem end is reduced when handling multiple tasks

Engineering Contradiction:
Improveinteraction efficiencyVSAvoidinterruption time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent segments the single RIL thread into multiple RILD threads, each responsible for handling specific task types. This segmentation allows parallel processing of different task types without causing repeated interruptions to the modem end, thereby improving interaction efficiency while reducing time loss.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a new dimension of thread-level parallelism by creating multiple RILD threads operating simultaneously. Each thread handles different task types (communication, SIM card operations, data tasks) in parallel, transforming the single-threaded sequential processing into multi-threaded concurrent processing.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Productivity

If multiple RILD threads are established to handle different task types simultaneously, then the interaction efficiency is improved, but the system complexity increases

Engineering Contradiction:
Improvetask processing speedVSAvoidthread management complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system segments task handling into specialized RILD threads based on task type (communication, SIM card operations, data tasks). Each thread is dedicated to specific task types, which simplifies the management logic within each thread while achieving parallel processing at the system level.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The RILD threads maintain message channels that can handle different types of messages within their designated task categories. This universal message channel design within each specialized thread reduces the need for complex thread-specific protocols while maintaining task-type specialization.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS10848960B2Method and system for interaction between AP and modem, and storage medium
Publication Date: 2020.11.24 JRD COMM (SHENZHEN) LTD
  • US10848960B2 patent drawing
  • US10848960B2 patent drawing

AI summary

Disclosed are a method and system for interaction between an AP and a Modem. The method comprises: when an AP end sends a message to a Modem end, acquiring a service type corresponding to the message; searching, according to the service type, in pre-set multiple RILD threads for an RILD thread corresponding thereto; and sending the message to the Modem end through the RILD thread.