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

Method and device for solving generic compatibility problem during hot update

A hot update and compatibility technology, applied in the computer field, to solve compatibility problems and ensure seamlessness

Active Publication Date: 2022-06-07
在线途游(北京)科技有限公司 +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
  • Method and device for solving generic compatibility problem during hot update
  • Method and device for solving generic compatibility problem during hot update
  • Method and device for solving generic compatibility problem 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 invention provides a method and device for solving a generic compatibility problem during hot update, and the method comprises the steps: adding an interpreter realized by C + + for an IL2CPP tool, and transforming a runtime only supporting AOT static compiling into a runtime supporting an AOT compiler and the interpreter; meanwhile, in order to solve the compatibility problem caused by using high-level language characteristic generic types, program sets including original function metadata information are loaded into IL2CPP runtime at the same time, and the phenomenon that the function metadata information is lost after main program codes are compiled into machine codes is overcome. And when a new generic instance function in the hot update is executed, the generic instance function points to the excite function of the interpreter, and the MethodInfo structural body of the original generic function is transmitted to the excite function of the interpreter through parameters, so that the interpretation execution of the function is completed.

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 Applications(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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products