A resource scheduling method, comprising: receiving_ data to be processed which is collected by a sensor in an Internet of Things (IoT) system; determining a processing priority of the data to be processed; wherein the processing priority p of the data to be processed is calculated as p = v u − v t 2 − v l − v t 2 v u − v l 2 wherein v t is a value of the physical quantity represented by the data collected by the sensor at a given moment t, v u is the estimated upper limit of the value of a physical quantity represented by the data to be processed and v l is the estimated lower limit of the value of a physical quantity represented by the data to be processed; predicting, according to the determined processing priority, a computing resource amount and duration required for processing the data to be processed; wherein predicting, according to the determined processing priority, a computing resource amount and duration required for processing the data comprises searching for a computing resource amount and duration occupied during processing of historical data; wherein the length of the data to be processed is within a range of the length of the historical data, the sensor collecting the data to be processed and a sensor collecting the historical data have a same type, and the processing priority of the data to be processed is within a range of the processing priority of the historical data; and scheduling a computing resource of an edge computing device in the IoT system according to the predicted computing resource amount and duration to process the data to be processed by selecting a computing resource of an edge computing device that satisfies the predicted computing resource amount and duration from edge computing devices in the IoT system to process the data to be processed. receiving_ data to be processed which is collected by a sensor in an Internet of Things (IoT) system; determining a processing priority of the data to be processed; wherein the processing priority p of the data to be processed is calculated as p = v u − v t 2 − v l − v t 2 v u − v l 2 wherein v t is a value of the physical quantity represented by the data collected by the sensor at a given moment t, v u is the estimated upper limit of the value of a physical quantity represented by the data to be processed and v l is the estimated lower limit of the value of a physical quantity represented by the data to be processed; predicting, according to the determined processing priority, a computing resource amount and duration required for processing the data to be processed; wherein predicting, according to the determined processing priority, a computing resource amount and duration required for processing the data comprises searching for a computing resource amount and duration occupied during processing of historical data; wherein the length of the data to be processed is within a range of the length of the historical data, the sensor collecting the data to be processed and a sensor collecting the historical data have a same type, and the processing priority of the data to be processed is within a range of the processing priority of the historical data; and scheduling a computing resource of an edge computing device in the IoT system according to the predicted computing resource amount and duration to process the data to be processed by selecting a computing resource of an edge computing device that satisfies the predicted computing resource amount and duration from edge computing devices in the IoT system to process the data to be processed.