A hot update method, device, computing device, and computer-readable storage medium for unity

A hot-update, unified technology, applied in the computer field, can solve problems such as poor performance, many usage restrictions, and reduced development efficiency, and achieve the effect of overcoming compatibility problems, eliminating incompatibility problems, and improving memory and operating efficiency.

CN114115964BActive Publication Date: 2022-04-19在线途游(北京)科技有限公司 +1
0 Cites 1 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2022-04-19

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

This application provides a hot update method, device, computing device, and computer-readable storage medium for Unity. The method transforms a runtime that only supports AOT static compilation by adding an interpreter implemented in C++ to the IL2CPP tool. It is a runtime that supports AOT compiler and interpreter; the metadata management module of the runtime is further modified to realize the function of dynamically loading the hot update assembly dynamic library; in the process of calling the function, through the assembly The interception of the loading process points the functions from the hot update assembly to the interpreter, thereby completing the interpretation and execution of the functions in the hot update assembly, realizing the unification of function calls, and solving the long-standing defects of hot update solutions in the prior art .
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present application relates to the field of computer technology, in particular to a hot update method, device, computing device and computer-readable storage medium for Unity. Background technique

[0002] In the field of mobile Internet, the hot update method is usually used to realize the function update or bug fix of the APP. When the user opens the APP, the update can be realized without re-downloading the entire APP, thereby achieving a good user experience. In the prior art, Lua and ILRuntime are usually used to realize the hot update function, but these two methods have various defects. For example, applications developed based on the Unity engine are mostly developed using C#. Reduce the efficiency of development. Although ILRuntime is implemented based on C#, there are currently many restrictions on its use and poor performance. Contents of the invention

[0003] In view of this, this application example provides a hot update method, de...

Examples

Embodiment Construction

[0026] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the application. However, the present application can be implemented in many other ways different from those described here, and those skilled in the art can make similar promotions without violating the connotation of the present application. Therefore, the present application is not limited by the specific implementation disclosed below.

[0027] Terms used in one or more embodiments of the present application are for the purpose of describing specific embodiments only, and are not intended to limit the one or more embodiments of the present application. As used in one or more embodiments of this application and the appended claims, the singular forms "a", "the", and "the" are also intended to include the plural forms unless the context clearly dictates otherwise. It should also be understood that the term "and / or" used in one or more embodiments of th...