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

Java source code protection method based on dynamic link library

A dynamic link library and java interface technology, applied in the field of information security, can solve problems affecting source code maintenance and reducing code readability

Inactive Publication Date: 2018-05-04
NANJING LES INFORMATION TECH
View PDF3 Cites 29 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In practical applications, by using the code to confuse the source code, although the readability of the code is reduced, the compiled running code can still be decompiled
If the source code is modified to replace the core source code content with calling functions or string information, it will affect the maintenance of the source code

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
  • Java source code protection method based on dynamic link library

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The technical terms included in the present invention are explained as follows:

[0022] Dynamic link library: The dynamic link library can support Window and Linux systems. The Window platform is a dll file, and the Linux platform is a so file. The device is mainly a way to realize the concept of a shared function library. Dynamic linking provides a way for a process to call functions that are not part of its executable code. The executable code for a function is located in a dynamic link library file, which contains one or more functions that are compiled, linked, and stored separately from the processes that use them. Dynamic link libraries also help in sharing data and resources.

[0023] Java virtual machine: A virtual machine is an abstract computer, which is realized by simulating various computer functions on an actual computer. Java Virtual Machine (JVM) A specification for computer devices that can be implemented in different ways (software or hardware). Co...

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 Java source code protection method based on a dynamic link library. A function declaration port and a function implementation main body are extracted and separated from a Java source code file, a port declaration file extracted from the source codes is obtained, the source codes are compiled into a Java bytecode file, and the Java bytecode file is processed to obtain bytecode content information and to generate a dynamic link library file; the extracted port declaration file is compiled to obtain a publication-quality port call file, and the publication-quality port call file can be published to permit a third party to use; the dynamic link library file is deployed to a running environment, a loader corresponding to Java type is used for dynamically loading the bytecode information in the dynamic link library file content into a JVM virtual machine, and the operation of protected codes is completed. The method effectively protects core codes, controls the operation of the core codes, and increases the protection of the Java source codes.

Description

technical field [0001] The invention relates to the technical field of information security in network systems. Background technique [0002] In today's software system development, the B / S (Browser / Server) structure, that is, the mode of browser and server structure is becoming more and more popular. It is a change or improved structure to the C / S structure with the rise of Internet technology. Advantages of the B / S structure: it is distributed, and can perform business processing such as query and browsing anytime and anywhere. The business expansion is simple and convenient. The server function can be added by adding a web page. The maintenance is simple and convenient. Only need to change the web page to realize all Synchronous update of users, simple development and strong sharing. Most B / S systems are based on the mainstream J2EE technology architecture. [0003] The commonly used formats of Java source code compilation and running files developed for J2EE technolog...

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/14G06F9/445
CPCG06F9/44521G06F21/14
Inventor 苏祖辉支兵
Owner NANJING LES INFORMATION TECH
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