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

Project restarting method and device, electronic equipment and storage medium

A restart and project technology, applied in the direction of program control device, program control design, electrical digital data processing, etc., can solve problems affecting user experience, long project restart time, etc., to optimize project restart process, save loading time, improve The effect of restart efficiency

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

[0003] However, the disadvantage of this kind of restart is that it takes a long time to restart the project, and it may even affect the project operation data due to the slow restart, delay the progress of the project operation, and thus affect the 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
  • Project restarting method and device, electronic equipment and storage medium
  • Project restarting method and device, electronic equipment and storage medium
  • Project restarting method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] figure 1 It is a schematic flowchart of a project restart method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where the target startup resource is loaded during the process of restarting the target project. This method can be implemented by the The project restarting device is implemented, and the device can be implemented by software and / or hardware, and can be configured in a terminal and / or server to realize the project restarting method in the embodiment of the present invention.

[0028] Such as figure 1 As shown, the method in this embodiment may specifically include:

[0029] S110. When the target project starts for the first time, load a pre-built restart hook file.

[0030] Among them, projects can be understood as various software projects developed by developers. The target item may be the item corresponding to the current startup process. Exemplarily, the target item may be an application program insta...

Embodiment 2

[0056] figure 2 It is a schematic flowchart of a project restart method provided in Embodiment 2 of the present invention. On the basis of the above technical solution, this embodiment further refines the technical solution. In this embodiment, on the basis of any optional technical solution in the embodiments of the present invention, optionally, updating the target startup resource corresponding to the restart request based on the restart hook file includes: based on the restart hook The file determines a faulty startup resource of the target project corresponding to the restart request, determines a target startup resource corresponding to the restart request based on the faulty startup resource, and reloads the target startup resource.

[0057] Wherein, technical terms that are the same as or corresponding to those in the foregoing embodiments will not be repeated here.

[0058] Such as figure 2 As shown, the method of this embodiment specifically includes the followin...

Embodiment 3

[0067] In order for those skilled in the art to further understand the technical solution of the embodiment of the present invention, the target project is a game, and the target terminal for restarting the game is a client installed on a mobile phone as an example, and a specific application scenario example is given. For details, refer to the following specific content.

[0068] Exemplarily, the target project is a mobile game application, the hook file is used as a restart hook file, and the hook file is used for fast restart optimization of the game.

[0069] Before the mobile client starts the game for the first time, pre-build the restart hook file operation. Specifically, use the c# generation dll method of the native code library to pre-build a project EnginePreEntryHook of a restart hook file, and generate a file EnginePreEntryHook.dll in a dynamic link database format. And implement a restart manager ReloadMgr in EnginePreEntryHook to load the startup resources.

...

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 project restarting method and device, electronic equipment and a storage medium. The method comprises the following steps: when a target project is started for the first time, loading a pre-constructed restarting hook file; and when a restart request for restarting the target project is received, updating a target start resource corresponding to the restart request based on the restart hook file so as to restart the target project. According to the above technical scheme, project restarting is carried out through the loaded pre-constructed restarting hook file, restarting can be carried out only by updating the target starting resource corresponding to the restarting request in the restarting process, all internal storage does not need to be emptied, and all starting resources do not need to be reloaded, so time and labor are saved, the target project can be restarted rapidly, the restarting process of the target project is optimized, the restarting efficiency of the target project is improved, and user experience is improved.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of computer applications, and in particular to a project restart method, device, electronic equipment, and storage medium. Background technique [0002] When the project starts, it is necessary to load all program codes and all project resources related to the project, and then run the project. When the project operation is blocked and needs to be restarted, clear all the memory allocated by the project, reload all program codes related to the project, and all project resources related to the project, that is, repeat all steps of project startup after clearing the memory. [0003] However, the disadvantage of this kind of restart is that it takes a long time to restart the project, and even the slow restart may affect the project operation data, delay the project operation progress, and thus affect the user experience. Contents of the invention [0004] Embodiments of the present...

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