A resource loading method and system for a flash player

A player and resource technology, applied in the direction of program loading/starting, instrumentation, computing, etc., can solve the problems of prolonging the loading time of Flash players, users needing a lot of time to wait, and high CPU usage, so as to shorten the waiting time and shorten the loading Time, the effect of reducing the occupancy rate

Active Publication Date: 2019-05-17
WUHAN DOUYU NETWORK TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, when the existing Flash player is initialized, it will load all the art resources and memory resources that may be used during initialization and use at one time. The CPU usage is too high, which prolongs the loading time of the Flash player, that is, the user needs a lot of time to wait, which reduces the user experience

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 resource loading method and system for a flash player

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.

[0023] see figure 1 As shown, the resource loading method of the Flash player in the embodiment of the present invention comprises the following steps:

[0024] S1: Compress all resource files (such as jpg, mp3, xml, etc.) required by the Flash player during initialization and use (initialization first, use later), all resource files include several art resource files and some memory resources Files (art resource files and memory resource files appearing at present and below are all in the form of compressed packages), go to S2.

[0025] S2: According to the effect or function, divide all art resource files into at least 2 art resource loading files, and form each memory resource file into a memory resource loading module (that is, the code about class B resources in the Flash player project code written in modules), go to S3.

[0026] S3: ...

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 invention discloses a resource loading method and system of a Flash player, and relates to the field of resource loading of the Flash player. The method comprises the following steps: compressing a required resource file of the Flash player in an initializing process; forming a configuration file P1 based on loading addresses of all art resource files; forming a configuration file based on module names of all memory resource loading modules; during initializing of the Flash player, loading all the art resource files in P1; instantiating each memory resource loading module in P2; establishing a resource pool dictionary, and interpolating loaded resource names; and when the resource file is needed to be loaded for the Flash player in the subsequent stage, and if the resource file is not included in the resource pool dictionary, loading the resource file. The method can reduce the number of loaded resource files in the initializing process of the Flash player; and by the association with all the loaded art resource files, the user experience is enhanced.

Description

technical field [0001] The invention relates to the field of resource loading of Flash players, and relates to a method and system for loading resources of Flash players. Background technique [0002] The Flash player is an exe executable program used to play local swf format files (vector-based Flash animation files). Most of the resources loaded by the Flash player are art resources (such as pictures, animations, etc.) and memory resources occupied by the program after initialization. [0003] At present, when the existing Flash player is initialized, it will load all the art resources and memory resources that may be used during initialization and use at one time. This makes the CPU usage rate too high and prolongs the loading time of the Flash player, that is, the user needs to wait a lot of time, which reduces the user experience. Contents of the invention [0004] Aiming at the defects existing in the prior art, the technical problem solved by the present invention...

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): G06F9/445
CPCG06F9/44521
Inventor 潘龙
Owner WUHAN DOUYU NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products