Method and system for realizing flash player resource loading by using object pool
An object pool and player technology, applied in resource allocation, program loading/starting, instruments, etc., can solve problems affecting the loading speed of Flash players, long waiting time for resource loading, unreasonable use of memory, etc., to avoid the risk of overflow , Reasonable use of memory and the effect of reducing CPU usage
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0024] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0025] see figure 1 As shown, the embodiment of the present invention provides a method for utilizing an object pool to realize resource loading of a Flash player, comprising the following steps:
[0026] Step S1: When initializing the Flash player program, create an object pool dictionary, which is used to store loaded resource objects; at the same time, set the maximum capacity of the object pool dictionary, and turn to step S2.
[0027] In this embodiment, the object pool dictionary uses key-value pairs (key-value) to store objects of resources that have been loaded; wherein, the name of the loaded resource is used as the key, and the name of the loaded resource is used as the key. The object object is used as the value, and the object object of the loaded resource has three attributes: resource data data, resource data usage time...
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