Resource-bundle obtaining method and device, equipment and computer readable storage medium

A technology for obtaining resources and computers, which is applied in the Internet field, can solve the problems of resource package redundancy, resource package redundancy, etc., and achieve the effects of reducing the number of redundant resources, improving resource loading speed, and reducing memory consumption

Active Publication Date: 2018-09-14
SHENZHEN TENCENT NETWORK INFORMATION TECH CO LTD
View PDF15 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the above-mentioned first method, since resource dependencies are generally tree-like, resources with cross-dependencies may come from resources corresponding to the same parent node. When two resources with cross-dependencies come from resources corresponding to the same parent node resources, the resource package obtained accordingly has redundant resources; in the second method above, in the method of classification and then dependency analysis, the resources that different types of resources depend on will be repeated, resulting in the acquisition of The resource pack will also have greater redundancy

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
  • Resource-bundle obtaining method and device, equipment and computer readable storage medium
  • Resource-bundle obtaining method and device, equipment and computer readable storage medium
  • Resource-bundle obtaining method and device, equipment and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] In order to make the objectives, technical solutions and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0038] With the development of Internet technology, there are more and more types of game applications relying on the Internet. When a game application performs resource update, it is necessary to obtain a resource package to be used. When acquiring resource bundles, it is necessary to determine which resources are used as resource bundles individually, and which resources do not need to be used as resource bundles individually, but generate a resource bundle together with the resources they depend on. In practical applications, if the resources in the resource pack are redundant, more memory will be consumed, and the more resources in the resource pack, the more resources will be required for resource matching and resource loading when game a...

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 resource-bundle obtaining method and device, equipment and a computer readable storage medium. The resource-bundle obtaining method includes the steps thatto-be-processed resources are layered according to the resource type, and at least one layer of layered result is obtained; resource dependency relationships between the layered results are recorded,at least one dependency relationship tree is obtained, and each node in the dependency relationship tree corresponds a resource; redundancy resources in the dependency relationship tree are deleted, and an optimized dependency relationship tree is obtained; resource bundles are obtained according to resources in the optimized dependency relationship tree. After the to-be-processed resources are layered according to the resource type, and the resource dependency relationships between the layered results are recorded to obtain the dependency relationship tree, the redundancy resources in the dependency relationship tree are deleted, the quantity of the redundancy resources in the obtained resource bundles can be decreased, the resource loading speed is thus increased, and memory consumptionis reduced.

Description

technical field [0001] Embodiments of the present invention relate to the field of Internet technologies, and in particular, to a method, apparatus, device, and computer-readable storage medium for acquiring a resource package. Background technique [0002] With the development of Internet technology, there are more and more types of game applications relying on the Internet. When a game application performs resource update, it is necessary to obtain a resource package to be used. [0003] In the related art, two methods are generally used to obtain resource packages: in the first method, the resources to be processed are collected, and it is judged whether there is a cross-dependency of resources among the resources, and if so, the cross-dependent resources are extracted to generate a resource package; In the second method, the resources to be processed are classified, and then the dependency relationship is analyzed for each category, and the resource package is obtained 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/658G06F9/445H04L29/08
CPCH04L67/34G06F8/658G06F9/44521G06F9/44578Y02D30/50
Inventor 熊家明龚亮
Owner SHENZHEN TENCENT NETWORK INFORMATION 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