Program set loading method and system, electronic equipment and storage medium

A technology of program loading and assembly

Pending Publication Date: 2022-01-28
上海米哈游璃月科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the disadvantage of this kind of full loading is that there are often many subassemblies in project-related assemblies, and different users may use different functions, which makes it possible that not all loaded subassemblies will be used. Causes waste of memory resources on user terminals and affects user experience

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
  • Program set loading method and system, electronic equipment and storage medium
  • Program set loading method and system, electronic equipment and storage medium
  • Program set loading method and system, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] figure 1 It is a schematic flowchart of a method for loading a program set provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of loading a program set during the start-up process of the target project. This method can be implemented by a program set loading device For execution, the device can be implemented by software and / or hardware, and can be configured in a terminal and / or server to implement the program set loading method in the embodiment of the present invention.

[0033] like figure 1 As shown, the method of this embodiment specifically includes the following steps:

[0034] S110. During the startup process of the target project, the client loads the native code library of the target project.

[0035] Among them, the client can be understood as a program that provides interactive services for users with target items. Specifically, a client may be understood as an application program of a target item installed on a u...

Embodiment 2

[0054] figure 2 It is a schematic flowchart of a program loading method provided in Embodiment 2 of the present invention. On the basis of the above technical solution, this embodiment further refines the technical solution. This embodiment, on the basis of any optional technical solution in the embodiments of the present invention, optionally, after the loading of the target plug-in subroutine, further includes: the client loads a hook file based on the program Loading the project startup subassembly in the project engineering assembly; the client starting the target project based on the target plug-in subassembly includes: the client based on the target plug-in assembly and the project The launch subassembly starts the target project.

[0055] On the basis of any optional technical solution of the present invention, optionally after the client starts the target project based on the target plug-in subroutine, it further includes: the client displays the target project A lo...

Embodiment 3

[0086] In order for those skilled in the art to further understand the technical solutions of the embodiments of the present invention, the following examples take the target project as a game and the target terminal for starting the game as a client installed on a mobile phone as an example to give specific examples of application scenarios.

[0087] image 3 It is a schematic flowchart of a method for loading an assembly in an application scenario provided by an embodiment of the present invention; image 3 As shown, the target project is a mobile game application.

[0088] The method of the embodiment of the present invention may include the following steps:

[0089] Before the mobile client starts the game, the pre-build program loads the hook file. Specifically, use the c# generation dll method of the native code library to pre-build a project EnginePreEntryHook for program loading hook files, and generate a file EnginePreEntryHook.dll in a dynamic link database format....

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

Embodiments of the invention disclose a program set loading method and system, electronic equipment and a storage medium. The method comprises the following steps that a client loads a native code library of a target project in the starting process of the target project; when loading of the native code library of the target project is completed, the client loads a pre-constructed program loading hook file; the client loads a target plug-in subprogram set corresponding to the target project in an engine plug-in library based on the program loading hook file; and the client starts the target project based on the target plug-in subprogram set. According to the above technical scheme in the embodiments, in the starting process of the target project, the target plug-in subprogram set corresponding to the target project can be loaded and started through the loaded pre-built program loading hook file instead of directly loading an engine plug-in library in a full-quantity mode, memory resource waste can be effectively avoided, a project starting process is optimized, and project starting efficiency is improved.

Description

technical field [0001] The embodiments of the present invention relate to the field of computer application technology, and in particular, to a program set loading method, system, electronic equipment and storage medium. Background technique [0002] During the running of the project, the realization of each function often depends on the sub-assembly corresponding to the function in the project-related assembly. A project is often equipped with various functions, which requires loading subassemblies corresponding to various functions. [0003] Currently, related technology handles this by loading all subassemblies in the project's dependent assemblies when the project starts, and then running the project. However, the disadvantage of this kind of full loading is that there are often many subassemblies in project-related assemblies, and different users may use different functions, which makes it possible that not all loaded subassemblies will be used. This causes waste of m...

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
IPC IPC(8): G06F9/445
CPCG06F9/44521G06F9/44526G06F9/44505
Inventor王达
Owner上海米哈游璃月科技有限公司