Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Resource identification method and device

An identification method and resource technology, applied in the computer field, can solve the problems of no solution, low utilization rate of terminal memory storage space, affecting terminal operation speed, etc., so as to overcome the low utilization rate of storage space and realize full utilization. Effect

Active Publication Date: 2020-11-03
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Since the limited storage space in the memory is occupied by many redundant and repetitive resources, not only the utilization rate of the storage space of the terminal memory becomes low, but also the running speed of the terminal is affected.
[0005] For the above problems, no effective solution has been proposed

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 identification method and device
  • Resource identification method and device
  • Resource identification method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] In an embodiment of the present invention, an embodiment of the above resource identification method is provided. As an optional implementation, the resource identification method can be applied to, but not limited to, such as figure 1 In the shown application environment, a client of the application to be tested and a test application client for testing the application to be tested are installed in the terminal 102 . Select the application to be tested in the test application client, obtain the resource object loaded by the application to be tested during the running process as the resource object to be identified, the server 106 obtains the resource data of the resource object to be identified from the terminal 102 through the network 104, and The resource data of the resource objects to be identified are compared, and the target resource object is identified from the resource objects to be identified according to the comparison result, wherein the target resource obj...

Embodiment 2

[0096] According to an embodiment of the present invention, a resource identification device for implementing the above resource identification method is also provided, such as Image 6 As shown, the device includes:

[0097] 1) The first acquiring unit 602 is configured to acquire resource data of a resource object to be identified, wherein the resource object to be identified is a resource object loaded by the application under test during the process of testing the application under test by the test application client;

[0098] 2) a comparison unit 604, configured to compare the acquired resource data of the resource object to be identified;

[0099] 3) The identification unit 606 is configured to identify a target resource object from the resource objects to be identified according to the comparison result, wherein the target resource object is a repeated resource object among the resource objects to be identified.

[0100] Optionally, in this embodiment, the above-mentio...

Embodiment 3

[0161] The application environment of the embodiment of the present invention may be, but not limited to, refer to the application environment in Embodiment 1, which will not be repeated in this embodiment. The embodiment of the present invention provides an optional specific application example for implementing the above resource identification method.

[0162] As an optional embodiment, the resource identification method above can be applied to, but not limited to, APP1, a mobile game performance analysis tool. The hardware architecture of APP1 is as follows: Figure 7 shown. On the APP1 interface, select the "resource test" option of mobile game A, and then the resource data of the resource object can be realized when mobile game A is running. For example, the Unity resource test obtains various resource data during the game, including the number of GameObjects, 2D texture size, grid size, animation clip size, audio size, Material objects, etc.

[0163] further, such as ...

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 invention discloses a resource identification method and apparatus. The method comprises the steps of obtaining resource data of to-be-identified resource objects, wherein the to-be-identified resource objects are resource objects loaded by a to-be-tested application in a process of testing the to-be-tested application by a test application client; comparing the obtained resource data of the to-be-identified resource objects; and according to a comparison result, identifying target resource objects from the to-be-identified resource objects, wherein the target resource objects are repeated resource objects in the to-be-identified resource objects. The technical problem of relatively low utilization rate of a storage space in related technologies is solved.

Description

technical field [0001] The present invention relates to the field of computers, in particular to a resource identification method and device. Background technique [0002] At present, many application clients often repeatedly load the same resources during operation, which will cause the limited storage space in the memory to be occupied by many repeated resources. Among them, the situation of repeated loading of resources usually includes at least one of the following: [0003] The first case is that the same resource is packaged into multiple Assetbundle format resource bundles in the Unity engine, and these Assetbundle format resource bundles will be loaded into the memory of the terminal, so that multiple identical resource bundles appear in the memory. Duplicate resources; the second case is that the developer wrote wrong and unreasonable code, so that when running multiple function modules, multiple duplicate resources are loaded into the memory; the third case is tha...

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): G06F9/50
CPCG06F9/5022
Inventor 何纯魏学峰薛阳徐森高文
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products