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

A method and device for loading public resources based on flash

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: 2021-07-23
WUHAN DOUYU NETWORK TECH CO LTD
View PDF3 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
  • A method and device for loading public resources based on flash
  • A method and device for loading public resources based on flash
  • A method and device for loading public resources based on flash

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

The embodiment of the invention discloses a Flash-based public resource loading method and device. The method in the embodiment of the present invention includes: acquiring information of the target file to be loaded; creating a first type of object; loading the target file in the form of binary data through the first type of object to obtain binary data; through the preset second type of object The binary data is loaded, and the second type of object is unloaded after the loading is completed; the binary data is obtained through the Flash parent domain. In the embodiment of the present invention, after the public resource is loaded into the Flash parent domain by domain loading, the second type of object used to load the public resource file is unloaded and destroyed, which saves memory resources and improves resource utilization.

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 Patents(China)
IPC IPC(8): G06F8/61
CPCG06F9/44578
Inventor 施杨
Owner WUHAN DOUYU NETWORK TECH CO LTD