A data processing method, comprising: receiving a task request, wherein the task request carries a task submitted by a user; generating a sub-task set comprising at least one sub-task according to the task in the task request; determining input data for executing each sub-task; performing the following operations for each sub-task in the sub-task set: determining, in all computing frameworks configured in a system, computing frameworks that are capable of executing the sub-task as candidate computing frameworks, wherein a quantity of the candidate computing frameworks is greater than or equal to 2; separately predicting, according to the input data of the sub-task and a prediction model that corresponds to each candidate computing framework, operation time and resource consumption that correspond to each candidate computing framework when the candidate computing framework executes the sub-task; and selecting, in the candidate computing frameworks according to the predicted operation time and resource consumption that correspond to each candidate computing framework when the candidate computing framework executes the sub-task, a target computing framework executing the sub-task; and executing the corresponding sub-task based on the target computing framework that is selected for executing each sub-task in the sub-task set; wherein the selecting, in the candidate computing frameworks according to the predicted operation time and resource consumption that correspond to each candidate computing framework when the candidate computing framework executes the sub-task, a target computing framework executing the sub-task comprises: selecting, in the candidate computing frameworks, a candidate computing framework whose predicted resource consumption is less than an available resource of the system as a first candidate computing framework; and selecting, in the first candidate computing frameworks, a first candidate computing framework whose predicted operation time is the shortest as the target computing framework. receiving a task request, wherein the task request carries a task submitted by a user; generating a sub-task set comprising at least one sub-task according to the task in the task request; determining input data for executing each sub-task; performing the following operations for each sub-task in the sub-task set: determining, in all computing frameworks configured in a system, computing frameworks that are capable of executing the sub-task as candidate computing frameworks, wherein a quantity of the candidate computing frameworks is greater than or equal to 2; separately predicting, according to the input data of the sub-task and a prediction model that corresponds to each candidate computing framework, operation time and resource consumption that correspond to each candidate computing framework when the candidate computing framework executes the sub-task; and selecting, in the candidate computing frameworks according to the predicted operation time and resource consumption that correspond to each candidate computing framework when the candidate computing framework executes the sub-task, a target computing framework executing the sub-task; and determining, in all computing frameworks configured in a system, computing frameworks that are capable of executing the sub-task as candidate computing frameworks, wherein a quantity of the candidate computing frameworks is greater than or equal to 2; separately predicting, according to the input data of the sub-task and a prediction model that corresponds to each candidate computing framework, operation time and resource consumption that correspond to each candidate computing framework when the candidate computing framework executes the sub-task; and selecting, in the candidate computing frameworks according to the predicted operation time and resource consumption that correspond to each candidate computing framework when the candidate computing framework executes the sub-task, a target computing framework executing the sub-task; and executing the corresponding sub-task based on the target computing framework that is selected for executing each sub-task in the sub-task set; wherein the selecting, in the candidate computing frameworks according to the predicted operation time and resource consumption that correspond to each candidate computing framework when the candidate computing framework executes the sub-task, a target computing framework executing the sub-task comprises: selecting, in the candidate computing frameworks, a candidate computing framework whose predicted resource consumption is less than an available resource of the system as a first candidate computing framework; and selecting, in the first candidate computing frameworks, a first candidate computing framework whose predicted operation time is the shortest as the target computing framework. selecting, in the candidate computing frameworks, a candidate computing framework whose predicted resource consumption is less than an available resource of the system as a first candidate computing framework; and selecting, in the first candidate computing frameworks, a first candidate computing framework whose predicted operation time is the shortest as the target computing framework.