A method for executing a task by an intelligent device, wherein the intelligent device comprises a plurality of sensor components, wherein the plurality of sensor components includes at least a first sensor component of a first type and a second sensor component of a second type, each sensor component detects a piece of triggering information, wherein the triggering information is outside information detected by the intelligent device by using the sensor components, wherein the pieces of triggering information respectively detected by the first and the second sensor components are of different types, wherein the method comprises: when the intelligent device detects a first piece of triggering information detected by the first sensor component and further detects a second piece of triggering information detected by the second sensor component at the same time as that of detecting the first piece of triggering information, classifying each piece of detected triggering information based on a pre-trained classification model and each event in an event set, and determining an event corresponding to each piece of triggering information, wherein the event is an event that happens outside and that is determinable for the intelligent device when the intelligent device detects the triggering information; performing deduplication processing on all determined events to obtain an event list including at least one to-be-processed event triggered by the pieces of triggering information, wherein the deduplication processing comprises deleting repeated events such that when the event list includes multiple to-be-processed events, each event in the event list is different from each other; selecting , for each determined to-be-processed event and from at least one task corresponding to the event, a target task corresponding to the event, wherein the task is a processing manner available to the intelligent device for the event that happens outside; and executing the target task corresponding to each event. when the intelligent device detects a first piece of triggering information detected by the first sensor component and further detects a second piece of triggering information detected by the second sensor component at the same time as that of detecting the first piece of triggering information, classifying each piece of detected triggering information based on a pre-trained classification model and each event in an event set, and determining an event corresponding to each piece of triggering information, wherein the event is an event that happens outside and that is determinable for the intelligent device when the intelligent device detects the triggering information; performing deduplication processing on all determined events to obtain an event list including at least one to-be-processed event triggered by the pieces of triggering information, wherein the deduplication processing comprises deleting repeated events such that when the event list includes multiple to-be-processed events, each event in the event list is different from each other; selecting , for each determined to-be-processed event and from at least one task corresponding to the event, a target task corresponding to the event, wherein the task is a processing manner available to the intelligent device for the event that happens outside; and executing the target task corresponding to each event. <EOS>