OA17089A - Content sharing method, terminal, server, and system, and computer storage medium. - Google Patents
Content sharing method, terminal, server, and system, and computer storage medium. Download PDFInfo
- Publication number
- OA17089A OA17089A OA1201400402 OA17089A OA 17089 A OA17089 A OA 17089A OA 1201400402 OA1201400402 OA 1201400402 OA 17089 A OA17089 A OA 17089A
- Authority
- OA
- OAPI
- Prior art keywords
- user
- sharing
- identifier information
- terminal
- information
- Prior art date
Links
- 230000000875 corresponding Effects 0.000 claims description 20
- 238000000034 method Methods 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 1
- 238000006011 modification reaction Methods 0.000 description 1
- 230000003287 optical Effects 0.000 description 1
Abstract
A method, a terminal, a server, a system and a computer storage medium for sharing contents are disclosed. The method includes: receiving a reporting request massage carrying position information and identifier information of a user sent by a terminal when an application adapted to obtain contents is used to obtain a content to be shared, obtaining a sharing object according to the position information and the identifier information of the user, wherein the distance between the user and the sharing object is less than a predetermined distance and/or the sharing object has used the application in a predetermined time period, and sending a reporting response massage carrying the sharing object to the terminal to enable the terminal to share the content to be shared according to the sharing object.
Description
The présent invention relates to a field of communication technoiogy, and particulariy to a method, a terminal, a server, a system and a computer storage medium for sharing contents.
Backqround
With the rapid development of mobile terminal technoiogy, more and more applications are used ln a mobile terminai. For example, an application for taking photos in the mobile terminai is one kind of applications which can be used in the mobile terminal.
Nowadays, users often use applications for taking photos installed in the mobile terminal to take photos, and then manualiy select identifier information of one or more users from a user list in the mobile terminal, take the selected identifier Information as a sharing object, and send the taken photos to the sharing object by services such as Email, Multimedia massage, or MicroBlog, there b y sharing the photos with the sharing object.
The technoiogy known In the art has at least the following problems:
The user has to manualiy select sharing objects.
Summary of the Invention
In order to faciiltate the user's operation and improve the interactivity between the user and the sharing object, the présent invention provides a method, a terminal, a server, a system and a computer storage medium for sharing contents. The technical solution Is as foliows:
A method for sharing contents Includes:
obtaining position Information of a user, wherein the position information of the user is obtained when an application adapted to obtain contents is used to obtain a content to be shared;
obtaining a sharing object from a position server according to the position information and identifier information of the user, wherein the distance between the user and the sharing object is less than a predetermined distance and/or the sharing object has used the application in a predetermined time period; and sharing the content to be shared according to the sharing object.
A method for sharing contents Includes:
receiving a reporting request massage sent by a terminal when the terminal uses an application adapted to obtain contents to obtain a content to be shared, wherein the reporting request massage carries position information and identifier information of the user;
obtaining a sharing object according to the position information and the identifier information of the user, wherein the distance between the user and the sharing object Is less than a predetermined distance and/or the sharing object has used the application In a predetermined time period; and sending a reporting response massage carrying the sharing object to the terminal to enable the terminal to share the content to be shared according to the sharing object.
A terminal Includes:
a first obtaining module, adapted for obtaining position information of a user when an application adapted to obtain contents Is used to obtain a content to be shared;
a second obtaining module, adapted for obtaining the sharing object from a position server according to the position information of the user and the identifier Information of the user, wherein the distance between the user and the sharing object Is less than a predetermined distance and/or the sharing object has used the application in a predetermined time period; and a sharing module, adapted for sharing the content to be shared according to the sharing object.
A position server includes:
a receiving module, adapted for receiving a reporting request massage sent by a terminal when the terminal uses an application adapted to obtain contents to obtain a content to be shared, wherein the reporting request massage cames position Information and identifier Information of the user;
a third obtaining module, adapted for obtaining a sharing object according to the position Information and Identifier information of the user, wherein the distance between the user and the sharing object is less than a predetermined distance and/or the sharing object has used this application In a predetermined time period; and a sending module, adapted for sending a reporting response massage carrying the sharing object to the terminal to enable the terminal to share the content to be shared according to the sharing object.
A system for sharing contents Includes the terminai and the position server described above.
One or more computer storage médiums Include computer-executable instructions, and the computer exécutable instructions are adapted to perform the method for sharing contents.
In embodiments of the present Invention, the distance between the user and any of the sharing object(s) is less than the predetermined distance, and both of the sharing object(s) and the user hâve used the application in a predetermined time period to obtain the content, thereby improving the Interactivity between the user and the sharing object(s). In addition, the sharing object(s) can be automatically obtained for the user so as to facilitate the user’s operation.
Brlef Description of Accompanvlnci Drawings
Figure 1 Illustrâtes a flow chart of a method for sharing contents according to Embodiment of the present invention.
Figure 2 illustrâtes a flow chart of a method for sharing contents according to Embodiment of the present invention.
Figure 3 Is Illustrâtes a flow chart of a method for sharing contents according to Embodiment 3 of the present invention.
Figure 4 illustrâtes a structure diagram of a terminai according to Embodiment 4 of the present invention.
Figure 5 illustrâtes a structure diagram of a position server according to Embodiment 5 of the present invention.
Figure 6 illustrâtes a structure diagram of a system for sharing contents according to Embodiment 6 of the present invention.
Detalled Description
To make the object, technical solution and advantages of the present invention more apparent, the embodiments of the present invention will be further described in detail by reference to the accompanying drawings.
Embodiment 1
As shown in Fig.1, an embodiment of the présent invention provides a method for sharing contents, which indudes the following:
Step 101: when a user uses an application adapted to obtain contents to obtain a content to be shared, receiving a reporting request massage which carries position Information and Identifier Information of the user from a terminal of the user.
Step 102: obtaining sharing object(s) according to the position Information and Identifier information of the user, where the distance between the user and any of the sharing object(s) is less than a predetermined distance and/or any of the sharing object(s) has used this application In a predetermined time period.
Step 103: sending a reporting response massage carrying a sharing object to the terminai, there by to enable the terminal to share the content to be shared with the sharing object(s).
The executive entity in this embodiment may be a position server.
In the embodiment of the présent invention, a reporting request massage ls received from a terminal, sharing object(s) ls obtained according to the position information and identifier Information of a user carried In the reporting request massage, where the distance between the user and any of the sharing object(s) is less than a predetermined distance and/or any of the sharing object(s) has used this application In a predetermined time period, and a reporting response massage ls sent to the terminal to enable the terminai to share the content to be shared with the sharing object(s). In the embodiment, the distance between the user and any of the sharing object(s) is iess than the predetermined distance, and both of the sharing object(s) and the user hâve used the application In a predetermined time period to obtain the content, thereby Improving the interactivity between the user and the sharing object(s). in addition, the object list can be automaticaily obtained for the user so as to facilitate the user's operation.
Embodiment 2
As shown in Fig.2, an embodiment of the présent invention provides a method for sharing contents, which includes the followings:
Step 201: when a user uses an application adapted to obtain contents to obtain a content to be shared, a terminai obtains position information of the user.
Specifically, the terminal may obtain the position information of the user by any one of the following three methods:
In the first method, the terminal obtains position coordinates of the position where the terminal 1$ located by using a Global Positioning System (GPS) module included In this terminal to position this terminal, and takes the position coordinates as the position information of the user.
In this method, the position coordinates may be géographie coordinates or the like.
In the second method, the terminal obtains identifier information of a base station to which the terminal accesses, and uses the Identifier information of the base station to which the terminal accesses as the position Information of the user.
In this method, the Identifier information of the base station may be an address or a serial number of the base station.
in the thîrd method, the terminal obtains Identifier Information of a wireless fidelity (wifi) network to which the terminal access, and uses the identifier information of the wifi network to which the terminal access as the position information of the user.
In this method, the wifi network Is also known as a wireless broadband, and the Identifier information of the wifi network may be a MAC address or the like of the wifi network.
In the above methods, the terminal includes an application adapted to obtain contents, and the user may start the application adapted to obtain the contents in the terminal, and then obtain the content to be shared by starting this application adapted to obtain the contents In the terminal.
In the above methods, the application adapted to obtain the contents may be an application for taking photos, MicoBlog or the like in the terminal, and the content to be shared may be picture(s) or text(s).
For example, in this embodiment, an application for taking photos is taken an example, but the présent Invention Is not limited thereto. When the content to be shared by the user are picture(s), the user can starts the application adapted to take photos in the terminal to obtain the picture(s) to be shared, then the terminal positions itself by using a GPS module included therein to obtain its position coordinates (3, 3) and takes its position coordinates (3, 3) as the position information of the user. '
Step 202: the terminal sends a reporting request massage to a position server, and the reporting request massage carries the position information and Identifier information ofthe user.
In this step, the identifier information of the user may be presorted in the terminal, thus the terminal may directly obtain the stored identifier Information of the user, or the terminal may directly receive the identifier information of the user input by the user, and then, the terminal sends the reporting request massage carrying the position information and the identifier information of the user.
For example, the terminal sends the reporting request massage to the position server, and 5 the reporting request massage carries the position information (3, 3) and the identifier information ID1 of the user.
Step 203: the position server reçoives the reporting request massage sent by the terminal, and obtains the position coordinates of the user according to the position information of the user carried in the reporting request massage.
tO Specifically, if the position information of the user carried in the reporting request massage is the position coordinates of the terminai, the position server détermines that the position coordinates of the terminal carried in the reporting request massage is the position coordinates of the user.
If the position information of the user carried in the reporting request massage is the 15 Identifier information of the base station to which the terminai accesses, the position server obtains the position coordinates of the base station to which the terminai accesses from a correspondence relationship between stored identifier Information and position coordinates of base stations according to the Identifier information of the base station to which the terminai accesses, and takes the position coordinates of the base station to which the terminal accesses 20 as the position coordinates of the user.
if the position information of the user carried in the reporting request massage is the Identifier information of the wifi network to which the terminal access, the position server obtains the position coordinates of the wifi network to which the terminai access from a a correspondence relationship between stored identifier information and the position coordinates 25 of wifi networks according to the Identifier information of the wifi network to which the terminal accesses, and takes the position coordinates of the wifi network to which the terminai access as the position coordinates of the user.
For example, the position server receives the reporting request massage sent by the terminal, and the reporting request massage carries the position information (3, 3) and the 30 identifier Information ID1 of the user. Since the position Information of the user is the position coordinates of the terminal, it is determined that the position coordinates of the user Is (3, 3).
Step 204: the position server obtains an object list according to a stored correspondence relationship between identify information and the position coordinates of users as well as the identify information of this user and the position coordinates of this user. The object list includes
Identifier Information of one or more sharing objects. The sharing object(s) are user(s) other than this user, and the distance between this user and any of the sharing object(s) is less than a predetermined distance.
Specifically, the position server détermines a région by taking a point corresponding to the position coordlnates of the user as a center and taking a predetermlned distance as a radius, and obtains the identifier information of the user(s) in this région from the stored correspondence relationship between the identifier information and the position coordinates of usera, if the identifier information of the user(s) in this région includes the Identifier information of this user, the identifier information of this user is removed from the Identifier information of the user(s) In this région, and the remainlng identifier information of the user(s) in this région is taken as the Identifier information of the sharing object(s). if the identifier information of the user(s) in this région does not include the identifier information of this user, the identifier Information of the user(s) In this région is taken as the Identifier information of the sharing object(s). The object list is formed by the identifier information of the sharing object(s).
Or, the following is performed. According to the position coordinates of the user and the correspondence relationship of the stored identifier Information and position coordinates of usera, the position server calculâtes the distance between this user and each of the usera indicated in the correspondence relationship of the stored identifier information and position coordinates of the usera, and obtains identifier information of the userfs) the distance between which and this user is less than a predetermlned distance. If the identifier information of the user(s) in this région includes the identifier information of this user, the identifier Information of this user is removed from the identifier information of the user(s) in this région, and the remaining Identifier Information of the user(s) In this région is taken as the identifier information of the sharing object(s). If the identifier information of the user(s) in this région does not include the identifier information of this user, the identifier information of the user(s) in this région is taken as the identifier information of the sharing object(s). The object list is formed by the identifier information of the sharing object(s).
Further, usage time when the sharing object(s) in the object list uses the application adapted to obtain contents lately is obtained, and identifier information of the sharing object(s) in the object list that has not used the application adapted to obtain the contents for a predetermlned time period is removed according to the usage time. in such a way, the object list only Includes the sharing object(s) that has used the application adapted to obtain the contents within the predetermlned time period.
Specifically, the usage time when the sharing object(s) in the object list uses the application adapted to obtain contents lately is obtain according to a correspondence relationship between the stored identifier information and the usage time of usera, and identifier information of the 7 sharing object(s) in the object list that has not used the application adapted to obtaln the contents for a predetermined time period is removed according to the usage time.
Further, a correspondence reiationship between the identifier information and position coordinates of the user Is established. Specifically, look up the stored correspondence reiationship between the identifier information and position coordinates of users according to the Identifier Information of the user, if the position coordinates corresponding to the identifier information of the user are found, the found position coordinates are updated to the iatest position coordinates of the user, if the position coordinates corresponding to the identifier information of the user are not found, the correspondence between the identifier information and the position coordinates of the user is taken as a record recorded in the correspondence reiationship between the identifier Information and position coordinates of users.
Further, the usage time when the user uses the application adapted to obtain contents lately Is obtained, and a correspondence reiationship between the Identifier information of the user and the usage time thereof is established. Specifically, détermine the current time as the usage time when the user uses the application adapted to obtain contents iately, and look up the correspondence reiationship between the identifier information and the usage time of users according to the identifier information of the user. If the usage time corresponding to the Identifier information of the user is found, the found usage time is updated to the Iatest usage time when the user uses the application. If the usage time corresponding to the identifier information of the user Is not found, the correspondence reiationship between the identifier Information and the usage time of the user is taken as a record recorded in lhe correspondence reiationship between the identifier information and usage time of users.
Further, a friend list of this user Is obtained, where the friend list includes identifier information of user(s) who has a friend reiationship with this user, and the identifier information of the userfs) who do not hâve a friend reiationship with this user Is removed from the object list according to the friend list of this user.
Specifically, the friend list of this user is obtained from a stored correspondence reiationship between the identifier Information and the friend iists of users according to the Identifier information of this user, and the identifier information of the userfs) who do not hâve a friend reiationship with this user is removed from the object list according to the identifier information of user(s) who has a friend reiationship with this user in the friend iist.
For example, In this embodiment, the position server Includes a correspondence reiationship between the identifier Information and the position coordinates of users as shown In Table 1, and a correspondence reiationship between the Identifier information of and the usage time of users as shown in Table 2. The usage time of each user included in the correspondence relationship between the identifier information and the usage time of users shown in Table 2 is the time when each user uses the application adapted to take photos iately, i.e. the time when each user takes photos Iately.
Table 1
Identifier information of users | position coordinates |
ID1 | (2, 2) |
ID2 | (2, 3) |
ID3 | (4, 4) |
ID4 | (3, 4) |
iD5 | (8, 8) |
Table 2
Identifier Information of users | Usage time |
ID1 | Timel |
ID2 | Time2 |
ID3 | Time3 |
ID4 | Time4 |
ID5 | Time5 |
The position server détermines a région by taking a point with the position coordinates (3, 3} of the user as a center and taking a predetermined distance 3 as a radius, obtains the identifier Information ID1, ID2, ID3 and ID4 of the users in this région from the stored correspondence relationship between the Identifier information and the position coordinates of users as shown ln Table 1, removes the Identifier Information ID1 of this user from the obtained identifier Information ID1, ID2, ID3 and ID4 of the users, takes the remainlng identifier information ID2, ID3 and ID4 of the users as the Identifier information of the sharing objects, and forms an object list. According to the identifier information ID2, ID3 and ID4 of the sharing objects Included ln the object list, the position server finds from the correspondence relationship between the identifier information and the usage time of users shown in Table 2 that the usage time when the sharing object corresponding to the Identifier Information ID2 Iately uses the application adapted to take photos Is Time 2, the usage time when the sharing object corresponding to the Identifier Information ID3 Iately uses the application adapted to take photos is Time 3, and the usage time when the sharing object corresponding to the identifier information ID4 Iately uses the application adapted to take photos is Time 4. The time Interval between the current time and any of Time 2 and Time 3 is less than a predetermined time, and the time interval between Time and the current time is greater than the predetermined time. Therefore, the sharing object corresponding to the identifier information ID2 and the sharing object corresponding to the identifier information ID3 hâve used the application adapted to take photos within the 5 predetermined time, while the sharing object corresponding to the identifier information ID4 has not used application adapted to take photos within the predetermined time. Thus, according to the usage time, the identifier information ID4 corresponding to the sharing object which has not used the application adapted to take photos within the predetermined time is removed from the object list. As a resuit, the final object list includes the identifier information ID2 and ID3 of the 10 sharing objects.
The position server finds from the correspondence relationship between the identifier information and the position coordinates of users shown in Table 1 according to the identifier information ID1 of this user that the position coordinates corresponding to the identifier information ID1 is (2, 2), updates the position coordinates (2, 2) found in Table 1 to the latest t5 position coordinates (3, 3) of this user, and obtains the correspondence relationship between the identifier information and the position coordinate of users as shown in Table 3.
Table 3
Identifier information of users | position coordinates |
ID1 | (3, 3) |
ID2 | (2, 3) |
ID3 | (4, 4) |
ID4 | (3, 4) |
ID5 | (8, 8) |
Further, the position server détermines the current time Time 0 as the usage time when this 20 user uses the application adapted to take photos lately, finds out from the correspondence relationship between the identifier information usage time of users shown in Table 2 according to the identifier information ID1 of this user that the usage time corresponding to the identifier information ID1 is Time 1, updates the usage time Time 1 found in Table 2 to the latest usage time Time 0 of this user, and obtains the correspondence relationship between the identifier 25 information and the usage time of users as shown in Table 4.
Table 4
Identifier information of users | Usage time |
ID1 | TimeO |
ID2 | Time2 |
ID3 | Time3 |
ID4 | Time4 |
ID5 | TimeS |
Step 205: the position server sends a reporting response massage to the terminal, and the reporting response massage carnes the object list.
Step 206: the terminal receives the reporting response massage sent by the position server, 5 where the reporting response massage carries the object list and the object list includes identifier information of the sharing object(s).
ln a process that the terminal uses the application adapted to obtain contents in order to obtain a content to be shared, the terminal may periodicaliy perform the above Steps 202 to 206.
For example, the position server sends a reporting response massage to the terminal, the terminal receives this reporting response massage, where the reporting response massage carries an object list which includes the Identifier information ID2 and ID3of the sharing objects.
After the terminal obtains the content to be shared, the following Step 207 may be performed.
Step 207: the terminal shares the content to be shared according to the object list.
Specifïcally, the terminal displays the object list including the identifier information of the sharing object(s) to this user. If this user selects identifier information of a sharing object to be deleted from the object list, the terminal deletes from the object list the identifier information of the sharing objects selected by the user, and If this user needs to add identifier information of a 20 new sharing object into the object list, the terminal obtains the identifier information of the new sharing object to be added and adds the identifier information of the new sharing object to be added Into the object list. The terminal shares the content to be shared with the corresponding user(s) according to the identifier information of the userfs) Included in the object list.
The terminal includes a user list which includes identifier information of one or more users, 25 and the user may select identifier information of one or more users from the user list and take the selected identifier information as the identifier information of the new sharing object to be added. Correspondingly, the terminal may obtains from the user list the identifier information of the new sharing object to be added selected by the user.
In above procedure, the user may Issue a sharing command to the terminal, and when the terminal receives the sharing command Issued by the user, the terminal shares the content to be shared .with the corresponding sharing object(s) according to the identifier information of the sharing object(s) included In the object list.
The operation that the terminal shares the content to be shared may specifically include any of the following methods:
In the first method, the terminal sends the content to be shared to the sharing object(s) corresponding to the identifier information of the sharing object(s) Included in the object list, thereby sharing the content to be shared.
In the second method, the terminal sends the content to be shared and the object list to a sharing server, the sharing server stores the content to be shared and allocates Iink information for the content to be shared, sends the Iink Information for the content to be shared to the sharing object(s) corresponding to the Identifier Information of the sharing object(s) included In the object list, thereby sharing the content to be shared.
In the above second method, when any of the sharing objectfs) receives the Iink
Information for the content to be shared, the sharing object may obtain the content to be shared from the sharing server according to the Iink information for the content to be shared.
For example, supposing that the user neither needs to add Identifier Information of any new sharing object into the object list, nor needs to delete identifier Information of any sharing object 20 from the object list, when the terminal obtains a picture to be shared and receives a sharing command issued by this user, the terminal shares the picture to be shared according to the Identifier Information ID2 and ID3 of the sharing objects Included In the object list.
In this embodiment of the présent invention, the terminal obtains position Information of thîs user, sends a reporting request massage carrying the position information and Identifier 25 information of this user to a position server, and the position server obtains a object list according to the position information and identifier information of this user carried in the reporting request massage. The object list inciudes sharing object(s), where the sharing object(s) are the user(s) other than this user, and the distance between the user and any of the sharing object(s) Is less than a predetermined distance and/or any of the sharing object(s) has used this 30 application In a predetermined time period. The position server sends a reporting response massage canrying the object list to the terminal to enable the terminal to share the content to be shared according to the object list. In this embodiment, the distance between the user and the sharing object is less than the predetermined distance, and both of the sharing object and the user hâve used this application In a predetermined time period lo obtain the contents, thereby
Improving the Interactivity between the user and the sharing object In addition, the object list may be automatically obtained for the user In order to facilitate the user’s operation.
Embodiment 3
As shown in Fig.3, an embodiment of the présent invention provides a method for sharing 5 contents, which Includes the followings:
Step 301: when a user uses an application adapted to obtain contents to obtain a content to be shared, position information of the user is obtained.
Step 302: the sharing object(s) is obtained from a position server according to the position information and identifier information of this user, where the distance between the user and any I0 of the sharing object(s) Is less than a predetermined distance and/or any of the sharing object(s) has used this application ln a predetermined time period.
Step 303: the content to be shared Is shared according to the sharing object.
The executive entity ln this embodiment may be a terminal.
In the embodiment of the présent Invention, the terminal obtains the position Information of t5 the user, and obtains object(s) from the position server according to the position information and Identifier information of a user, where the distance between the user and any of the sharing object(s) is less than a predetermined distance and/or any of the sharing object(s) has used this application ln a predetermined time period, and the terminal shares the content to be shared according to the sharing object(s). ln the embodiment, the distance between the user and any of 20 the sharing object(s) 1s less than the predetermined distance, and both of the sharing object(s) and the user hâve used the application in a predetermined time period to obtain the content, thereby improving the interactivity between the user and the sharing object(s). ln addition, the object list can be automatically obtained for the user so as to facilitate the user’s operation.
Embodiment 4
As shown ln Flg.4, an embodiment of the présent invention provides a terminal, which Includes the followings:
A first obtaining module 401, adapted for obtaining position information of a user when the user uses an application adapted to obtain contents to obtain a content to be shared;
A second obtaining module 402, adapted for obtaining the sharing object(s) from a position 30 server according to the position information and Identifier information of this user, wherein the distance between the user and any of the sharing object(s) Is less than a predetermined distance and/or any of the sharing object(s) has used this application in a predetermined time period; and
A sharing module 403, adapted for sharing the content to be shared according to the sharing object (s).
The first obtaining module 401 Indudes one of the following units:
A positioning unit, adapted for positioning the terminal by using a GPS module Included in the terminal to obtain the position coordinates of the terminal, and taking the position coordinates of the terminai as the position Information of this user;
A first obtaining unit, adapted for obtaining Identifier information of a base station to which the terminal accesses, and taking the identifier Information of the base station as the position information of this user; and
A second obtaining unit, adapted for obtaining identifier information of a wifi network to which the terminai accesses, and taking the Identifier information of the wifi network as the position Information of this user.
The second obtaining module 402 Indudes the followings:
A sending unit, adapled for sending a reporting request massage carrying the position Information and the identifier Information of the user to the position server to enable the position server to obtain an object list according to the position information and the identifier information of the user, wherein the object list Indudes identifier information of the sharing object(s); and
A receiving unit, adapted for receiving the reporting response massage sent by the position server, wherein the reporting request massage carries the objed list.
The sharing module 403 indudes the followings:
A dispiay unit, adapted for displaying the Identifier Information of the sharing object($) Included in the objed list to the user;
Adeleting unit, adapted for deleting the Identifier Information of a sharing object selected by this user from the object list on the condition that this user selects from the object list the identifier information of the sharing objed to be deleted;
An adding unit, adapted for obtaining identifier Information of a new sharing object and adding the identifier Information of the new sharing object into the objed list on the condition that this user wants to add the new sharing object into the object list; and
A sharing unit, adapted for sharing the content to be shared with the sharing object(s) according to the Identifier Information of the sharing objectfs) included in the object iist.
in the embodiment of the présent Invention, a reporting request massage is received from a terminal, sharing object(s) is obtained according to the position Information and Identifier 5 Information of a user carried in the reporting request massage, where the distance between the user and any of the sharing object(s) Is less than a predetermined distance and/or any of the sharing object(s) has used this appiication In a predetermined time period, and a reporting response massage is sent to the terminai to enabie the terminai to share the content to be shared with the sharing object(s). in the embodiment, the distance between the user and any of 10 the sharing object(s) Is less than the predetermined distance, and both of the sharing objectfs) and the user hâve used the application In a predetermined time period to obtain the content, thereby improving the interactivity between the user and the sharing object(s). in addition, the object iist can be automaticaliy obtained for the user so as to facilitate the user’s operation.
Embodiment 5
As shown In Fig.5, an embodiment of the présent invention provides a terminai, which includes the following s:
A receiving module 501, adapted for receiving a reporting request massage sent by a terminal when a user uses an application adapted to obtain contents to obtain a content to be shared, where the reporting request massage carries position information and identifier 20 information of the user;
A third obtaining module 502, adapted for obtaining the sharing object(s) according to the position information and Identifier information of the user, wherein the distance between the user and any of the sharing objectfs) is less than a predetermined distance and/or any of the sharing objectfs) has used this application in a predetermined time period; and
A sending module 503, adapted for sending a reporting response massage carrying the sharing objectfs) to the terminal to enabie the terminai to share the content to be shared according to the sharing objectfs).
The third obtaining module 502 includes the followings:
A third obtaining unit, adapted for obtaining position coordinates of the user according to 30 the position information of the user; and
A fourth module unit, adapted for obtaining the object iist according to a stored correspondence reiationship between the identifier information and position coordinates of users as weli as the Identifier information and position coordinates of this user, where the object 15 list inciudes the Identifier Information of the sharing object(s) and the distance between any of the sharing object(s) and this user Is less than a predetermined distance.
The third obtaining unit Inciudes the followlngs:
A determining subunit, adapted for taking the position coordinates of the terminal as the 5 position coordinates of the user on the condition that the position Information of the user is the position coordinates of the terminal;
A first obtaining subunit, adapted for, one the condition that the position Information of the user is Identifier information of a base station, obtaining position coordinates of the base station from a stored correspondence relationship between the Identifier Information and the position 10 coordinates of base stations according to identifier information of this base station, and taking the position coordinates of this base station as the position coordinates of this user; and
A second obtaining subunit, adapted for, on the condition that the position information of the user is Identifier information of a wifi network, obtaining according to identifier information of the wifî network, position coordinates of the wifi network from a stored correspondence relationship 15 between the identifier Information and the position coordinates of wifi networks, and taking the position coordinates of the wifi network as the position coordinates of this user.
The third obtaining module 502 may further include a removing unit, adapted for obtaining usage time when the sharing object(s) included in the object list lately uses the application, and removing, according to the usage time, the identifier information of sharing object(s) which has 20 not used the application within a prédétermina time period from the object list.
Further, the server may further include an establishment unit, adapted for establishing a correspondence relationship between the identifier information and the position coordinates of the user.
In the embodiment of the présent invention, a reporting request massage Is received from a 25 terminal, sharing object(s) is obtained according to the position information and Identifier information of a user carried in the reporting request massage, where the distance between the user and any of the sharing object(s) Is less than a predetermined distance and/or any of the sharing object(s) has used this application In a predetermined time period, and a reporting response massage is sent to the terminai to enabie the terminai to share the content to be 30 shared with the sharing object(s). In the embodiment, the distance between the user and any of the sharing object(s) is less than the predetermined distance, and both of the sharing object(s) and the user hâve used the application in a predetermined time period to obtain the content, thereby improvtng the Interactlvity between the user and the sharing object(s). In addition, the object list can be automaticaliy obtained for the user so as to facilitate the user's operation.
Embodiment 6
As shown In Fig.6, an embodiment of the présent invention provides a system for sharing contents, which include a terminal 601 as described In Embodiment 4 and a position server 602 as described In Embodiment 5.
Those skilled In the art should be understand that ail or a part of the above embodiments may be completed by using hardware, or be Implemented by using a program which send instructions to the hardware to complété these embodiments. The program may be stored In a computer-readable storage medium, and the flow chart of the embodiments as described in the above various methods may be performed when the program is executed. The above 10 mentioned storage medium may be Read-Only Memory (ROM), magnetic dise, optical dise, Random Access Memory (RAM) or the like.
The forgoing Is only preferred embodiments of the présent invention, and Is not Intended to limit the présent Invention. Any modifications, équivalents, Improvements and the like made within the spirit and principle of the présent application should be encompassed In the protection 15 scope of the présent application.
Claims (15)
- What Is ciaimed Is:1. A method for sharing contents, characterized by comprising:obtaining position Information of a user, wherein the position information of the user Is obtained when an application adapted to obtain contents Is used to obtain a content to be shared;obtaining at least one sharing object from a position server according to the position information and Identifier information of the user, wherein the distance between the user and any of the at least one sharing object Is less than a predetermined distance and/or any of the at least one sharing object has used the application in a predetermined time period; and sharing the content to be shared according to the at least one sharing object.
- 2. The method for sharing contents according to claim 1, characterized In that, a process of obtaining the position information of the user comprises:posîtionlng the terminal by using a GPS module In the terminal to obtain position coordinates of the terminal, and taking the position coordinates of the terminal as the position Information of the user; or obtaining identifier information of a base station to which the terminal accesses, and taking the Identifier Information of the base station as the position information of the user; or obtaining identifier Information of a wifi network to which the terminal accesses, and taking the Identifier Information of the wifi network as the position information of this user.
- 3. The method for sharing contents according to claim 1, characterized In that, a process of obtaining the at least one sharing object from the position server according to the position Information and the identifier Information of the user comprises:sending a reporting request massage carrying the position Information and the Identifier Information of the user to the position server to enable the position server to obtain an object list according to the position Information and the Identifier Information of the user, wherein the object list comprises Identifier Information of the at least one sharing object; and receiving a reporting response massage sent by the position server, wherein the reporting request massage carnes the object list.
- 4. The method for sharing contents according to claim 1 or 3, characterized In that, a process of sharing the content to be shared according to the at least one sharing object comprises:displaying the identifier Information of the at least one sharing object composed ln the object list to the user, when the user seiects from the object list the identifier Information'of a sharing object to be deleted, deleting the Identifier Information of the sharing object selected;
- 5 when the user wants to add a new sharing object Into the object list, obtaining the Identifier information of the new sharing object and adding the Identifier Information of the new sharing object Into the object list; and sharing the content to be shared with the at least one sharing object according to the identifier information of the at least one sharing object comprised ln the object list.tO 5. A method for sharing contents, characterized by comprising:receiving a reporting request massage sent by a terminal when an application adapted to obtain contents Is used to obtain a content to be shared, wherein the reporting request massage carnes position information and Identifier Information of a user;obtaining at least one sharing object according to the position Information and the identifier 15 information of the user, wherein the distance between the user and any of the at least one sharing object is less than a predetermined distance and/or any of the at least one sharing object has used the application In a predetermined time period; and sending a reporting response massage carrying the at least one sharing object to the terminal to enable the terminal to share the content to be shared according to the at least one 20 sharing object.
- 6. The method for sharing contents according to claim 5, characterized in that, a process of obtaining at least one sharing object according to the position information and the identifier Information of the user comprises:obtaining position coordinates of the user according to the position Information of the user; 25 and obtaining an object list according to the Identifier Information and the position coordinates of the user as well as a stored correspondence relationshlp between Identifier Information and the position coordinates of usera, wherein the object list comprises Identifier Information of at least one sharing object and the distance between any of the at least one sharing object and the user 30 Is less than a predetermined distance.
- 7. The method for sharing contents according to claim 6, characterized In that, a process of obtaining position coordinates of the user according to the position information of the user comprises:taking position coordinates of the terminal obtained via a GPS module as the position coordinates of the user on the condition that the position information of the user is the position coordinates of the terminai;on the condition that the position information of the user is Identifier information of a base station to which the terminal accesses, obtaining , position coordinates of the base station to which the terminal accesses corresponding to the identifier information of the base station to which the terminal accesses according to a stored correspondence relationship between identifier information and the position coordinates of base stations, and taking the obtained position coordinates of the base station to which the terminal accesses as the position coordinates of the user; and on the condition that the position information of the user is identifier information of a wifi network to which the terminal accesses, obtaining , position coordinates of the wifi network to which the terminal accesses corresponding to the identifier information of the wifi network to which the terminal accesses according to a stored correspondence relationship between identifier information and the position coordinates of the wifi networks, and taking the obtained position coordinates of the wifi network to which the terminal accesses as the position coordinates of the user.
- 8. The method for sharing contents according to claim 6, characterized in that, after obtaining an object list according to the identifier information and the position coordinates of the user as well as a stored correspondence relationship between identifier information and the position coordinates of usera, the method further comprises:for each of the at least one sharing object in the object list, obtaining usage time of the sharing object when the sharing object in the object list lately uses the application; and on the condition that it is determined according to the obtained usage time of the at least one sharing object that there is at least one sharing object which has not used the application within a prédétermina time period, removing from the object list the Identifier information of the at least one sharing object which has not used the application within a prédétermina time period.
- 9. A terminai, characterized in that, the terminai comprises:a first obtaining module, adapted for obtaining position information of a user when an application adapted to obtain contents is used to obtain a content to be shared;a second obtaining module, adapted for obtaining at least one sharing object from a position server according to the position information of the user and identifier information of the user, wherein the distance between the user and any of the at least one sharing object is less 5 than a predetermined distance and/or any of the at least one sharing object has used the application in a predetermined time period; and a sharing module, adapted for sharing the content to be shared according to the at least one sharing object.
- 10. The terminal according to daim 9, characterized in that, the first obtaining module 10 comprises:a positioning unit, adapted for positioning the terminal by using a GPS module in the terminal to obtain position coordinates of the terminal, and taking the position coordinates of the terminal as the position information of the user; or a first obtaining unit, adapted for obtaining identifier information of a base station to which 15 the terminal accesses, and taking the identifier information of the base station as the position information of the user; or a second obtaining unit, adapted for obtaining identifier Information of a wifi network to which the terminal accesses, and taking the Identifier information of the wifi network as the position Information of the user.20
- 11. The terminal according to daim 9, charaderized in that, the second obtaining module comprises:a sending unit, adapted for sending a reporting request massage carrying the position information and the identifier information of the user to the position server to enable the position server to obtain an object list according to the position information and the Identifier information 25 of the user, wherein the object list comprises identifier information of the at least one sharing object; and a receiving unit, adapted for receiving a reporting response massage sent by the position server, wherein the reporting request massage carries the objed list.30
- 12. A position server, characterized in that, the position server comprises:a receiving module, adapted for receiving a reporting request massage sent by a terminal when an application adapted to obtain contents is used to obtain a content to be shared, wherein the reporting request massage carries position information and identifier information of a user;a third obtaining module, adapted for obtaining at least one sharing object according to the5 position information and the identifier information of the user, wherein the distance between the user and any of the at least one sharing object is less than a predetermlned distance and/or any of the at least one sharing object has used the application in a predetermlned time period; and a sending module, adapted for sending a reporting response massage carrying the at least one sharing object to the terminal to enabie the terminal to share the content to be shared 10 according to the at least one sharing object.
- 13. The position server according to claim 12, characterized in that, the third obtaining module comprises:a third obtaining unit, adapted for obtaining position coordinates of the user according to the position Information of the user; and15 a fourth module unit, adapted for obtaining an object list according to the identifier information and the position coordinates of the user as well as a stored correspondence reiationship between identifier information and the position coordinates of users, wherein the object list comprises identifier information of at least one sharing object and the distance between any of the at least one sharing object and the user is less than a predetermlned 20 distance.
- 14. A system for sharing contents, characterized in that, the system comprises the terminal according to any of daims 9 to 11 and the position server according to any of daims 12 to 13.
- 15. One or more computer storage médiums comprising computer-executable Instructions, characterized in that, the computer exécutable instrudions are adapted to perform a method for25 sharing contents according to any of daims 1-8.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210059860.3 | 2012-03-08 |
Publications (1)
Publication Number | Publication Date |
---|---|
OA17089A true OA17089A (en) | 2016-03-23 |
Family
ID=
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2865666C (en) | Content sharing method, terminal, server, and system, and computer storage medium | |
CN103379165B (en) | A kind of method, terminal, server and system for showing microblog topic | |
US9813852B2 (en) | System and method for positioning terminal | |
US9080891B2 (en) | Methods, devices, and computer program products for exchanging interactive map information | |
EP2853102B1 (en) | Location-based group generation method, apparatus and system | |
CN113163402B (en) | Communication method, device and system | |
EP3876496A1 (en) | Mobile terminal and computer program product for widget sharing | |
CN109284448B (en) | Information recommendation method and device, terminal and storage medium | |
WO2017071356A1 (en) | Client-based network data synchronization method, apparatus and system | |
KR20140020332A (en) | Method and system for acquiring user content | |
US10291427B2 (en) | Device selection method and apparatus | |
WO2016197884A1 (en) | Identity-based data processing method and device | |
CN109032747B (en) | Data updating method and device | |
CN110928895B (en) | Data query and data table establishment method, device and equipment | |
WO2012079540A1 (en) | Method for displaying instant message on terminal and terminal | |
CN103503358B (en) | The method of a kind of group resource interaction message and device thereof | |
US20170353818A1 (en) | Method for deleting notification resource, and common service entity | |
OA17089A (en) | Content sharing method, terminal, server, and system, and computer storage medium. | |
CN106790323B (en) | Resource discovery method and device | |
US10594853B2 (en) | Mobile service information display method and apparatus, mobile service information server and system, and terminal | |
US10276025B2 (en) | Spatial telemeter alert reconnaissance system | |
CN105897560A (en) | Method and device for loading new mails in mailbox client of mobile device | |
US20170006529A1 (en) | Circumventing wireless device spatial tracking based on wireless device identifiers | |
CN105188107B (en) | Improve the method and device of the access efficiency of website | |
CN103425381B (en) | User interaction method and server |