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

Instruction execution and dynamic compiling method and device and electronic equipment

A technology for executing methods and instructions, which is applied in the field of electronic equipment and can solve problems such as loss of protection functions

Active Publication Date: 2018-03-09
杭州顶象科技有限公司
View PDF5 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] However, the use of virtual machine execution method also has certain defects. Specifically, when the interpreter and bytecode of an application are reversed, the use of virtual machine execution method will completely lose the protection function.

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
  • Instruction execution and dynamic compiling method and device and electronic equipment
  • Instruction execution and dynamic compiling method and device and electronic equipment
  • Instruction execution and dynamic compiling method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0065] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangements of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.

[0066] The following description of at least one exemplary embodiment is merely illustrative in nature and in no way taken as limiting the invention, its application or uses.

[0067] Techniques, methods and devices known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, such techniques, methods and devices should be considered part of the description.

[0068] In all examples shown and discussed herein, any specific values ​​should be construed as exemplary only, and not as limitations. Therefore, other instances of the exemplary embodiment may have dif...

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 an instruction execution and dynamic compiling method and device and electronic equipment. The execution method comprises the steps that after a client receives an operation instruction, if the operation instruction is a set instruction, the operation instruction and attribute information corresponding to the operation instruction are sent to a server side, the server sidecompiles a source code of the operation instruction to obtain an original byte code file, the attribute information and / or automatically-generated random information are used for encrypting the original byte code file to obtain a target byte code file and a corresponding interpreter, the client obtains the target byte code file and the interpreter corresponding to the target byte file from a server side, the target byte code file is interpreted through the interpreter, and the operation instruction is executed. The byte code file for executing the instruction and the corresponding interpreterobtained by the client have the high randomness, the instruction code safety is greatly improved, and the problem that the byte code file is cracked is effectively avoided.

Description

technical field [0001] The present invention relates to the technical field of program security protection, and more specifically, the present invention relates to a method for executing instructions on a client side, a method and device for dynamically compiling instructions on a server side, and electronic equipment. Background technique [0002] With the development of decompilation technology, compiled programs can be easily reversed. In order to further improve the security of applications and increase the difficulty of reverse engineering, major manufacturers have developed virtual machine execution methods. [0003] Using the virtual machine execution method mainly includes two parts: [0004] (A) Compiler [0005] A custom compiler compiles the source code into a bytecode file, which uses a custom format and cannot be run directly on the processor. [0006] (B) Interpreter [0007] The bytecode file needs an interpreter to interpret it. The interpreter is a progr...

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): G06F21/60
CPCG06F21/602
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