Java code encasing method and system
A code and source code technology, applied in the direction of program/content distribution protection, etc., can solve the problems of low code security, code confusion, etc., to achieve the effect of low code intrusion, increase the packing mechanism, and increase the difficulty of cracking
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0052] refer to figure 1 , which shows a flow chart of the steps of the java code packing method in Embodiment 1 of the present invention. It can be understood that the flowchart in this method embodiment is not used to limit the sequence of execution steps. An exemplary description is given below taking the computer device 2 as the execution subject. details as follows.
[0053] Step S100, receiving the source code to be processed, and acquiring the code type of the source code to be processed, where the source code to be processed is java source program code.
[0054] Specifically, the source code to be processed is the source code of the java program; code types of the source code to be processed include interfaces, entity classes, and core code classes.
[0055] Step S102, performing code layering on the source code to be processed according to the code type and preset rules to obtain the code to be obfuscated.
[0056]Specifically, the default rules are obfuscation ru...
Embodiment 2
[0094] read on Figure 6 , shows a schematic diagram of the program modules of Embodiment 2 of the java code packing system of the present invention. In this embodiment, the java code packing system 20 may include or be divided into one or more program modules, one or more program modules are stored in a storage medium and executed by one or more processors, To complete the present invention, and can realize the packing method of above-mentioned java code. The program module referred to in the embodiment of the present invention refers to a series of computer program instruction segments capable of completing specific functions, which is more suitable than the program itself to describe the execution process of the packing system 20 of java codes in the storage medium. The following description will specifically introduce the functions of each program module of the present embodiment:
[0095] The receiving module 200 is configured to receive the source code to be processed,...
Embodiment 3
[0124] refer to Figure 7 , is a schematic diagram of the hardware architecture of the computer device according to Embodiment 3 of the present invention. In this embodiment, the computer device 2 is a device capable of automatically performing numerical calculation and / or information processing according to preset or stored instructions. The computer device 2 may be a rack server, a blade server, a tower server or a cabinet server (including an independent server, or a server cluster composed of multiple servers) and the like. Such as Figure 7 As shown, the computer device 2 at least includes, but is not limited to, a memory 21, a processor 22, a network interface 23, and a java code packing system 20 that can communicate with each other through a system bus. in:
[0125]In this embodiment, the memory 21 includes at least one type of computer-readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for e...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com