CN108536463B - Method, device and equipment for acquiring resource package and computer readable storage medium - Google Patents

Method, device and equipment for acquiring resource package and computer readable storage medium Download PDF

Info

Publication number
CN108536463B
CN108536463B CN201810310615.2A CN201810310615A CN108536463B CN 108536463 B CN108536463 B CN 108536463B CN 201810310615 A CN201810310615 A CN 201810310615A CN 108536463 B CN108536463 B CN 108536463B
Authority
CN
China
Prior art keywords
resource
dependency
tree
resources
dependency relationship
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810310615.2A
Other languages
Chinese (zh)
Other versions
CN108536463A (en
Inventor
熊家明
龚亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Tencent Network Information Technology Co Ltd
Original Assignee
Shenzhen Tencent Network Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Tencent Network Information Technology Co Ltd filed Critical Shenzhen Tencent Network Information Technology Co Ltd
Priority to CN201810310615.2A priority Critical patent/CN108536463B/en
Publication of CN108536463A publication Critical patent/CN108536463A/en
Application granted granted Critical
Publication of CN108536463B publication Critical patent/CN108536463B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/658Incremental updates; Differential updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44568Immediately runnable code
    • G06F9/44578Preparing or optimising for loading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Abstract

The embodiment of the invention discloses a method, a device and equipment for acquiring a resource packet and a computer readable storage medium. The method comprises the following steps: layering the resources to be processed according to the resource types to obtain at least one layer of layering results; recording the resource dependency relationship among the layering results to obtain at least one dependency relationship tree, wherein each node in the dependency relationship tree corresponds to one resource; deleting redundant resources in the dependency relationship tree to obtain an optimized dependency relationship tree; and acquiring the resource package according to the optimized resources in the dependency relationship tree. The resources to be processed are layered according to the resource types, the dependency relationship among the layering results is recorded to obtain the dependency relationship tree, and then the redundant resources in the dependency relationship tree are deleted, so that the number of the redundant resources in the obtained resource package can be reduced, the resource loading speed is increased, and the memory consumption is reduced.

Description

Method, device and equipment for acquiring resource package and computer readable storage medium
Technical Field
The embodiment of the invention relates to the technical field of internet, in particular to a method, a device and equipment for acquiring a resource package and a computer readable storage medium.
Background
With the development of internet technology, the types of game application programs depending on the internet are more and more, and when resource updating is performed on the game application programs, resource packages used by the game application programs need to be acquired.
When the related art obtains the resource packet, two methods are generally adopted: in the first mode, resources to be processed are collected, whether resource cross dependence occurs among the resources is judged, and if the resource cross dependence occurs among the resources, the cross dependence resources are extracted to generate a resource packet; in the second mode, the resources to be processed are classified, dependency analysis is performed for each class, and a resource package is obtained according to the analysis result.
In the first mode, because the dependency relationship of the resources is generally tree-shaped, the resources with the cross dependency relationship may be from the resources corresponding to the same parent node, and when two resources with the cross dependency relationship are from the resources corresponding to the same parent node, the resource package obtained according to the above has redundant resources; in the second manner, in the manner of analyzing the dependency relationship after classification, resources dependent on resources of different classes may be repeated, so that the resource packet obtained by the second manner may also have greater redundancy.
Disclosure of Invention
The embodiment of the invention provides a method, a device and equipment for acquiring a resource package and a computer readable storage medium, which can be used for solving the problems in the related art. The technical scheme is as follows:
in one aspect, an embodiment of the present invention provides a method for acquiring a resource packet, where the method includes:
layering the resources to be processed according to the resource types to obtain at least one layer of layering results;
recording the resource dependency relationship among the layering results to obtain at least one dependency relationship tree, wherein each node in the dependency relationship tree corresponds to one resource;
deleting redundant resources in the dependency relationship tree to obtain an optimized dependency relationship tree;
and acquiring a resource package according to the resource in the optimized dependency relationship tree.
In one aspect, an apparatus for acquiring a resource package is provided, the apparatus including:
the layering module is used for layering the resources to be processed according to the resource types to obtain at least one layer of layering results;
a recording module, configured to record a resource dependency relationship between the hierarchical results to obtain at least one dependency relationship tree, where each node in the dependency relationship tree corresponds to a resource;
the deleting module is used for deleting the redundant resources in the dependency tree to obtain an optimized dependency tree;
and the obtaining module is used for obtaining the resource package according to the resource in the optimized dependency relationship tree.
In one aspect, a computer device is provided, which includes a processor and a memory, where at least one instruction, at least one program, a set of codes, or a set of instructions is stored in the memory, and when executed by the processor, the at least one instruction, the at least one program, the set of codes, or the set of instructions implements the method for acquiring a resource package described above.
In one aspect, a computer-readable storage medium is provided, in which at least one instruction, at least one program, a set of codes, or a set of instructions is stored, which when executed, implements the above-mentioned method for acquiring a resource package.
The technical scheme provided by the embodiment of the invention can bring the following beneficial effects:
the resources to be processed are layered according to the resource types, the dependency relationship among the layering results is recorded to obtain the dependency relationship tree, and then the redundant resources in the dependency relationship tree are deleted, so that the number of the redundant resources in the obtained resource package can be reduced, the resource loading speed is increased, and the memory consumption is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic illustration of an implementation environment provided by an embodiment of the invention;
fig. 2 is a flowchart of a method for acquiring a resource package according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a preset dependency relationship according to an embodiment of the present invention;
FIG. 4A is a flowchart of recording resource dependencies among layered results according to an embodiment of the present invention;
FIG. 4B is a diagram illustrating a layering result provided by an embodiment of the present invention;
FIG. 5 is a schematic diagram of a dependency tree according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a dependency tree according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a dependency tree according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of a dependency tree according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a process for acquiring a resource package according to an embodiment of the present invention;
FIG. 10 is a schematic diagram of a resource update prompt and a resource update download according to an embodiment of the present invention;
fig. 11 is a schematic diagram illustrating effects before and after a resource update according to an embodiment of the present invention;
fig. 12 is a schematic diagram of an apparatus for acquiring a resource package according to an embodiment of the present invention;
fig. 13 is a schematic diagram of an apparatus for acquiring a resource package according to an embodiment of the present invention;
fig. 14 is a schematic structural diagram of an apparatus for acquiring a resource package according to an embodiment of the present invention;
fig. 15 is a schematic structural diagram of an apparatus for acquiring a resource package according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
With the development of internet technology, the types of game application programs depending on the internet are more and more, and when resource updating is performed on the game application programs, resource packages used by the game application programs need to be acquired. When the resource package is obtained, it needs to determine which resources are individually used as the resource package according to the dependency relationship, and which resources are not individually used as the resource package, but generate a resource package together with the resources that they depend on. In practical application, if the resources in the resource packet are redundant, a larger memory is consumed, and the more the resources in the resource packet are, when the game application program is started, more time is required for resource matching and resource loading, so how to acquire the resource packet becomes a key for influencing the performance of the application program.
To this end, an embodiment of the present invention provides a method for acquiring a resource package, please refer to fig. 1, which illustrates a schematic diagram of an implementation environment of the method according to the embodiment of the present invention. The implementation environment may include: a terminal 11 and a server 12.
Among them, the terminal 11 is installed with an application client, for example, a game-type application client or the like. When the client of the application program is started, resources of the application program can be obtained from the server 12 through the terminal 11, and the resources include, but are not limited to, materials and data required by some games. After the terminal 11 obtains the resources, the game interface can be displayed accordingly, and some information can be displayed through the game interface.
The server 12 is used for storing resources of the application program, and when the terminal 11 requests to acquire the resources, such as at the time of resource update, acquires a resource package and transmits it to the terminal 11. When detecting that there is a resource update, the terminal 11 may obtain and display resource information (such as an updated resource size, etc.), and after obtaining the update instruction, download the resource package, thereby providing a service through the downloaded resource package. The server 12 may directly obtain the resource package by using the method provided in the embodiment of the present invention when obtaining the resource package, or may obtain the resource package from another terminal or another server by using the server 12 after another terminal or another server obtains the resource package according to the method provided in the embodiment of the present invention.
In practice, the terminal 11 shown in fig. 1 may be an electronic device such as a mobile phone, a tablet computer, a personal computer, and the like. The server 12 may be a server, a server cluster composed of a plurality of servers, or a cloud computing service center. The terminal 11 establishes a communication connection with the server 12 through a wired or wireless network.
Based on the above-mentioned implementation environment shown in fig. 1, the method for acquiring a resource package according to the embodiment of the present invention may be as shown in fig. 2, for example, the method is applied to the server 12 in the implementation environment shown in fig. 1. As shown in fig. 2, the method provided by the embodiment of the present invention may include the following steps:
in step 201, the resources to be processed are layered according to the resource types to obtain at least one layered result.
The resource types include, but are not limited to, the following:
prefab: the prefabricated part is a resource type with a resource format of prefab;
FBX: model, resource format is.fbx;
a Controller: the animation controller has a resource format of controller;
font: a font;
animation: animation, the resource format is anim;
material: the texture is used for representing the texture on the game object, and the resource format is mat;
texture: texture, picture resource, and common resource formats are png,. jpg,. tga;
shader: the shader is used for performing processing such as shading on the object, and the resource format is a shader;
when the resource is updated, the server can acquire the resource which is needed to be used currently, and package the resource as the resource to be processed, namely acquire the resource packet. In one embodiment, the resources that are currently needed for use may be edited by a developer and uploaded to a server. In order to reduce the resource redundancy in the acquired resource package, firstly, the resources to be processed are layered according to the resource types to obtain a layering result, and then, the resources are analyzed according to the layering result, so that which resources are acquired as the resource package are determined.
In an embodiment, in order to further reduce the number of redundant resources in an acquired resource package, the method provided in the embodiment of the present invention performs layering on resources to be processed according to resource types, and after a layering result is obtained, further includes a process of screening the obtained layering result, thereby obtaining a screened layering result.
For example, after layering the resources to be processed according to the resource types, the resources such as Controller, Animation, or Material may not be used as the resources in the acquired resource package, but only the resources such as Prefab, font, and texture may be acquired, that is, the resources such as Prefab, font, and texture may be used as the layering result after the screening, thereby reducing the number of resources in the resource package. Of course, for such screening, attention is subsequently paid to the timing of the resource package and the push (push), pop (pop) relationship.
In step 202, the resource dependency relationship between the hierarchical results is recorded to obtain at least one dependency relationship tree, where each node in the dependency relationship tree corresponds to a resource.
In implementation, recording the resource dependency relationship between the layering results, including but not limited to determining the first-layer resource in the layering results according to the dependency relationship, and taking the first-layer resource as a root node in a dependency relationship tree; and traversing the dependent resources of each layer of resources from the root node, and recording the resource dependency relationship among the layering results according to the traversal result to obtain at least one dependency relationship tree.
The dependency relationship may be preset, or may be determined according to an actual situation when the method for acquiring the resource package is implemented, which is not limited in the embodiment of the present invention. For ease of understanding, the dependency relationships can be as shown in FIG. 3, again taking as examples the resource types including Prefab, FBX, Controller, Font, Animation, Material, Texture, Shader. As can be seen from fig. 3, Prefab (Prefab resource) depends on several types of resources, i.e., FBX (model resource), Controller (Animation Controller resource), Font (Font resource), Controller (Animation Controller resource) depends on Animation resource), Animation resource depends on Material (Texture resource), and Material depends on two types of resources, i.e., Texture resource and Shader resource.
Next, for convenience of understanding, the process of obtaining the dependency tree will be described by taking the flow of recording the resource dependency between the hierarchical results shown in fig. 4A as an example. According to the dependency relationship shown in fig. 3, Prefab is the first-layer resource, and among the acquired resources to be processed, the resource with the resource type Prefab is used as the root node of the dependency relationship tree, and the number of Prefab resources determines the number of the dependency relationship tree. For ease of understanding, A, B, C, D, E, F, G, J, M, N, Z shown in FIG. 4B is used as an example. A, B, C is a resource of a prefabricated part, and is positioned at the first layer of the resource dependency relationship shown in FIG. 3; F. e is animation resources, located in the third layer of the resource dependency relationship shown in FIG. 3; D. m, N are material resources, located at the fourth level of resource dependency shown in FIG. 3; G. z, K is a texture resource, located at the fifth level of the resource dependency shown in FIG. 3.
Next, taking the dependency tree of FIG. 5 as an example, both resource A, B and C are root nodes. After determining each root node, traversing the dependent resources of each layer of resources from the root node, judging whether the current layer has the dependent resources, if so, traversing all the resources of the current layer, collecting the dependent relationship, adding 1 to the layer number after traversing one layer, continuously traversing the next layer, and recording the layer where each resource is located and the dependent relationship. And recording the resource dependency relationship among the hierarchical results according to the traversal results to obtain at least one dependency relationship tree.
Taking the example that the resource A starts to traverse, the resource A has dependent resources D, F and K, and then respective dependent relationships of D, F and K are collected respectively, so that G is dependent on D, and M is dependent on F. And then, respectively collecting respective dependency relations of G and M to obtain Z-dependent and G-independent resources. After the traversal is finished, the dependency relationship of each resource is obtained after the resource is sorted according to the layers, and the dependency relationship tree established according to the dependency relationship of each resource is the dependency relationship tree with a as a root node as shown in fig. 5.
The above process of traversing from the resource a is only exemplified, and for the reason that the traversing process of the resources B and C corresponding to the root node in fig. 5 is consistent with the traversing process of the resource a, the embodiment of the present invention is not described in detail herein. After obtaining each dependency tree, in order to facilitate subsequent resource package acquisition, the method provided by the embodiment of the present invention records each resource in a dependency list according to the dependency, and marks a layer number.
It should be noted that, for the case that the same resource is in different dependency trees, the number of layers corresponding to the resource is kept consistent. As shown in fig. 5, the layer where each root node is located is the first layer, and for the resource Z, the layer is the fifth layer in the dependency tree where the resource a and the resource B are located.
In one embodiment, if the obtained hierarchical results are filtered in step 201, this step includes, but is not limited to, when recording the resource dependencies between the hierarchical results: and recording the resource dependency relationship among the screened layering results to obtain at least one dependency relationship tree. For example, based on the dependency relationship, the resource dependency relationship between the screened hierarchical results is recorded according to the dependency relationship, and the implementation process thereof is the same as the process principle of recording the resource dependency relationship between the non-screened hierarchical results, which is not described in detail herein in the embodiments of the present invention.
Further, no matter whether the hierarchical result is screened or not, after the dependency tree is obtained, in order to further reduce the redundant resources of the resource package, the subsequent step of deleting the redundant resources can be performed.
In step 203, the redundant resources in the dependency tree are deleted, and an optimized dependency tree is obtained.
In one implementation, the deletion of redundant resources in the dependency tree is performed, including but not limited to: determining a single dependent resource in the dependency relationship tree, wherein the single dependent resource refers to a resource which is dependent by only one resource; and deleting the single dependent resource in the dependency tree. The dependency relationship tree obtained after deletion can be directly used as the optimized dependency relationship tree, so that the resource package is obtained accordingly. Of course, optimization can also be continued, as detailed in the subsequent process.
For convenience of understanding, taking the dependency relationship tree shown in fig. 5 as an example, and taking the process of deleting redundant resources as shown in fig. 6 as an example, for the dependency relationship tree where the resource a is located, since the resource M is only dependent on the resource F, the resource F is only dependent on the resource a, and the resource K is also only dependent on the resource a, the resource M, the resource F, and the resource K are all single dependent resources. For the dependency relation tree where the resource B is located, the resource N is only depended on by the resource E, and the resource E is only depended on by the resource B, so the resource N and the resource E are also single dependent resources. After deleting the single dependent resource in each dependency tree, the dependency tree shown on the right side of fig. 6 is obtained. It can be seen that the number of resources before and after deletion is significantly reduced, thereby removing redundant resources, and the obtained resource packet has less redundant resources, thereby increasing the resource loading speed and reducing the memory consumption.
In another embodiment, after deleting the single dependent resource in the dependency tree, the method further includes: and carrying out duplicate removal on the same resources depended by the same resource in the single dependency relationship tree, wherein the number of the same resources is at least two. The dependency tree obtained after the deduplication can be directly used as the optimized dependency tree, so that the resource package is obtained accordingly. Of course, optimization can also be continued, as detailed in the subsequent process.
For ease of understanding, the process of further deleting redundant resources based on the dependency tree shown on the right side of fig. 6 is illustrated in fig. 7 as an example. In fig. 7, for the dependency tree where the resource B is located, because both the resources Z are depended on by the resource B, that is, two resources Z in a single dependency tree are the same resource depended on by the same resource B, the two resources Z are deduplicated, that is, redundant same resources are deleted, and only one resource is reserved, so that the dependency tree shown on the right side of fig. 7 is obtained, thereby achieving the purpose of further reducing resource redundancy.
In another embodiment, after performing deduplication on the same resource that depends on the same resource and exists in the same dependency tree, the method further includes: and when any resource is depended on by the same resource in at least two dependency trees, deleting the any resource from the at least two dependency trees. The dependency relationship tree obtained after deletion can be directly used as the optimized dependency relationship tree, so that the resource package is obtained accordingly. Of course, optimization can also be continued, as detailed in the subsequent process.
For ease of understanding, the process of further deleting redundant resources based on the dependency tree shown on the right side of fig. 7 is illustrated in fig. 8 as an example. In fig. 8, the resource G is depended on by the resource D in both the dependency tree where the resource a is located and the dependency tree where the resource B is located, that is, the resource G is depended on by the same resource D in at least two dependency trees, so that the resource G is deleted from the at least two dependency trees to obtain the dependency tree shown on the right side of fig. 8.
In step 204, a resource package is obtained according to the resource in the optimized dependency tree.
After the optimized dependency tree is obtained by deleting the redundant resources from the dependency tree, the redundant resources in the resource packet obtained according to the operation are reduced, so that the loading speed can be increased, and the memory consumption can be reduced.
In order to further acquire the resource package according to the dependency relationship, the method provided by the embodiment of the present invention includes, but is not limited to, when acquiring the resource package according to the resource in the optimized dependency relationship tree, taking the following manners:
placing the resources in the optimized dependency tree into a resource sequence list according to the resource types; and sequentially storing the resources in the resource sequence list into a file format according to the sequence to obtain a resource package. In implementation, after optimization, some resources are deleted from the dependency tree, and the rest of resources are put in the resource sequence list according to the resource types. When the resources are sequentially saved in sequence, the sequence may be an increasing sequence of layers, and still taking the resource types shown in fig. 3 as an example, the first layer is a Prefab resource, the second layer is a Controller resource, the third layer is an Animation resource, the fourth layer is a Material resource, and the fifth layer is a Texture, Shader, Font, and FBX resource. When the files are stored in the file format in sequence according to the descending order of the layers, the files are stored according to the order of the fifth layer, the fourth layer, the third layer, the second layer and the first layer.
After layering according to the dependency sequence of the resource tree, when the resource package is obtained by packaging the resource, the dependency packaging is carried out according to the steps of stacking from the high-level resource and performing dependency packaging after first entering and then exiting, so that the low-level resource can completely depend on the high-level resource, and the resource redundancy can not occur; on the contrary, if the resources are not subjected to the dependency sequence hierarchical analysis, the resources are directly packaged, and the resource packages which are mutually dependent are redundant, so that the resource packages are increased, and the game running memory is increased.
Referring to fig. 9, in the process of obtaining the resource package, resource dependency layering is performed first, then single dependency is removed, then a single tree is removed, then nodes that are only depended on by the same parent node (that is, the nodes refer to resources that are depended on by the same resource in at least two dependency relationship trees) are deleted, and resources corresponding to the remaining nodes are packaged to obtain the obtained resource package.
After the server acquires the resource package according to the flow, the resource package can be provided for the terminal, so that the acquired resource package is applied to the game application program. For example, after a client on the terminal starts a game application program, the client compares whether a resource list on the server needs to be updated, and counts and displays the resource generation list needing to be updated. When the display is carried out, prompt information can be displayed on a display interface, in addition, updating options can be displayed, and each updating option corresponds to one instruction. And when a certain updating option is selected according to the detected selection operation, if an updating instruction is obtained, downloading the resource package to provide for loading and using of the local game application program.
Taking the display interface shown in fig. 10 as an example, the prompt information displayed on the display interface of the terminal is "find new resource, update package size is 49.8M, please update in the stable network," and includes two update options of "temporarily not update" and "immediately update", and if it is detected that the update option of "immediately update" is selected, the update instruction is obtained, so as to immediately download the resource package. If it is detected that the update option of "temporarily not updated" is selected, the update operation is not performed for the time being.
In an embodiment, in the process of downloading the resource package, in order to enable the user to know the downloading progress, the method provided by the embodiment of the present invention further supports a process of displaying the downloading progress. Still taking the presentation interface shown in fig. 10 as an example, when the operation of downloading the resource package is performed, the download progress "26%" may be presented in the form of a progress bar.
And after the resource package is downloaded, the terminal can load the resource package, so that the resource under the application program is updated. During loading, the resource packages can be synchronously loaded, namely, the resource packages are loaded after being downloaded; it is also possible to load asynchronously, i.e. load while downloading. Specifically, which loading manner is adopted is not limited in this embodiment of the present invention. After the loading is completed, the display interface before and after the resource update can be as shown in fig. 11. The flowerpot displayed in the display interface is changed before and after the resource is updated.
According to the method provided by the embodiment of the invention, the resources to be processed are layered according to the resource types, the resource dependency relationship among the layered results is recorded to obtain the dependency relationship tree, and the redundant resources in the dependency relationship tree are deleted, so that the number of the redundant resources in the acquired resource package can be reduced, the loading speed is further improved, and the memory consumption is reduced.
In addition, after the layering result is obtained, the layering result is screened, so that redundant resources can be further reduced, the loading speed is increased, and the memory consumption is reduced.
Based on the same concept as the method, referring to fig. 12, an embodiment of the present invention provides an apparatus for acquiring a resource package, configured to execute the method for acquiring a resource package, where the apparatus includes:
the layering module 121 is configured to layer resources to be processed according to resource types to obtain at least one layer of layering results;
a recording module 122, configured to record a resource dependency relationship between the hierarchical results to obtain at least one dependency relationship tree, where each node in the dependency relationship tree corresponds to a resource;
a deleting module 123, configured to delete the redundant resource in the dependency tree, so as to obtain an optimized dependency tree;
and an obtaining module 124, configured to obtain the resource package according to the resource in the optimized dependency tree.
In one implementation, the deleting module 123 is configured to determine a single dependent resource in the dependency tree, where the single dependent resource is a resource that is dependent on by only one resource; and deleting the single dependent resource in the dependency tree.
In one implementation, the deleting module 123 is further configured to deduplicate the same resource that is depended on by the same resource in a single dependency tree, where the number of the same resource is at least two.
In one implementation, the deleting module 123 is further configured to delete any resource from the at least two dependency trees when the resource is depended on by the same resource in the at least two dependency trees.
In an implementation manner, the recording module 122 is configured to determine a first-layer resource in a layering result according to a dependency relationship, and use the first-layer resource as a root node in the dependency relationship tree; and traversing the dependent resources of each layer of resources from the root node, and recording the resource dependency relationship among the layering results according to the traversal result to obtain at least one dependency relationship tree.
In an implementation manner, the obtaining module 124 is configured to put the resources in the optimized dependency tree into a resource order list according to resource types; and sequentially storing the resources in the resource sequence list into a file format according to the sequence to obtain a resource package.
In one implementation, referring to fig. 13, the apparatus further comprises:
a screening module 125, configured to screen the obtained layering result to obtain a screened layering result;
and the recording module 122 is configured to record the resource dependency relationship between the screened hierarchical results to obtain at least one dependency relationship tree.
According to the device provided by the embodiment of the invention, the resources to be processed are layered according to the resource types, the resource dependency relationship among the layering results is recorded to obtain the dependency relationship tree, and the redundant resources in the dependency relationship tree are deleted, so that the number of the redundant resources in the acquired resource package can be reduced, the loading speed is further improved, and the memory consumption is reduced.
In addition, after the layering result is obtained, the layering result is screened, so that redundant resources can be further reduced, the loading speed is increased, and the memory consumption is reduced.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Fig. 14 is a schematic structural diagram of a device for acquiring a resource package according to an embodiment of the present invention, where the device may be a server, and the server may be an individual server or a cluster server. Specifically, the method comprises the following steps:
the server includes a Central Processing Unit (CPU)1401, a system memory 1404 including a Random Access Memory (RAM)1402 and a Read Only Memory (ROM)1403, and a system bus 1405 connecting the system memory 1404 and the central processing unit 1401. The server also includes a basic input/output system (I/O system) 1406 that facilitates transfer of information between devices within the computer, and a mass storage device 1407 for storing an operating system 1413, application programs 1414, and other program modules 1415.
The basic input/output system 1406 includes a display 1408 for displaying information and an input device 1409, such as a mouse, keyboard, etc., for user input of information. Wherein a display 1408 and an input device 1409 are both connected to the central processing unit 1401 via an input-output controller 1410 connected to the system bus 1405. The basic input/output system 1406 may also include an input/output controller 1410 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, input-output controller 1410 also provides output to a display screen, a printer, or other type of output device.
The mass storage device 1407 is connected to the central processing unit 1401 through a mass storage controller (not shown) connected to the system bus 1405. The mass storage device 1407 and its associated computer-readable media provide non-volatile storage for the server. That is, the mass storage device 1407 may include a computer readable medium (not shown) such as a hard disk or CD-ROM drive.
Without loss of generality, computer readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, EPROM, EEPROM, flash memory or other solid state memory technology, CD-ROM, DVD, or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that computer storage media is not limited to the foregoing. The system memory 1404 and mass storage device 1407 described above may collectively be referred to as memory.
According to various embodiments of the invention, the server may also operate as a remote computer connected to the network through a network, such as the Internet. That is, the servers can be connected to the network 1412 through the network interface unit 1411, which is coupled to the system bus 1405, or alternatively, the network interface unit 1411 can be used to connect to other types of networks or remote computer systems (not shown).
The memory further includes one or more programs, and the one or more programs are stored in the memory and configured to be executed by the CPU. The one or more programs include instructions for performing the method of acquiring resource packages provided by embodiments of the present invention.
Fig. 15 is a schematic structural diagram of an apparatus for acquiring a resource package according to an embodiment of the present invention. The device may be a terminal, and may be, for example: a smart phone, a tablet computer, an MP3 player (Moving picture Experts Group Audio Layer III, motion picture Experts compression standard Audio Layer 3), an MP4 player (Moving picture Experts Group Audio Layer IV, motion picture Experts compression standard Audio Layer 4), a notebook computer or a desktop computer. A terminal may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, etc.
Generally, a terminal includes: a processor 1501 and memory 1502.
Processor 1501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, or the like. The processor 1501 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). Processor 1501 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also referred to as a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1501 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, processor 1501 may also include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
The memory 1502 may include one or more computer-readable storage media, which may be non-transitory. The memory 1502 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1502 is used to store at least one instruction for execution by processor 1501 to implement the method of obtaining resource packages provided by the method embodiments herein.
In some embodiments, the terminal may further include: a peripheral interface 1503 and at least one peripheral. The processor 1501, memory 1502, and peripheral interface 1503 may be connected by buses or signal lines. Various peripheral devices may be connected to peripheral interface 1503 via buses, signal lines, or circuit boards. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1504, touch screen display 1505, camera 1506, audio circuitry 1507, positioning assembly 1508, and power supply 1509.
The peripheral interface 1503 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 1501 and the memory 1502. In some embodiments, the processor 1501, memory 1502, and peripheral interface 1503 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1501, the memory 1502, and the peripheral interface 1503 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 1504 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuitry 1504 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 1504 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1504 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 1504 can communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 1504 may also include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 1505 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1505 is a touch display screen, the display screen 1505 also has the ability to capture touch signals on or over the surface of the display screen 1505. The touch signal may be input to the processor 1501 as a control signal for processing. In this case, the display screen 1505 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 1505 may be one, providing the front panel of the terminal; in other embodiments, the display 1505 may be at least two, each disposed on a different surface of the terminal or in a folded design; in still other embodiments, the display 1505 may be a flexible display, disposed on a curved surface or a folded surface of the terminal. Even further, the display 1505 may be configured in a non-rectangular irregular pattern, i.e., a shaped screen. The Display 1505 can be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and other materials.
The camera assembly 1506 is used to capture images or video. Optionally, the camera assembly 1506 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 1506 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuitry 1507 may include a microphone and speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1501 for processing or inputting the electric signals to the radio frequency circuit 1504 to realize voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones can be arranged at different parts of the terminal respectively. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1501 or the radio frequency circuit 1504 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 1507 may also include a headphone jack.
The positioning component 1508 is used to locate the current geographic Location of the terminal to implement navigation or LBS (Location Based Service). The Positioning component 1508 may be a Positioning component based on the united states GPS (Global Positioning System), the chinese beidou System, the russian graves System, or the european union's galileo System.
A power supply 1509 is used to supply power to the various components in the terminal. The power supply 1509 may be alternating current, direct current, disposable or rechargeable. When the power supply 1509 includes a rechargeable battery, the rechargeable battery may support wired charging or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the terminal also includes one or more sensors 1510. The one or more sensors 1510 include, but are not limited to: acceleration sensor 1511, gyro sensor 1512, pressure sensor 1513, fingerprint sensor 1514, optical sensor 1515, and proximity sensor 1516.
The acceleration sensor 1511 may detect the magnitude of acceleration on three coordinate axes of a coordinate system established with the terminal. For example, the acceleration sensor 1511 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 1501 may control the touch screen display 1505 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1511. The acceleration sensor 1511 may also be used for acquisition of motion data of a game or a user.
The gyroscope sensor 1512 can detect the body direction and the rotation angle of the terminal, and the gyroscope sensor 1512 and the acceleration sensor 1511 can cooperate to collect the 15D movement of the user on the terminal. The processor 1501 may implement the following functions according to the data collected by the gyro sensor 1512: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
The pressure sensor 1513 may be provided at a side frame of the terminal and/or at a lower layer of the touch display 1505. When the pressure sensor 1513 is disposed on the side frame of the terminal, the holding signal of the user to the terminal can be detected, and the processor 1501 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 1513. When the pressure sensor 1513 is disposed at a lower layer of the touch display 1505, the processor 1501 controls the operability control on the UI interface according to the pressure operation of the user on the touch display 1505. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1514 is configured to capture a fingerprint of the user, and the processor 1501 identifies the user based on the fingerprint captured by the fingerprint sensor 1514, or the fingerprint sensor 1514 identifies the user based on the captured fingerprint. Upon recognizing that the user's identity is a trusted identity, the processor 1501 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings, etc. The fingerprint sensor 1514 may be provided on the front, back or side of the terminal. When a physical key or vendor Logo is provided on the terminal, the fingerprint sensor 1514 may be integrated with the physical key or vendor Logo.
The optical sensor 1515 is used to collect ambient light intensity. In one embodiment, processor 1501 may control the brightness of the display on touch screen 1505 based on the intensity of ambient light collected by optical sensor 1515. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 1505 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 1505 is turned down. In another embodiment, the processor 1501 may also dynamically adjust the shooting parameters of the camera assembly 1506 based on the ambient light intensity collected by the optical sensor 1515.
A proximity sensor 1516, also known as a distance sensor, is typically provided on the front panel of the terminal. The proximity sensor 1516 is used to collect a distance between the user and the front surface of the terminal. In one embodiment, when the proximity sensor 1516 detects that the distance between the user and the front face of the terminal gradually decreases, the processor 1501 controls the touch display 1505 to switch from a bright screen state to a dark screen state; when the proximity sensor 1516 detects that the distance between the user and the front of the terminal is gradually increased, the processor 1501 controls the touch display 1505 to switch from the sniff state to the lighted state.
Those skilled in the art will appreciate that the configuration shown in fig. 15 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
In an example embodiment, there is also provided a computer device comprising a processor and a memory having stored therein at least one instruction, at least one program, set of codes, or set of instructions. The at least one instruction, at least one program, set of codes, or set of instructions is configured to be executed by one or more processors to implement the above-described method of obtaining a resource package.
In an exemplary embodiment, a computer readable storage medium is also provided, in which at least one instruction, at least one program, a set of codes, or a set of instructions is stored, which when executed by a processor of a computer device, implements the above method of obtaining a resource package.
Alternatively, the computer-readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The above description is only exemplary of the present invention and should not be taken as limiting the invention, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (13)

1. A method for obtaining resource packages, the method comprising:
layering the resources to be processed according to the resource types to obtain at least one layer of layering results;
determining a first-layer resource in the layering result according to the dependency relationship among the resource types, and taking the first-layer resource as a root node in a dependency relationship tree; traversing the dependent resources of each resource in each layer of hierarchical results from the root node, and recording the resource dependency relationship among the hierarchical results according to the traversal results to obtain at least one dependency relationship tree, wherein each node in the dependency relationship tree corresponds to one resource;
deleting redundant resources in the dependency relationship tree to obtain an optimized dependency relationship tree;
and acquiring a resource package according to the resource in the optimized dependency relationship tree.
2. The method of claim 1, wherein the deleting redundant resources in the dependency tree comprises:
determining a single dependent resource in the dependency tree, wherein the single dependent resource refers to a resource which is dependent on by only one resource;
and deleting the single dependent resource in the dependency tree.
3. The method of claim 2, wherein after deleting the single dependent resource in the dependency tree, further comprising:
and carrying out deduplication on the same resources depended on by the same resource in the single dependency relationship tree, wherein the number of the same resources is at least two.
4. The method according to claim 3, wherein after the deduplication of the same resource depended by the same resource in the single dependency tree, further comprising:
and when any resource is depended on by the same resource in at least two dependency trees, deleting the any resource from the at least two dependency trees.
5. The method according to any of claims 1-4, wherein said obtaining a resource package according to the resource in the optimized dependency tree comprises:
placing the resources in the optimized dependency tree into a resource sequence list according to resource types;
and sequentially storing the resources in the resource sequence list into a file format according to the sequence to obtain a resource package.
6. The method according to any one of claims 1 to 4, wherein after layering the resources to be processed according to resource types and obtaining at least one layer of layering results, the method further comprises:
screening the obtained layering result to obtain the screened layering result;
the recording of the resource dependency relationship among the hierarchical results to obtain at least one dependency relationship tree includes:
and recording the resource dependency relationship among the screened layering results to obtain at least one dependency relationship tree.
7. An apparatus for acquiring resource packets, the apparatus comprising:
the layering module is used for layering the resources to be processed according to the resource types to obtain at least one layer of layering results;
the recording module is used for determining a first-layer resource in the layering result according to the dependency relationship among the resource types, and taking the first-layer resource as a root node in a dependency relationship tree; traversing the dependent resources of each resource in each layer of hierarchical results from the root node, and recording the resource dependency relationship among the hierarchical results according to the traversal results to obtain at least one dependency relationship tree, wherein each node in the dependency relationship tree corresponds to one resource;
the deleting module is used for deleting the redundant resources in the dependency tree to obtain an optimized dependency tree;
and the obtaining module is used for obtaining the resource package according to the resource in the optimized dependency relationship tree.
8. The apparatus of claim 7, wherein the deleting module is configured to determine a single dependent resource in the dependency tree, where the single dependent resource is a resource that is dependent only by one resource; and deleting the single dependent resource in the dependency tree.
9. The apparatus of claim 8, wherein the deleting module is further configured to deduplicate a same resource that is depended on by a same resource in a single dependency tree, where the number of the same resource is at least two.
10. The apparatus according to claim 9, wherein the deleting module is further configured to delete any resource from at least two dependency trees when the any resource is depended on by the same resource in the at least two dependency trees.
11. The apparatus according to any one of claims 7 to 10, wherein the obtaining module is configured to place the resources in the optimized dependency tree into a resource order list according to resource types; and sequentially storing the resources in the resource sequence list into a file format according to the sequence to obtain a resource package.
12. A computer device comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which when executed by the processor, implement a method of retrieving a resource package as claimed in any one of claims 1 to 6.
13. A computer-readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions which, when executed, implement a method of acquiring a resource package as claimed in any one of claims 1 to 6.
CN201810310615.2A 2018-04-09 2018-04-09 Method, device and equipment for acquiring resource package and computer readable storage medium Active CN108536463B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810310615.2A CN108536463B (en) 2018-04-09 2018-04-09 Method, device and equipment for acquiring resource package and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810310615.2A CN108536463B (en) 2018-04-09 2018-04-09 Method, device and equipment for acquiring resource package and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108536463A CN108536463A (en) 2018-09-14
CN108536463B true CN108536463B (en) 2021-12-21

Family

ID=63483406

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810310615.2A Active CN108536463B (en) 2018-04-09 2018-04-09 Method, device and equipment for acquiring resource package and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108536463B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109408139A (en) * 2018-09-26 2019-03-01 平安普惠企业管理有限公司 Open method, device, computer equipment and the storage medium of application program
US10956136B2 (en) * 2018-10-16 2021-03-23 Ebay, Inc. User interface resource file optimization
CN110152299B (en) * 2018-11-22 2022-01-14 腾讯科技(深圳)有限公司 Game resource construction method and device
CN109951547B (en) * 2019-03-15 2022-03-01 百度在线网络技术(北京)有限公司 Transaction request parallel processing method, device, equipment and medium
CN110109687B (en) * 2019-04-26 2023-06-30 腾讯科技(成都)有限公司 Application installation package generation method and device
CN110147237B (en) * 2019-05-20 2023-08-08 深圳市腾讯网域计算机网络有限公司 Redundant resource removing method and device
CN110465093B (en) * 2019-07-24 2023-07-04 珠海金山数字网络科技有限公司 Method and device for analyzing inclusion redundant resources based on Unity
CN110413282B (en) * 2019-08-01 2024-01-30 腾讯科技(深圳)有限公司 Redundant resource processing method, device, equipment and storage medium
CN110928628B (en) * 2019-11-22 2022-12-27 网易(杭州)网络有限公司 Game element processing method and device, storage medium and processor
CN110908707B (en) * 2019-11-28 2023-06-16 米哈游科技(上海)有限公司 Resource packaging method, device, server and storage medium
CN110908697B (en) * 2019-11-28 2023-06-16 米哈游科技(上海)有限公司 Resource packaging method, device, server and storage medium
CN111078704B (en) * 2019-12-18 2023-08-25 鹏城实验室 Method, equipment and medium for constructing over-travel packet warehouse based on layered incremental storage
CN113434149B (en) * 2021-07-07 2023-09-08 腾讯科技(深圳)有限公司 Application program generating and loading method, device and medium
CN113312164B (en) * 2021-07-28 2021-10-19 浙江九州云信息科技有限公司 Resource data reading method suitable for cloud computing system
CN113797553A (en) * 2021-09-17 2021-12-17 网易(杭州)网络有限公司 Method and device for downloading subpackage resources, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101604262A (en) * 2009-07-08 2009-12-16 阿里巴巴集团控股有限公司 A kind of method and device that obtains call relation between program modules
CN105653956A (en) * 2016-03-02 2016-06-08 中国科学院信息工程研究所 Android malicious software sorting method based on dynamic behavior dependency graph
CN105718296A (en) * 2016-04-21 2016-06-29 北京元心科技有限公司 Generation display method and device for compiling dependency tree
CN106155651A (en) * 2015-03-31 2016-11-23 广州四三九九信息科技有限公司 The method and system that the automation of application version is issued and updated
CN106528229A (en) * 2016-11-03 2017-03-22 北京像素软件科技股份有限公司 Game hot updating method and device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
IL121181A0 (en) * 1997-06-27 1997-11-20 Agentics Ltd A method and system for unifying multiple information resources into hierarchial integrated information resource accessible by means of user interface
US8990792B2 (en) * 2008-05-26 2015-03-24 Samsung Electronics Co., Ltd. Method for constructing dynamic call graph of application
CN101640613B (en) * 2009-09-11 2012-01-25 中兴通讯股份有限公司 Method and device for network resource relating management
CN102411575A (en) * 2010-09-21 2012-04-11 北京大学 Method and system for displaying webpage, and server
CN105224314B (en) * 2015-09-09 2018-07-17 北京思特奇信息技术股份有限公司 A kind of method and system for realizing front-end code Automatic Optimal
CN105447131B (en) * 2015-11-18 2017-03-08 合一网络技术(北京)有限公司 Internet resources relatedness determines method and apparatus
CN107704234B (en) * 2017-08-22 2019-03-08 北京三快在线科技有限公司 Front end engineering construction method, device, electronic equipment and readable storage medium storing program for executing
CN107608677B (en) * 2017-09-05 2020-11-03 腾讯科技(深圳)有限公司 Compiling processing method and device and electronic equipment
CN107870789B (en) * 2017-10-18 2021-01-26 福建天泉教育科技有限公司 Method and terminal for packaging plug-ins

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101604262A (en) * 2009-07-08 2009-12-16 阿里巴巴集团控股有限公司 A kind of method and device that obtains call relation between program modules
CN106155651A (en) * 2015-03-31 2016-11-23 广州四三九九信息科技有限公司 The method and system that the automation of application version is issued and updated
CN105653956A (en) * 2016-03-02 2016-06-08 中国科学院信息工程研究所 Android malicious software sorting method based on dynamic behavior dependency graph
CN105718296A (en) * 2016-04-21 2016-06-29 北京元心科技有限公司 Generation display method and device for compiling dependency tree
CN106528229A (en) * 2016-11-03 2017-03-22 北京像素软件科技股份有限公司 Game hot updating method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种高效的基于依赖树的Cube算法;左劼 等;《小型微型计算机系统》;20010131;第22卷(第1期);50-54 *

Also Published As

Publication number Publication date
CN108536463A (en) 2018-09-14

Similar Documents

Publication Publication Date Title
CN108536463B (en) Method, device and equipment for acquiring resource package and computer readable storage medium
CN110674022B (en) Behavior data acquisition method and device and storage medium
CN110841285B (en) Interface element display method and device, computer equipment and storage medium
CN110569220B (en) Game resource file display method and device, terminal and storage medium
CN108132790B (en) Method, apparatus and computer storage medium for detecting a garbage code
CN110032384B (en) Resource updating method, device, equipment and storage medium
US11934814B2 (en) Application porting method and apparatus, device, and medium
CN111949680A (en) Data processing method and device, computer equipment and storage medium
CN111177137A (en) Data deduplication method, device, equipment and storage medium
CN111265885B (en) Resource display method, resource sending method, device, equipment and storage medium
CN111416996B (en) Multimedia file detection method, multimedia file playing device, multimedia file equipment and storage medium
CN112257006A (en) Page information configuration method, device, equipment and computer readable storage medium
CN111539795A (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN112560435B (en) Text corpus processing method, device, equipment and storage medium
CN110995842A (en) Method, device and equipment for downloading service data and storage medium
CN112036492A (en) Sample set processing method, device, equipment and storage medium
CN112084157A (en) File recovery method and device, computer equipment and storage medium
CN112181442A (en) Unloaded page display method, device, terminal, server and storage medium
CN112230910A (en) Page generation method, device, equipment and storage medium of embedded program
CN113076286B (en) Method, device, equipment and readable storage medium for acquiring multimedia file
CN111711841B (en) Image frame playing method, device, terminal and storage medium
CN113268234A (en) Page generation method, device, terminal and storage medium
CN113032590A (en) Special effect display method and device, computer equipment and computer readable storage medium
CN110851435B (en) Data storage method and device
CN113301422A (en) Method, terminal and storage medium for acquiring video cover

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant