Patentable/Patents/US-9619275
US-9619275

Data processing method, apparatus and mobile terminal

PublishedApril 11, 2017
Assigneenot available in USPTO data we have
Inventorsnot available in USPTO data we have
Technical Abstract

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.

Patent Claims
12 claims

Legal claims defining the scope of protection. Each claim is shown in both the original legal language and a plain English translation.

Claim 1

Original Legal Text

1. A data processing method implemented in a mobile device comprising a hardware processor, comprising: automatically creating in the main device and initiating a sub-thread of the current user interface program; performing, by the sub-thread of the current user interface program in the mobile device, data computation when receiving a data request from a user of the mobile device to view data stored in a folder on the mobile device, wherein performing the data computation in the sub-thread of the current user interface program comprises: initiating the sub-thread of the current user interface program: traversing the requested data by the sub-thread of the current user interface program to obtain all data stored under the folder of the mobile device: creating a data object based on the data obtained from the traversal and storing the data object in the local cache; and computation results including data objects obtained after sorting; loading the requested data from a local cache to a user interface (UI) of the current user interface program on the mobile device by the main thread of the current user interface program in the mobile device; the requested data based on results from the data computation; and displaying on the mobile device, by the main thread of the current user interface program in the mobile device, the loaded requested data.

Plain English Translation

A mobile device data processing method handles user requests to view folder data. When a user requests to view a folder's contents, the device automatically creates a sub-thread within the running user interface program. This sub-thread then scans the folder, identifies all data files within, and creates corresponding data objects. These data objects are stored in a local cache, and then sorted. The main thread then loads the sorted data objects from the local cache and displays them on the user interface. This approach avoids blocking the UI thread, ensuring smooth and responsive performance during folder data retrieval.

Claim 2

Original Legal Text

2. The data processing method as defined in claim 1 wherein traversing the requested data in the sub-thread of the current user interface program, the method further comprises: initiating timing; determining whether a traversing process has ended when the timing duration reaches a preset threshold value; if the determination is yes, stop timing; if the determination is no, call the main thread of the current user interface program, and output progress prompt information in the main thread of the current user interface program.

Plain English Translation

In the data processing method described previously, during the sub-thread's data traversal process, a timer is started. The system checks if a preset time limit has been reached during the directory scan. If the traversal completes within the time limit, the timer is stopped. If the time limit is reached before the traversal completes, the main thread is notified, and a progress update is displayed to the user on the main user interface. This prevents indefinite delays and provides user feedback during long directory scans, enhancing the perceived performance and user experience.

Claim 3

Original Legal Text

3. The data processing method as defined in claim 2 , wherein outputting progress prompt information in the main thread of the current user interface program, the method further comprises: stopping data computation process in the sub-thread of the current user interface program if a data cancellation instruction is received.

Plain English Translation

The previously described method with progress updates includes a cancellation feature. If the user cancels the data request, the sub-thread's data processing is terminated, stopping the data computation process. This provides the user with control over long-running operations and allows them to interrupt the process if they no longer need the data, preventing unnecessary resource consumption. The cancellation can be triggered via a UI element like a button press.

Claim 4

Original Legal Text

4. The data processing method as defined in claim 1 , wherein loading the requested data in the main thread of the current user interface program based on the data computation results comprises: calling the main thread of the current user interface program to obtain the computation results in the sub-thread of the current user interface program, and updating user interface (UI) of the current user interface program in the main thread of the current user interface program.

Plain English Translation

In the data processing method described previously, loading the requested data in the main thread involves first retrieving the sorted data objects generated by the sub-thread. The main thread then updates the current user interface program's display with this data. This ensures that the UI is only updated from the main thread, preventing potential UI inconsistencies and crashes, while taking advantage of the sub-thread's processing power for the intensive sorting/data retrieval.

Claim 5

Original Legal Text

5. The data processing method as defined in claim 4 , wherein displaying the loaded requested data comprises: displaying the computation results on the UI of the current user interface program.

Plain English Translation

Building upon the previous claims, the displayed data on the UI consists of the computation results. That means sorted data files within a folder are displayed on the main UI based on the data traversal and sorting of the sub-thread. The main thread renders the pre-processed, cached and sorted data onto the user interface, ensuring a quick and seamless display of the folder contents.

Claim 6

Original Legal Text

6. A data processing apparatus, comprising a processor and a non-transitory storage medium accessible to the processor, the non-transitory storage medium is configured to store: a sub-thread control module for performing data computation in a sub-thread of a current user interface program in a mobile device when a data request from a user of the mobile device to view data stored in a folder of the mobile device is received, wherein the sub-thread control module comprises: an initiating unit for initiating a sub-thread of the current user interface program; a traversing unit for traversing the requested data in the sub-thread of the current user interface program to obtain all data stored under the folder of the mobile device; from the traversal and storing the data object in the local cache; and a sorting unit for sorting the data object to obtain computation results, the computation results including data objects obtained after sorting; a main thread control module for loading the requested data from a local cache to a user interface (UI) of the current user interface program by a main thread of the current user interface program based on data computation results; and a data processing module for displaying on the mobile device by the main thread of the current user interface program, the loaded requested data.

Plain English Translation

A data processing apparatus comprises a processor and memory. The memory stores a "sub-thread control module" that performs data computation in a sub-thread when a user requests to view data in a folder. This module includes: a unit to initiate the sub-thread, a unit to traverse the folder and obtain data, create data objects and store the data objects in local cache; and a unit to sort the data objects. A "main thread control module" loads the data from the local cache to the UI. A "data processing module" then displays the loaded requested data on the device using the main thread.

Claim 7

Original Legal Text

7. The data processing apparatus as defined in claim 6 , wherein the sub-thread control module further comprises: a timing unit configured to initiate timing; a determining unit for determining whether a traversing process has ended when the timing duration reaches a preset threshold value; and a control unit for notifying the timing unit to stop timing, if a determination is yes; or for notifying the main thread control module to call the main thread of the current user interface program and to output progress prompt information in the main thread of the current user interface program, if the determination is no.

Plain English Translation

The data processing apparatus described previously includes a timing unit within the sub-thread control module to initiate timing of the directory scan. A determining unit checks if the scan has finished within a time threshold. A control unit stops the timer if complete. If the timer reaches the threshold before completion, the control unit instructs the main thread control module to display a progress update on the user interface. This provides feedback to the user during lengthy directory scans.

Claim 8

Original Legal Text

8. The data processing apparatus as defined in claim 7 , wherein after outputting progress prompt information in the main thread of the current user interface program, the control unit is configured to stop data computation process in the sub-thread of the current program if a data cancellation instruction is received.

Plain English Translation

The data processing apparatus described previously, which displays progress updates, incorporates a data cancellation feature. After displaying progress information, if a cancellation instruction is received from the user, the control unit stops the data computation process in the sub-thread. The cancellation instruction effectively terminates the running folder data retrieval process.

Claim 9

Original Legal Text

9. The data processing apparatus as defined in claim 6 , wherein the main thread control module comprises: a calling unit for calling the main thread of the current user interface program; an obtaining unit for obtaining computation results in the sub-thread of the current user interface program; and an updating unit for updating the user interface (UI) of the current user interface program in the main thread of the current user interface program.

Plain English Translation

The main thread control module of the data processing apparatus contains a calling unit that calls the main thread of the UI program. An obtaining unit retrieves the computation results (sorted data objects) from the sub-thread. An updating unit then updates the user interface with the obtained computation results within the main thread. This isolates UI updates to the main thread to prevent crashes.

Claim 10

Original Legal Text

10. The data processing apparatus as defined in claim 9 , wherein the data processing module is used for displaying the computation results on the user interface (UI) of the current user interface program.

Plain English Translation

The data processing apparatus's data processing module is specifically designed to display the computation results (sorted data objects) on the current user interface. The display is based on the pre-processed data from the sub-thread, ensuring the UI presents a well-organized view of the folder contents, ready for user interaction.

Claim 11

Original Legal Text

11. A mobile terminal comprising a processor and a non-transitory storage medium accessible to the processor, the processor is configured to: perform data computation in a sub-thread of a current user interface program when a data request from a user of the mobile terminal to view data stored in a folder of the mobile terminal, wherein when performing the computation in the sub-thread, the processor is further configured to: initiate the sub-thread of the current user interface program; traverse the requested data in the sub-thread of the current user interface program to obtain all data stored under the folder of the mobile device; create a data object based on the data obtained from the traversal and store the data object in the local cache; and sort the data object to obtain computation results, the computation results including data objects obtained after sorting; load the requested data from a local cache to a user interface (UI) of the current user interface program on the mobile terminal by a main thread of the current user interface program based on results from the data computation; and display on the mobile terminal by the main thread of the current user interface program, the loaded requested data.

Plain English Translation

A mobile terminal includes a processor configured to process data requests. When a user wants to view a folder's data, the processor initiates a sub-thread to scan the folder. The sub-thread creates data objects for the found files and stores them in a local cache, then sorts them. The main thread then loads the sorted data from the cache and displays it on the user interface. This offloads the intensive directory scanning and sorting to a background thread to keep the UI responsive.

Claim 12

Original Legal Text

12. The mobile terminal as defined in claim 11 , wherein the processor is further configured to: initiate timing; determine whether a traversing process has ended when the timing duration reaches a preset threshold value; and if the determination is yes, stop timing; if the determination is no, call the main thread of the current user interface program, and output progress prompt information in the main thread of the current user interface program.

Plain English Translation

The mobile terminal described previously with sub-thread processing also features a timing mechanism during the data traversal. The processor starts a timer and checks if the traversal is completed before a preset threshold. If so, the timer stops. If not, the processor calls the main thread to display a progress update to the user. This ensures the user knows the device is working and prevents the UI from appearing frozen during long directory scans.

Classification Codes (CPC)

Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.

Patent Metadata

Filing Date

January 10, 2014

Publication Date

April 11, 2017

Want to explore more patents?

Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.

Citation & reuse

Analysis on this page is generated by Patentable — an AI-powered patent intelligence platform. AI-generated summaries, explanations, FAQs, and analysis may be reused with attribution and a visible link back to the canonical URL below. Patent abstracts and claims are USPTO public domain.

Cite as: Patentable. “Data processing method, apparatus and mobile terminal” (US-9619275). https://patentable.app/patents/US-9619275

© 2026 Nomic Interactive Technology LLC. Machine-readable context available at /api/llm-context/US-9619275. See llms.txt for full attribution policy.