The invention discloses a method for realizing dynamic function online interception expansion of a
system through multilingual cloud compilation. By intercepting a tag, compilation and execution of a
business logic interception code are realized, and then the compilation and the execution are carried out. The compilation running process specifically comprises the steps of detecting whether expansion interception exists or not, and if the expansion interception exists, determining the
business logic interception code; searching for a corresponding instance from a memory, and calling and running the corresponding instance by utilizing a multilingual dynamic script execution engine; and if the corresponding instance does not exist, performing compilation by utilizing a corresponding script compilation engine according to a
language type of the
business logic interception code to generate the corresponding instance. According to the method, the business logic interception code can be directly introduced and runs after being compiled through multilingual cloud compilation in
system running, so that a previous code is not influenced, a dynamic script engine
system is realized, the dynamic function interception expansion of the system is realized, and the flexibility, openness,
maintainability and expandability of system function expansion are improved.