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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


