Script updating method and device

An update method and script technology, applied in the computer field, can solve problems such as low script efficiency, achieve the effect of solving low efficiency and improving optimization efficiency

Pending Publication Date: 2019-10-18
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Embodiments of the present invention provide a method and device for updating scripts, so as to at least solve the technical problem of low efficiency in optimizing scripts 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
  • Script updating method and device
  • Script updating method and device
  • Script updating method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] 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.

[0029] 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 script updating method and device. The method comprises: obtaining an abstract syntax tree corresponding to a script to be processed, wherein the abstract syntax tree is a tree-shaped expression form of an abstract syntax structure of the script to be processed; determining a to-be-processed sub-tree needing text updating in the abstract syntax tree; determining a scriptposition of the to-be-processed sub-tree in a to-be-processed script; and updating the text at the script position according to the target text to obtain an updated script. The technical problem of low script optimization efficiency in the prior art is solved.

Description

technical field [0001] The invention relates to the field of computers, in particular to a script updating method and device. Background technique [0002] At present, there are mainly two ways to run game codes, namely, the way of compiling source code and the way of executing scripting language by virtual machine. For the method of compiling the source code, it is usually to compile the source code into the machine code of the target machine, for example, to write the source code into C++ or other compiled languages ​​and execute it by the processor; for the second method, it is usually written in a scripting language, Generate virtual machine bytecode or directly use the source code to execute in the virtual machine. The execution speed of this method is slow, but the development speed is fast, and it is more convenient to update the code logic. [0003] In the above-mentioned second method, the processor can compile the script language into a preset file, and remove the...

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/65
CPCG06F8/65
Inventor 郭小灿冯帆
Owner NETEASE (HANGZHOU) NETWORK CO LTD
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