Protecting method for software codes

A software code and script code technology, which is applied in the direction of program/content distribution protection, instruments, electrical digital data processing, etc., can solve the problems of difficulty in protecting script code and inapplicability of shell protection, so as to improve the protection strength and solve the problem of poor security. Effect

Active Publication Date: 2016-02-03
BEIJING SENSESHIELD TECH
View PDF3 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In general, compiled code protection is usually accomplished by shells and hardware encryption devices, but for scripting languages ​​that do not go through the compilation process themselves, when they are stored in text form, the protection in the form of shells is not applicable, and script codes usually require operating system interpreter or a stand-alone interpreter, but it is more difficult to protect script code if the interpreter's code is not open

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
  • Protecting method for software codes
  • Protecting method for software codes
  • Protecting method for software codes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] In order to enable those skilled in the art to better understand the present invention, an API (Application Programming Interface), that is, an application programming interface, is described first.

[0029] API refers to the code provided by the computer operating system (Operating system) or program library for application calls. Its main purpose is to allow application developers to call a set of routine functions without having to consider its underlying source code or understand the details of its inner workings. The API itself is abstract, it only defines an interface, and does not involve details such as how the application is implemented. For example, the WINDOWS operating system provides WINDOWSAPI, which is a system programming interface for the WINDOWS operating system family. It is a set of predefined WINDOWS functions used to control the appearance and behavior of various components of WINDOWS. Every action of the user It will trigger the operation of 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 discloses a protecting method for software codes. The protecting method comprises the following steps: S1) performing user-defined modification on at least one API (Application Program Interface) function in an API function library of an operation system in advance, and then acquiring a user-defined API hook function, linking the user-defined API hook function with the API function library; S2) installing or integrating the user-defined API hook function into a target application program under the operation system in terminal equipment which is connected with a hardware encrypting device; S3) while encrypting a script code loaded to the target application program, running the target application program, firstly performing the user-defined API hook function and then invoking the hardware encrypting device, thereby acquiring an encrypted data; S4) while decrypting the encrypted data, running the target application program, firstly performing the user-defined API hook function and then invoking the hardware encrypting, thereby acquiring a decrypted data. According to the protecting method for software codes, the poor safety and the potential safety hazard caused by the incapability of the shell to protect the script code in text form in the present software code protecting scheme are solved.

Description

technical field [0001] The invention relates to the field of computer software, in particular to a software code protection method. Background technique [0002] Scripting language, also known as extended language, is a programming language used to control software applications or request software applications to perform certain services. Scripting languages ​​are created to shorten the traditional write-compile-link-run process computer programming language. Scripting languages ​​are usually simple, easy to learn, and easy to use. The purpose is to allow programmers to quickly complete the program writing work. Script codes are generally loaded in the target application and exist in the form of text, similar to a Commands are interpreted only when invoked, and a script code is usually interpreted rather than compiled. For software developers, the execution efficiency of software is far less important than the development efficiency, so the use of scripting languages ​​in ...

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/12
CPCG06F21/125
Inventor 孙吉平韩勇
Owner BEIJING SENSESHIELD TECH
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