Unlock instant, AI-driven research and patent intelligence for your innovation.

Script compiling method, script executing method, and related device and system

An execution device and script technology, which is applied in the fields of script execution and script compilation, can solve problems such as low threshold for cracking, Lua bytecode cracking, hidden dangers of information security, etc., and achieve the effect of improving security and increasing complexity

Active Publication Date: 2018-11-16
TENCENT TECH (SHENZHEN) CO LTD
View PDF11 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the Lua bytecode generated by the above method is easy to be cracked by the Lua decompilation tool, and the threshold for cracking is very low. Therefore, it is not suitable to use Lua scripts to save sensitive data, and there are serious information security risks.

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 compiling method, script executing method, and related device and system
  • Script compiling method, script executing method, and related device and system
  • Script compiling method, script executing method, and related device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0062] The embodiment of the present invention provides a script compilation method, a script execution method, a related device and a system. The generated script is difficult to be deciphered by a decompilation tool, and only a script execution device that also knows the ordering rules of the precompilation unit can execute the script. This greatly improves the security of the script.

[0063] The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and not necessarily Used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of practice in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereo...

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 embodiment of the invention discloses a script compiling method, which comprises the following steps of: acquiring a script to be compiled, wherein the script to be compiled comprises a pluralityof pre-compiling units; sorting the plurality of pre-compiling units in the script to be compiled according to a first sorting rule to obtain a pre-compiling unit sorting result, wherein the first sorting rule is used for indicating the arrangement order of each pre-compiling unit; a target byte code is generated according to the pre-compiling unit sorting result, wherein the target byte code is abyte code executed by the script execution device according to the first sorting rule. The embodiment of the invention discloses a script executing method, a script compiling device, a script executing device and a script executing system. The script generated is difficultly cracked by an anti-compiling tool, and only the script executing device which knows the sorting rule of the pre-compiling units can execute the script, thereby greatly improving the security of the script.

Description

technical field [0001] The invention relates to the field of computer processing, in particular to a script compiling method, a script executing method, a related device and a system. Background technique [0002] Lua is a small scripting language. Lua scripts can be easily called, and can also call other functions in turn, which makes Lua scripts widely used. Not only as an extension script, but also as a common configuration file. At the same time, Lua scripts are easy to understand and maintain. [0003] At present, Lua scripts can be compiled through the Luac tool, and bytecodes can be generated, which can be directly interpreted and executed by the Lua virtual machine. Because the bytecode is in binary format, it is not easy to agree, so it has a good encryption effect. [0004] However, the Lua bytecode generated by the above method is easy to be deciphered by Lua decompilation tools, and the threshold for decompilation is very low. Therefore, it is not suitable to ...

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/41
CPCG06F8/41
Inventor 李发军
Owner TENCENT TECH (SHENZHEN) CO LTD