Resource dynamic loading method and system
A technology of dynamic loading and resources, applied in the direction of program loading/starting, program control devices, etc., can solve the problems of inability to enter the game and extremely high requirements for developers, and achieve the effect of improving the user experience and speeding up the subcontracting speed.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0074] Please refer to figure 1 , Embodiment 1 of the present invention is:
[0075] A method for dynamically loading resources, comprising the steps of:
[0076] S1. The packaging end reads a preset resource configuration policy, generates a client and a resource configuration file corresponding to the client according to the resource configuration policy, and the resource configuration file includes a local resource configuration file and a remote resource configuration file;
[0077] Please refer to image 3 , specifically: read a preset resource configuration policy, the resource configuration policy includes a local resource identifier and a remote resource identifier, generate the client and the local resource configuration file according to the local resource identifier, and generate the client and the local resource configuration file according to the remote resource identifier. The resource identifier generates the remote resource configuration file; obtains the loc...
Embodiment 2
[0088] A resource dynamic loading method, which differs from Embodiment 1 in that:
[0089] The resource configuration file in S1 also includes a version number. An example of a resource configuration file is:
[0090]
[0091]
[0092] Among them, version indicates the current version number, local indicates the local resource configuration list, and its internal data key-value pair indicates the resource path: the MD5 value corresponding to the resource; remote_url indicates the address of the remote resource server; remote indicates the remote resource configuration list, and its internal data The key-value pair represents the resource path: the MD5 value corresponding to the resource; dependency represents the resource dependency relationship of the client, and its internal data key-value pair represents the resource path: the path of the dependent resource list.
[0093] S3 is specifically: saving the local resource configuration file and obtaining the remote resour...
Embodiment 3
[0098] Please refer to figure 2 , the third embodiment of the present invention is:
[0099] A resource dynamic loading system 3, including a packaging terminal 1 and a client 2, the packaging terminal 1 includes a first memory 1.2, a first processor 1.1 and stored on the first memory 1.2 and can be stored in the first A first computer program running on the processor 1.1; the client 2 includes a second memory 2.2, a second processor 2.1, and a computer program stored on the second memory 2.2 and operable on the second processor 2.1 The second computer program, when the first processor 1.1 executes the first computer program, it realizes the corresponding steps realized by the packing terminal 1 in the first embodiment or the second embodiment
[0100] When the second processor 2.1 executes the second computer program, implement the corresponding steps implemented by the client 2 in Embodiment 1 or Embodiment 2;
[0101] In the present invention, the packaging terminal and ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


