The invention discloses an instruction execution and dynamic compiling method and device and electronic equipment. The execution method comprises the steps that after a client receives an operation instruction, if the operation instruction is a set instruction, the operation instruction and attribute information corresponding to the operation instruction are sent to a server side, the server sidecompiles a source code of the operation instruction to obtain an original byte code file, the attribute information and/or automatically-generated random information are used for encrypting the original byte code file to obtain a target byte code file and a corresponding interpreter, the client obtains the target byte code file and the interpreter corresponding to the target byte file from a server side, the target byte code file is interpreted through the interpreter, and the operation instruction is executed. The byte code file for executing the instruction and the corresponding interpreterobtained by the client have the high randomness, the instruction code safety is greatly improved, and the problem that the byte code file is cracked is effectively avoided.