Optimization method of network resource uploading based on buffer and asynchronous mechanism
A network resource and optimization method technology, applied in data exchange network, telephone communication, digital transmission system, etc., can solve the phenomenon of stuck or even UI deadlock, network transmission delay, UI thread stuck or even UI deadlock, etc. problem, to achieve the effect of preventing stuck
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0014] An optimization method for loading network resources based on caching and asynchronous mechanisms, constructing asynchronous and synchronous thread pools in the Android system of mobile devices, using the asynchronous thread pool to arrange tasks, using the synchronous thread pool to execute tasks, and storing the generated data in memory , and save the generated file to the SD card.
[0015] Use the asynchronous thread pool to queue tasks, add tasks to the queue during processing, and then automatically start these tasks after creating threads. Each thread uses the default stack size and runs at the default priority.
[0016] Use the THREAD_POOL_EXECUTOR asynchronous thread method of AsyncTask in the Android system to perform asynchronous thread pool arrangement tasks.
[0017] Using the SERIAL_EXECUTOR synchronization thread method of AsyncTask in the Android system to execute tasks in the synchronization thread pool, SERIAL_EXECUTOR adds a collection of mTasks on the...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com