The application discloses a
Java runtime
business logic protection method and
system based on instruction driving, and relates to the technical field of
Java program protection. In order to solve the defects that the existing
Java program protection technology can only be statically protected and has the risk of being cracked and stolen, a target
business logic is unitized and split to form a plurality of business units; the order of execution instructions of the business units is protected through instruction description; the instruction files are encrypted and stored to form encrypted instruction files; when the target
business logic needs to be executed, a dynamic instruction parser loads the corresponding encrypted instruction file according to a current business scene, and the content of the encrypted instruction file is restored to a structured execution
instruction sequence through a decryption process; the execution instructions in the decrypted execution
instruction sequence are extracted, and the target business logic is dynamically completed according to the order of the execution instructions and
control logic. The application is mainly used for protecting the business logic written by a
Java program.