WO2017124987A1 - 运动轨迹的分享方法、装置和存储介质 - Google Patents

运动轨迹的分享方法、装置和存储介质 Download PDF

Info

Publication number
WO2017124987A1
WO2017124987A1 PCT/CN2017/071287 CN2017071287W WO2017124987A1 WO 2017124987 A1 WO2017124987 A1 WO 2017124987A1 CN 2017071287 W CN2017071287 W CN 2017071287W WO 2017124987 A1 WO2017124987 A1 WO 2017124987A1
Authority
WO
WIPO (PCT)
Prior art keywords
trajectory
sharing
terminal
instant messaging
real
Prior art date
Application number
PCT/CN2017/071287
Other languages
English (en)
French (fr)
Inventor
史潇
王倩
都人华
朱向冬
张乐
朱绮琦
王为
Original Assignee
腾讯科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2017124987A1 publication Critical patent/WO2017124987A1/zh
Priority to US15/925,343 priority Critical patent/US10863312B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/222Monitoring or handling of messages using geographical location information, e.g. messages transmitted or received in proximity of a certain spot or area

Definitions

  • the present invention relates to the field of the Internet, and in particular to a method, an apparatus, and a storage medium for sharing a motion track.
  • the embodiment of the invention provides a method, a device and a storage medium for sharing a motion trajectory, so as to at least solve the technical problem that the trajectory of a friend cannot be shared by instant messaging.
  • a method for sharing a motion track comprising: an instant messaging client receiving a track sharing instruction, wherein the track sharing instruction is used to instruct an instant messaging client to share an instant messaging client a real-time motion trajectory of the first terminal in the motion event; the instant messaging client responds to the trajectory sharing instruction to generate a first trajectory sharing event; the instant messaging client sends the first trajectory sharing event to the server, wherein the first trajectory The sharing event is used to instruct the server to share the real-time motion trajectory of the first terminal in a manner specified by the trajectory sharing instruction.
  • a method for sharing a motion track comprising: receiving, by a server, a first track sharing event sent by an instant messaging client, where the first track sharing event carries a specified sharing mode
  • the server shares the real-time motion trajectory of the first terminal where the instant messaging client is located according to the specified sharing method.
  • a method for sharing a motion track includes: receiving, by a second terminal where an instant messaging client is located, a track sharing notification sent by a server, where the track sharing notification is used to notify the first
  • the terminal shares the real-time running track of the first terminal through the instant messaging client;
  • the instant messaging client of the second terminal generates a response message for responding to the track sharing notification in response to the command of the click track sharing notification, and returns the response information to the server;
  • the instant messaging client of the second terminal receives the real-time motion trajectory of the first terminal sent by the server based on the response information.
  • a sharing device for a motion track includes: a receiving unit, configured to receive a track sharing instruction, where the track sharing instruction is used to indicate that the instant messaging client shares the instant a real-time motion trajectory of the first terminal where the communication client is located in the motion event; a generating unit, configured to generate a first trajectory sharing event in response to the trajectory sharing instruction; and a sending unit, configured to send the first trajectory sharing event to the server, where The first trajectory sharing event is used to instruct the server to share the real-time motion trajectory of the first terminal in a manner specified by the trajectory sharing instruction.
  • a sharing device for a motion track includes: a notification receiving unit, configured to receive a track sharing notification sent by a server, where the track sharing notification is used to notify the first The terminal shares the real-time running track of the first terminal through the instant messaging client; the response unit is configured to generate response information for responding to the track sharing notification in response to the command of clicking the track sharing notification, and return the response information to the server; the track receiving unit, And is used for receiving a real-time motion track of the first terminal sent by the server.
  • the instant messaging client receives the first share of the sharing After the sharing instruction of the real-time motion track of the terminal, the first track sharing event is generated, and the first track sharing event indicates that the server corresponding to the instant messaging client (such as an instant messaging server) shares the real-time motion track of the first terminal.
  • FIG. 1 is a schematic diagram of a hardware environment according to an embodiment of the present invention.
  • FIG. 2 is a flow chart of an alternative method of sharing motion trajectories according to an embodiment of the present invention
  • FIG. 3 is a timing diagram of another alternative method of sharing motion trajectories according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of correspondence between respective motion trajectories and time according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of an interface of a method for sharing a motion trajectory according to an embodiment of the present invention
  • FIG. 6 is a flow chart of still another alternative method of sharing motion trajectories according to an embodiment of the present invention.
  • FIG. 7 is a flow chart of still another alternative method of sharing motion trajectories according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of an optional motion trajectory sharing apparatus according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of an optional motion trajectory sharing device according to an embodiment of the present invention.
  • FIG. 10 is a structural block diagram of a terminal according to an embodiment of the present invention.
  • an embodiment of a method of sharing a motion trajectory there is provided an embodiment of a method of sharing a motion trajectory, and it is noted that the steps illustrated in the flowchart of the accompanying drawings may be performed in a computer system such as a set of computer executable instructions, and Although the logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in a different order than the ones described herein.
  • the method for sharing the motion track may be applied to a hardware environment composed of the first terminal 10, the server 30, and the second terminal 50 as shown in FIG. 1, wherein the hardware environment includes a network. surroundings.
  • the terminal 10 is connected to the server 30 through a network, including but not limited to a wide area network, a metropolitan area network, or a local area network.
  • a sharing scheme of a motion track may include the following steps:
  • Step S202 The instant messaging client receives the trajectory sharing instruction, where the trajectory sharing instruction is used to instruct the instant messaging client to share the real-time motion trajectory of the first terminal where the instant messaging client is located in the motion event.
  • Step S204 The instant messaging client generates a first trajectory sharing event in response to the trajectory sharing instruction.
  • Step S206 The instant messaging client sends the first trajectory sharing event to the server, where the first trajectory sharing event is used to instruct the server to share the real-time motion trajectory of the first terminal according to the manner specified by the trajectory sharing instruction.
  • the instant messaging client after receiving the sharing instruction of sharing the real-time motion track of the first terminal where the first terminal is located, the instant messaging client generates a first track sharing event, and indicates the instant messaging client through the first track sharing event.
  • the corresponding server (such as an instant messaging server) shares the real-time motion trajectory of the first terminal.
  • the receiving the trajectory sharing instruction by the instant messaging client includes: displaying the real-time motion trajectory and the real-time geographic location of the first terminal in the real-time trajectory page on the screen of the first terminal; and receiving the trajectory sharing instruction by the real-time trajectory page.
  • the first terminal may activate its positioning function when a motion event occurs, record the geographical position of the first terminal from the start of the positioning function, and generate a real-time motion track of the first terminal through the positioning function, and the real-time motion track
  • the user can generate a sharing instruction for sharing the real-time motion track of the first terminal through the instant messaging client by operating the share button of the real-time track page displayed on the screen of the first terminal.
  • the instant messaging client After receiving the sharing instruction, the instant messaging client generates a first trajectory sharing event in response to the sharing instruction, and sends the first trajectory sharing event to the server, and after receiving the first trajectory sharing event, the server indicates according to the sharing instruction.
  • the sharing mode of the first terminal is shared with the second terminal installed with the instant messaging client, and the second terminal can acquire the real-time motion track of the first terminal.
  • the motion trajectory of the terminal on which the instant messaging client is installed can be shared in real time.
  • the real-time geographic location of the first terminal is located in real time through the positioning service of the first terminal, And real-time updating the real-time motion track of the first terminal; and real-time positioning the real-time geographic location of the first terminal through the positioning service of the first terminal, and transmitting the real-time geographic location obtained by real-time positioning to the instant messaging client, through the instant messaging client
  • the real-time motion trajectory of the first terminal is drawn.
  • the instant messaging client responds to the trajectory sharing instruction to generate the first trajectory sharing event, including: the instant messaging client acquires the first motion trajectory of the first terminal in the first sharing time period; and the instant messaging client responds to the trajectory sharing The command generates a first trajectory sharing event carrying at least a first motion trajectory, wherein the real-time motion trajectory comprises: a first motion trajectory.
  • the instant messaging client may obtain the first motion track that the first terminal has completed in the motion event from the location service of the first terminal, or may receive the sharing command after receiving the sharing command.
  • the positioning service sends a request to obtain a first motion track that has been completed by the first terminal, and after acquiring the first motion track, the instant messaging client generates a first track sharing event that carries at least the first motion track.
  • the first trajectory sharing event may further include: a sharing mode indicated by the sharing instruction.
  • the server After receiving the first trajectory sharing event, the server notifies the first trajectory sharing event to the second terminal according to the sharing manner indicated by the sharing instruction.
  • the server may send the first motion track to the second terminal while notifying the first track sharing event to the second terminal.
  • the method may further include: the instant messaging client sends the second motion track generated by the first terminal in the motion event to the server in real time.
  • the real-time motion trajectory includes: a first motion trajectory and a second motion trajectory.
  • the second motion trajectory is a motion trajectory generated after the first motion trajectory.
  • the second motion trajectory of the first terminal after the first motion trajectory is drawn in real time, and the second motion trajectory is Real-time transmission to the server, that is, after the first trajectory sharing event is sent to the server by the instant messaging client, the real-time motion track of the first terminal is real-time.
  • the variables in the trace are sent to the server.
  • the real-time geographic location obtained by the first terminal after the first motion trajectory is obtained in real time
  • the real-time geographic location is sent to the server, and the server draws the The second motion trajectory corresponding to the real-time geographic location.
  • the method further includes: the instant messaging client receives the first trajectory sharing request sent by the server; and the first terminal is in the first trajectory
  • the third motion trajectory generated in the second sharing time period indicated by the sharing request is sent to the server, wherein the real-time motion trajectory includes a first motion trajectory and a third motion trajectory.
  • the motion trajectory can be shared according to the sharing time period and the received sharing request.
  • the server after the instant messaging client sends the first trajectory sharing event carrying the first motion trajectory to the server, the server notifies the second terminal of the first trajectory sharing event of the first terminal, where After receiving the response information of the second terminal, the server generates a first trajectory sharing request, and sends the first trajectory sharing request to the first terminal, and the instant messaging client of the first terminal obtains the first trajectory sharing request, and responds to the a first trajectory sharing request, sending a third motion trajectory of the first terminal to the server, and after transmitting the third motion trajectory to the server, generating the fourth terminal in real time after the third motion trajectory in the motion event The motion track is sent to the server in real time.
  • the method may further include: the fifth mobile that the instant messaging client generates the first terminal in the motion event The track is sent to the server, and the sixth motion track generated by the first terminal after the fifth motion track in the motion event is sent to the server in real time, wherein the real-time motion track includes: a fifth motion track and a sixth motion track.
  • the first trajectory sharing event sent by the instant messaging client to the server The sharing mode indicated by the sharing instruction may be carried.
  • the first track sharing event sent by the instant messaging client to the server does not carry the motion track that the instant messaging client has completed.
  • the method may further include: the instant messaging client receives the second trajectory sharing request sent by the server; the instant messaging client Sending, by the end, the seventh motion track generated by the first terminal in the motion event to the server, and transmitting the eighth motion track generated by the first terminal after the seventh motion track in the motion event to the server in real time.
  • the server wherein the real-time motion trajectory comprises: a seventh motion trajectory and an eighth motion trajectory.
  • the first trajectory sharing event sent by the instant messaging client to the server may carry the sharing mode indicated by the sharing instruction.
  • the first trajectory sharing event sent by the instant messaging client to the server is not Carry the motion track that the instant messaging client has completed.
  • the seventh motion trajectory that has been generated in the motion event is sent to the server, and the first terminal is The eighth motion trajectory generated after the seventh motion trajectory in the motion event is sent to the server in real time.
  • the embodiment may include the following steps:
  • Step S301 The first terminal starts the positioning function when a motion event occurs.
  • the first terminal may invoke the positioning function by using the instant messaging client; or the positioning function may be invoked from the main operating system of the first terminal, which is not limited in this application.
  • Step S302 Display a real-time track interface on the screen of the first terminal.
  • the location function is used to record the geographic location of the first terminal from the start of the positioning function, and the real-time motion track of the first terminal is generated by the positioning function, and the real-time motion track is displayed on the first terminal. On the live track page on the screen.
  • Step S303 Generate a sharing instruction by operating the real-time track page.
  • the foregoing operations may include: clicking a share button of the real-time track page.
  • the user can generate a sharing instruction for sharing the real-time motion track of the first terminal through the instant messaging client by operating the sharing button of the real-time track page displayed on the screen of the first terminal.
  • the operation can be a click operation.
  • Step S304 Invoking an instant messaging client of the first terminal.
  • Step S305 The instant messaging client generates a first trajectory sharing event in response to the sharing instruction.
  • the instant messaging client may carry the first motion track that the first terminal has completed in the first track sharing event when the first track sharing event is generated. If the first motion track that has been completed by the first terminal is not carried in the first track sharing event, the motion track that the first terminal has completed may be sent after the first track sharing event is sent.
  • Step S306 The instant messaging client sends the first track sharing event to the server.
  • the instant messaging client may send the fifth motion track generated by the instant messaging client to the server after performing the step. And send the sixth motion track to the server in real time.
  • the instant messaging client may send the second motion track generated by the instant messaging client in real time to the server after performing the step.
  • Step S307 The server generates a trajectory sharing notification for notifying the first trajectory sharing event.
  • the track sharing notification carries the page link of the real-time track page of the first terminal; after detecting the second terminal operation track sharing notification, displaying the real-time geographic location of the second terminal in the real-time track page of the first terminal, wherein, Second end The end enters the real-time track page through the page link.
  • the track sharing notification may carry a page link of the real-time track page of the first terminal.
  • Step S308 The server sends the trajectory sharing notification to the second terminal according to the sharing manner indicated by the sharing instruction.
  • Step S309 After receiving the trajectory sharing notification, the second terminal operates the trajectory sharing notification to generate response information.
  • the operation of the trajectory sharing notification may be: clicking a page link of the real-time trajectory page of the first terminal in the trajectory sharing notification to generate response information, and entering a real-time trajectory page of the first terminal.
  • the instant messaging client of the second terminal displays the trajectory sharing notification on the second account of the instant messaging client logged in the second terminal and the instant login in the first terminal. In the communication client's session.
  • the second terminal may obtain the real-time geographic location of the second terminal after the trajectory sharing notification is performed, and carry the real-time geographic location of the second terminal in the response information.
  • Step S310 The second terminal sends the response information to the server.
  • Step S311 After receiving the response information, the server generates feedback information of the response information.
  • the feedback information may be a first trajectory sharing request. If the response information of the second terminal carries the real-time geographic location of the second terminal, the first trajectory sharing request generated by the server may carry the real-time of the second terminal. Geographic location.
  • Step S312 The server sends the feedback information to the first terminal.
  • Step S313 The first terminal acquires a real-time geographic location of the second terminal.
  • the first terminal clicks a link in the session of the first account and the second account, generates a location request, and sends the location request to the server, after the server receives the location request, , the real-time geographic location of the second terminal that has been stored
  • the instant messaging client sent to the first terminal is placed, or the real-time geographic location of the second terminal is requested, and after the real-time geographic location of the second terminal is obtained, the real-time geographic location of the second terminal is sent to The instant messaging client of the first terminal.
  • the time t0 indicates the time when the first terminal starts the positioning function
  • the time t1 indicates the time when the first track sharing event is generated
  • t2 indicates the time when the first track sharing event is sent
  • t3 indicates that the first track sharing request is received.
  • Time; P1 represents the first motion trajectory
  • P2 represents the second motion trajectory
  • P3 represents the third motion trajectory
  • P4 represents the fourth motion trajectory
  • P5 represents the fifth motion trajectory
  • P6 represents the sixth motion trajectory
  • P7 represents the seventh motion trajectory
  • P7 represents the seventh motion trajectory.
  • P8 represents the eighth motion trajectory.
  • the first motion trajectory P1 is generated in a period between time t0 and time t1, and the second motion trajectory P2 is generated after time t1. That is to say, the shared first motion trajectory is generated before the time t1, and the second motion trajectory is generated after the time t1.
  • the first motion trajectory P1 is generated in a time period between time t0 and time t1
  • the third motion trajectory P3 is from time t1 to time t3.
  • the time between the time periods is generated, and the fourth motion trajectory P4 is generated after the time t3.
  • the fifth motion trajectory P5 is generated in a period between time t0 and time t2, and the sixth motion trajectory is generated after time t2.
  • the seventh motion trajectory is generated in a period between time t0 and time t3, and the eighth motion trajectory is generated after time t3.
  • the real-time motion trajectory of the first terminal can be sent to the second terminal through the server.
  • the instant messaging client is logged in by the first account, wherein
  • the sharing mode specified by the track sharing instruction includes one of: sharing the real-time motion track of the first terminal to one or more second accounts of the first account in the associated account list of the instant messaging client; corresponding to the instant messaging client
  • the server notifies the second account sharing event for sharing the real-time motion trajectory of the first terminal to each account in the associated account list of the instant messaging client of the first account.
  • the foregoing associated account list may be a buddy list, and the account information of the buddy who is interested in the first account is recorded in the list.
  • the sharing instruction may instruct the server to share the real-time motion trajectory of the first terminal by way of directional transmission and non-directional transmission.
  • the directional manner may be: sending the real-time motion trajectory of the first terminal to one or more second accounts in the buddy list;
  • the non-orientation manner may be: sending the real-time motion trajectory of the first terminal to the first account
  • Each of the friends in the buddy list or the real-time motion trajectory of the first terminal is sent to the information sending location of the first account, and the information sending location can be accessed by each friend in the buddy list of the first account, such as Send friends or send Weibo.
  • the instant messaging client receiving the trajectory sharing instruction may include: when the first account is in the same session as the one or more second accounts, the instant messaging client receives the trajectory sharing instruction.
  • a session may be selected in the current session of the instant messaging client, and the instant messaging client receives the real-time motion trajectory of the first terminal to be sent to one or more second accounts in the selected session.
  • one or more second accounts may be selected in the buddy list of the first account logged in the instant messaging client, and a session between the first account and the one or more second accounts is created, and the created session is Real-time motion trajectory sharing of the first terminal.
  • the first terminal may activate its positioning function when a motion event occurs, record the geographic location of the first terminal from the time when the positioning function is started, and generate the first terminal by using the positioning function.
  • the motion track is displayed, and the real-time motion track is displayed on the real-time track page on the screen of the first terminal (such as interface A shown in FIG. 5), and the user can click the “More” button on the upper right of the interface A.
  • the interface B is displayed, and the sharing mode is displayed on the interface B.
  • the sharing mode includes: sending to a friend, sharing to a circle of friends. The user can click the corresponding sharing mode icon on interface B to determine the sharing mode.
  • the instant messaging client (such as WeChat client or QQ client) is called, and the instant messaging client is used.
  • the buddy list or session list of the first account logged in (using the WeChat client as an example) is displayed on the screen of the first terminal, and the user clicks on the corresponding session or the selected second account (the second account may be one or Multiple, as shown in Figure 5, enter the "go to go" session, where A, B, and C are the second account with respect to D, and D is the first account) to generate a share command, instant messaging client
  • the terminal using the WeChat client as an example
  • the terminal uses the WeChat client as an example
  • the server receives the first trajectory sharing event, Notifying the second account that the first terminal shares the real-time motion track, as shown in FIG.
  • the interface C is a session window of the second account and the first account, and the session window displays A link of the real-time track page of the terminal, the second account of the second terminal clicking the link may generate response information, optionally, the second account of the second terminal may carry the real-time geographic location of the second terminal in the response information.
  • the session window of the first account and the second account is displayed in the instant messaging client, and the first trajectory sharing event may be displayed in the session window (the first A link sharing event displays a link of the real-time track page of the first terminal.
  • the user of the instant messaging client of the first terminal can click the link to enter the real-time track page of the first terminal, and the first terminal clicks the link to generate a click event.
  • sending the click event to the server after receiving the click event, the server sends the real-time geographic location of the second terminal to the first terminal, and the real-time track page displayed on the screen of the first terminal not only displays the first
  • the real-time motion trajectory of a terminal also shows the real-time geographic location of the two second accounts.
  • the initiating user can share his real-time coordinate path to the friend through the social application; the participant can enter the H5 embedded page to view the location of the originating user car, the location of other participants, and the car on the map.
  • the trajectory map and the relationship between the participants and the trajectory are the real-time coordinate path to the friend through the social application.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • the present invention also provides a method for sharing a motion trajectory.
  • the method is also applied to the network environment shown in FIG. 1. As shown in FIG. 6, the method includes the following steps:
  • Step S601 The server receives the first trajectory sharing event sent by the instant messaging client, where the first trajectory sharing event carries the specified sharing mode.
  • the first trajectory sharing event is used to instruct the server to share the real-time motion trajectory of the first terminal where the instant messaging client is located according to the specified sharing manner;
  • Step S603 The server shares the real-time motion trajectory of the first terminal where the instant messaging client is located according to the specified sharing mode.
  • the server receives the first trajectory sharing event of the instant messaging client, and the server shares the real-time motion trajectory of the first terminal where the instant messaging client is located according to the specified sharing mode.
  • the first terminal may activate its positioning function when a motion event occurs, record the geographical position of the first terminal from the start of the positioning function, and generate a real-time motion track of the first terminal through the positioning function, and the real-time motion track
  • the user can generate a sharing instruction for sharing the real-time motion track of the first terminal through the instant messaging client by operating the share button of the real-time track page displayed on the screen of the first terminal.
  • the instant messaging client After receiving the sharing instruction, the instant messaging client generates a first trajectory sharing event in response to the sharing instruction, and sends the first trajectory sharing event to the server, and after receiving the first trajectory sharing event, the server indicates according to the sharing instruction.
  • the sharing mode of the first terminal is shared with the second terminal installed with the instant messaging client, and the second terminal can acquire the real-time motion track of the first terminal.
  • the motion trajectory of the terminal on which the instant messaging client is installed can be shared in real time.
  • the instant messaging client is logged in by the first account, wherein the server shares the real-time motion trajectory of the first terminal where the instant messaging client is located according to the specified sharing mode, including: the server moves the real-time motion of the first terminal The track is shared to one or more second accounts of the first account in the associated account list of the instant messaging client; the server will notify the first account in the instant of the second track sharing event of the real-time motion track of the first terminal Each account in the associated account list of the communication client.
  • the sharing instruction may instruct the server to share the real-time motion trajectory of the first terminal by way of directional transmission and non-directional transmission.
  • the directional manner may be: sending the real-time motion trajectory of the first terminal to one or more second accounts in the buddy list;
  • the non-orientation manner may be: sending the real-time motion trajectory of the first terminal to the first account
  • Each of the friends in the buddy list or the real-time motion trajectory of the first terminal is sent to the information sending location of the first account, and the information sending location can be accessed by each friend in the buddy list of the first account, such as Send friends or send Weibo.
  • the instant messaging client receiving the trajectory sharing instruction may include: when the first account is in the same session as the one or more second accounts, the instant messaging client receives the trajectory sharing instruction.
  • the server sharing the real-time motion track of the first terminal to the one or more second accounts of the first account in the associated account list of the instant messaging client includes: the server sharing the real-time motion track of the first terminal to the first The account is in one or more second accounts in the same session.
  • the real-time motion track of the first terminal can be sent to the circle of friends and friends, and multiple sharing modes are provided.
  • the server sharing the real-time motion trajectory of the first terminal where the instant messaging client is located according to the specified sharing manner includes: the server extracting, from the first trajectory sharing event, the first terminal in the first sharing time period a first motion trajectory, wherein the real-time motion trajectory comprises: a first motion trajectory; and the server transmits the first motion trajectory to the second terminal according to the specified sharing manner.
  • the instant messaging client may obtain the first motion track generated by the first terminal in the first sharing time period during the motion event from the location service of the first terminal, and may also receive After the sharing instruction, the request is sent to the positioning service to obtain the first motion track that has been completed by the first terminal, and after acquiring the first motion track, the instant messaging client generates the first track that carries at least the first motion track. Share events.
  • the first trajectory sharing event may further include: a sharing mode indicated by the sharing instruction.
  • the server After receiving the first trajectory sharing event, the server notifies the first trajectory sharing event to the second terminal according to the sharing manner indicated by the sharing instruction.
  • the server may send the first motion track to the second terminal while notifying the first track sharing event to the second terminal.
  • the real-time motion trajectory of the first terminal where the server shares the instant messaging client according to the specified sharing mode includes:
  • the server receives a second motion track generated by the first terminal in real time sent by the instant messaging client after the first motion track in the motion event, where the real-time motion track includes: a moving track and a second moving track; the server transmits the second motion track to the second terminal according to the specified sharing mode.
  • the server After receiving the first trajectory sharing request of the second terminal, the server sends the third motion trajectory generated by the first terminal in the second sharing time period indicated by the first trajectory sharing request to the server, where the real-time motion trajectory includes the first Motion trajectory and third motion trajectory.
  • the initiating user can share his real-time coordinate path to the friend through the social application; the participant can enter the H5 embedded page to view the location of the originating user car, the location of other participants, and the car on the map.
  • the trajectory map and the relationship between the participants and the trajectory are the real-time coordinate path to the friend through the social application.
  • the present invention also provides a method for sharing a motion trajectory.
  • the method can also be applied to the network environment shown in FIG. 1. As shown in FIG. 7, the method includes the following steps:
  • Step S701 The second terminal where the instant messaging client is located receives the trajectory sharing notification sent by the server, where the trajectory sharing notification is used to notify the first terminal to share the real-time running trajectory of the first terminal through the instant messaging client;
  • Step S703 The instant messaging client of the second terminal generates response information for responding to the trajectory sharing notification in response to the command of clicking the trajectory sharing notification, and returns the response information to the server;
  • Step S705 The instant messaging client of the second terminal receives the real-time motion trajectory of the first terminal sent by the server based on the response information.
  • the instant messaging client of the second terminal after receiving the trajectory sharing notification of the server, the instant messaging client of the second terminal generates a response message by clicking the trajectory sharing notification, and the response is generated.
  • the information is returned to the server, and receives the real-time motion trajectory of the first terminal where the instant messaging client shared by the server according to the specified sharing mode is located.
  • the first terminal may activate its positioning function when a motion event occurs, record the geographical position of the first terminal from the start of the positioning function, and generate a real-time motion track of the first terminal through the positioning function, and the real-time motion track
  • the user can generate a sharing instruction for sharing the real-time motion track of the first terminal through the instant messaging client by operating the share button of the real-time track page displayed on the screen of the first terminal.
  • the instant messaging client After receiving the sharing instruction, the instant messaging client generates a first trajectory sharing event in response to the sharing instruction, and sends the first trajectory sharing event to the server, and after receiving the first trajectory sharing event, the server indicates according to the sharing instruction.
  • the sharing mode of the first terminal is shared with the second terminal installed with the instant messaging client, and the second terminal can acquire the real-time motion track of the first terminal.
  • the motion trajectory of the terminal on which the instant messaging client is installed can be shared in real time.
  • the instant messaging client of the first terminal is logged in by the first account
  • the instant messaging client of the second terminal is logged in by the second account
  • the second terminal receiving server that the instant messaging client is located sends
  • the trajectory sharing notification includes: when the first account is in the same session as the second account, the instant messaging client of the second terminal receives the trajectory sharing notification; and receives the trajectory sharing notification at the receiving information location of the instant messaging client of the second terminal, The receiving information location is used to receive a notification of each account in the associated account list of the second account sent by the server.
  • the second terminal may be in the same session as the first account, or may obtain the track sharing notification through the circle of friends.
  • the initiating user can share his real-time coordinate path to the friend through the social application; the participant can enter the H5 embedded page to view the location of the originating user car, the location of other participants, and the car on the map.
  • the trajectory map and the relationship between the participants and the trajectory are the real-time coordinate path to the friend through the social application.
  • a sharing device for a motion track is further provided. As shown in FIG. 8, the device includes: a receiving unit 81, a generating unit 83, and a transmitting unit 85.
  • the receiving unit is configured to receive a track sharing instruction, where the track sharing instruction is used to instruct the instant messaging client to share the real-time motion track of the first terminal where the instant messaging client is located in the motion event;
  • a generating unit configured to generate a first trajectory sharing event in response to the trajectory sharing instruction
  • a sending unit configured to send the first trajectory sharing event to the server, where the first trajectory sharing event is used to instruct the server to share the real-time motion trajectory of the first terminal in a manner specified by the trajectory sharing instruction.
  • the instant messaging client after receiving the sharing instruction of sharing the real-time motion track of the first terminal where the first terminal is located, the instant messaging client generates a first track sharing event, and indicates the instant messaging client through the first track sharing event.
  • the corresponding server (such as an instant messaging server) shares the real-time motion trajectory of the first terminal.
  • the first terminal may activate its positioning function when a motion event occurs, record the geographical position of the first terminal from the start of the positioning function, and generate a real-time motion track of the first terminal through the positioning function, and the real-time motion track
  • the user can generate a sharing instruction for sharing the real-time motion track of the first terminal through the instant messaging client by operating the share button of the real-time track page displayed on the screen of the first terminal.
  • the instant messaging client After receiving the sharing instruction, the instant messaging client generates a first track score in response to the sharing instruction.
  • the event is sent, and the first track sharing event is sent to the server.
  • the server shares the real-time motion track of the first terminal to the first party with the instant messaging client according to the sharing mode indicated by the sharing instruction.
  • the second terminal can obtain the real-time motion trajectory of the first terminal.
  • the motion trajectory of the terminal on which the instant messaging client is installed can be shared in real time.
  • the generating unit includes: a trajectory acquiring module, configured to acquire a first motion trajectory generated by the first terminal in the first sharing time period; and an event generating module, configured to generate at least the first motion trajectory in response to the trajectory sharing instruction The first trajectory sharing event, wherein the real-time motion trajectory comprises: a first motion trajectory.
  • the apparatus may further include: a first sending unit, configured to send the first trajectory sharing event to the server, the instant messaging client, after the first terminal in the motion event, after the first motion trajectory
  • the generated second motion trajectory is sent to the server in real time, wherein the real-time motion trajectory includes: a first motion trajectory and a second motion trajectory.
  • the device may further include a second sending unit, configured to: after the first trajectory sharing event is sent to the server, the first trajectory sharing request sent by the instant messaging client receiving the first terminal in the first trajectory sharing request The third motion trajectory generated during the sharing time period is sent to the server, wherein the real-time motion trajectory includes a first motion trajectory and a third motion trajectory.
  • a second sending unit configured to: after the first trajectory sharing event is sent to the server, the first trajectory sharing request sent by the instant messaging client receiving the first terminal in the first trajectory sharing request
  • the third motion trajectory generated during the sharing time period is sent to the server, wherein the real-time motion trajectory includes a first motion trajectory and a third motion trajectory.
  • the instant messaging client is logged in by the first account, wherein the sharing mode specified by the trajectory sharing instruction includes one of the following: sharing the real-time motion track of the first terminal to the first account at the instant messaging client Correlating one or more second accounts in the account list; notifying, by the server corresponding to the instant messaging client, a second track sharing event for sharing the real-time motion track of the first terminal to the associated account of the first account at the instant messaging client Each account in the list.
  • the receiving unit includes: a receiving module, configured to: when the first account is in the same session as the one or more second accounts, the instant messaging client receives the trajectory sharing instruction.
  • the user can share the real-time motion track through the circle of friends or other means; specifically, the initiating user can share his or her real-time coordinate path to the friend through the social application; the participant can enter the H5 embedded page to view the initiation.
  • the modules provided in this embodiment are the same as the methods used in the corresponding steps of the method embodiment, and the application scenarios may be the same.
  • the solution involved in the above module may not be limited to the content and scenario in the foregoing embodiment, and the foregoing module may be run on a computer terminal or a mobile terminal, and may be implemented by software or hardware.
  • a sharing device for a motion track is further provided. As shown in FIG. 9, the device includes an event receiving unit 91 and a sharing unit 93.
  • the event receiving unit is configured to receive a first trajectory sharing event sent by the instant messaging client, where the first trajectory sharing event carries a specified sharing mode;
  • the sharing unit is configured to share the real-time motion track of the first terminal where the instant messaging client is located according to the specified sharing mode.
  • the server receives the first trajectory sharing event of the instant messaging client, and the server shares the real-time motion trajectory of the first terminal where the instant messaging client is located according to the specified sharing mode.
  • the first terminal may activate its positioning function when a motion event occurs, record the geographical position of the first terminal from the start of the positioning function, and generate a real-time motion track of the first terminal through the positioning function, and the real-time motion track
  • the user can generate a sharing instruction for sharing the real-time motion track of the first terminal through the instant messaging client by operating the share button of the real-time track page displayed on the screen of the first terminal.
  • the instant messaging client After receiving the sharing instruction, the instant messaging client generates a first trajectory sharing event in response to the sharing instruction, and sends the first trajectory sharing event to the server, and the server receives the first track
  • the real-time motion track of the first terminal is shared with the second terminal installed with the instant messaging client according to the sharing mode indicated by the sharing instruction, and the second terminal can acquire the real-time motion track of the first terminal.
  • the motion trajectory of the terminal on which the instant messaging client is installed can be shared in real time.
  • the instant messaging client is logged in by the first account
  • the sharing unit includes: a first sharing module, configured to share the real-time motion track of the first terminal to the first account in the associated account list of the instant messaging client One or more second accounts; a second sharing module, configured to notify a second trajectory sharing event for sharing the real-time motion trajectory of the first terminal to each account in the associated account list of the first account in the instant messaging client .
  • the first sharing module includes: a sharing sub-module, configured for the server to share the real-time motion track of the first terminal to one or more second accounts in the same session as the first account.
  • the sharing unit further includes: an extracting unit, configured to extract, from the first trajectory sharing event, a first motion trajectory that the first terminal has completed in the motion event, where the real-time motion trajectory includes: a first motion trajectory;
  • a track sending module is configured to send the first motion track to the second terminal according to the specified sharing mode.
  • the sharing unit includes: a first trajectory receiving module, configured to receive a second motion trajectory generated by the first terminal in real time after the first motion trajectory in the motion event sent by the instant messaging client, where the real-time motion trajectory includes a first motion track and a second motion track; and a second track sending module, configured to send the first motion track to the second terminal according to the specified sharing mode.
  • a first trajectory receiving module configured to receive a second motion trajectory generated by the first terminal in real time after the first motion trajectory in the motion event sent by the instant messaging client, where the real-time motion trajectory includes a first motion track and a second motion track
  • a second track sending module configured to send the first motion track to the second terminal according to the specified sharing mode.
  • the initiating user can share his real-time coordinate path to the friend through the social application; the participant can enter the H5 embedded page to view the location of the originating user car, the location of other participants, and the car on the map.
  • the trajectory map and the relationship between the participants and the trajectory are the real-time coordinate path to the friend through the social application.
  • the modules provided in this embodiment are the same as the methods used in the corresponding steps of the method embodiment, and the application scenarios may be the same.
  • the solution involved in the foregoing module may not be limited to the content and scenario in the foregoing embodiment, and the foregoing module may be run in the calculation.
  • the machine terminal or the mobile terminal can be implemented by software or hardware.
  • a device for sharing a motion trajectory may include: a notification receiving unit, configured to receive a trajectory sharing notification sent by the server, where the trajectory sharing notification is used to notify the first terminal to share through the instant messaging client. a real-time running track of the first terminal; a response unit configured to generate response information for responding to the track sharing notification in response to the command of clicking the track sharing notification, returning the response information to the server; and the track receiving unit is configured to receive the first The real-time motion trajectory of a terminal.
  • the instant messaging client of the second terminal after receiving the trajectory sharing notification of the server, the instant messaging client of the second terminal generates response information by clicking the trajectory sharing notification, and returns the response information to the server, and the receiving server according to the specified The real-time motion trajectory of the first terminal where the instant messaging client shared by the sharing method is located.
  • the first terminal may activate its positioning function when a motion event occurs, record the geographical position of the first terminal from the start of the positioning function, and generate a real-time motion track of the first terminal through the positioning function, and the real-time motion track
  • the user can generate a sharing instruction for sharing the real-time motion track of the first terminal through the instant messaging client by operating the share button of the real-time track page displayed on the screen of the first terminal.
  • the instant messaging client After receiving the sharing instruction, the instant messaging client generates a first trajectory sharing event in response to the sharing instruction, and sends the first trajectory sharing event to the server, and after receiving the first trajectory sharing event, the server indicates according to the sharing instruction.
  • the sharing mode of the first terminal is shared with the second terminal installed with the instant messaging client, and the second terminal can acquire the real-time motion track of the first terminal.
  • the motion trajectory of the terminal on which the instant messaging client is installed can be shared in real time.
  • the instant messaging client of the first terminal is logged in by the first account
  • the second terminal is The time communication client is logged in by the second account
  • the notification receiving unit includes: a first receiving module, configured to: when the first account and the second account are in the same session, the instant messaging client of the second terminal receives the trajectory sharing notification
  • the second receiving module is configured to receive a track sharing notification at a receiving information location of the instant messaging client of the second terminal, where the receiving information location is used to receive a notification of each account in the associated account list of the second account sent by the server.
  • the user can share the real-time motion track through the circle of friends or other means; specifically, the initiating user can share his or her real-time coordinate path to the friend through the social application; the participant can enter the H5 embedded page to view the initiation.
  • the modules provided in this embodiment are the same as the methods used in the corresponding steps of the method embodiment, and the application scenarios may be the same.
  • the solution involved in the above module may not be limited to the content and scenario in the foregoing embodiment, and the foregoing module may be run on a computer terminal or a mobile terminal, and may be implemented by software or hardware.
  • a server or a terminal for implementing the sharing method and apparatus for the above-mentioned motion trajectory is provided.
  • the server or the terminal includes:
  • the server or terminal includes: one or more (only one shown in the figure) processor 201, memory 203, and transmission device 205 (such as the transmitting device in the above embodiment), as shown in FIG.
  • the terminal may also include an input and output device 207.
  • the memory 203 can be used to store the software program and the module, such as the method for sharing the motion track and the program instruction/module corresponding to the device in the embodiment of the present invention.
  • the processor 201 runs the software program and the module stored in the memory 203, thereby Performing various functional applications and data processing, that is, implementing the above-described sharing method of motion trajectories.
  • Memory 203 can include high speed random access memory, and can also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 203 can further include memory remotely located relative to processor 201, which can be networked Connect to the terminal. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the above described transmission device 205 is used to receive or transmit data via a network, and can also be used for data transmission between the processor and the memory. Specific examples of the above network may include a wired network and a wireless network.
  • the transmission device 205 includes a Network Interface Controller (NIC) that can be connected to other network devices and routers via a network cable to communicate with the Internet or a local area network.
  • the transmission device 205 is a Radio Frequency (RF) module for communicating with the Internet wirelessly.
  • NIC Network Interface Controller
  • RF Radio Frequency
  • the memory 203 is used to store an application.
  • the processor 201 can call the application stored in the memory 203 through the transmission device 205 to perform the following steps: the instant messaging client receives the trajectory sharing instruction, wherein the trajectory sharing instruction is used to indicate that the instant messaging client shares the instant messaging client. a real-time motion trajectory of the first terminal in the motion event; the instant messaging client responds to the trajectory sharing instruction to generate a first trajectory sharing event; the instant messaging client sends the first trajectory sharing event to the server, wherein the first trajectory sharing event is used for The server is instructed to share the real-time motion trajectory of the first terminal in a manner specified by the trajectory sharing instruction.
  • the instant messaging client after receiving the sharing instruction of sharing the real-time motion track of the first terminal where the first terminal is located, the instant messaging client generates a first track sharing event, and indicates the instant messaging client through the first track sharing event.
  • the corresponding server (such as an instant messaging server) shares the real-time motion trajectory of the first terminal.
  • the registration area is the memory of the system and the registers in the system processor.
  • FIG. 10 is only schematic, and the terminal can be It is a smart phone (such as Android phones, iOS phones, etc.), tablets, PDAs, and mobile Internet devices (MID), PAD and other terminal devices.
  • FIG. 10 does not limit the structure of the above electronic device.
  • the terminal may also include more or fewer components (such as a network interface, display device, etc.) than shown in FIG. 10, or have a different configuration than that shown in FIG.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may share a motion trajectory.
  • the foregoing storage medium may be located in at least one of the plurality of network devices in the network as shown in FIG. 1.
  • the storage medium is arranged to store program code for performing the following steps:
  • the instant messaging client receives the track sharing instruction, wherein the track sharing instruction is used to instruct the instant messaging client to share the real-time motion track of the first terminal where the instant messaging client is located in the motion event; the instant messaging client responds to the track sharing instruction generation a track sharing event; the instant messaging client sends the first track sharing event to the server, wherein the first track sharing event is used to instruct the server to share the real-time motion track of the first terminal in a manner specified by the track sharing instruction.
  • the instant messaging client after receiving the sharing instruction of sharing the real-time motion track of the first terminal where the first terminal is located, the instant messaging client generates a first track sharing event, and indicates the instant messaging client through the first track sharing event.
  • the corresponding server (such as an instant messaging server) shares the real-time motion trajectory of the first terminal.
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • the integrated unit in the above embodiment if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in the above-described computer readable storage medium.
  • the technical solution of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause one or more computer devices (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the disclosed client may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, unit or module, and may be electrical or otherwise.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated in In a unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.

Abstract

本发明公开了一种运动轨迹的分享方法、装置和存储介质。其中,该方法包括:即时通讯客户端接收轨迹分享指令,其中,轨迹分享指令用于指示即时通讯客户端分享即时通讯客户端所在的第一终端在运动事件中的实时运动轨迹;即时通讯客户端响应轨迹分享指令生成第一轨迹分享事件;即时通讯客户端将第一轨迹分享事件发送至服务器,其中,第一轨迹分享事件用于指示服务器按照轨迹分享指令指定的分享方式分享第一终端的实时运动轨迹。本发明解决了无法通过即时通讯分享好友运动轨迹的技术问题。

Description

运动轨迹的分享方法、装置和存储介质
本申请要求于2016年01月18日提交中国专利局、申请号为201610032706.5、发明名称为“运动轨迹的分享方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及互联网领域,具体而言,涉及一种运动轨迹的分享方法、装置和存储介质。
背景技术
现有用户可以通过安装在终端上的应用程序与聊天好友共享位置,但是仅仅是分享位置是无法满足用户的要求的,如需要聊天中的好友之一对其他好友指路或引领其他人的行车路线等需要查看各个好友之间的路径情况的场景下,需要分享好友的行车轨迹,但是现有技术中无法实现此功能。
针对上述无法通过即时通讯实时分享好友运动轨迹的问题,目前尚未提出有效的解决方案。
发明内容
本发明实施例提供了一种运动轨迹的分享方法、装置和存储介质,以至少解决无法通过即时通讯分享好友运动轨迹的技术问题。
根据本发明实施例的一个方面,提供了一种运动轨迹的分享方法,该方法包括:即时通讯客户端接收轨迹分享指令,其中,轨迹分享指令用于指示即时通讯客户端分享即时通讯客户端所在的第一终端在运动事件中的实时运动轨迹;即时通讯客户端响应轨迹分享指令生成第一轨迹分享事件;即时通讯客户端将第一轨迹分享事件发送至服务器,其中,第一轨迹 分享事件用于指示服务器按照轨迹分享指令指定的方式分享第一终端的实时运动轨迹。
根据本发明实施例的一个方面,提供了一种运动轨迹的分享方法,该方法包括:服务器接收即时通讯客户端发送的第一轨迹分享事件,其中,第一轨迹分享事件携带有指定的分享方式;服务器按照指定的分享方式分享即时通讯客户端所在的第一终端的实时运动轨迹。
根据本发明实施例的一个方面,提供了一种运动轨迹的分享方法,该方法包括:即时通讯客户端所在的第二终端接收服务器发送的轨迹分享通知,其中,轨迹分享通知用于通知第一终端通过即时通讯客户端分享了第一终端的实时运行轨迹;第二终端的即时通讯客户端响应点击轨迹分享通知的指令生成用于响应轨迹分享通知的响应信息,将响应信息返回至服务器;第二终端的即时通讯客户端接收服务器基于响应信息发送的第一终端的实时运动轨迹。
根据本发明实施例的另一方面,还提供了一种运动轨迹的分享装置,该分享装置包括:接收单元,用于接收轨迹分享指令,其中,轨迹分享指令用于指示即时通讯客户端分享即时通讯客户端所在的第一终端在运动事件中的实时运动轨迹;生成单元,用于响应轨迹分享指令生成第一轨迹分享事件;发送单元,用于将第一轨迹分享事件发送至服务器,其中,第一轨迹分享事件用于指示服务器按照轨迹分享指令指定的方式分享第一终端的实时运动轨迹。
根据本发明实施例的另一方面,还提供了一种运动轨迹的分享装置,该分享装置包括:通知接收单元,用于接收服务器发送的轨迹分享通知,其中,轨迹分享通知用于通知第一终端通过即时通讯客户端分享了第一终端的实时运行轨迹;响应单元,用于响应点击轨迹分享通知的指令生成用于响应轨迹分享通知的响应信息,将响应信息返回至服务器;轨迹接收单元,用于接收服务器发送的第一终端的实时运动轨迹。
在本发明上述实施例中,即时通讯客户端在接收到分享其所在的第一 终端的实时运动轨迹的分享指令之后,生成第一轨迹分享事件,并通过该第一轨迹分享事件指示即时通讯客户端对应的服务器(如即时通讯服务器)分享第一终端的实时运动轨迹。通过上述实施例,解决了现有技术无法通过即时通讯实时分享好友运动轨迹的问题。
附图说明
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是根据本发明实施例的硬件环境示意图;
图2是根据本发明实施例的一种可选的运动轨迹的分享方法的流程图;
图3是根据本发明实施例的另一种可选的运动轨迹的分享方法的时序图;
图4是根据本发明实施例的各个运动轨迹与时间对应关系的示意图;
图5是根据本发明实施例的运动轨迹的分享方法的界面示意图;
图6是根据本发明实施例的再一种可选的运动轨迹的分享方法的流程图;
图7是根据本发明实施例的又一种可选的运动轨迹的分享方法的流程图;
图8是根据本发明实施例的一种可选的运动轨迹的分享装置的示意图;
图9是根据本发明实施例的一种可选的运动轨迹的分享装置的示意图;
图10是根据本发明实施例的一种终端的结构框图。
具体实施方式
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明 实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
实施例1
根据本发明实施例,提供了一种运动轨迹的分享方法的实施例,需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。
可选地,在本实施例中,上述运动轨迹的分享方法可以应用于如图1所示的由第一终端10、服务器30以及第二终端50构成的硬件环境中,其中,硬件环境包括网络环境。如图1所示,终端10通过网络与服务器30进行连接,上述网络包括但不限于:广域网、城域网或局域网。
如图2所示,本发明提供的一种运动轨迹的分享方案可以包括如下步骤:
步骤S202:即时通讯客户端接收轨迹分享指令,其中,轨迹分享指令用于指示即时通讯客户端分享即时通讯客户端所在的第一终端在运动事件中的实时运动轨迹。
步骤S204:即时通讯客户端响应轨迹分享指令生成第一轨迹分享事件。
步骤S206:即时通讯客户端将第一轨迹分享事件发送至服务器,其中,第一轨迹分享事件用于指示服务器按照轨迹分享指令指定的方式分享第一终端的实时运动轨迹。
在本发明上述实施例中,即时通讯客户端在接收到分享其所在的第一终端的实时运动轨迹的分享指令之后,生成第一轨迹分享事件,并通过该第一轨迹分享事件指示即时通讯客户端对应的服务器(如即时通讯服务器)分享第一终端的实时运动轨迹。通过上述实施例,解决了现有技术中无法分享用户的运动轨迹的问题。
可选地,即时通讯客户端接收轨迹分享指令包括:在第一终端的屏幕上的实时轨迹页面中显示第一终端的实时运动轨迹和实时地理位置;通过实时轨迹页面接收轨迹分享指令。
第一终端在发生运动事件时可以启动其定位功能,记录第一终端自启动定位功能起每个时刻的地理位置,并通过该定位功能生成第一终端的实时运动轨迹,并将该实时运动轨迹显示在第一终端的屏幕上的实时轨迹页面中,用户可以通过操作第一终端的屏幕上显示的实时轨迹页面的分享按钮,生成通过即时通讯客户端分享第一终端的实时运动轨迹的分享指令,即时通讯客户端接收到该分享指令之后,响应该分享指令生成第一轨迹分享事件,并将该第一轨迹分享事件发送至服务器,服务器接收到该第一轨迹分享事件之后,按照分享指令指示的分享方式将第一终端的实时运动轨迹分享至安装有即时通讯客户端的第二终端,第二终端即可获取该第一终端的实时运动轨迹。
通过上述实施例,可以实时分享安装有即时通讯客户端的终端的运动轨迹。
具体地,通过第一终端的定位服务实时定位第一终端的实时地理位置, 并实时更新第一终端的实时运动轨迹;还可以通过第一终端的定位服务实时定位第一终端的实时地理位置,并将实时定位得到的实时地理位置发送至即时通讯客户端,通过即时通讯客户端绘制第一终端的实时运动轨迹。
在上述实施例中,即时通讯客户端响应轨迹分享指令生成第一轨迹分享事件包括:即时通讯客户端获取第一终端在第一分享时间段内的第一运动轨迹;即时通讯客户端响应轨迹分享指令生成至少携带有第一运动轨迹的第一轨迹分享事件,其中,实时运动轨迹包括:第一运动轨迹。
具体地,即时通讯客户端接收到分享指令的同时,可以从第一终端的定位服务中获取第一终端在该运动事件中已经完成的第一运动轨迹;也可以在接收到分享指令之后,向定位服务发送请求,以获取第一终端已完成的第一运动轨迹,即时通讯客户端在获取该第一运动轨迹之后,生成至少携带有该第一运动轨迹的第一轨迹分享事件。
可选地,该第一轨迹分享事件中还可以包括:上述的分享指令所指示的分享方式。服务器在接收到该第一轨迹分享事件之后,按照分享指令所指示的分享方式将第一轨迹分享事件通知至第二终端。
进一步地,服务器可以在将第一轨迹分享事件通知至第二终端的同时,将第一运动轨迹发送至第二终端。
在一个可选的实施例中,即时通讯客户端将第一轨迹分享事件发送至服务器之后,还可以包括:即时通讯客户端将第一终端在运动事件中产生的第二运动轨迹实时发送给服务器,其中,实时运动轨迹包括:第一运动轨迹和第二运动轨迹。该第二运动轨迹为在第一运动轨迹之后产生的运动轨迹。
具体地,在即时通讯客户端将至少携带有第一运动轨迹的第一轨迹分享事件发送至服务器之后,实时绘制第一终端在第一运动轨迹之后的第二运动轨迹,并将第二运动轨迹实时发送至服务器,也即,在即时通讯客户端将第一轨迹分享事件发送至服务器之后,实时将第一终端的实时运动轨 迹中的变量发送至服务器。
可选地,在即时通讯客户端将第一轨迹分享事件发送至服务器之后,实时获取第一终端在第一运动轨迹之后定位得到的实时地理位置,将该实时地理位置发送至服务器,服务器绘制该实时地理位置对应的第二运动轨迹。
在另一个可选的实施例中,即时通讯客户端将第一轨迹分享事件发送至服务器之后,还包括:即时通讯客户端接收服务器发送的第一轨迹分享请求;将第一终端在第一轨迹分享请求所指示的第二分享时间段内产生的第三运动轨迹发送给服务器,其中,实时运动轨迹包括第一运动轨迹和第三运动轨迹。
通过本发明的上述实施例,可以按照分享时间段和接收到的分享请求分享运动轨迹。
在另一个可选的实施例中,即时通讯客户端将至少携带有第一运动轨迹的第一轨迹分享事件发送至服务器之后,服务器向第二终端通知第一终端的第一轨迹分享事件,在服务器接收到第二终端的响应信息之后,生成第一轨迹分享请求,将该第一轨迹分享请求发送至第一终端,第一终端的即时通讯客户端获取该第一轨迹分享请求之后,响应该第一轨迹分享请求,将第一终端的第三运动轨迹发送给服务器,并在将第三运动轨迹发送至服务器之后,将第一终端在运动事件中在第三运动轨迹之后实时产生的第四运动轨迹实时发送给服务器。
在另一个可选的实施例中,在即时通讯客户端将第一轨迹分享事件发送至服务器之后,该方法还可以包括:即时通讯客户端将第一终端在运动事件中已产生的第五运动轨迹发送给服务器,并将第一终端在运动事件中在第五运动轨迹之后产生的第六运动轨迹实时发送给服务器,其中,实时运动轨迹包括:第五运动轨迹和第六运动轨迹。
在该实施例中,即时通讯客户端向服务器发送的第一轨迹分享事件中 可以携带有分享指令所指示的分享方式,在该实施例中,即时通讯客户端向服务器发送的第一轨迹分享事件中,没有携带即时通讯客户端已完成的运动轨迹。
在另一个可选地实施例中,在即时通讯客户端将第一轨迹分享事件发送至服务器之后,所述方法还可以包括:即时通讯客户端接收服务器发送的第二轨迹分享请求;即时通讯客户端响应第二轨迹分享请求将第一终端在运动事件中已产生的第七运动轨迹发送给服务器,并将第一终端在运动事件中在第七运动轨迹之后产生的第八运动轨迹实时发送给服务器,其中,实时运动轨迹包括:第七运动轨迹和第八运动轨迹。
具体地,即时通讯客户端向服务器发送的第一轨迹分享事件中可以携带有分享指令所指示的分享方式,在该实施例中,即时通讯客户端向服务器发送的第一轨迹分享事件中,没有携带即时通讯客户端已完成的运动轨迹。
在即时通讯客户端将第一轨迹分享事件发送至服务器之后,且在接收到服务器的第二轨迹分享请求之后,将在运动事件中已产生的第七运动轨迹发送给服务器,并将第一终端在运动事件中在第七运动轨迹之后产生的第八运动轨迹实时发送给服务器。
下面结合图3详述本发明上述实施例,如图3所示,该实施例可以包括如下步骤:
步骤S301:第一终端在发生运动事件时启动定位功能。
可选地,第一终端可以通过即时通讯客户端调用定位功能;也可以从第一终端的主操作系统中调用定位功能,本申请对此不做限定。
步骤S302:在第一终端的屏幕上显示实时轨迹界面。
可选地,可以通过定位功能记录第一终端自启动定位功能起每个时刻的地理位置,并通过该定位功能生成第一终端的实时运动轨迹,并将该实时运动轨迹显示在第一终端的屏幕上的实时轨迹页面中。
步骤S303:通过操作实时轨迹页面生成分享指令。
具体地,上述的操作可以包括:点击实时轨迹页面的分享按钮。
用户可以通过操作第一终端的屏幕上显示的实时轨迹页面的分享按钮,生成通过即时通讯客户端分享第一终端的实时运动轨迹的分享指令。
可选地,操作可以为点击操作。
步骤S304:调用第一终端的即时通讯客户端。
步骤S305:即时通讯客户端响应该分享指令生成第一轨迹分享事件。
可选地,即时通讯客户端可以在生成第一轨迹分享事件时,将第一终端已经完成的第一运动轨迹携带在该第一轨迹分享事件中。若未将第一终端已经完成的第一运动轨迹携带在该第一轨迹分享事件,则可以在发送第一轨迹分享事件之后发送第一终端已经完成的运动轨迹。
步骤S306:即时通讯客户端将第一轨迹分享事件发送至服务器。
可选地,若即时通讯客户端生成的第一轨迹分享事件中未携带第一运动轨迹,则即时通讯客户端可以在执行该步骤之后,将即时通讯客户端生成的第五运动轨迹发送至服务器,并将第六运动轨迹实时发送至服务器。
若即时通讯客户端生成的第一轨迹分享事件中携带有第一运动轨迹,则即时通讯客户端可以在执行该步骤之后,将即时通讯客户端实时生成的第二运动轨迹发送至服务器。
步骤S307:服务器生成用于通知该第一轨迹分享事件的轨迹分享通知。
可选地,在通过实时轨迹页面接收轨迹分享指令之后,在登录在第二终端的即时通讯客户端的第二账户与登录在第一终端的即时通讯客户端的第一账户的会话中显示轨迹分享通知,轨迹分享通知中携带第一终端的实时轨迹页面的页面链接;在检测到第二终端操作轨迹分享通知之后,在第一终端的实时轨迹页面中显示第二终端的实时地理位置,其中,第二终 端通过页面链接进入实时轨迹页面。
该轨迹分享通知中可以携带第一终端的实时轨迹页面的页面链接。
步骤S308:服务器将轨迹分享通知按照分享指令指示的分享方式发送至第二终端。
步骤S309:第二终端接收到该轨迹分享通知之后,操作该轨迹分享通知,生成响应信息。
可选地,操作该轨迹分享通知可以为:点击该轨迹分享通知中第一终端的实时轨迹页面的页面链接,以生成响应信息,并进入该第一终端的实时轨迹页面。
需要说明的是,第二终端的即时通讯客户端在接收到该轨迹分享通知之后,将该轨迹分享通知显示在登录在第二终端的即时通讯客户端的第二账户与登录在第一终端的即时通讯客户端的会话中。
进一步可选地,第二终端在操作轨迹分享通知之后,可以获取第二终端的实时地理位置,将该第二终端的实时地理位置携带在响应信息中。
步骤S310:第二终端将响应信息发送至服务器。
步骤S311:服务器接收到响应信息之后,生成响应信息的反馈信息。
可选地,该反馈信息可以为第一轨迹分享请求,若第二终端的响应信息中携带有第二终端的实时地理位置,服务器生成的第一轨迹分享请求中可以携带该第二终端的实时地理位置。
步骤S312:服务器将该反馈信息发送至第一终端。
步骤S313:第一终端获取第二终端的实时地理位置。
进一步可选地,第一终端在接收到服务器的信息之后,点击第一账户与第二账户的会话中的链接,生成位置请求,并将该位置请求发送至服务器,服务器接收到该位置请求之后,将已经存储的第二终端的实时地理位 置下发至第一终端的即时通讯客户端,或向第二终端请求其的实时地理位置,并在获取到该第二终端的实时地理位置之后,将该第二终端的实时地理位置发送至第一终端的即时通讯客户端。
下面结合图4对本发明上述实施例中的第一运动轨迹至第八运动轨迹作示意性说明。
如图4所示,t0时刻表示第一终端启动定位功能的时刻,t1时刻表示生成第一轨迹分享事件的时刻,t2表示发送第一轨迹分享事件的时刻,t3表示接收第一轨迹分享请求的时刻;P1表示第一运动轨迹,P2表示第二运动轨迹,P3表示第三运动轨迹,P4表示第四运动轨迹,P5表示第五运动轨迹,P6表示第六运动轨迹,P7表示第七运动轨迹,P8表示第八运动轨迹。
具体地,在发送第一运动轨迹和第二运动轨迹的例子中,第一运动轨迹P1在t0时刻至t1时刻之间的时间段内生成,第二运动轨迹P2在t1时刻之后生成。也就是说,分享的第一运动轨迹是在t1时刻之前已经生成的,第二运动轨迹是在t1时刻之后生成的。
在发送第一运动轨迹、第二运动轨迹和第三运动轨迹的例子中,第一运动轨迹P1在t0时刻至t1时刻之间的时间段内生成,第三运动轨迹P3在t1时刻至t3时刻之间的时间段内生成,第四运动轨迹P4在t3时刻之后生成。
在发送第五运动轨迹和第六运动轨迹的例子中,第五运动轨迹P5在t0时刻至t2时刻之间的时间段内生成,第六运动轨迹在t2时刻之后生成。
在发送第七运动轨迹和第八运动轨迹的例子中,第七运动轨迹在t0时刻至t3时刻之间的时间段内生成,第八运动轨迹在t3时刻之后生成。
如图4所示,本发明上述实施例中的四种发送方式,均可实现将第一终端的实时运动轨迹通过服务器发送至第二终端。
根据本发明的上述实施例,即时通讯客户端被第一账户登录,其中, 轨迹分享指令指定的分享方式包括以下之一:将第一终端的实时运动轨迹分享至第一账户在即时通讯客户端的关联账户列表中的一个或多个第二账户;通过即时通讯客户端对应的服务器将用于分享第一终端的实时运动轨迹的第二轨迹分享事件通知给第一账户在即时通讯客户端的关联账户列表中的每个账户。
需要说明的是,上述的关联账户列表可以为好友列表,该列表中记录有与该第一账户相互关注的好友的账户信息。
在上述实施例中,分享指令可以指示服务器通过定向发送和不定向发送的方式分享该第一终端的实时运动轨迹。
具体地,定向方式可以为,将第一终端的实时运动轨迹发送至好友列表中的一个或多个第二账户;不定向方式可以为,将第一终端的实时运动轨迹发送至该第一账户的好友列表中的每个好友,或者将该第一终端的实时运动轨迹发送至第一账户的信息发送位置,该信息发送位置可以被第一账户的好友列表中的每个好友所访问,如发朋友圈或发微博等。
进一步地,即时通讯客户端接收轨迹分享指令可以包括:在第一账户与一个或多个第二账户处于同一会话中时,即时通讯客户端接收轨迹分享指令。
具体地,可以在即时通讯客户端的当前会话中选择一个会话,即时通讯客户端接收将第一终端的实时运动轨迹发送至该选择的会话中的一个或多个第二账户。
可选地,可以在登录在即时通讯客户端的第一账户的好友列表中选择一个或多个第二账户,创建第一账户与该一个或多个第二账户的会话,利用该创建的会话将第一终端的实时运动轨迹共享。
下面结合图5详述本发明上述实施例。
第一终端在发生运动事件时可以启动其定位功能,记录第一终端自启动定位功能起每个时刻的地理位置,并通过该定位功能生成第一终端的实 时运动轨迹,并将该实时运动轨迹显示在第一终端的屏幕上的实时轨迹页面(如图5中所示的界面A),用户可以通过点击该界面A的右上方的“更多”按钮进入界面B,该界面B上显示有分享方式,该分享方式包括:发送至朋友、分享至朋友圈。用户可以在界面B上点击相应的分享方式的图标确定分享方式,如用户可以点击“发送至朋友”之后,则调用即时通讯客户端(如微信客户端或QQ客户端),将即时通讯客户端(以微信客户端为例)上登录的第一账户的好友列表或会话列表显示在第一终端的屏幕上,用户通过点击相应的会话或选择的第二账户(该第二账户可以为一个或多个,如图5所示的进入“说走就走”的会话中,其中的A、B和C相对于D来说是第二账户,D是第一账户)生成分享指令,即时通讯客户端(以微信客户端为例)接收到该分享指令之后,响应该分享指令生成第一轨迹分享事件,并将该第一轨迹分享事件发送至服务器,服务器接收到该第一轨迹分享事件之后,通知第二账户第一终端分享了实时运动轨迹,如图5所示的界面C,该界面C为第二账户与第一账户的会话窗口,该会话窗口中显示有第一终端的实时轨迹页面的链接,第二终端的第二账户点击该链接可以生成响应信息,可选地,第二终端的第二账户可以将第二终端的实时地理位置携带在该响应信息中。
可选地,该第一终端生成第一轨迹分享事件之后,在即时通讯客户端中显示该第一账户和第二账户的会话窗口,该会话窗口中可以显示该第一轨迹分享事件(该第一轨迹分享事件中显示有第一终端的实时轨迹页面的链接),第一终端的即时通讯客户端的使用者可以点击该链接进入第一终端的实时轨迹页面,第一终端点击该链接生成点击事件,并将该点击事件发送至服务器,服务器接收到该点击事件之后,将第二终端的实时地理位置发送至第一终端,则在第一终端的屏幕上显示的实时轨迹页面上不仅显示有第一终端的实时运动轨迹,还显示有两个第二账户的实时地理位置。
通过本发明上述实施例,发起用户可以将自己的实时坐标路径通过社交应用分享给好友;参与者可以进入H5内嵌页,查看发起用户车的位置、其他参与者的位置、车在地图上的轨迹图和参与者与轨迹之间的关系。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。
实施例2
本发明还提供了一种运动轨迹的分享方法,该方法也应用于图1所示网络环境中,如图6所示,该方法包括如下步骤:
步骤S601:服务器接收即时通讯客户端发送的第一轨迹分享事件,其中,第一轨迹分享事件携带有指定的分享方式。该第一轨迹分享事件用于指示服务器按照指定的分享方式分享即时通讯客户端所在的第一终端的实时运动轨迹;
步骤S603:服务器按照指定的分享方式分享即时通讯客户端所在的第一终端的实时运动轨迹。
在本发明上述实施例中,服务器接收到即时通讯客户端的第一轨迹分享事件,服务器按照指定的分享方式分享即时通讯客户端所在第一终端的实时运动轨迹。通过上述实施例,解决了现有技术中无法分享用户的运动轨迹的问题。
第一终端在发生运动事件时可以启动其定位功能,记录第一终端自启动定位功能起每个时刻的地理位置,并通过该定位功能生成第一终端的实时运动轨迹,并将该实时运动轨迹显示在第一终端的屏幕上的实时轨迹页面中,用户可以通过操作第一终端的屏幕上显示的实时轨迹页面的分享按钮,生成通过即时通讯客户端分享第一终端的实时运动轨迹的分享指令,即时通讯客户端接收到该分享指令之后,响应该分享指令生成第一轨迹分享事件,并将该第一轨迹分享事件发送至服务器,服务器接收到该第一轨迹分享事件之后,按照分享指令指示的分享方式将第一终端的实时运动轨迹分享至安装有即时通讯客户端的第二终端,第二终端即可获取该第一终端的实时运动轨迹。
通过上述实施例,可以实时分享安装有即时通讯客户端的终端的运动轨迹。
根据本发明的上述实施例,即时通讯客户端被第一账户登录,其中,服务器按照指定的分享方式分享即时通讯客户端所在的第一终端的实时运动轨迹包括:服务器将第一终端的实时运动轨迹分享至第一账户在即时通讯客户端的关联账户列表中的一个或多个第二账户;服务器将用于将第一终端的实时运动轨迹的第二轨迹分享事件,通知给第一账户在即时通讯客户端的关联账户列表中的每个账户。
在上述实施例中,分享指令可以指示服务器通过定向发送和不定向发送的方式分享该第一终端的实时运动轨迹。
具体地,定向方式可以为,将第一终端的实时运动轨迹发送至好友列表中的一个或多个第二账户;不定向方式可以为,将第一终端的实时运动轨迹发送至该第一账户的好友列表中的每个好友,或者将该第一终端的实时运动轨迹发送至第一账户的信息发送位置,该信息发送位置可以被第一账户的好友列表中的每个好友所访问,如发朋友圈或发微博等。
进一步地,即时通讯客户端接收轨迹分享指令可以包括:在第一账户与一个或多个第二账户处于同一会话中时,即时通讯客户端接收轨迹分享 指令。
进一步地,服务器将第一终端的实时运动轨迹分享至第一账户在即时通讯客户端的关联账户列表中的一个或多个第二账户包括:服务器将第一终端的实时运动轨迹分享至与第一账户处于同一会话中的一个或多个第二账户。
通过上述实施例,可以将第一终端的实时运动轨迹发送朋友圈和好友,提供了多种分享方式。
根据本发明的上述实施例,服务器按照指定的分享方式分享即时通讯客户端所在的第一终端的实时运动轨迹包括:服务器从第一轨迹分享事件中提取第一终端在第一分享时间段内的第一运动轨迹,其中,实时运动轨迹包括:第一运动轨迹;服务器按照指定的分享方式将第一运动轨迹发送至第二终端。
具体地,即时通讯客户端接收到分享指令的同时,可以从第一终端的定位服务中获取第一终端在该运动事件中在第一分享时间段内产生的第一运动轨迹;也可以在接收到分享指令之后,向定位服务发送请求,以获取第一终端已完成的第一运动轨迹,即时通讯客户端在获取该第一运动轨迹之后,生成至少携带有该第一运动轨迹的第一轨迹分享事件。
可选地,该第一轨迹分享事件中还可以包括:上述的分享指令所指示的分享方式。服务器在接收到该第一轨迹分享事件之后,按照分享指令所指示的分享方式将第一轨迹分享事件通知至第二终端。
进一步地,服务器可以在将第一轨迹分享事件通知至第二终端的同时,将第一运动轨迹发送至第二终端。
根据本发明的上述实施例,服务器按照指定的分享方式分享即时通讯客户端所在的第一终端的实时运动轨迹包括:
服务器接收即时通讯客户端实时发送的第一终端在运动事件中在第一运动轨迹之后产生的第二运动轨迹,其中,实时运动轨迹包括:第一运 动轨迹和第二运动轨迹;服务器按照指定的分享方式将第二运动轨迹发送至第二终端。
服务器接收第二终端的第一轨迹分享请求之后,将第一终端在第一轨迹分享请求所指示的第二分享时间段内产生的第三运动轨迹发送给服务器,其中,实时运动轨迹包括第一运动轨迹和第三运动轨迹。
通过本发明上述实施例,发起用户可以将自己的实时坐标路径通过社交应用分享给好友;参与者可以进入H5内嵌页,查看发起用户车的位置、其他参与者的位置、车在地图上的轨迹图和参与者与轨迹之间的关系。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。
实施例3
本发明还提供了一种运动轨迹的分享方法,该方法也可以应用于图1所示网络环境中,如图7所示,该方法包括如下步骤:
步骤S701:即时通讯客户端所在的第二终端接收服务器发送的轨迹分享通知,其中,轨迹分享通知用于通知第一终端通过即时通讯客户端分享了第一终端的实时运行轨迹;
步骤S703:第二终端的即时通讯客户端响应点击轨迹分享通知的指令生成用于响应轨迹分享通知的响应信息,将响应信息返回至服务器;
步骤S705:第二终端的即时通讯客户端接收服务器基于响应信息发送的第一终端的实时运动轨迹。
在本发明上述实施例中,第二终端的即时通讯客户端接收到服务器的轨迹分享通知之后,通过点击该轨迹分享通知生成响应信息,并将该响应 信息返回至服务器,并接收服务器按照指定的分享方式分享的即时通讯客户端所在第一终端的实时运动轨迹。通过上述实施例,解决了现有技术中无法分享用户的运动轨迹的问题。
第一终端在发生运动事件时可以启动其定位功能,记录第一终端自启动定位功能起每个时刻的地理位置,并通过该定位功能生成第一终端的实时运动轨迹,并将该实时运动轨迹显示在第一终端的屏幕上的实时轨迹页面中,用户可以通过操作第一终端的屏幕上显示的实时轨迹页面的分享按钮,生成通过即时通讯客户端分享第一终端的实时运动轨迹的分享指令,即时通讯客户端接收到该分享指令之后,响应该分享指令生成第一轨迹分享事件,并将该第一轨迹分享事件发送至服务器,服务器接收到该第一轨迹分享事件之后,按照分享指令指示的分享方式将第一终端的实时运动轨迹分享至安装有即时通讯客户端的第二终端,第二终端即可获取该第一终端的实时运动轨迹。
通过上述实施例,可以实时分享安装有即时通讯客户端的终端的运动轨迹。
根据本发明的上述实施例,第一终端的即时通讯客户端被第一账户登录,第二终端的即时通讯客户端被第二账户登录,其中,即时通讯客户端所在的第二终端接收服务器发送的轨迹分享通知包括:在第一账户与第二账户处于同一会话中时,第二终端的即时通讯客户端接收轨迹分享通知;在第二终端的即时通讯客户端的接收信息位置接收轨迹分享通知,其中,接收信息位置用于接收服务器发送的第二账户的关联账户列表中每个账户的通知。
在上述实施例中,第二终端可以与该第一账户处于同一个会话中,也可以通过其的朋友圈获取该轨迹分享通知。
通过本发明上述实施例,发起用户可以将自己的实时坐标路径通过社交应用分享给好友;参与者可以进入H5内嵌页,查看发起用户车的位置、其他参与者的位置、车在地图上的轨迹图和参与者与轨迹之间的关系。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。
实施例4
根据本发明实施例,还提供了一种运动轨迹的分享装置,如图8所示,该装置包括:接收单元81、生成单元83以及发送单元85。
其中,接收单元,用于接收轨迹分享指令,其中,轨迹分享指令用于指示即时通讯客户端分享即时通讯客户端所在的第一终端在运动事件中的实时运动轨迹;
生成单元,用于响应轨迹分享指令生成第一轨迹分享事件;
发送单元,用于将第一轨迹分享事件发送至服务器,其中,第一轨迹分享事件用于指示服务器按照轨迹分享指令指定的方式分享第一终端的实时运动轨迹。
在本发明上述实施例中,即时通讯客户端在接收到分享其所在的第一终端的实时运动轨迹的分享指令之后,生成第一轨迹分享事件,并通过该第一轨迹分享事件指示即时通讯客户端对应的服务器(如即时通讯服务器)分享第一终端的实时运动轨迹。通过上述实施例,解决了现有技术中无法分享用户的运动轨迹的问题。
第一终端在发生运动事件时可以启动其定位功能,记录第一终端自启动定位功能起每个时刻的地理位置,并通过该定位功能生成第一终端的实时运动轨迹,并将该实时运动轨迹显示在第一终端的屏幕上的实时轨迹页面中,用户可以通过操作第一终端的屏幕上显示的实时轨迹页面的分享按钮,生成通过即时通讯客户端分享第一终端的实时运动轨迹的分享指令,即时通讯客户端接收到该分享指令之后,响应该分享指令生成第一轨迹分 享事件,并将该第一轨迹分享事件发送至服务器,服务器接收到该第一轨迹分享事件之后,按照分享指令指示的分享方式将第一终端的实时运动轨迹分享至安装有即时通讯客户端的第二终端,第二终端即可获取该第一终端的实时运动轨迹。
通过上述实施例,可以实时分享安装有即时通讯客户端的终端的运动轨迹。
可选地,生成单元包括:轨迹获取模块,用于获取第一终端在第一分享时间段内产生的第一运动轨迹;事件生成模块,用于响应轨迹分享指令生成至少携带有第一运动轨迹的第一轨迹分享事件,其中,实时运动轨迹包括:第一运动轨迹。
在一个可选的实施例中,装置还可以包括:第一发送单元,用于将第一轨迹分享事件发送至服务器之后,即时通讯客户端将第一终端在运动事件中在第一运动轨迹之后产生的第二运动轨迹实时发送给服务器,其中,实时运动轨迹包括:第一运动轨迹和第二运动轨迹。
装置还可以包括第二发送单元,用于在将第一轨迹分享事件发送至服务器之后,即时通讯客户端接收服务器发送的第一轨迹分享请求将第一终端在第一轨迹分享请求所指示的第二分享时间段内产生的第三运动轨迹发送给服务器,其中,实时运动轨迹包括第一运动轨迹和第三运动轨迹。
根据本发明的上述实施例,即时通讯客户端被第一账户登录,其中,轨迹分享指令指定的分享方式包括以下之一:将第一终端的实时运动轨迹分享至第一账户在即时通讯客户端的关联账户列表中的一个或多个第二账户;通过即时通讯客户端对应的服务器将用于分享第一终端的实时运动轨迹的第二轨迹分享事件通知给第一账户在即时通讯客户端的关联账户列表中的每个账户。
进一步地,接收单元包括:接收模块,用于在第一账户与一个或多个第二账户处于同一会话中时,即时通讯客户端接收轨迹分享指令。
通过本发明上述实施例,用户可以通过朋友圈或其他方式共享实时运动轨迹;具体地,发起用户可以将自己的实时坐标路径通过社交应用分享给好友;参与者可以进入H5内嵌页,查看发起用户车的位置、其他参与者的位置、车在地图上的轨迹图和参与者与轨迹之间的关系。
本实施例中所提供的各个模块与方法实施例对应步骤所提供的使用方法相同、应用场景也可以相同。当然,需要注意的是,上述模块涉及的方案可以不限于上述实施例中的内容和场景,且上述模块可以运行在计算机终端或移动终端,可以通过软件或硬件实现。
实施例5
根据本发明实施例,还提供了一种运动轨迹的分享装置,如图9所示,该装置包括:事件接收单元91、分享单元93。
其中,事件接收单元,用于接收即时通讯客户端发送的第一轨迹分享事件,其中,第一轨迹分享事件携带有指定的分享方式;
分享单元,用于按照指定的分享方式分享即时通讯客户端所在的第一终端的实时运动轨迹。
在本发明上述实施例中,服务器接收到即时通讯客户端的第一轨迹分享事件,服务器按照指定的分享方式分享即时通讯客户端所在第一终端的实时运动轨迹。通过上述实施例,解决了现有技术中无法分享用户的运动轨迹的问题。
第一终端在发生运动事件时可以启动其定位功能,记录第一终端自启动定位功能起每个时刻的地理位置,并通过该定位功能生成第一终端的实时运动轨迹,并将该实时运动轨迹显示在第一终端的屏幕上的实时轨迹页面中,用户可以通过操作第一终端的屏幕上显示的实时轨迹页面的分享按钮,生成通过即时通讯客户端分享第一终端的实时运动轨迹的分享指令,即时通讯客户端接收到该分享指令之后,响应该分享指令生成第一轨迹分享事件,并将该第一轨迹分享事件发送至服务器,服务器接收到该第一轨 迹分享事件之后,按照分享指令指示的分享方式将第一终端的实时运动轨迹分享至安装有即时通讯客户端的第二终端,第二终端即可获取该第一终端的实时运动轨迹。
通过上述实施例,可以实时分享安装有即时通讯客户端的终端的运动轨迹。
可选地,即时通讯客户端被第一账户登录,其中,分享单元包括:第一分享模块,用于将第一终端的实时运动轨迹分享至第一账户在即时通讯客户端的关联账户列表中的一个或多个第二账户;第二分享模块,用于将用于分享第一终端的实时运动轨迹的第二轨迹分享事件通知给第一账户在即时通讯客户端的关联账户列表中的每个账户。
可选地,第一分享模块包括:分享子模块,用于服务器将第一终端的实时运动轨迹分享至与第一账户处于同一会话中的一个或多个第二账户。
可选地,分享单元还包括:提取单元,用于从第一轨迹分享事件中提取第一终端在运动事件中已完成的第一运动轨迹,其中,实时运动轨迹包括:第一运动轨迹;第一轨迹发送模块,用于按照指定的分享方式将第一运动轨迹发送至第二终端。
可选地,分享单元包括:第一轨迹接收模块,用于接收即时通讯客户端实时发送的第一终端在运动事件中在第一运动轨迹之后产生的第二运动轨迹,其中,实时运动轨迹包括:第一运动轨迹和第二运动轨迹;第二轨迹发送模块,用于按照指定的分享方式将第一运动轨迹发送至第二终端。
通过本发明上述实施例,发起用户可以将自己的实时坐标路径通过社交应用分享给好友;参与者可以进入H5内嵌页,查看发起用户车的位置、其他参与者的位置、车在地图上的轨迹图和参与者与轨迹之间的关系。
本实施例中所提供的各个模块与方法实施例对应步骤所提供的使用方法相同、应用场景也可以相同。当然,需要注意的是,上述模块涉及的方案可以不限于上述实施例中的内容和场景,且上述模块可以运行在计算 机终端或移动终端,可以通过软件或硬件实现。
实施例6
根据本发明还提供了一种运动轨迹的分享装置,该装置可以包括:通知接收单元,用于接收服务器发送的轨迹分享通知,其中,轨迹分享通知用于通知第一终端通过即时通讯客户端分享了第一终端的实时运行轨迹;响应单元,用于响应点击轨迹分享通知的指令生成用于响应轨迹分享通知的响应信息,将响应信息返回至服务器;轨迹接收单元,用于接收服务器发送的第一终端的实时运动轨迹。
在本发明上述实施例中,第二终端的即时通讯客户端接收到服务器的轨迹分享通知之后,通过点击该轨迹分享通知生成响应信息,并将该响应信息返回至服务器,并接收服务器按照指定的分享方式分享的即时通讯客户端所在第一终端的实时运动轨迹。通过上述实施例,解决了现有技术中无法分享用户的运动轨迹的问题。
第一终端在发生运动事件时可以启动其定位功能,记录第一终端自启动定位功能起每个时刻的地理位置,并通过该定位功能生成第一终端的实时运动轨迹,并将该实时运动轨迹显示在第一终端的屏幕上的实时轨迹页面中,用户可以通过操作第一终端的屏幕上显示的实时轨迹页面的分享按钮,生成通过即时通讯客户端分享第一终端的实时运动轨迹的分享指令,即时通讯客户端接收到该分享指令之后,响应该分享指令生成第一轨迹分享事件,并将该第一轨迹分享事件发送至服务器,服务器接收到该第一轨迹分享事件之后,按照分享指令指示的分享方式将第一终端的实时运动轨迹分享至安装有即时通讯客户端的第二终端,第二终端即可获取该第一终端的实时运动轨迹。
通过上述实施例,可以实时分享安装有即时通讯客户端的终端的运动轨迹。
可选地,第一终端的即时通讯客户端被第一账户登录,第二终端的即 时通讯客户端被第二账户登录,其中,通知接收单元包括:第一接收模块,用于在第一账户与第二账户处于同一会话中时,第二终端的即时通讯客户端接收轨迹分享通知;第二接收模块,用于在第二终端的即时通讯客户端的接收信息位置接收轨迹分享通知,其中,接收信息位置用于接收服务器发送的第二账户的关联账户列表中每个账户的通知。
通过本发明上述实施例,用户可以通过朋友圈或其他方式共享实时运动轨迹;具体地,发起用户可以将自己的实时坐标路径通过社交应用分享给好友;参与者可以进入H5内嵌页,查看发起用户车的位置、其他参与者的位置、车在地图上的轨迹图和参与者与轨迹之间的关系。
本实施例中所提供的各个模块与方法实施例对应步骤所提供的使用方法相同、应用场景也可以相同。当然,需要注意的是,上述模块涉及的方案可以不限于上述实施例中的内容和场景,且上述模块可以运行在计算机终端或移动终端,可以通过软件或硬件实现。
实施例7
根据本发明实施例,还提供了一种用于实施上述运动轨迹的分享方法和装置的服务器或终端,如图9所示,该服务器或终端包括:
如图10所示,该服务器或终端包括:一个或多个(图中仅示出一个)处理器201、存储器203、以及传输装置205(如上述实施例中的发送装置),如图10所示,该终端还可以包括输入输出设备207。
其中,存储器203可用于存储软件程序以及模块,如本发明实施例中的运动轨迹的分享方法和装置对应的程序指令/模块,处理器201通过运行存储在存储器203内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的运动轨迹的分享方法。存储器203可包括高速随机存储器,还可以包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器203可进一步包括相对于处理器201远程设置的存储器,这些远程存储器可以通过网络 连接至终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
上述的传输装置205用于经由一个网络接收或者发送数据,还可以用于处理器与存储器之间的数据传输。上述的网络具体实例可包括有线网络及无线网络。在一个实例中,传输装置205包括一个网络适配器(Network Interface Controller,NIC),其可通过网线与其他网络设备与路由器相连从而可与互联网或局域网进行通讯。在一个实例中,传输装置205为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。
其中,具体地,存储器203用于存储应用程序。
处理器201可以通过传输装置205调用存储器203存储的应用程序,以执行下述步骤:即时通讯客户端接收轨迹分享指令,其中,轨迹分享指令用于指示即时通讯客户端分享即时通讯客户端所在的第一终端在运动事件中的实时运动轨迹;即时通讯客户端响应轨迹分享指令生成第一轨迹分享事件;即时通讯客户端将第一轨迹分享事件发送至服务器,其中,第一轨迹分享事件用于指示服务器按照轨迹分享指令指定的方式分享第一终端的实时运动轨迹。
在本发明上述实施例中,即时通讯客户端在接收到分享其所在的第一终端的实时运动轨迹的分享指令之后,生成第一轨迹分享事件,并通过该第一轨迹分享事件指示即时通讯客户端对应的服务器(如即时通讯服务器)分享第一终端的实时运动轨迹。通过上述实施例,解决了现有技术中无法分享用户的运动轨迹的问题。
可选地,本实施例中的具体示例可以参考上述实施例中所描述的示例,本实施例在此不再赘述。
需要进一步说明的是,寄存区域为系统的内存和系统处理器中的寄存器。
本领域普通技术人员可以理解,图10所示的结构仅为示意,终端可 以是智能手机(如Android手机、iOS手机等)、平板电脑、掌上电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等终端设备。图10其并不对上述电子装置的结构造成限定。例如,终端还可包括比图10中所示更多或者更少的组件(如网络接口、显示装置等),或者具有与图10所示不同的配置。
实施例8
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以运动轨迹的分享方法。
可选地,在本实施例中,上述存储介质可以位于如图1所示的网络中的多个网络设备中的至少一个网络设备。
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的程序代码:
即时通讯客户端接收轨迹分享指令,其中,轨迹分享指令用于指示即时通讯客户端分享即时通讯客户端所在的第一终端在运动事件中的实时运动轨迹;即时通讯客户端响应轨迹分享指令生成第一轨迹分享事件;即时通讯客户端将第一轨迹分享事件发送至服务器,其中,第一轨迹分享事件用于指示服务器按照轨迹分享指令指定的方式分享第一终端的实时运动轨迹。
在本发明上述实施例中,即时通讯客户端在接收到分享其所在的第一终端的实时运动轨迹的分享指令之后,生成第一轨迹分享事件,并通过该第一轨迹分享事件指示即时通讯客户端对应的服务器(如即时通讯服务器)分享第一终端的实时运动轨迹。通过上述实施例,解决了现有技术中无法分享用户的运动轨迹的问题。
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介 质。
可选地,本实施例中的具体示例可以参考上述实施例1和实施例2中所描述的示例,本实施例在此不再赘述。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
上述实施例中的集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在上述计算机可读取的存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在存储介质中,包括若干指令用以使得一台或多台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。
在本发明的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
在本申请所提供的几个实施例中,应该理解到,所揭露的客户端,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在 一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。

Claims (33)

  1. 一种运动轨迹的分享方法,包括:
    即时通讯客户端接收轨迹分享指令,其中,所述轨迹分享指令用于指示所述即时通讯客户端分享所述即时通讯客户端所在的第一终端在运动事件中的实时运动轨迹;
    所述即时通讯客户端响应所述轨迹分享指令生成第一轨迹分享事件;
    所述即时通讯客户端将所述第一轨迹分享事件发送至服务器,其中,所述第一轨迹分享事件用于指示所述服务器按照所述轨迹分享指令指定的方式分享所述第一终端的实时运动轨迹。
  2. 根据权利要求1所述的方法,其中,所述即时通讯客户端响应所述轨迹分享指令生成第一轨迹分享事件包括:
    所述即时通讯客户端获取所述第一终端在第一分享时间段内产生的第一运动轨迹;
    所述即时通讯客户端响应所述轨迹分享指令生成至少携带有所述第一运动轨迹的所述第一轨迹分享事件,其中,所述实时运动轨迹包括:所述第一运动轨迹。
  3. 根据权利要求2所述的方法,其中,所述即时通讯客户端将所述第一轨迹分享事件发送至服务器之后,还包括:
    所述即时通讯客户端将所述第一终端在所述运动事件中产生的第二运动轨迹实时发送给所述服务器,其中,所述实时运动轨迹包括:所述第一运动轨迹和所述第二运动轨迹,该第二运动轨迹为在所述第一运动轨迹之后产生的运动轨迹。
  4. 根据权利要求2所述的方法,其中,所述即时通讯客户端将所述第一轨迹分享事件发送至服务器之后,还包括:
    所述即时通讯客户端接收所述服务器发送的第一轨迹分享请求;
    将所述第一终端在所述第一轨迹分享请求所指示的第二分享时间段内产生的第三运动轨迹发送给所述服务器,其中,所述实时运动轨迹包括所述第一运动轨迹和所述第三运动轨迹。
  5. 根据权利要求1至4中任一项所述的方法,其中,所述即时通讯客户端被第一账户登录,其中,所述轨迹分享指令指定的方式包括:
    将所述第一终端的实时运动轨迹,分享至所述第一账户在所述即时通讯客户端的关联账户列表中的一个或多个第二账户。
  6. 根据权利要求5所述的方法,其中,所述即时通讯客户端接收轨迹分享指令包括:
    在所述第一账户与所述一个或多个第二账户处于同一会话中时,所述即时通讯客户端接收轨迹分享指令。
  7. 根据权利要求1至4中任一项所述的方法,其中,所述即时通讯客户端被第一账户登录,其中,所述轨迹分享指令指定的方式包括:
    通过所述即时通讯客户端对应的服务器,将用于分享所述第一终端的实时运动轨迹的第二轨迹分享事件,通知给所述第一账户在所述即时通讯客户端的关联账户列表中的每个账户。
  8. 根据权利要求1所述的方法,其特征在于,所述即时通讯客户端接收轨迹分享指令包括:
    在所述第一终端的屏幕上的实时轨迹页面中显示所述第一终端的实时运动轨迹和实时地理位置;
    通过所述实时轨迹页面接收所述轨迹分享指令。
  9. 根据权利要求8所述的方法,其特征在于,在通过所述实时轨迹页面接收所述轨迹分享指令之后,所述方法还包括:
    在登录在第二终端的即时通讯客户端的第二账户与登录在第一终端的即时通讯客户端的第一账户的会话中显示轨迹分享通知,所述轨迹分享通知中携带第一终端的实时轨迹页面的页面链接;
    在检测到所述第二终端操作所述轨迹分享通知之后,在所述第一终端的实时轨迹页面中显示第二终端的实时地理位置,其中,所述第二终端通过所述页面链接进入所述实时轨迹页面。
  10. 一种运动轨迹的分享方法,包括:
    服务器接收即时通讯客户端发送的第一轨迹分享事件,其中,所述第一轨迹分享事件携带有指定的分享方式;
    所述服务器按照所述指定的分享方式分享所述即时通讯客户端所在的第一终端的实时运动轨迹。
  11. 根据权利要求10所述的方法,其中,所述即时通讯客户端被第一账户登录,其中,所述服务器按照所述指定的分享方式分享所述即时通讯客户端所在的第一终端的实时运动轨迹,包括:
    所述服务器将所述第一终端的实时运动轨迹,分享至所述第一账户在所述即时通讯客户端的关联账户列表中的一个或多个第二账户;
    所述服务器将用于将所述第一终端的实时运动轨迹的第二轨迹分享事件,通知给所述第一账户在所述即时通讯客户端的关联账户列表中的每个账户。
  12. 根据权利要求11所述的方法,其中,所述服务器将所述第一终端的实时运动轨迹,分享至所述第一账户在所述即时通讯客户端的关联账户列表中的一个或多个第二账户,包括:
    所述服务器将所述第一终端的实时运动轨迹分享至与所述第一账户处于同一会话中的所述一个或多个第二账户。
  13. 根据权利要求10所述的方法,其中,所述服务器按照指定的分享方式分享所述即时通讯客户端所在的所述第一终端的实时运动轨迹包括:
    所述服务器从所述第一轨迹分享事件中提取所述第一终端在第一分享时间段内产生的第一运动轨迹,其中,所述实时运动轨迹包括: 所述第一运动轨迹;
    所述服务器按照所述指定的分享方式将所述第一运动轨迹发送至第二终端。
  14. 一种运动轨迹的分享方法,包括:
    即时通讯客户端所在的第二终端接收服务器发送的轨迹分享通知,其中,所述轨迹分享通知用于通知第一终端通过所述即时通讯客户端分享了所述第一终端的实时运行轨迹;
    所述第二终端的即时通讯客户端响应点击所述轨迹分享通知的指令生成用于响应所述轨迹分享通知的响应信息,将所述响应信息返回至所述服务器;
    所述第二终端的即时通讯客户端接收所述服务器基于所述响应信息发送的所述第一终端的实时运动轨迹。
  15. 根据权利要求14所述的方法,其中,所述第一终端的即时通讯客户端被第一账户登录,所述第二终端的即时通讯客户端被第二账户登录,其中,即时通讯客户端所在的第二终端接收服务器发送的轨迹分享通知包括:
    在所述第一账户与所述第二账户处于同一会话中时,所述第二终端的即时通讯客户端接收所述轨迹分享通知;
    在所述第二终端的即时通讯客户端的接收信息位置接收所述轨迹分享通知,其中,接收信息位置用于接收所述服务器发送的所述第二账户的关联账户列表中每个账户的通知。
  16. 一种运动轨迹的分享装置,包括:
    接收单元,用于接收轨迹分享指令,其中,所述轨迹分享指令用于指示即时通讯客户端分享所述即时通讯客户端所在的第一终端在运动事件中的实时运动轨迹;
    生成单元,用于响应所述轨迹分享指令生成第一轨迹分享事件;
    发送单元,用于将所述第一轨迹分享事件发送至服务器,其中, 所述第一轨迹分享事件用于指示所述服务器按照所述轨迹分享指令指定的方式分享所述第一终端的实时运动轨迹。
  17. 根据权利要求16所述的装置,其中,所述生成单元包括:
    轨迹获取模块,用于获取所述第一终端在第一分享时间段内产生的第一运动轨迹;
    事件生成模块,用于响应所述轨迹分享指令生成至少携带有所述第一运动轨迹的所述第一轨迹分享事件,其中,所述实时运动轨迹包括:所述第一运动轨迹。
  18. 根据权利要求16或17所述的装置,其中,所述即时通讯客户端被第一账户登录,其中,所述轨迹分享指令指定的方式包括:
    将所述第一终端的实时运动轨迹分享至所述第一账户在所述即时通讯客户端的关联账户列表中的一个或多个第二账户。
  19. 根据权利要求18所述的装置,其中,所述接收单元包括:
    接收模块,用于在所述第一账户与所述一个或多个第二账户处于同一会话中时,所述即时通讯客户端接收轨迹分享指令。
  20. 根据权利要求16或17所述的装置,其中,所述即时通讯客户端被第一账户登录,其中,所述轨迹分享指令指定的方式包括:
    通过所述即时通讯客户端对应的服务器将用于分享所述第一终端的实时运动轨迹的第二轨迹分享事件通知给所述第一账户在所述即时通讯客户端的关联账户列表中的每个账户。
  21. 根据权利要求16所述的装置,其特征在于,所述接收单元包括:
    显示模块,用于在所述第一终端的屏幕上的实时轨迹页面中显示所述第一终端的实时运动轨迹和实时地理位置;
    页面接收模块,用于通过所述实时轨迹页面接收所述轨迹分享指令。
  22. 根据权利要求21所述的装置,其特征在于,所述装置还包括:
    会话显示模块,用于在通过所述实时轨迹页面接收所述轨迹分享指令之后,在登录在第二终端的即时通讯客户端的第二账户与登录在第一终端的即时通讯客户端的第一账户的会话中显示轨迹分享通知,所述轨迹分享通知中携带第一终端的实时轨迹页面的页面链接;
    位置显示模块,用于在检测到所述第二终端操作所述轨迹分享通知之后,在所述第一终端的实时轨迹页面中显示第二终端的实时地理位置,其中,所述第二终端通过所述页面链接进入所述实时轨迹页面。
  23. 一种运动轨迹的分享装置,包括:
    通知接收单元,用于接收服务器发送的轨迹分享通知,其中,所述轨迹分享通知用于通知第一终端通过即时通讯客户端分享了所述第一终端的实时运行轨迹;
    响应单元,用于响应点击所述轨迹分享通知的指令生成用于响应所述轨迹分享通知的响应信息,将所述响应信息返回至所述服务器;
    轨迹接收单元,用于接收所述服务器发送的所述第一终端的实时运动轨迹。
  24. 一种存储介质,所述存储介质被设置为存储用于执行以下步骤的程序代码,包括:
    接收轨迹分享指令,其中,所述轨迹分享指令用于指示即时通讯客户端分享所述即时通讯客户端所在的第一终端在运动事件中的实时运动轨迹;
    响应所述轨迹分享指令生成第一轨迹分享事件;
    将所述第一轨迹分享事件发送至服务器,其中,所述第一轨迹分享事件用于指示所述服务器按照所述轨迹分享指令指定的方式分享所述第一终端的实时运动轨迹。
  25. 根据权利要求24所述的存储介质,所述存储介质还被设置为存储用于执行以下步骤的程序代码,包括:
    获取所述第一终端在第一分享时间段内产生的第一运动轨迹;
    响应所述轨迹分享指令生成至少携带有所述第一运动轨迹的所述第一轨迹分享事件,其中,所述实时运动轨迹包括:所述第一运动轨迹。
  26. 根据权利要求25所述的存储介质,所述存储介质还被设置为存储用于执行以下步骤的程序代码,包括:
    将所述第一终端在所述运动事件中产生的第二运动轨迹实时发送给所述服务器,其中,所述实时运动轨迹包括:所述第一运动轨迹和所述第二运动轨迹,该第二运动轨迹为在所述第一运动轨迹之后产生的运动轨迹。
  27. 根据权利要求25所述的存储介质,所述存储介质还被设置为存储用于执行以下步骤的程序代码,包括:
    接收所述服务器发送的第一轨迹分享请求;
    将所述第一终端在所述第一轨迹分享请求所指示的第二分享时间段内产生的第三运动轨迹发送给所述服务器,其中,所述实时运动轨迹包括所述第一运动轨迹和所述第三运动轨迹。
  28. 根据权利要求24至27中任一项所述的存储介质,所述存储介质还被设置为存储用于执行以下步骤的程序代码,包括:
    将所述第一终端的实时运动轨迹,分享至第一账户在所述即时通讯客户端的关联账户列表中的一个或多个第二账户。
  29. 根据权利要求28所述的存储介质,所述存储介质还被设置为存储用于执行以下步骤的程序代码,包括:
    在所述第一账户与所述一个或多个第二账户处于同一会话中时,所述即时通讯客户端接收轨迹分享指令。
  30. 根据权利要求24至27中任一项所述的存储介质,所述存储介质还被设置为存储用于执行以下步骤的程序代码,包括:
    通过所述即时通讯客户端对应的服务器,将用于分享所述第一终端的实时运动轨迹的第二轨迹分享事件,通知给第一账户在所述即时通讯客户端的关联账户列表中的每个账户。
  31. 一种存储介质,所述存储介质被设置为存储用于执行以下步骤的程序代码,包括:
    接收即时通讯客户端发送的第一轨迹分享事件,其中,所述第一轨迹分享事件携带有指定的分享方式;
    按照所述指定的分享方式分享即时通讯客户端所在的第一终端的实时运动轨迹。
  32. 根据权利要求31所述的存储介质,其中,所述存储介质还被设置为存储用于执行以下步骤的程序代码,包括:
    将所述第一终端的实时运动轨迹,分享至第一账户在所述即时通讯客户端的关联账户列表中的一个或多个第二账户;
    将用于将所述第一终端的实时运动轨迹的第二轨迹分享事件,通知给所述第一账户在所述即时通讯客户端的关联账户列表中的每个账户。
  33. 根据权利要求32所述的存储介质,其中,所述存储介质还被设置为存储用于执行以下步骤的程序代码,包括:
    将所述第一终端的实时运动轨迹分享至与所述第一账户处于同一会话中的所述一个或多个第二账户。
PCT/CN2017/071287 2016-01-18 2017-01-16 运动轨迹的分享方法、装置和存储介质 WO2017124987A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/925,343 US10863312B2 (en) 2016-01-18 2018-03-19 Moving track sharing method and apparatus, and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610032706.5A CN106982158A (zh) 2016-01-18 2016-01-18 运动轨迹的分享方法和装置
CN201610032706.5 2016-01-18

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/925,343 Continuation US10863312B2 (en) 2016-01-18 2018-03-19 Moving track sharing method and apparatus, and storage medium

Publications (1)

Publication Number Publication Date
WO2017124987A1 true WO2017124987A1 (zh) 2017-07-27

Family

ID=59341337

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/071287 WO2017124987A1 (zh) 2016-01-18 2017-01-16 运动轨迹的分享方法、装置和存储介质

Country Status (3)

Country Link
US (1) US10863312B2 (zh)
CN (1) CN106982158A (zh)
WO (1) WO2017124987A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108234285A (zh) * 2017-11-29 2018-06-29 江苏速度信息科技股份有限公司 一种基于微信的地名信息服务系统及方法
CN110086936A (zh) * 2019-04-28 2019-08-02 四川轻化工大学 一种基于在线数据分析的人身安全伺服方法和系统

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107566259A (zh) * 2017-10-18 2018-01-09 维沃移动通信有限公司 运动轨迹分享方法和移动终端
CN109388471B (zh) * 2018-10-18 2022-01-28 维沃移动通信有限公司 一种导航方法及装置
CN110851430B (zh) * 2019-10-12 2023-10-03 中国平安财产保险股份有限公司 移动轨迹信息的存储方法、服务器以及计算机存储介质
CN111162997B (zh) * 2019-12-30 2023-09-01 北京猎才科技有限公司 多运动轨迹同步记录方法、应用及终端
CN111275600A (zh) * 2020-02-20 2020-06-12 上海赛可出行科技服务有限公司 一种基于移动终端的网约车行程监控方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102857527A (zh) * 2011-06-28 2013-01-02 上海博泰悦臻电子设备制造有限公司 行车轨迹同步共享方法和系统
US20140012494A1 (en) * 2012-07-06 2014-01-09 International Business Machines Corporation Collaborative gps tracking
CN104344833A (zh) * 2013-08-01 2015-02-11 腾讯科技(深圳)有限公司 车辆导航方法、装置和系统

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9014973B2 (en) * 2007-02-23 2015-04-21 At&T Intellectual Property I, L.P. Methods for obtaining a navigation track between a first and a second location at a client device using location information obtained from a server device and related devices and computer program products
US8369867B2 (en) * 2008-06-30 2013-02-05 Apple Inc. Location sharing
US8649803B1 (en) * 2011-05-03 2014-02-11 Kristan Lisa Hamill Interactive tracking virtual world system
CN103955488B (zh) * 2014-04-15 2018-07-06 深圳如果技术有限公司 一种共享电子地图的线路的方法及共享端、接收端
WO2015174764A1 (en) * 2014-05-15 2015-11-19 Samsung Electronics Co., Ltd. System for providing personalized information and method of providing the personalized information
CN104125282A (zh) * 2014-07-25 2014-10-29 大陆汽车投资(上海)有限公司 基于即时通讯/社交应用的位置分享及导航方法
CN104468847B (zh) * 2014-12-31 2017-12-15 山东赛维安讯信息科技有限公司 一种车辆的行程记录信息分享方法、设备、服务器及系统
CN105139316A (zh) * 2015-07-30 2015-12-09 中国传媒大学 具有私人健身教练功能的智能交互系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102857527A (zh) * 2011-06-28 2013-01-02 上海博泰悦臻电子设备制造有限公司 行车轨迹同步共享方法和系统
US20140012494A1 (en) * 2012-07-06 2014-01-09 International Business Machines Corporation Collaborative gps tracking
CN104344833A (zh) * 2013-08-01 2015-02-11 腾讯科技(深圳)有限公司 车辆导航方法、装置和系统

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108234285A (zh) * 2017-11-29 2018-06-29 江苏速度信息科技股份有限公司 一种基于微信的地名信息服务系统及方法
CN110086936A (zh) * 2019-04-28 2019-08-02 四川轻化工大学 一种基于在线数据分析的人身安全伺服方法和系统

Also Published As

Publication number Publication date
US10863312B2 (en) 2020-12-08
CN106982158A (zh) 2017-07-25
US20180209807A1 (en) 2018-07-26

Similar Documents

Publication Publication Date Title
WO2017124987A1 (zh) 运动轨迹的分享方法、装置和存储介质
CN106254311B (zh) 直播方法和装置、直播数据流展示方法和装置
CN104394191B (zh) 远程控制移动终端的方法、控制终端及系统
CN103873342B (zh) 一种加入社交群组的方法、终端以及系统
CN104836727A (zh) 基于即时通讯的运动社交控制方法
EP2853102B1 (en) Location-based group generation method, apparatus and system
US8260278B2 (en) Framework for agile mobile applications
WO2017193901A1 (zh) 事件处理方法和装置
CN109962833A (zh) 即时通讯客户端上会话的创建方法及装置
WO2014101521A1 (zh) 基于地理位置的通讯方法、移动终端、服务器及系统
CN113810732B (zh) 直播内容显示方法、装置、终端、存储介质及程序产品
WO2017167230A1 (zh) 飞行标签的获取方法和终端及服务器
CN104038909A (zh) 一种信息交互方法和设备
CN105337841B (zh) 一种信息处理方法和系统、客户端和服务器
US10541951B2 (en) Enhancing network messaging with a real-time, interactive representation of current messaging activity of a user's contacts and associated contacts
CN110609970B (zh) 用户身份识别方法、装置、存储介质及电子设备
CN106105110A (zh) 即时消息传送
CN104917631B (zh) 预测发起、参与及信息处理方法、装置及系统
US10821358B2 (en) Gaming server and method to generate context-aware gaming information
CN105657634A (zh) 实现终端之间远程协助的方法、业务协助服务器、装置和系统
TW201713161A (zh) 用於連接電子裝置的方法和系統
CN108288152B (zh) 一种分享信息的交互方法、终端及存储介质
CN111773661B (zh) 基于直播界面组队游戏的系统、方法及装置
CN110620672B (zh) 多人会话数据处理方法、装置、计算机设备和存储介质
CN110224924A (zh) 状态更新方法和装置、存储介质及电子装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17741018

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17741018

Country of ref document: EP

Kind code of ref document: A1