A method for sharing data applied in a DLNA device provided with a DLNA server, comprising a step of: detecting a first event of a mobile storage device being plugged into the DLNA device; acquiring a mount path of the mobile storage device through the DLNA server upon detection of the first event, wherein data stored under the mount path in the mobile storage device is automatically sharable with at least one DLNA client once the mount path is acquired; and wherein the method further comprises a step of: sharing the data with the at least one DLNA client according to the mount path through the DLNA server; the method being characterized in that , the step of acquiring the mount path of the mobile storage device through the DLNA server upon detection of the first event comprises the steps of: calling a preset script when the first event is detected; adding the mount path into a configuration document of the DLNA server through the called preset script, to allow the data stored under the mount path in the mobile storage device to be sharable with the at least one DLNA client via the DLNA server; and triggering , through the called preset script, the DLNA server to reload the configuration document so as to identify sharable data. detecting a first event of a mobile storage device being plugged into the DLNA device; acquiring a mount path of the mobile storage device through the DLNA server upon detection of the first event, wherein data stored under the mount path in the mobile storage device is automatically sharable with at least one DLNA client once the mount path is acquired; and wherein the method further comprises a step of: sharing the data with the at least one DLNA client according to the mount path through the DLNA server; the method being characterized in that , the step of acquiring the mount path of the mobile storage device through the DLNA server upon detection of the first event comprises the steps of: calling a preset script when the first event is detected; adding the mount path into a configuration document of the DLNA server through the called preset script, to allow the data stored under the mount path in the mobile storage device to be sharable with the at least one DLNA client via the DLNA server; and triggering , through the called preset script, the DLNA server to reload the configuration document so as to identify sharable data. sharing the data with the at least one DLNA client according to the mount path through the DLNA server; the method being characterized in that , the step of acquiring the mount path of the mobile storage device through the DLNA server upon detection of the first event comprises the steps of: calling a preset script when the first event is detected; adding the mount path into a configuration document of the DLNA server through the called preset script, to allow the data stored under the mount path in the mobile storage device to be sharable with the at least one DLNA client via the DLNA server; and triggering , through the called preset script, the DLNA server to reload the configuration document so as to identify sharable data. calling a preset script when the first event is detected; adding the mount path into a configuration document of the DLNA server through the called preset script, to allow the data stored under the mount path in the mobile storage device to be sharable with the at least one DLNA client via the DLNA server; and triggering , through the called preset script, the DLNA server to reload the configuration document so as to identify sharable data. <EOS>