A data processing method implemented by a general-purpose processor, for assessing a design specification of a system-on-chip, SoC, chip, wherein the SoC chip is a terminal artificial intelligence, AI, processor which is still in design stage, comprising receiving device information of the terminal AI processor, wherein the device information includes hardware architecture information and parameters of running environment of the terminal AI processor; writing device information of the terminal AI processor into a driver to select a matched AI processor from a cloud AI processing system according to the device information of the terminal AI processor, so as to simulate the terminal AI processor, configuring software parameters for a compiler interface of an AI learning library, according to the device information of the terminal AI processor, using the configured compiler interface of the AI learning library to compile an AI algorithm model, so as to obtain a set of binary instructions corresponding to terminal AI processor, using a runtime library to process the set of binary instructions, so as to generate an AI learning task to be executed by the matched AI processor in the cloud AI processing system, transmitting the AI learning task to the cloud AI processing system for running; receiving a running result corresponding to the AI learning task; according to the running result, determining whether the device information of the terminal AI processor satisfies an expected condition; if the device information of the terminal AI processor does not meet the expected condition, adjusting the device information of the terminal AI processor until the device information of the terminal AI processor satisfies the expected condition, including adjusting the device information of the terminal AI processor, so as to adjust the software parameters for the compiler interface, thereby adjusting the set of binary instructions and adjusting the the AI learning task generated from the binary instructions, if the running result satisfies the preset requirement, generating a corresponding offline running file according to the set of binary instructions that satisfies the preset requirement; wherein the offline running file is generated according to the device information of the terminal AI processor and the binary instructions when the running result satisfies the preset requirement. writing device information of the terminal AI processor into a driver to select a matched AI processor from a cloud AI processing system according to the device information of the terminal AI processor, so as to simulate the terminal AI processor, configuring software parameters for a compiler interface of an AI learning library, according to the device information of the terminal AI processor, using the configured compiler interface of the AI learning library to compile an AI algorithm model, so as to obtain a set of binary instructions corresponding to terminal AI processor, using a runtime library to process the set of binary instructions, so as to generate an AI learning task to be executed by the matched AI processor in the cloud AI processing system, transmitting the AI learning task to the cloud AI processing system for running; receiving a running result corresponding to the AI learning task; according to the running result, determining whether the device information of the terminal AI processor satisfies an expected condition; if the device information of the terminal AI processor does not meet the expected condition, adjusting the device information of the terminal AI processor until the device information of the terminal AI processor satisfies the expected condition, including adjusting the device information of the terminal AI processor, so as to adjust the software parameters for the compiler interface, thereby adjusting the set of binary instructions and adjusting the the AI learning task generated from the binary instructions, if the running result satisfies the preset requirement, generating a corresponding offline running file according to the set of binary instructions that satisfies the preset requirement; wherein the offline running file is generated according to the device information of the terminal AI processor and the binary instructions when the running result satisfies the preset requirement. adjusting the device information of the terminal AI processor, so as to adjust the software parameters for the compiler interface, thereby adjusting the set of binary instructions and adjusting the the AI learning task generated from the binary instructions, if the running result satisfies the preset requirement, generating a corresponding offline running file according to the set of binary instructions that satisfies the preset requirement; wherein the offline running file is generated according to the device information of the terminal AI processor and the binary instructions when the running result satisfies the preset requirement.