Unlock instant, AI-driven research and patent intelligence for your innovation.

Flash-based public resource loading method and device

A technology of public resources and loading devices, applied in the field of information processing, can solve problems such as consumption, large memory, resource waste, etc., and achieve the effect of saving memory resources and improving resource utilization

Active Publication Date: 2018-09-11
WUHAN DOUYU NETWORK TECH CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, resources are loaded through the loader object and then stored in the memory for processing. However, the public resource is a dependency of the entire Flash application. Simply put, these public resources are resources that must be used, and their life cycle is from the program. From the start to the end, load resources through the loader object and then store the loader object in the memory for processing. This method will consume a lot of memory, resulting in a waste of resources

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Flash-based public resource loading method and device
  • Flash-based public resource loading method and device
  • Flash-based public resource loading method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0046] The terms "first", "second" and the like (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects and not necessarily to describe a specific order or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Embodiments of the invention disclose a Flash-based public resource loading method and device. The method includes obtaining information of a to-be-loaded target file; creating a first-class object; loading the target file through the first-class object in the form of binary data to obtain binary data; loading the binary data through a preset second-class object, and unloading the second-class object after the loading is completed; and obtaining the binary data through a Flash parent domain. The second-class object used for loading public resource files is unloaded and destroyed after the public resources are loaded in the Flash parent domain in a domain loading manner, and therefore, memory resources can be saved, and resource utilization rates can be enhanced.

Description

technical field [0001] The present invention relates to the technical field of information processing, in particular to a Flash-based public resource loading method and device. Background technique [0002] In Flash development, we often use various resources, which must be loaded before they can be used in Flash. At present, resources are loaded through the loader object and then stored in the memory for processing. However, the public resource is a dependency of the entire Flash application. Simply put, these public resources are resources that must be used, and their life cycle is from the program. From the start to the end, loading resources through the loader object and then storing the loader object in memory for processing will consume a lot of memory, resulting in a waste of resources. Contents of the invention [0003] The embodiment of the present invention provides a Flash-based public resource loading method and device, which avoids waste of memory resources a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/61
CPCG06F9/44578
Inventor 施杨
Owner WUHAN DOUYU NETWORK TECH CO LTD