Mobile Terminal Data Processing Sub-thread Segmentation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current data processing in mobile terminals, executed in the main thread, becomes tedious and time-consuming when handling large data requests, leading to UI thread jams and system instability, affecting user interface display performance.

Innovation Solution

Data computation is performed in a sub-thread, while data loading and display are handled in the main thread, employing a multithread working mode to improve efficiency and prevent UI thread jams.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If data computation is performed in the main thread, then data processing can be completed, but UI thread jam occurs and system stability deteriorates when handling large data requests

Engineering Contradiction:
Improvedata processing efficiencyVSAvoidsystem stability
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent segments the data processing task into two distinct parts: data computation (traversing, creating data objects, sorting) and UI operations (loading and displaying data). By separating these tasks into different threads - computation in sub-threads and UI operations in the main thread - the system avoids UI thread jams while maintaining processing capability, thus resolving the contradiction between productivity and reliability

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces computation results as an intermediary data structure that bridges the sub-thread computation process and the main thread UI operations. This intermediary allows the computation thread to produce results independently without blocking the UI thread, enabling asynchronous data processing while preserving system stability and UI responsiveness

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If data computation is performed in the main thread, then complete data processing is achieved, but user interface display performance deteriorates due to thread jam

Engineering Contradiction:
Improvedata processing completenessVSAvoidUI display performance
Core Design Contradiction:
ProductivityVSSpeed

Solution Approach 1:

The patent divides the processing pipeline into computation segment (in sub-threads) and display segment (in main thread). This segmentation allows data computation to proceed independently without blocking UI operations, ensuring both complete data processing and smooth UI display performance by eliminating thread contention

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

By running data computation in sub-threads while the main thread continues UI operations, the system maintains continuous useful action in both threads. The computation proceeds asynchronously without interrupting UI responsiveness, ensuring neither data processing completeness nor UI display performance is compromised

Inventive Principle:
Principle #20Continuity of useful action

Data Source

PatentUS9619275B2Data processing method, apparatus and mobile terminal
Publication Date: 2017.04.11 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • US9619275B2 patent drawing
  • US9619275B2 patent drawing
  • US9619275B2 patent drawing

AI summary

The present disclosure discloses a data processing method, apparatus and mobile terminal. In the data processing method, the mobile terminal performs data computation in a sub-thread of the current program when a data request is received. The mobile terminal loads the requested data in the main thread of the current program based on the data computation results and displays the loaded requested data. The present disclosure ensures the smoothness of user interface threads, the stability of systems, and the display performance of user interfaces.