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

Code hot update method and device, storage medium, processor and terminal

A hot update and processor technology, applied in the computer field, can solve the problems of low execution efficiency, achieve the effect of improving efficiency and quickly realizing hot update

Active Publication Date: 2019-03-19
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Embodiments of the present invention provide a code hot update method and device, a storage medium, a processor, and a terminal, so as to at least solve the problem of performing type conversion between C# code and scripting language Lua when performing hot update of C# code in related technologies, resulting in Technical issues with low execution efficiency

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
  • Code hot update method and device, storage medium, processor and terminal
  • Code hot update method and device, storage medium, processor and terminal
  • Code hot update method and device, storage medium, processor and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0024] It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate ...

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 discloses a code hot update method and device, a storage medium, a processor and a terminal. Wherein, the method includes: translating the code to be hot-updated into a first type of intermediate code, wherein the first type of intermediate code is compiled using a compiler of the target type operating system; translating the first type of intermediate code into the pending The bytecode to be run, wherein, the bytecode to be run is interpreted and run by an interpreter of the target type operating system; the bytecode to be run is interpreted and run by the interpreter, so that the The hot updated code is hot updated. The invention solves the technical problem that in the related art, when hot updating the C# code, it is necessary to perform type conversion between the C# code and the script language Lua, resulting in low execution efficiency.

Description

technical field [0001] The present invention relates to the field of computers, in particular to a code hot update method and device, a storage medium, a processor and a terminal. Background technique [0002] At present, the non-jailbroken IOS operating system does not allow the data segment to be executable, and it is usually necessary to convert the C# code into a bytecode that can be efficiently interpreted and run by the ARM (English full name is Advanced RISC Machines) processor, so as to pass The interpreter bypasses the limitation of the IOS operating system and realizes the hot update of the C# code. Related technologies usually use the scripting language Lua to implement the hot update of C# code, and the most representative solution is XLua, which adds Lua scripting capabilities to C# environments such as Unity, .Net, and Mono. With XLua, Lua can easily call with C#. However, the XLua scheme has the following disadvantages: [0003] 1. The execution efficiency ...

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/65
CPCG06F8/65G06F8/656G06F9/4552G06F9/45508G06F8/44G06F8/52G06F8/51
Inventor 周扬
Owner NETEASE (HANGZHOU) NETWORK CO LTD
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