Patent ID: 9736208
Date: 2017-08-15
CPC Classifications: H04L,H04W

Claim:
1. A method in a first terminal, the method comprising: collecting, when a social network is registered or updated, user relationship information, the user relationship information relating to at least one second terminal sharing at least one media with the first terminal and belonging to the social network of the first terminal; transmitting, to a media server, the user relationship information to store or update the social network; generating, when a media generation event occurs, the media from a plurality of segments, the media comprising location information and sensor information of the first terminal when generating the media, wherein the location information and the sensor information for each of the plurality of segments are added to the media; registering the generated media to the media server; transmitting, when a media sharing event occurs, location information of the first terminal to the media server; when the transmitted location information is not within a threshold distance of location information included in at least one media registered by the at least one second terminal, receiving, from the media server, an absence of at least one media corresponding to the transmitted location information; responsive to moving within a threshold distance of location information included in at least one media registered by the at least one second terminal, receiving automatically, from the media server, at least one media, corresponding to the transmitted location information, of at least one media registered by the at least one second terminal; and playing the received at least one media; wherein, when the media comprises an MP4 file that is generated using an MPEG-4, part 4 (MP4) protocol, the location information and the sensor information detectable by a sensor are stored in a metadata portion of the MP4 file.