An information sharing method, applied to a terminal device, wherein the method comprises: when detecting a trigger gesture performed by a user on an interface element in a current display interface of the terminal device, determining whether the interface element is a shareable object; if the interface element is an unshareable object, determining a shareable target object associated with the interface element, the determining comprising: determining a background program that is running and that is associated with the interface element, wherein the determining a background program that is running and that is associated with the interface element comprises: determining a system resource controlled by the interface element; searching for the background program that is running and that occupies the system resource; and determining the found background program as the background program associated with the interface element; and obtaining the target object from the background program; and sharing the target object with a specified target device; wherein the interface element is a volume slider and the background program associated with the volume slider is a media player, and the obtaining the target object from the background program comprises: obtaining a media file that is being played by the media player; and determining the obtained media file as the target object. when detecting a trigger gesture performed by a user on an interface element in a current display interface of the terminal device, determining whether the interface element is a shareable object; if the interface element is an unshareable object, determining a shareable target object associated with the interface element, the determining comprising: determining a background program that is running and that is associated with the interface element, wherein the determining a background program that is running and that is associated with the interface element comprises: determining a system resource controlled by the interface element; searching for the background program that is running and that occupies the system resource; and determining the found background program as the background program associated with the interface element; and obtaining the target object from the background program; and determining a background program that is running and that is associated with the interface element, wherein the determining a background program that is running and that is associated with the interface element comprises: determining a system resource controlled by the interface element; searching for the background program that is running and that occupies the system resource; and determining the found background program as the background program associated with the interface element; and determining a system resource controlled by the interface element; searching for the background program that is running and that occupies the system resource; and determining the found background program as the background program associated with the interface element; and obtaining the target object from the background program; and sharing the target object with a specified target device; wherein the interface element is a volume slider and the background program associated with the volume slider is a media player, and the obtaining the target object from the background program comprises: obtaining a media file that is being played by the media player; and determining the obtained media file as the target object. obtaining a media file that is being played by the media player; and determining the obtained media file as the target object. <EOS>