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

Resource packaging method and device, server and storage medium

A resource and resource-dependent technology, applied in instruments, sports accessories, electrical digital data processing, etc., can solve the problems of wasting time in calling resources and unreasonable resource packaging methods, so as to improve calling efficiency, save resource calling time, and improve technology. effect of effect

Active Publication Date: 2020-03-24
米哈游科技(上海)有限公司
View PDF7 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] For games with huge resources, the types of resources required are relatively large, and the processing of various dependencies between resources and the time consumption of packaging are a big problem. At the same time, when calling packaged resources, due to the unreasonable way of resource packaging , leading to technical problems of wasting time in calling 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
  • Resource packaging method and device, server and storage medium
  • Resource packaging method and device, server and storage medium
  • Resource packaging method and device, server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] figure 1 It is a schematic flow chart of a resource packaging method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where each resource is packaged in advance. The method can be executed by a resource packaging device, which can use software and / or It is realized in the form of hardware, and the hardware may be an electronic device, optionally, a PC terminal, a mobile terminal, and the like.

[0030] Such as figure 1 , the method of this embodiment includes:

[0031] S110. Based on the identification information corresponding to each resource, determine a resource dependency relationship between each resource.

[0032] In order to clearly introduce the technical solution of this embodiment, the resource processing corresponding to a 3D video game may be used as an example for introduction.

[0033] Among them, Unity is a multi-platform comprehensive game development tool developed by Unity Technologies for creating i...

Embodiment 2

[0052] On the basis of the above technical solution, the preset rule can be based on resource dependencies, packaging resources with a single dependency relationship together, and then merging and packaging to obtain a combined package file, or packaging each resource separately, Multiple packaged files are obtained, and packaged files with exactly the same dependencies are combined and packaged according to the resource dependencies to obtain multiple combined packaged files. Figure 4 It is another schematic flowchart of a resource packaging method provided in Embodiment 4 of the present invention. Such as Figure 4 As shown, the methods include:

[0053] S410. Based on the identification information corresponding to each resource, determine the resource dependency between each resource.

[0054] Wherein, since there is a certain dependency relationship among the various resources, the identification information is used to represent the resource dependency relationship bet...

Embodiment 3

[0064] Figure 5 It is a schematic structural diagram of a resource packaging device provided by Embodiment 3 of the present invention, and the device includes: a resource dependency determining module 510 , a package file determining module 520 and a package file merging module 530 .

[0065] Among them, the resource dependency determination module 510 is used to determine the resource dependency relationship between each resource based on the identification information corresponding to each resource; the package file determination module 520 is used to package each resource according to a preset rule, and obtain A plurality of packaged files; wherein, the packaged file includes at least one resource; the packaged file merging module 530 is configured to combine packaged files with identical dependencies based on resource dependencies to obtain a combined packaged file.

[0066] According to the technical solution of the embodiment of the present invention, the resource depen...

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 packaging method and device, a server and a storage medium. The resource packaging method comprises the steps: determining the resource dependencerelation among all resources based on the identification information corresponding to all resources; packaging each resource according to a preset rule to obtain a plurality of packaged files, whereinthe packaging file comprises at least one resource; and based on the resource dependency relationship, combining the packaged files with the completely same dependency relationship to obtain a combined packaged file. The technical scheme solves the problem that for games with huge resources, when each resource is packaged, more time is consumed, and when the packaged resources are called, due tothe fact that the resource packaging mode is unreasonable, more useless resources are called, and memory occupation exists, and time is wasted, so that all the resources are reasonably packaged, and then the technical effects of improving the resource calling efficiency, saving the resource calling time and improving the user experience are achieved when the resources are called.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of video game development, and in particular to a resource packaging method, device, server and storage medium. Background technique [0002] Unity is a multi-platform comprehensive game development tool developed by Unity Technologies for creating interactive content such as 3D video games, architectural visualization, and real-time 3D animation. It is a fully integrated professional game engine. [0003] In view of the limitations of the operating platform and Unity itself, Unity resources are generally packaged as AssetBundles for dynamic updating and loading. Unity resources refer to the elements used to generate scenes and various objects in the scenes, such as model texture materials, scene source files, plug-ins, etc. Asset bundle is a function provided by Unity Pro, which can encapsulate multiple game objects or resource binary files into Asset bundle, and provides methods ...

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/658A63F13/69
CPCG06F8/658A63F13/69Y02P90/30
Inventor 王志远
Owner 米哈游科技(上海)有限公司