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

Optimizing the method of Unity's ab package

A clustering algorithm and resource technology, applied in the field of computer games, can solve problems such as waste, frame rate drop, and player experience

Active Publication Date: 2022-04-05
ZHUHAI KINGSOFT ONLINE GAME TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The AB package typed according to one or more of the above combinations, since the unit loaded by unity is the AB package, if the subcontracting is unreasonable, the resources loaded in the memory will not be used, resulting in waste and making The memory is too high, and it may also cause frequent loading and unloading of AB packages based on memory limitations, which will reduce the frame rate and reduce the player 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
  • Optimizing the method of Unity's ab package
  • Optimizing the method of Unity's ab package
  • Optimizing the method of Unity's ab package

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment approach

[0023] based on figure 1 As shown in the flow process, the present invention proposes the following specific implementation methods, including:

[0024] Step 1: Use injection technology to inject the monitoring program into the target mobile game to collect information;

[0025] Step 2: The injected program will send the resource loading / unloading resource information to the server to write in the log when the related interface of loading and unloading resources in the game is called;

[0026] Step 3: Use automatic or manual methods to open the game to play, and the background will collect resource loading and unloading information;

[0027] Step 4: After the game is over, analyze the resource loading / unloading schedule collected by the server, set the resource loading time to X, and set the unloading time to Y, we can get a two-dimensional distribution map, each point represents them life cycle;

[0028] Step 5: Use a clustering algorithm (such as Kmeans) to reallocate exi...

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 present invention provides a method for optimizing Unity to pack AB packages. The method includes: obtaining a timetable for installing and uninstalling game resources through a monitoring interface for the target game program; generating a corresponding timetable according to the timetable for installing and uninstalling game resources. Two-dimensional charts are displayed through the interactive interface; clustering methods are used to generate corresponding clustering results according to the installation and uninstallation schedule of game resources; a better packaging method can be obtained by using the clustering results as packaging rules. The invention has the beneficial effects of: improving resource usage and reducing game memory occupation.

Description

technical field [0001] The invention belongs to the field of computer games, and in particular relates to a method for optimizing Unity to pack AB packages. Background technique [0002] AB package is the abbreviation of asset bundle package. [0003] When the current Unity packs the AB package, there are generally the following options: [0004] 1. Subcontract according to resource dependencies [0005] 2. Subcontract according to the resource folder [0006] 3. Subcontract according to resource type [0007] 4. Subcontract according to the clustering of resource timing [0008] The AB package typed out according to one or more of the above combinations, since the unit loaded by unity is the AB package, if the subpackage is unreasonable, the resources loaded in the memory will not be used, resulting in waste and making Insufficiently high memory may also cause frequent loading and unloading of AB packages based on memory limitations, which will reduce the frame rate an...

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/70A63F13/60G06K9/62
CPCG06F8/70A63F13/60G06F18/24323
Inventor 孙亚文曹青潘亚楠杨明邦
Owner ZHUHAI KINGSOFT ONLINE GAME TECH CO LTD