A method and apparatus for solving generic compatibility problems during hot update

A hot update and compatibility technology, applied in the computer field, to achieve the effect of ensuring seamlessness and solving compatibility problems

Active Publication Date: 2022-08-09
在线途游(北京)科技有限公司 +1
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of this, this application example provides a method and device for solving the generic compatibility problem during hot update, so as to solve the technical defects existing in the prior art

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
  • A method and apparatus for solving generic compatibility problems during hot update
  • A method and apparatus for solving generic compatibility problems during hot update
  • A method and apparatus for solving generic compatibility problems during hot update

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. However, the present application can be implemented in many other ways different from those described herein, 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.

[0035] The terminology used in one or more embodiments of the present application is for the purpose of describing a particular embodiment only, and is 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 intended to include the plural forms as well, unless the context clearly dictates otherwise. It will also be understood that the term "and / or" as used in one...

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 present application provides a method and device for solving the generic compatibility problem during hot update. The method transforms a runtime that only supports AOT static compilation into a runtime by adding an interpreter implemented by C++ to the IL2CPP tool. Support the runtime of AOT compiler and interpreter; at the same time, in order to solve the compatibility problem caused by the use of high-level language feature generics, the assembly including the original function metadata information is loaded into the IL2CPP runtime at the same time, which overcomes the need of the main program. The phenomenon that the function metadata information is lost after the code is compiled into machine code. When executing the new generic instance function in the hot update, point it to the execute function of the interpreter, and pass the MethodInfo structure of the original generic function to the execute function of the interpreter through parameters, thus completing the interpretation and execution of the function .

Description

technical field [0001] The present application relates to the field of computer technology, and in particular, to a method, apparatus, computing device, and computer-readable storage medium for solving the problem of generic compatibility during hot update. Background technique [0002] In the field of mobile Internet, hot update is usually used to update APP functions or fix bugs. Users can update the APP when they open the APP without re-downloading the entire APP, thus achieving a good user experience. In the prior art, Lua and ILRuntime are usually used to realize the function of hot update, but these two methods have various defects. For example, although ILRuntime is implemented based on C#, there are currently many restrictions on its use. For example, when using generic programming , it is necessary to reduce the classes that inherit the main project from the hot update part. For each type used, there needs to be a corresponding adaptation code at the framework layer...

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): G06F8/656G06F8/76G06F9/445G06F8/41
CPCG06F8/656G06F8/76G06F9/44521G06F8/41
Inventor 黄强李建良何雨泉袁冠鹏
Owner 在线途游(北京)科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products