CN107566259A - Movement locus sharing method and mobile terminal - Google Patents

Movement locus sharing method and mobile terminal Download PDF

Info

Publication number
CN107566259A
CN107566259A CN201710991837.0A CN201710991837A CN107566259A CN 107566259 A CN107566259 A CN 107566259A CN 201710991837 A CN201710991837 A CN 201710991837A CN 107566259 A CN107566259 A CN 107566259A
Authority
CN
China
Prior art keywords
red packet
terminal
movement locus
track
predetermined server
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201710991837.0A
Other languages
Chinese (zh)
Inventor
彭业
陈虞钦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710991837.0A priority Critical patent/CN107566259A/en
Publication of CN107566259A publication Critical patent/CN107566259A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides a kind of movement locus sharing method and mobile terminal, belong to technical field of mobile terminals.Wherein, the red packet number got and red packet insertion position coordinate can be sent to predetermined server by first terminal, in order to which predetermined server is that red packet insertion position coordinate sets red packet, then first terminal can be according to red packet insertion position coordinate, movement locus of the generation with red packet, then instruction can be shared according to the track received and send track sharing information to predetermined server, wherein, the track sharing information includes the movement locus with red packet, in order to which the movement locus with red packet is sent to second terminal by predetermined server.First terminal carries the movement locus of red packet by sharing, and adds the interest that movement locus is shared, and then add the attraction to user.

Description

Movement locus sharing method and mobile terminal
Technical field
The invention belongs to technical field of mobile terminals, more particularly to a kind of movement locus sharing method and mobile terminal.
Background technology
With the continuous improvement of people's health consciousness, the motion software provided on mobile terminal is more and more, how to attract More users are moved, the problem of turning into people's extensive concern.
In the prior art, after user terminates motion, mobile terminal can according to user in motion process each time Position corresponding to point, movement locus corresponding to generation, the movement locus is then shared with other good friends, and then attracted more User participates in moving.
It is interesting relatively low but the movement locus form shared in the prior art is relatively simple, and then to the attraction of user Power is relatively low.
The content of the invention
The present invention provides a kind of movement locus sharing method and mobile terminal, interest single to solve movement locus form The problem of taste is relatively low, and attraction is relatively low.
In order to solve the above-mentioned technical problem, the present invention is realized in:
In a first aspect, the embodiments of the invention provide a kind of movement locus sharing method, applied to first terminal, the side Method includes:
Obtain red packet number and red packet insertion position coordinate;
The red packet number and red packet insertion position coordinate are sent to predetermined server, in order to the default clothes Business device is that red packet insertion position coordinate sets red packet according to the red packet number;
According to red packet insertion position coordinate, movement locus of the generation with red packet;
Receiving locus shares instruction;
Instruction is shared according to the track and sends track sharing information to the predetermined server;
Wherein, the track sharing information includes the movement locus and auxiliary information for carrying red packet, in order to described The movement locus with red packet is sent to second terminal by predetermined server according to the auxiliary information.
Second aspect, the embodiments of the invention provide a kind of movement locus sharing method, applied to second terminal, the side Method includes:
Receive the movement locus with red packet that predetermined server is sent;
When receiving track selection instruction, the movement locus with red packet is defined as predetermined paths;
If during user is moved with the predetermined paths, detect current position coordinates with described with red When red packet insertion position coordinate in the movement locus of bag is identical, sends red packet to the predetermined server and get request;
Wherein, the red packet, which gets request, includes the mark of the second terminal, the actual motion track of user and institute State current position coordinates.
The third aspect, the embodiments of the invention provide a kind of movement locus sharing method, and applied to predetermined server, it is special Sign is that methods described includes:
Receive red packet number and red packet insertion position coordinate that first terminal is sent;
It is that red packet insertion position coordinate sets red packet according to the red packet number;
Receive the track sharing information that the first terminal is sent;The track sharing information includes the motion with red packet Track and auxiliary information;
The movement locus with red packet is sent to second terminal according to the auxiliary information;
Receive the red packet that the second terminal is sent and get request;
Request is got according to the red packet and provides red packet for the second terminal.
Fourth aspect, the embodiments of the invention provide a kind of mobile terminal, it is characterised in that the mobile terminal includes:
Acquisition module, for obtaining red packet number and red packet insertion position coordinate;
First sending module, default clothes are sent to for the red packet number and red packet insertion position coordinate to be set Business device, in order to which the predetermined server sets red packet according to the red packet number for red packet insertion position coordinate;
Generation module, for according to red packet insertion position coordinate, movement locus of the generation with red packet;
First receiving module, share instruction for receiving locus;
Second sending module, share letter to predetermined server transmission track for sharing instruction according to the track Breath;
Wherein, the track sharing information includes the movement locus and auxiliary information for carrying red packet, in order to described The movement locus with red packet is sent to second terminal by predetermined server according to the auxiliary information.
5th aspect, the embodiments of the invention provide a kind of mobile terminal, it is characterised in that the mobile terminal includes:
Second receiving module, for receiving the movement locus with red packet of predetermined server transmission;
Determining module, for when receiving track selection instruction, the movement locus with red packet being defined as pre- If route;
3rd sending module, if during for being moved in user with the predetermined paths, detect present bit Put coordinate it is identical with the red packet insertion position coordinate in the movement locus with red packet when, to the predetermined server send Red packet gets request;
Wherein, the red packet, which gets request, includes the mark of the second terminal, the actual motion track of user and institute State current position coordinates.
6th aspect, the embodiments of the invention provide a kind of predetermined server, it is characterised in that the predetermined server bag Include:
3rd receiving module, red packet number and red packet insertion position coordinate for receiving first terminal transmission are set;
Setup module, for being that red packet insertion position coordinate sets red packet according to the red packet number;
4th receiving module, the track sharing information sent for receiving the first terminal;The track sharing information Including movement locus and auxiliary information with red packet;
4th sending module, for being sent the movement locus with red packet to second eventually according to the auxiliary information End;
5th receiving module, request is got for receiving the red packet that the second terminal is sent;
Module is provided, red packet is provided for the second terminal for getting request according to the red packet.
7th aspect, the embodiments of the invention provide a kind of mobile terminal, the mobile terminal include processor, memory and The computer program that can be run on the memory and on the processor is stored in, the computer program is by the processing The step of device realizes movement locus sharing method of the present invention when performing.
Eighth aspect, the embodiments of the invention provide a kind of computer-readable recording medium, the computer-readable storage Computer program is stored on medium, the computer program realizes that movement locus of the present invention is shared when being executed by processor The step of method.
In embodiments of the present invention, first terminal can send the red packet number got and red packet insertion position coordinate To predetermined server, in order to which predetermined server is that red packet insertion position coordinate sets red packet, then first terminal can basis Red packet insertion position coordinate, movement locus of the generation with red packet, can then share according to the track received and instruct to pre- If server sends track sharing information, wherein, the track sharing information includes the movement locus with red packet, in order to pre- If the movement locus with red packet is sent to second terminal by server.First terminal carries the motion rail of red packet by sharing Mark, the interest that movement locus is shared is added, and then add the attraction to user.
Brief description of the drawings
Fig. 1 is a kind of step flow chart for movement locus sharing method that the embodiment of the present invention one provides;
Fig. 2 is a kind of step flow chart for movement locus sharing method that the embodiment of the present invention two provides;
Fig. 3 is a kind of step flow chart for movement locus sharing method that the embodiment of the present invention three provides;
Fig. 4 is that the embodiment of the present invention four provides a kind of step flow chart of movement locus sharing method;
Fig. 5 is a kind of block diagram for mobile terminal that the embodiment of the present invention five provides;
Fig. 6 is a kind of block diagram of mobile terminal provided in an embodiment of the present invention;
Fig. 7-1 is a kind of block diagram for predetermined server that the embodiment of the present invention seven provides;
Fig. 7-2 is a kind of block diagram for setup module that the embodiment of the present invention seven provides;
Fig. 8 is a kind of hardware architecture diagram for the first terminal for realizing the embodiment of the present invention;
Fig. 9 is a kind of hardware architecture diagram for the second terminal for realizing the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
Embodiment one
Fig. 1 is a kind of step flow chart for movement locus sharing method that the embodiment of the present invention one provides, applied to first Terminal, as shown in figure 1, this method can include:
Step 101, obtain red packet number and red packet insertion position coordinate.
In the embodiment of the present invention, red packet insertion position coordinate is position seat corresponding to some time point during user movement Mark, on the one hand, first terminal can detect motion state of the user in motion process, when detecting that user makes default red packet Where when during insert action, red packet insert action can be preset according to this and determines red packet number, and user being performed into the action Position coordinates is defined as red packet insertion position coordinate.On the other hand, first terminal can also be first according to each during user movement Position coordinates corresponding to individual time point generates movement locus, the clicking operation that user is directed to the movement locus is then detected, by this Position coordinates corresponding to clicking operation is defined as red packet insertion position coordinate.Specific red packet insertion position coordinate and red packet number Volume can be determined that the embodiment of the present invention is not construed as limiting to this by user according to actual conditions oneself.
Step 102, red packet number and red packet insertion position coordinate be sent to predetermined server, in order to the default clothes Business device is that red packet insertion position coordinate sets red packet according to the red packet number.
In the embodiment of the present invention, what red packet represented can be used for sending the carrier of virtual objects, and virtual objects can be Equipment in cash, integration, coupons or online game etc., virtual objects can be packaged in red packet, and then with red packet Form send.Red packet number represents the size for the virtual objects being packaged in red packet, example, when the void being packaged in red packet When plan article is cash, red packet number represents the specific amount of money of cash, red when the virtual objects being packaged in red packet is integrate Bag number represents the specific points of integration, and when the virtual objects being packaged in red packet are coupons, red packet number represents cash equivalent The specific denomination of certificate.
Step 103, according to red packet insertion position coordinate, movement locus of the generation with red packet.
In the embodiment of the present invention, the red packet insertion position coordinate is position corresponding to some time point during user movement Coordinate, first terminal set red packet by above-mentioned steps 102 for some position coordinateses during user movement, that is, are exactly to be red Wrap insertion position coordinate and red packet is set, first terminal can be by corresponding to Each point in time during user movement after setting successfully Position coordinates connects, and because these position coordinateses include the position coordinates that is provided with red packet, therefore can obtain after connecting Movement locus with red packet, on the other hand, first terminal can also be after user terminates motion process, by user movement mistake Position coordinates corresponding to Each point in time connects in journey, obtains movement locus, is then the movement locus according to the selection of user In some position coordinateses set red packet, after setting successfully, you can obtain carry red packet movement locus.
Step 104, receiving locus share instruction.
In the embodiment of the present invention, the track sharing function for instructing and being user by triggering first terminal is shared in the track Sent to first terminal, example, track sharing function can be triggered by button, and one is shown on the interface of first terminal Button is shared in track, when user wants to share the movement locus with red packet, can by trigger the track share button to First terminal sends track and shares instruction, and first terminal can receive the track and share instruction.
Step 105, according to the track share instruction to the predetermined server send track sharing information;Wherein, institute Stating track sharing information includes the movement locus and auxiliary information for carrying red packet, in order to which the predetermined server is according to institute State auxiliary information and the movement locus with red packet is sent to second terminal.
In the embodiment of the present invention, first terminal can share instruction generation track sharing information according to the track received, Then track sharing information is sent to predetermined server.Specifically, when generating track sharing information, can be selected according to user At least one target recipient identification selected and the trace generator track sharing information with red packet, can also be according to first The mark of terminal and the trace generator track sharing information with red packet.
In summary, the movement locus sharing method that the embodiment of the present invention one provides, first terminal will can be got Red packet number and red packet insertion position coordinate are sent to predetermined server, in order to which predetermined server is red packet insertion position coordinate Red packet is set, then first terminal can generate the movement locus with red packet according to red packet insertion position coordinate, then according to The track received shares instruction and sends track sharing information to predetermined server, wherein, the track sharing information includes band There is the movement locus of red packet, in order to which the movement locus with red packet is sent to second terminal by predetermined server.By sharing Movement locus with red packet, the interest that movement locus is shared is added, and then add the attraction to user.
Embodiment two
Fig. 2 is a kind of step flow chart for movement locus sharing method that the embodiment of the present invention two provides, applied to second Terminal, as shown in Fig. 2 this method can include:
Step 201, receive the movement locus with red packet that predetermined server is sent.
In the embodiment of the present invention, the second terminal can be mobile phone, intelligent watch, portable electric appts, etc., second Terminal can be any terminal of predetermined server management, and second terminal can receive the information sent by predetermined server, than Such as, the movement locus with red packet.
Step 202, when receiving track selection instruction, the movement locus with red packet is defined as default road Line.
In the embodiment of the present invention, second terminal user can select the movement locus with red packet that predetermined server is shared Moved, and then get the red packet in the movement locus with red packet.Example, user can be somebody's turn to do with red by clicking on The movement locus of bag to second terminal send track selection instruction, second terminal can according to the track selection instruction received, The movement locus with red packet is defined as predetermined paths, that is, is exactly to determine the route where the movement locus with red packet For the route of this motion of second terminal user.
If step 203, during user is moved with the predetermined paths, current position coordinates and institute are detected State red packet insertion position coordinate in the movement locus with red packet it is identical when, sending that red packet gets to the predetermined server please Ask.
In the embodiment of the present invention, second terminal in the motion process of user, can record the position of user's Each point in time Coordinate, if detect that the current position coordinates of user are identical with red packet insertion position coordinate, that is, it is exactly that user reaches red packet During position, second terminal can send red packet to predetermined server and get request to get red packet.The red packet gets request In can include the mark of the second terminal, the actual motion track of user and current position coordinates.
In summary, the movement locus sharing method that the embodiment of the present invention two provides, second terminal can be received by presetting The movement locus with red packet that server is sent, when then basis receives the track selection instruction sent by user, by band The movement locus for having red packet is defined as predetermined paths, the process that the second last terminal can be moved in user with predetermined paths In, when detecting that current position coordinates are identical with the red packet insertion position coordinate in the movement locus with red packet, to default clothes Business device sends red packet and gets request, to get the red packet.In the embodiment of the present invention, second terminal can be with red packet Movement locus adds the interest that movement locus is shared as red packet is got in the motion process of predetermined paths, adds pair The attraction of user.
Embodiment three
Fig. 3 is a kind of step flow chart for movement locus sharing method that the embodiment of the present invention three provides, applied to default Server, as shown in figure 3, this method can include:
Step 301, receive red packet number and red packet insertion position coordinate that first terminal is sent.
In the embodiment of the present invention, the first terminal can be mobile phone, intelligent watch, portable electric appts, etc., first Terminal can be any terminal of predetermined server management, and first terminal can send information to predetermined server, such as, send Red packet number and red packet insertion position coordinate.
Step 302, according to the red packet number be red packet insertion position coordinate set red packet.
In the embodiment of the present invention, predetermined server can insert position according to the red packet number that first terminal is sent for the red packet Put coordinate and red packet is set.
Step 303, receive the track sharing information that the first terminal is sent;The track sharing information is included with red The movement locus and auxiliary information of bag.
In the embodiment of the present invention, predetermined server can receive auxiliary information and the movement locus with red packet is divided Enjoy.
Step 304, according to the auxiliary information movement locus with red packet is sent to second terminal.
In the embodiment of the present invention, the auxiliary information can be at least one target recipient identification, so, predetermined server Movement locus with red packet can be shared with to second terminal corresponding with least one target recipient identification.Further Ground, at least one default recipient's mark corresponding with first terminal mark can also be prestored in predetermined server, so, First terminal can be included in auxiliary information to identify, predetermined server can search and first terminal mark corresponding at least one Individual default recipient's mark, the movement locus with red packet is sent to corresponding with least one default recipient's mark Second terminal.
The red packet that step 305, the reception second terminal are sent gets request.
In the embodiment of the present invention, the red packet is got can be with the mark of second terminal, the actual motion track of user in request And current position coordinates.Predetermined server can gets request according to red packet and provides red packet for second terminal.
Step 306, got according to the red packet and ask to provide red packet for the second terminal.
During the present invention is implemented, second terminal mark that predetermined server first can be got in request according to red packet determine this Whether two terminals get authority, if the second terminal has permission, can determine red packet number corresponding to current position coordinates, Then the matching degree of the movement locus according to the actual path of the user and with red packet, red packet is sent to second terminal.
In summary, the movement locus sharing method that the embodiment of the present invention three provides, predetermined server can be received by the The red packet number and red packet insertion position coordinate that one terminal is sent, and red packet is set for the red packet insertion position coordinate, further , predetermined server can also receive the movement locus with red packet of first terminal transmission, then be shared with second terminal, also The red packet that second terminal transmission can be received gets request, provides red packet for second terminal, is carried by being sent to second terminal The movement locus of red packet, the interest that movement locus is shared is improved, add attraction of the movement locus to user, and then inhale Draw more users and participate in motion.
Example IV
Fig. 4 is that the embodiment of the present invention four provides a kind of step flow chart of movement locus sharing method, as shown in figure 4, should Method can include:
Step 401, first terminal obtain red packet number and red packet insertion position coordinate.
In embodiments of the present invention, this step can be corresponding with different implementations.
In the first implementation, step 401 can include:
Sub-step (1) obtains if first terminal detects default red packet insert action in the motion process of user The coordinate of position, obtains red packet insertion position coordinate when user performs the default red packet insert action.
In this step, position coordinates can be gps coordinate, and gps coordinate is typically made up of two parameters of longitude and latitude, It is longitude and latitude.The position coordinates can be that first terminal sends GPS location signal, right gps satellite in diverse location to gps satellite The position coordinates of first terminal is sent to by first terminal according to the GPS location signal.After first terminal gets position coordinates, The position coordinates can also be sent to predetermined server, etc..Developer can define red packet for first terminal in advance Action, such as, it is red packet insert action that can define " jumping 5 times in original place ".In the motion process of user, first terminal can be with The motion state of detection user in real time, when detecting that user makes " jumping 5 times in original place " This move, then obtain user and perform The coordinate of position when being somebody's turn to do " jumping 5 times in original place ", the position coordinates that user performs " jumping 5 times in original place " This move are as red Wrap insertion position coordinate.If specifically, in the motion process of user, the gyroscope that is configured in first terminal detects regular About 5 times change moving curves, then it is considered that user is made that the insertion work of default red packet.
It should be noted that in practical application, it is dynamic that user can perform repeatedly default red packet insertion in motion process Make, therefore the red packet insertion position coordinate in the embodiment of the present invention can be multiple.Further, should in the embodiment of the present invention Default red packet insert action is not limited in " jumping 5 times in original place ", and the default red packet insert action can be according to actual need Ask to set, example, the default red packet insert action can also be " jumping 2 times left and right ", etc..
In the embodiment of the present invention, first terminal can detect the motion state of user in real time, when detecting that user is being moved through Default red packet insert action is made in journey, the position coordinates that the action will be made using user is sat as red packet insertion position Mark, in order to subsequently set red packet in the position coordinates, so, user is in the case where that need not stop motion process, it is only necessary to Make deliberate action and red packet setting can be achieved, simplify red packet and operation is set, while ensure that the continuity of motion process, Improve Consumer's Experience.
Sub-step (2) first terminal determines red packet number according to the default red packet insert action.
In this step, red packet number can be determined according to default red packet insert action and number corresponding relation, this is default Red packet insert action and number corresponding relation can pre-define, can be pre-defined in the corresponding relation each Specific number corresponding to red packet insert action, specific number can be set according to actual conditions, and the embodiment of the present invention is to this It is not construed as limiting.Example, to encapsulate cash in red packet in the embodiment of the present invention, red packet number represents that specific amount of cash is Example, it is assumed that default red packet insert action is " jumping 5 times in original place ", in default red packet insert action and number corresponding relation, It is 5 yuan to be somebody's turn to do cash number corresponding to " jumping 5 times in original place ", and first terminal, can when detecting " jumping 5 times in original place " This move To determine red packet number as 5 yuan according to the action.
In the embodiment of the present invention, first terminal can determine red packet number according to default red packet insert action, so, use Family in motion process only by making different actions, you can setting red packet number, the setting operation of red packet number is simplified, Optimize the operating experience of user.
In second of implementation, step 401 can include:
Sub-step (3) first terminal receive motion END instruction when, by user in motion process Each point in time Corresponding position coordinates connection, obtains movement locus;
In this step, for user when the sports applications using first terminal such as are run or hurried up at the motion, first eventually End can record the position coordinates of user's Each point in time in real time, and first terminal can be when receiving motion END instruction, directly The position coordinates of record will be connected, you can obtain movement locus.
Sub-step (4) obtains the point when first terminal detects that user is directed to the clicking operation of the movement locus Position coordinates corresponding to hitting operation, obtains red packet insertion position coordinate.
In this step, first terminal can be after user terminates motion, first according to Each point in time during user movement Correspondence position Coordinate generation movement locus, user can select to want to set up the position of red packet in the movement locus, example, User can click on some point in the movement locus, and first terminal can obtain the click when detecting the clicking operation Position coordinates corresponding to operation, the position coordinates are red packet insertion position coordinate.Assuming that user " Li Si " is want in movement locus Red packet is set on the position of high order end, then Li Si can click on the position of the movement locus high order end, and first terminal is according to this Clicking operation, Li Si institute click location can be obtained corresponding to position coordinates, obtain red packet insertion position coordinate.Practical application In, user can select multiple points in the movement locus, that is, be exactly, and the red packet insertion position coordinate in the embodiment of the present invention can Think multiple.
Sub-step (5) first terminal receives number and sets instruction;The number sets instruction to include red packet number.
In this step, first terminal can show a red packet number input after red packet insertion position coordinate is got Window, user can set specific red packet number in a manner of being manually entered in the red packet number input window, and then realize Number is sent to first terminal, and instruction is set.
It should be noted that in another alternative embodiment of the present invention, user can also be sent by way of voice Number sets instruction, example, and first terminal can open number phonetic incepting work(after red packet insertion position coordinate is got Can, now, user can be by default verbal instructions, such as " set 5 yuan of red packets ", and being sent to first terminal includes red packet number The number of volume sets instruction.
In the embodiment of the present invention, first terminal can after motion terminates, can according to user it is each in motion process when Between position coordinates generation movement locus corresponding to point, user can set red packet according to the movement locus after motion terminates, this Sample, user can be absorbed in motion process in motion process, and red packet will not be set and interrupt, and then improve Consumer's Experience.
It should be noted that in the embodiment of the present invention, the mode that user can also manually be set sets a shape road Line, that is, it is exactly only to provide the shape of movement locus, red packet then is set for the shape route, this is finally provided with red packet Movement locus shares second terminal, so, when user is moved using this with movement locus of red packet as predetermined paths, After motion terminates, the actual motion track of user can be sent to predetermined server by second terminal, and predetermined server can be counted The shape similarity of the actual motion track and the movement locus with red packet is calculated, is then second whole according to the shape similarity Provide red packet in end.
The red packet number and red packet insertion position coordinate are sent to predetermined server by step 402, first terminal.
In this step, first terminal can send red packet to predetermined server and set request, and the red packet is set can in request To carry red packet number and red packet insertion position coordinate;So, predetermined server can be set in request according to the red packet Red packet number is that red packet insertion position coordinate sets red packet.
Step 403, predetermined server receive red packet number and red packet insertion position coordinate that first terminal is sent.
Specifically, the implementation of this step may be referred to the implementation in above-mentioned steps 301, the embodiment of the present invention exists This is not repeated.
Step 404, according to the red packet number be red packet insertion position coordinate set red packet.
Specifically, step 404 can be realized by following sub-steps (6)~sub-step (7):
Sub-step (6) predetermined server is corresponding from the first terminal by the article of respective amount according to the red packet number Account in be transferred in account corresponding to the predetermined server.
In this step, it is assumed that the red packet number is 5 yuan, then predetermined server can be from online silver corresponding to first terminal 5 yuan are extracted in row account or website payment account, and is transferred accounts into account corresponding to predetermined server.
Sub-step (7) predetermined server stores the corresponding pass between the red packet number and red packet insertion position coordinate System.
In this step, predetermined server can establish the corresponding relation of red packet insertion position coordinate and red packet number, then The corresponding relation is stored, red packet insertion position coordinate is embodied as and red packet is set.
Example, it is assumed that user's selection sets red packets in 3 position coordinateses, corresponding, and first terminal is to predetermined server 3 groups of red packet numbers and red packet insertion position coordinate are have sent, 3 groups of red packet numbers and red packet insertion position coordinate are respectively:It is red Wrap insertion position coordinate " (a1, b1) " and red packet number " 5 yuan ", red packet insertion position coordinate " (a2, b2) " and red packet number " 10 Member " and red packet insertion position coordinate " (a3, b3) " and red packet number " 2 yuan ", then the corresponding pass that predetermined server can store System can enter shown in table 1 below:
Red packet insertion position coordinate Red packet number (member)
(a1, b1) 5
(a2, b2) 10
(a3, b3) 2
…… ……
Table 1
Step 405, first terminal are according to red packet insertion position coordinate, movement locus of the generation with red packet.
In embodiments of the present invention, corresponding implementations different from step 401 in this step, there is different realization sides Formula.Specifically, corresponding to the first implementation in step 401, this step can include passing through following sub-steps (8)~son Step (9) is realized:
Sub-step (8) first terminal is that red packet insertion position coordinate sets red packet to identify.
In this step, first terminal sets red packet by being interacted with predetermined server for red packet insertion position coordinate Afterwards, can be that the red packet insertion position coordinate sets a red packet to identify, red packet mark can serve to indicate that the position coordinates It is provided with red packet.
Sub-step (9) first terminal receive motion END instruction when, by user in motion process Each point in time Corresponding position coordinates connection, obtains the movement locus with red packet;Wherein, user Each point in time in motion process Corresponding position coordinates includes at least one red packet insertion position coordinate.
In this step, the motion END instruction can be user by triggering the motion end functions of first terminal to first What terminal was sent.Example, it is assumed that user " Zhang San " is run using the sports applications of first terminal, when " Zhang San " wants knot During beam " running ", the conclusion button that can be clicked on application interface sends motion END instruction to first terminal, to terminate to move Process.When first terminal receives the motion END instruction, can by by user in motion process Each point in time pair The position coordinates connection answered, movement locus of the generation with red packet.Because user is in motion process corresponding to Each point in time The red packet insertion position coordinate that red packet mark is provided with above-mentioned sub-step (8) can be included in position coordinates, and in above-mentioned steps, First terminal is provided with red packet for these red packet insertion position coordinates, thus in this step first terminal by will be each when Between position coordinates corresponding to point be connected, you can obtain the movement locus with red packet.
Simultaneously as in above-mentioned sub-step (8) first terminal be red packet insertion position coordinate there is provided red packet mark, this Sample, after the movement locus with red packet is shared with second terminal by first terminal, second terminal can is according to the red packet mark Know, identify which position coordinates is provided with red packet in the movement locus with red packet.
In the embodiment of the present invention, first terminal first can set red packet to identify for red packet insertion position, and then generation is with red The movement locus of bag, due to adding red packet in movement locus, therefore attraction of the movement locus to user is added, added Interest, while by setting red packet to identify for red packet insertion position, second terminal is improved from the movement locus with red packet The middle efficiency for determining to be provided with the red packet insertion position coordinate of red packet.
Specifically, corresponding to second of implementation in step 401, this step can by following sub-steps (10) come Realize:
Sub-step (10) first terminal is that the red packet insertion position coordinate in the movement locus sets red packet to identify, and is obtained Movement locus with red packet.
In this step, because the red packet insertion position coordinate is the position coordinates in movement locus, therefore in this step, lead to Cross and red packet is set for red packet insertion position coordinate, you can obtain the movement locus with red packet.In the embodiment of the present invention, first eventually End movement locus of the generation with red packet, compared in the prior art, can directly generate movement locus when user terminates motion Way, can increase movement locus interest and the attraction to user.
Step 406, first terminal receiving locus share instruction.
Specifically, the implementation of this step may be referred to the implementation in above-mentioned steps 104, the embodiment of the present invention exists This is not repeated.
Step 407, first terminal share instruction according to the track and send track sharing information to the predetermined server.
In embodiments of the present invention, the track sharing information can include movement locus and auxiliary information with red packet, Corresponding to different auxiliary informations, this step is corresponding with different implementations.
In the first implementation, auxiliary information is at least one target recipient identification.Correspondingly, according to track point The step of instruction is to predetermined server transmission track sharing information is enjoyed, can be included:
Sub-step (11) first terminal shares instruction according to the track and shows that at least one recipient identifies.
In this step, at least one recipient's mark can be corresponding with the second terminal that first terminal has friend relation Mark.First terminal can be provided with identical applications client with second terminal, such as, first terminal and second terminal peace Equipped with identical sports applications client, first terminal can be determined and each good friend couple based on the friend relation originally established The recipient's mark answered, i.e. obtain identifying corresponding to second terminal used in the good friend.
Sub-step (12) is when detecting the selection operation that user identifies at least one recipient, described in acquisition Recipient corresponding to selection operation identifies, and obtains at least one target recipient identification.
Example, it is assumed that recipient's mark that first terminal is shown includes:Recipient identifies A, recipient identifies B, receives Side mark C and recipient identify D, and user can select one or more of this four recipient's marks recipient's mark, the One terminal can obtain recipient corresponding to the selection operation and identify when detecting the selection operation, the corresponding recipient Mark is red packet target recipient identification.Assuming that user, which have selected recipient, identifies B, first terminal can according to the selection operation So that recipient's mark B is defined as into target recipient identification.Assuming that user have selected, recipient identifies B and recipient identifies D, the Recipient can be identified to B according to the selection operation for one terminal and recipient identifies D and is defined as target recipient identification.
Sub-step (13) first terminal generates track sharing information, and the track sharing information carries red packet including described in Movement locus and at least one target recipient identification.
Example, it is assumed that target recipient identification is that recipient identifies B, then recipient can be identified B by first terminal With the movement locus with red packet that is generated in above-mentioned steps 403 as track sharing information.
Sub-step (14) first terminal sends the track sharing information to the predetermined server, in order to described default Server sends the movement locus with red packet to second terminal corresponding to the target recipient identification.
In this step, first terminal can by predetermined server send track sharing information, come realize will carry it is red The movement locus of bag is sent to second terminal.Specifically, first terminal can be by predetermined server by the motion with red packet Track is sent to second terminal corresponding with target recipient identification.Example, it is assumed that target recipient identification is mark B, is marked Second terminal corresponding to knowing B is terminal 2, then first terminal can be sent out the movement locus with red packet by predetermined server Give terminal 2.
In the embodiment of the present invention, user selection target recipient can identify from recipient's mark that first terminal is shown Being shared, user's is alternative larger, meanwhile, intended recipient can be determined more accurately out in the mode manually selected Mark.
In second of implementation, auxiliary information identifies for first terminal;Correspondingly, shared according to track and instructed to pre- If server sends the step of track sharing information, can include:
Sub-step (15) first terminal shares instruction generation track sharing information according to the track, and letter is shared in the track Breath includes the movement locus with red packet and first terminal mark.
In this step, first terminal can store recipient's mark in predetermined server in advance, and so, first terminal exists By predetermined server to second terminal share the movement locus with red packet when, only the mark of oneself need to be sent to default clothes Business device, predetermined server can be shared according to the recipient's mark prestored.Example, can be by building group face-to-face Mode come in advance in predetermined server store recipient mark, specifically, assume user " Xiao Wang ", user " Xiao Zhang " and use " Xiao Li " moves together at family, and these three users can establish a group, when establishing group, user before setting in motion Mobile terminal used in " Xiao Wang " user " Xiao Zhang " and the people of user " Xiao Li " three can respectively respective terminal iidentification be uploaded to it is pre- If server, predetermined server can be respectively that these three terminal iidentifications received establish corresponding relation, it is assumed that user is " small Terminal iidentification corresponding to king " is L, and terminal iidentification corresponding to user " Xiao Zhang " is M, and terminal iidentification corresponding to user " Xiao Li " is N, Recipient is preset corresponding to so terminal iidentification L and is identified as terminal iidentification M and terminal iidentification N, presets and connects corresponding to terminal iidentification M Debit is identified as terminal iidentification L and terminal iidentification N, and presetting recipient corresponding to terminal iidentification N is identified as terminal iidentification L and terminal Identify M.
The track sharing information is sent to the predetermined server by sub-step (16) first terminal, in order to described pre- If server determines that at least one default recipient corresponding with first terminal mark identifies, and by the red packet that carries Movement locus send to the corresponding second terminal of default recipient's mark.
In this step, it is assumed that first terminal is identified as L in the sharing information of track, then predetermined server will can carry red The movement locus of bag is sent respectively to identify terminal corresponding to terminal corresponding to M and mark N.
In the embodiment of the present invention, first terminal includes the movement locus with red packet and the by being sent to predetermined server The track sharing information of one terminal iidentification, predetermined server can be identified according to first terminal by the movement locus with red packet point Enjoy giving and second terminal corresponding to recipient's mark is preset corresponding to first terminal mark, so, user just need not when sharing Recipient's mark is manually selected, simplifies the operating process that track is shared.
Step 408, predetermined server receive the track sharing information that the first terminal is sent;The track sharing information Including movement locus and auxiliary information with red packet.
Specifically, the implementation of this step may be referred to the implementation in above-mentioned steps 303, the embodiment of the present invention exists This is not repeated.
Step 409, predetermined server send the movement locus with red packet to second according to the auxiliary information Terminal;
In embodiments of the present invention, corresponding to different auxiliary informations, this step is corresponding with different implementations.
In the first implementation, the auxiliary information is at least one target recipient identification;Correspondingly, according to institute The step of auxiliary information sends the movement locus with red packet to second terminal is stated, can be included:
Sub-step (17) predetermined server by the movement locus with red packet send to the intended recipient mark Second terminal corresponding to knowledge.
Example, it is assumed that target recipient identification is mark B, and second terminal corresponding to mark B is terminal 2, then first Movement locus with red packet can be sent to terminal 2 by terminal by predetermined server.
In second of implementation, the auxiliary information identifies for the first terminal;Correspondingly, according to the auxiliary The step of information sends the movement locus with red packet to second terminal, can include:
Sub-step (18) predetermined server searches at least one default recipient's mark corresponding with first terminal mark Know.
Example, it is assumed that first terminal is identified as mark L, and predetermined server can search to be identified corresponding to mark L, it is assumed that It is identified as corresponding to mark L:Identify M and mark N, then it is mark M that recipient's mark is preset corresponding to first terminal mark With mark N.
The movement locus with red packet is sent to the recipient to identify and corresponded to by sub-step (19) predetermined server Second terminal.
Example, predetermined server can send the movement locus with red packet whole to corresponding to mark M second respectively Hold and identify second terminal corresponding to N.
Step 410, second terminal receive the movement locus with red packet that predetermined server is sent.
Specifically, the implementation of this step may be referred to the implementation in above-mentioned steps 201, the embodiment of the present invention exists This is not repeated.
Step 411, when receiving track selection instruction, the movement locus with red packet is defined as by second terminal Predetermined paths.
Specifically, the implementation of this step may be referred to the implementation in above-mentioned steps 202, the embodiment of the present invention exists This is not repeated.
If step 412, second terminal detect current location during user is moved with the predetermined paths When coordinate is identical with the red packet insertion position coordinate in the movement locus with red packet, sent to the predetermined server red Bag gets request.
In this step, the red packet get can include in request the mark of second terminal, user actual motion track and Current position coordinates.Second terminal can detect the position coordinates of user, and and movement locus in real time in the motion process of user In red packet insertion position coordinate be compared, due in above-mentioned steps first terminal be red packet insertion position coordinate be provided with it is red Bag mark, therefore second terminal can be compared with the current position coordinates of user with the position coordinates with red packet mark, such as Both fruits are consistent, then sending red packet to predetermined server gets request.
It should be noted that the accuracy of the positioning function of different terminals can be different, some setting accuracies poor end End possibly can not detect the position coordinates of user, and therefore, in practical application, second terminal can determine the substantially coordinate of user, If detect that user current location is being provided near the position coordinates of red packet mark, you can sent to predetermined server red Bag gets request.
Step 413, predetermined server receive the red packet that the second terminal is sent and get request.
Specifically, the implementation of this step may be referred to the implementation in above-mentioned steps 305, the embodiment of the present invention exists This is not repeated.
Step 414, predetermined server get request according to the red packet and provide red packet for the second terminal.
In the embodiment of the present invention, it can be realized by following sub-steps (20)~sub-step (24) and request is got according to red packet Red packet is provided for second terminal.
Sub-step (20) predetermined server is by the mark of the second terminal and at least one target recipient identification Matched;Or, the mark of the second terminal is matched with least one default recipient's mark.
In this step, predetermined server can be by by the mark and target recipient identification of second terminal, or, by second The mark of terminal is matched with default recipient mark, to determine that the second terminal is that enough have red packet to get authority, ensure that The installation that red packet is got.Example, it is assumed that the second terminal is identified as mark M, and target recipient identification includes mark M, then predetermined server can determine that the match is successful.
For sub-step (21) if the match is successful, predetermined server determines red packet number corresponding with the current position coordinates Volume.
In this step, because second terminal is to detect current position coordinates and be provided with the position coordinates of red packet mark When identical, think that predetermined server sends red packet and gets request, therefore the red packet gets the current position coordinates included in request just It is red packet insertion position coordinate.Because the red packet number that different red packet insertion position coordinates is set is different, therefore in this step, Predetermined server can determine whether the red packet number answered with the current location coordinate pair.Example, predetermined server can be in above-mentioned son Searched and the current location in corresponding relation in step (9) between the red packet number and red packet insertion position coordinate of storage Red packet number corresponding to coordinate, it is assumed that the current position coordinates are that " (a2, b2) " can so determine that red packet number is " 10 yuan ".
Sub-step (22) predetermined server calculates user's actual motion track and the movement locus with red packet Similarity.
In this step, predetermined server can by user's actual motion track with user's actual motion track with red Corresponding part is matched in the movement locus of bag, if both are more close, similarity is higher, conversely, then similarity is got over It is low.
Example, it is assumed that user's actual motion track corresponding part in the movement locus with red packet is X points and Y points Between orbit segment, then predetermined server can be carried out the orbit segment between X points and Y points and user's actual motion track Matching, calculate similarity., can be to the rail between user's actual motion track and X points and Y points when calculating both similarities Mark section carries out linear fit, and then draws both similarities.
In practical application, the calorie that user consumes can also be sent to predetermined server by second terminal, so default Server can combine the calorie of user's consumption and user's actual motion track determines similarity.
Sub-step (23) predetermined server red packet number according to corresponding to the similarity and the current position coordinates, meter Calculate and provide number.
In this step, predetermined server can using the product of similarity and red packet number as providing number, example, vacation If similarity be 80%, red packet number be 10 yuan, then can determine provide number be 80%*10 member=8 yuan.The present invention is implemented In example, for predetermined server by matching the similarity of track, it is second terminal granting then to provide number according to Similarity Measure Red packet, similarity is more high then to provide the higher mode of number, can promote what user was absorbed in be moved according to predetermined paths.
Sub-step (24) account according to corresponding to the granting number by the article of respective amount from the predetermined server In be transferred in account corresponding to the second terminal.
In this step, in this step, it is assumed that the granting number is 8 yuan, then predetermined server can be with predetermined server pair 8 yuan are extracted in the account answered, and is transferred accounts into account corresponding to second.
In summary, the movement locus sharing method that the embodiment of the present invention four provides, first terminal can be generated with red The movement locus of bag, the track sharing information for including the movement locus with red packet is then sent to predetermined server, presets clothes The movement locus with red packet received can be sent to second terminal by business device, what second terminal can receive in basis During movement locus with red packet is moved, send red packet to predetermined server and get request, predetermined server can Red packet is provided for second terminal to get request according to the red packet received, first terminal carries the motion rail of red packet by sharing Mark, the interest that movement locus is shared can be increased, increase the attraction to user.
Embodiment five
Fig. 5 is a kind of block diagram for mobile terminal that the embodiment of the present invention five provides, as shown in figure 5, the mobile terminal 50 can With including:
Acquisition module 501, for obtaining red packet number and red packet insertion position coordinate;
First sending module 502, predetermined server is sent to for red packet number and red packet insertion position coordinate to be set, In order to which the predetermined server sets red packet according to the red packet number for red packet insertion position coordinate;
Generation module 503, for according to red packet insertion position coordinate, movement locus of the generation with red packet;
First receiving module 504, share instruction for receiving locus;
Second sending module 505, share for sharing instruction according to the track to predetermined server transmission track Information;
Wherein, the track sharing information includes the movement locus and auxiliary information for carrying red packet, in order to described The movement locus with red packet is sent to second terminal by predetermined server according to the auxiliary information.
Optionally, above-mentioned acquisition module 501, is used for:
If detecting default red packet insert action in the motion process of user, it is described default to obtain user's execution The coordinate of position during red packet insert action, obtain red packet insertion position coordinate;
Red packet number is determined according to the default red packet insert action;
Accordingly, above-mentioned generation module 503, is used for:
Red packet is set to identify for red packet insertion position coordinate;
When receiving motion END instruction, by user, position coordinates corresponding to Each point in time connects in motion process Connect, obtain the movement locus with red packet;Wherein, the user is in motion process in position coordinates corresponding to Each point in time Red packet insertion position coordinate including being provided with red packet mark.
Optionally, above-mentioned acquisition module 501, is used for:
When receiving motion END instruction, by user, position coordinates corresponding to Each point in time connects in motion process Connect, obtain movement locus;
When detecting that user is directed to the clicking operation of the movement locus, obtain position corresponding to the clicking operation and sit Mark, obtains red packet insertion position coordinate;
Receive number and instruction is set;The number sets instruction to include red packet number;
Optionally, above-mentioned generation module 503, is used for:
Set red packet to identify for the red packet insertion position coordinate in the movement locus, obtain the motion rail with red packet Mark.
Optionally, above-mentioned second sending module 505, is used for:
Instruction is shared according to the track and shows at least one recipient's mark;
When detecting the selection operation that user identifies at least one recipient, the selection operation pair is obtained The recipient's mark answered, obtains at least one target recipient identification;
Generate track sharing information, the track sharing information include the movement locus with red packet and it is described at least One target recipient identification;
The track sharing information is sent to the predetermined server, in order to which the predetermined server will be described with red The movement locus of bag is sent to second terminal corresponding to the target recipient identification.
Optionally, above-mentioned second sending module 505, is used for:
Instruction generation track sharing information is shared according to the track, the track sharing information carries red packet including described Movement locus and the first terminal mark;
The track sharing information is sent to the predetermined server, in order to which the predetermined server is according to described One terminal iidentification, the movement locus with red packet is sent to corresponding with first terminal mark at least one default Second terminal corresponding to recipient's mark.
Mobile terminal provided in an embodiment of the present invention can realize that first terminal is realized each in Fig. 1 embodiment of the method Process, to avoid repeating, repeat no more here.First terminal can send the red packet number got and red packet insertion position To predetermined server, in order to which predetermined server is that red packet insertion position coordinate sets red packet, then first terminal can basis Red packet insertion position coordinate, movement locus of the generation with red packet, share instruction to default clothes then according to the track received Device of being engaged in sends the track sharing information for including the movement locus with red packet, in order to which predetermined server is by the motion with red packet Track is sent to second terminal.The movement locus of red packet is carried by sharing, adds the interest that movement locus is shared, and then Add the attraction to user.
Embodiment six
Fig. 6 is a kind of block diagram of mobile terminal provided in an embodiment of the present invention, as shown in fig. 6, the mobile terminal 60 can be with Including:
Second receiving module 601, for receiving the movement locus with red packet of predetermined server transmission;
Determining module 602, for when receiving track selection instruction, the movement locus with red packet to be defined as Predetermined paths;
3rd sending module 603, if during for being moved in user with the predetermined paths, detecting current When position coordinates is identical with the red packet insertion position coordinate in the movement locus with red packet, sent out to the predetermined server Request is got in a gift of money at Chinese New Year;
Wherein, the red packet, which gets request, includes the mark of the second terminal, the actual motion track of user and institute State current position coordinates.
Mobile terminal provided in an embodiment of the present invention can realize that second terminal is realized each in Fig. 2 embodiment of the method Process, to avoid repeating, repeat no more here.Second terminal can receive the motion with red packet sent by predetermined server Track, when then basis receives the track selection instruction sent by user, the movement locus with red packet is defined as presetting Route, the second last terminal can detect current position coordinates with carrying during user is moved with predetermined paths When red packet insertion position coordinate in the movement locus of red packet is identical, sends red packet to predetermined server and get request, to get The red packet.In the embodiment of the present invention, second terminal can be in the motion using the movement locus with red packet as predetermined paths During get red packet, add the interest that movement locus is shared, add the attraction to user.
Embodiment seven
Fig. 7-1 is a kind of block diagram for predetermined server that the embodiment of the present invention seven provides, as shown in Fig. 7-1, the default clothes Business device 70 can include:
3rd receiving module 701, red packet number and red packet insertion position coordinate for receiving first terminal transmission are set;
Setup module 702, for being that red packet insertion position coordinate sets red packet according to the red packet number;
4th receiving module 703, the track sharing information sent for receiving the first terminal;Share letter in the track Breath includes movement locus and auxiliary information with red packet;
4th sending module 704, for being sent the movement locus with red packet to according to the auxiliary information Two terminals;
5th receiving module 705, request is got for receiving the red packet that the second terminal is sent;
Module 706 is provided, red packet is provided for the second terminal for getting request according to the red packet.
Optionally, Fig. 7-2 is a kind of block diagram for setup module that the embodiment of the present invention seven provides, and as shown in Fig. 7-2, is set Module 702, including:
Submodule 7021 is shifted, for according to the red packet number that the article of respective amount is corresponding from the first terminal Account in be transferred in account corresponding to the predetermined server;
Sub-module stored 7022, for storing the corresponding pass between the red packet number and red packet insertion position coordinate System.
Optionally, above-mentioned 4th sending module 704, is used for:
The movement locus with red packet is sent to second terminal corresponding with the target recipient identification.
Optionally, above-mentioned 4th sending module 704, is used for:
Search at least one default recipient's mark corresponding with described sender mark;
The movement locus with red packet is sent to second terminal corresponding to default recipient's mark.
Optionally, above-mentioned granting module 706, is used for:
The mark of the second terminal is matched with least one target recipient identification;
Or, the mark of the second terminal is matched with least one default recipient's mark;
If the match is successful, it is determined that red packet number corresponding with the current position coordinates;
Calculate the similarity of user's actual motion track and the movement locus with red packet;
According to red packet number corresponding to the similarity and the current position coordinates, calculate and provide number;
Institute is transferred in the account according to corresponding to the granting number by the article of respective amount from the predetermined server State in account corresponding to second terminal.
In summary, predetermined server provided in an embodiment of the present invention, which can be realized in Fig. 3 embodiment of the method, presets clothes Each process that business device is realized, to avoid repeating, is repeated no more here.Predetermined server can receive what is sent by first terminal Red packet number and red packet insertion position coordinate, and red packet, further, predetermined server are set for the red packet insertion position coordinate The movement locus with red packet of first terminal transmission can also be received, second terminal is then shared with, second can also be received The red packet that terminal is sent gets request, and red packet is provided for second terminal, by sending the motion rail with red packet to second terminal Mark, the interest that movement locus is shared is improved, add attraction of the movement locus to user, and then attract more users Participate in motion.First terminal provided in an embodiment of the present invention can realize that first terminal is realized each in Fig. 1 embodiment of the method Individual process, to avoid repeating, repeat no more here.
Fig. 8 is a kind of hardware architecture diagram for the first terminal for realizing the embodiment of the present invention,
The first terminal 800 includes but is not limited to:It is radio frequency unit 801, mixed-media network modules mixed-media 802, audio output unit 803, defeated Enter unit 804, sensor 805, display unit 806, user input unit 807, interface unit 808, memory 809, processor The part such as 810 and power supply 811.It will be understood by those skilled in the art that the first terminal structure shown in Fig. 8 is not formed Restriction to first terminal, first terminal can be included than illustrating more or less parts, either combine some parts or Different part arrangements.In embodiments of the present invention, first terminal include but is not limited to mobile phone, tablet personal computer, notebook computer, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 810, for obtaining red packet number and red packet insertion position coordinate;
Processor 810, for the red packet number and red packet insertion position coordinate to be sent into predetermined server, with It is easy to the predetermined server that red packet is set for red packet insertion position coordinate according to the red packet number;
Processor 810, for according to red packet insertion position coordinate, movement locus of the generation with red packet;
Radio frequency unit 801, share instruction for receiving locus;
Processor 810, track sharing information is sent to the predetermined server for sharing instruction according to the track;
Wherein, the track sharing information includes the movement locus and auxiliary information for carrying red packet, in order to described The movement locus with red packet is sent to second terminal by predetermined server according to the auxiliary information.
In summary, the red packet number got and red packet insertion position can be sent to preset service by first terminal Device, in order to which predetermined server is red packet insertion position coordinate, then first terminal can generate the movement locus with red packet, Share instruction then according to the track received includes track sharing information to predetermined server transmission, wherein, the track is shared Information includes the movement locus with red packet, in order to which the movement locus with red packet is sent to second eventually by predetermined server End.The movement locus of red packet is carried by sharing, adds the interest that movement locus is shared, and then add the suction to user Gravitation.
It should be understood that in the embodiment of the present invention, radio frequency unit 801 can be used for receiving and sending messages or communication process in, signal Reception and transmission, specifically, by from base station downlink data receive after, handled to processor 810;In addition, will be up Data are sent to base station.Generally, radio frequency unit 801 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 801 can also by wireless communication system and network and other set Standby communication.
First terminal has provided the user wireless broadband internet by mixed-media network modules mixed-media 802 and accessed, and such as helps user to receive Send e-mails, browse webpage and access streaming video etc..
Audio output unit 803 can be receiving by radio frequency unit 801 or mixed-media network modules mixed-media 802 or in memory 809 It is sound that the voice data of storage, which is converted into audio signal and exported,.Moreover, audio output unit 803 can also provide and the The audio output for the specific function correlation that one terminal 800 performs is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 803 includes loudspeaker, buzzer and receiver etc..
Input block 804 is used to receive audio or video signal.Input block 804 can include graphics processor (Graphics Processing Unit, GPU) 8041 and microphone 8042, graphics processor 8041 is in video acquisition mode Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out Reason.Picture frame after processing may be displayed on display unit 806.Picture frame after the processing of graphics processor 8041 can be deposited Storage is transmitted in memory 809 (or other storage mediums) or via radio frequency unit 801 or mixed-media network modules mixed-media 802.Mike Wind 8042 can receive sound, and can be voice data by such acoustic processing.Voice data after processing can be The form output of mobile communication base station can be sent to via radio frequency unit 801 by being converted in the case of telephone calling model.
First terminal 800 also includes at least one sensor 805, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 8061, and proximity transducer can close when first terminal 800 is moved in one's ear Display panel 8061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axles) size of acceleration, size and the direction of gravity are can detect that when static, available for identification first terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Pass Sensor 805 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared ray sensor etc. are spent, will not be repeated here.
Display unit 806 is used for the information for showing the information inputted by user or being supplied to user.Display unit 806 can wrap Display panel 8061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 8061.
User input unit 807 can be used for the numeral or character information for receiving input, and produce the use with first terminal The key signals input that family is set and function control is relevant.Specifically, user input unit 807 include contact panel 8071 and Other input equipments 8072.Contact panel 8071, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses any suitable objects or annex such as finger, stylus on contact panel 8071 or in contact panel 8071 Neighbouring operation).Contact panel 8071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 810, receiving area Manage the order that device 810 is sent and performed.It is furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes contact panel 8071.Except contact panel 8071, user input unit 807 can also include other input equipments 8072.Specifically, other input equipments 8072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, action bars, will not be repeated here.
Further, contact panel 8071 can be covered on display panel 8061, when contact panel 8071 is detected at it On or near touch operation after, send processor 810 to determine the type of touch event, be followed by subsequent processing device 810 according to touch The type for touching event provides corresponding visual output on display panel 8061.Although in fig. 8, contact panel 8071 and display Panel 8061 is the part independent as two to realize the input of first terminal and output function, but in some embodiments In, can be integrated by contact panel 8071 and display panel 8061 and realize input and the output function of first terminal, it is specific this Place does not limit.
Interface unit 808 is the interface that external device (ED) is connected with first terminal 800.For example, external device (ED) can include Line or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, storage card end Mouth, port, audio input/output (I/O) port, video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 808 can be used for receive the input (for example, data message, electric power etc.) from external device (ED) and One or more elements that the input received is transferred in first terminal 800 can be used in the He of first terminal 800 Data are transmitted between external device (ED).
Memory 809 can be used for storage software program and various data.Memory 809 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 809 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 810 is the control centre of first terminal, utilizes each of various interfaces and the whole first terminal of connection Individual part, by running or performing the software program and/or module that are stored in memory 809, and call and be stored in storage Data in device 809, the various functions and processing data of first terminal are performed, so as to carry out integral monitoring to first terminal.Place Reason device 810 may include one or more processing units;Preferably, processor 810 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 810.
First terminal 800 can also include the power supply 811 (such as battery) to all parts power supply, it is preferred that power supply 811 Can be logically contiguous by power-supply management system and processor 810, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
In addition, first terminal 800 includes some unshowned functional modules, will not be repeated here.
Fig. 9 is a kind of hardware architecture diagram for the second terminal for realizing the embodiment of the present invention,
The second terminal 900 includes but is not limited to:It is radio frequency unit 901, mixed-media network modules mixed-media 902, audio output unit 903, defeated Enter unit 904, sensor 905, display unit 906, user input unit 907, interface unit 908, memory 909, processor The part such as 910 and power supply 911.It will be understood by those skilled in the art that the second terminal structure shown in Fig. 9 is not formed Restriction to second terminal, second terminal can be included than illustrating more or less parts, either combine some parts or Different part arrangements.In embodiments of the present invention, second terminal include but is not limited to mobile phone, tablet personal computer, notebook computer, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, radio frequency unit 901, for receiving the movement locus with red packet of predetermined server transmission;
Processor 910, for when receiving track selection instruction, the movement locus with red packet being defined as pre- If route;
Processor 910, for according to the position coordinates for being provided with red packet, movement locus of the generation with red packet;
Processor 910, if during for being moved in user with the predetermined paths, detecting that current location is sat When mark is identical with the red packet insertion position coordinate in the movement locus with red packet, red packet is sent to the predetermined server Get request;
Wherein, the red packet, which gets request, includes the mark of the second terminal, the actual motion track of user and institute State current position coordinates.
In summary, second terminal can receive the movement locus with red packet sent by predetermined server, Ran Hougen During the track selection instruction sent according to receiving by user, the movement locus with red packet is defined as predetermined paths, last the Two terminals can detect current position coordinates and the motion rail with red packet during user is moved with predetermined paths When red packet insertion position coordinate in mark is identical, sends red packet to predetermined server and get request, to get the red packet.This hair In bright embodiment, second terminal can be got red in the motion process using the movement locus with red packet as predetermined paths Bag, adds the interest that movement locus is shared, adds the attraction to user.
It should be understood that in the embodiment of the present invention, radio frequency unit 901 can be used for receiving and sending messages or communication process in, signal Reception and transmission, specifically, by from base station downlink data receive after, handled to processor 910;In addition, will be up Data are sent to base station.Generally, radio frequency unit 901 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 901 can also by wireless communication system and network and other set Standby communication.
Second terminal has provided the user wireless broadband internet by mixed-media network modules mixed-media 902 and accessed, and such as helps user to receive Send e-mails, browse webpage and access streaming video etc..
Audio output unit 903 can be receiving by radio frequency unit 901 or mixed-media network modules mixed-media 902 or in memory 909 It is sound that the voice data of storage, which is converted into audio signal and exported,.Moreover, audio output unit 903 can also provide and the The audio output for the specific function correlation that two terminals 900 perform is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 903 includes loudspeaker, buzzer and receiver etc..
Input block 904 is used to receive audio or video signal.Input block 904 can include graphics processor (Graphics Processing Unit, GPU) 9041 and microphone 9042, graphics processor 9041 is in video acquisition mode Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out Reason.Picture frame after processing may be displayed on display unit 906.Picture frame after the processing of graphics processor 9041 can be deposited Storage is transmitted in memory 909 (or other storage mediums) or via radio frequency unit 901 or mixed-media network modules mixed-media 902.Mike Wind 9042 can receive sound, and can be voice data by such acoustic processing.Voice data after processing can be The form output of mobile communication base station can be sent to via radio frequency unit 901 by being converted in the case of telephone calling model.
Second terminal 900 also includes at least one sensor 905, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 9061, and proximity transducer can close when second terminal 900 is moved in one's ear Display panel 9061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axles) size of acceleration, size and the direction of gravity are can detect that when static, available for identification second terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Pass Sensor 905 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared ray sensor etc. are spent, will not be repeated here.
Display unit 906 is used for the information for showing the information inputted by user or being supplied to user.Display unit 906 can wrap Display panel 9061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 9061.
User input unit 907 can be used for the numeral or character information for receiving input, and produce the use with second terminal The key signals input that family is set and function control is relevant.Specifically, user input unit 907 include contact panel 9071 and Other input equipments 9072.Contact panel 9071, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses any suitable objects or annex such as finger, stylus on contact panel 9071 or in contact panel 9071 Neighbouring operation).Contact panel 9071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 910, receiving area Manage the order that device 910 is sent and performed.It is furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes contact panel 9071.Except contact panel 9071, user input unit 907 can also include other input equipments 9072.Specifically, other input equipments 9072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, action bars, will not be repeated here.
Further, contact panel 9071 can be covered on display panel 9061, when contact panel 9071 is detected at it On or near touch operation after, send processor 910 to determine the type of touch event, be followed by subsequent processing device 910 according to touch The type for touching event provides corresponding visual output on display panel 9061.Although in fig.9, contact panel 9071 and display Panel 9061 is the part independent as two to realize the input of second terminal and output function, but in some embodiments In, can be integrated by contact panel 9071 and display panel 9061 and realize input and the output function of second terminal, it is specific this Place does not limit.
Interface unit 908 is the interface that external device (ED) is connected with second terminal 900.For example, external device (ED) can include Line or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, storage card end Mouth, port, audio input/output (I/O) port, video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 908 can be used for receive the input (for example, data message, electric power etc.) from external device (ED) and One or more elements that the input received is transferred in second terminal 900 can be used in the He of second terminal 900 Data are transmitted between external device (ED).
Memory 909 can be used for storage software program and various data.Memory 909 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 909 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 910 is the control centre of second terminal, utilizes each of various interfaces and the whole second terminal of connection Individual part, by running or performing the software program and/or module that are stored in memory 909, and call and be stored in storage Data in device 909, the various functions and processing data of second terminal are performed, so as to carry out integral monitoring to second terminal.Place Reason device 910 may include one or more processing units;Preferably, processor 910 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 910.
Second terminal 900 can also include the power supply 911 (such as battery) to all parts power supply, it is preferred that power supply 911 Can be logically contiguous by power-supply management system and processor 910, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
In addition, second terminal 900 includes some unshowned functional modules, will not be repeated here.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor, memory, is stored in memory Computer program that is upper and can running on the processor, the computer program realize above-mentioned motion rail when being executed by processor Each process of mark sharing method embodiment, and identical technique effect can be reached, to avoid repeating, repeat no more here.
The embodiment of the present invention also provides a kind of computer-readable recording medium, and meter is stored with computer-readable recording medium Calculation machine program, the computer program realize each process of above-mentioned movement locus sharing method embodiment when being executed by processor, And identical technique effect can be reached, to avoid repeating, repeat no more here.Wherein, described computer-readable recording medium, Such as read-only storage (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, letter Claim RAM), magnetic disc or CD etc..It should be noted that herein, term " comprising ", "comprising" or its any other change Body is intended to including for nonexcludability, so that process, method, article or device including a series of elements are not only wrapped Those key elements, but also the other element including being not expressly set out are included, or is also included for this process, method, article Or the key element that device is intrinsic.In the absence of more restrictions, the key element limited by sentence "including a ...", and It is not precluded within the process including the key element, method, article or device and other identical element is also present.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal (can be mobile phone, computer, service Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot Form, belong within the protection of the present invention.

Claims (22)

  1. A kind of 1. movement locus sharing method, applied to first terminal, it is characterised in that methods described includes:
    Obtain red packet number and red packet insertion position coordinate;
    The red packet number and red packet insertion position coordinate are sent to predetermined server, in order to the predetermined server It is that red packet insertion position coordinate sets red packet according to the red packet number;
    According to red packet insertion position coordinate, movement locus of the generation with red packet;
    Receiving locus shares instruction;
    Instruction is shared according to the track and sends track sharing information to the predetermined server;
    Wherein, the track sharing information includes the movement locus and auxiliary information for carrying red packet, in order to described default The movement locus with red packet is sent to second terminal by server according to the auxiliary information.
  2. 2. according to the method for claim 1, it is characterised in that the acquisition red packet number and red packet insertion position coordinate Step, including:
    If detecting default red packet insert action in the motion process of user, obtain user and perform the default red packet The coordinate of position during insert action, obtain red packet insertion position coordinate;
    Red packet number is determined according to the default red packet insert action;
    Accordingly, it is described according to red packet insertion position coordinate, the step of movement locus of the generation with red packet, including:
    Red packet is set to identify for red packet insertion position coordinate;
    When receiving motion END instruction, by user, position coordinates corresponding to Each point in time connects in motion process, obtains To the movement locus with red packet;Wherein, position coordinates includes the user corresponding to Each point in time in motion process At least one red packet insertion position coordinate.
  3. 3. according to the method for claim 1, it is characterised in that the acquisition red packet number and red packet insertion position coordinate Step, including:
    When receiving motion END instruction, by user, position coordinates corresponding to Each point in time connects in motion process, obtains To movement locus;
    When detecting that user is directed to the clicking operation of the movement locus, position coordinates corresponding to the clicking operation is obtained, Obtain red packet insertion position coordinate;
    Receive number and instruction is set;The number sets instruction to include red packet number;
    Accordingly, it is described according to red packet insertion position coordinate, the step of movement locus of the generation with red packet, including:
    Set red packet to identify for the red packet insertion position coordinate in the movement locus, obtain the movement locus with red packet.
  4. 4. according to the method for claim 1, it is characterised in that the auxiliary information is at least one intended recipient mark Know;
    It is described that the step of instruction is to predetermined server transmission track sharing information is shared according to the track, including:
    Instruction is shared according to the track and shows at least one recipient's mark;
    When detecting the selection operation that user identifies at least one recipient, obtain corresponding to the selection operation Recipient identifies, and obtains at least one target recipient identification;
    Generate track sharing information, the track sharing information includes the movement locus with red packet and described at least one Target recipient identification;
    To the predetermined server track sharing information is sent, in order to the predetermined server by described with red packet Movement locus is sent to second terminal corresponding to the target recipient identification.
  5. 5. according to the method for claim 1, it is characterised in that the auxiliary information identifies for first terminal;
    It is described that the step of instruction is to predetermined server transmission track sharing information is shared according to the track, including:
    Instruction generation track sharing information is shared according to the track, the track sharing information includes the fortune for carrying red packet Dynamic rail mark and first terminal mark;
    The track sharing information is sent to the predetermined server, in order to which the predetermined server determines and described first At least one default recipient mark corresponding to terminal iidentification, and by the movement locus with red packet send to it is described pre- If second terminal corresponding to recipient's mark.
  6. A kind of 6. movement locus sharing method, applied to second terminal, it is characterised in that methods described includes:
    Receive the movement locus with red packet that predetermined server is sent;
    When receiving track selection instruction, the movement locus with red packet is defined as predetermined paths;
    If during user is moved with the predetermined paths, detect current position coordinates with described with red packet When red packet insertion position coordinate in movement locus is identical, sends red packet to the predetermined server and get request;
    Wherein, the red packet get request include the mark of the second terminal, the actual motion track of user and it is described ought Front position coordinate.
  7. A kind of 7. movement locus sharing method, applied to predetermined server, it is characterised in that methods described includes:
    Receive red packet number and red packet insertion position coordinate that first terminal is sent;
    It is that red packet insertion position coordinate sets red packet according to the red packet number;
    Receive the track sharing information that the first terminal is sent;The track sharing information includes the movement locus with red packet And auxiliary information;
    The movement locus with red packet is sent to second terminal according to the auxiliary information;
    Receive the red packet that the second terminal is sent and get request;
    Request is got according to the red packet and provides red packet for the second terminal.
  8. 8. according to the method for claim 7, it is characterised in that described that position is inserted for the red packet according to the red packet number The step of coordinate sets red packet is put, including:
    It is transferred in the account according to corresponding to the red packet number by the article of respective amount from the first terminal described default In account corresponding to server;
    Store the corresponding relation between the red packet number and red packet insertion position coordinate.
  9. 9. according to the method for claim 7, it is characterised in that
    The auxiliary information is at least one target recipient identification;
    Described the step of being sent the movement locus with red packet to second terminal according to the auxiliary information, including:
    The movement locus with red packet is sent to second terminal corresponding with the target recipient identification.
  10. 10. according to the method for claim 7, it is characterised in that
    The auxiliary information identifies for the first terminal;
    Described the step of being sent the movement locus with red packet to second terminal according to the auxiliary information, including:
    Search at least one default recipient's mark corresponding with first terminal mark;
    The movement locus with red packet is sent to second terminal corresponding to default recipient's mark.
  11. 11. according to the method for claim 7, it is characterised in that wherein, the red packet, which gets request, includes described second The mark of terminal, the actual motion track of user and current position coordinates;It is described that request is got as described the according to the red packet Two terminals are provided the step of red packet, including:
    The mark of the second terminal is matched with least one target recipient identification;
    Or, the mark of the second terminal is matched with least one default recipient's mark;
    If the match is successful, it is determined that red packet number corresponding with the current position coordinates;
    Calculate the similarity of user's actual motion track and the movement locus with red packet;
    According to red packet number corresponding to the similarity and the current position coordinates, calculate and provide number;
    Described the is transferred in account according to corresponding to the granting number by the article of respective amount from the predetermined server In account corresponding to two terminals.
  12. 12. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
    Acquisition module, for obtaining red packet number and red packet insertion position coordinate;
    First sending module, preset service is sent to for the red packet number and red packet insertion position coordinate to be set Device, in order to which the predetermined server sets red packet according to the red packet number for red packet insertion position coordinate;
    Generation module, for according to red packet insertion position coordinate, movement locus of the generation with red packet;
    First receiving module, share instruction for receiving locus;
    Second sending module, track sharing information is sent to the predetermined server for sharing instruction according to the track;
    Wherein, the track sharing information includes the movement locus and auxiliary information for carrying red packet, in order to described default The movement locus with red packet is sent to second terminal by server according to the auxiliary information.
  13. 13. mobile terminal according to claim 12, it is characterised in that the acquisition module, be used for:
    If detecting default red packet insert action in the motion process of user, obtain user and perform the default red packet The coordinate of position during insert action, obtain red packet insertion position coordinate;
    Red packet number is determined according to the default red packet insert action;
    Accordingly, the generation module, is used for:
    Red packet is set to identify for red packet insertion position coordinate;
    When receiving motion END instruction, by user, position coordinates corresponding to Each point in time connects in motion process, obtains To the movement locus with red packet;Wherein, position coordinates includes the user corresponding to Each point in time in motion process Red packet insertion position coordinate.
  14. 14. mobile terminal according to claim 12, it is characterised in that the acquisition module, be used for:
    When receiving motion END instruction, by user, position coordinates corresponding to Each point in time connects in motion process, obtains To movement locus;
    When detecting that user is directed to the clicking operation of the movement locus, position coordinates corresponding to the clicking operation is obtained, Obtain red packet insertion position coordinate;
    Receive number and instruction is set;The number sets instruction to include red packet number;
    Accordingly, the generation module, is used for:
    Set red packet to identify for the red packet insertion position coordinate in the movement locus, obtain the movement locus with red packet.
  15. 15. mobile terminal according to claim 12, it is characterised in that second sending module, be used for:
    Instruction is shared according to the track and shows at least one recipient's mark;
    When detecting the selection operation that user identifies at least one recipient, obtain corresponding to the selection operation Recipient identifies, and obtains at least one target recipient identification;
    Generate track sharing information, the track sharing information includes the movement locus with red packet and described at least one Target recipient identification;
    To the predetermined server track sharing information is sent, in order to the predetermined server by described with red packet Movement locus is sent to second terminal corresponding to the target recipient identification.
  16. 16. mobile terminal according to claim 12, it is characterised in that second sending module, including:
    Instruction generation track sharing information is shared according to the track, the track sharing information includes the fortune for carrying red packet Dynamic rail mark and first terminal mark;
    The track sharing information is sent to the predetermined server, in order to which the predetermined server is whole according to described first End mark, the movement locus with red packet is sent at least one default reception corresponding with first terminal mark Second terminal corresponding to side's mark.
  17. 17. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
    Second receiving module, for receiving the movement locus with red packet of predetermined server transmission;
    Determining module, for when receiving track selection instruction, the movement locus with red packet to be defined as into default road Line;
    3rd sending module, if during for being moved in user with the predetermined paths, detecting that current location is sat When mark is identical with the red packet insertion position coordinate in the movement locus with red packet, red packet is sent to the predetermined server Get request;
    Wherein, the red packet get request include the mark of the second terminal, the actual motion track of user and it is described ought Front position coordinate.
  18. 18. a kind of predetermined server, it is characterised in that the predetermined server includes:
    3rd receiving module, red packet number and red packet insertion position coordinate for receiving first terminal transmission are set;
    Setup module, for being that red packet insertion position coordinate sets red packet according to the red packet number;
    4th receiving module, the track sharing information sent for receiving the first terminal;The track sharing information includes Movement locus and auxiliary information with red packet;
    4th sending module, for being sent the movement locus with red packet to second terminal according to the auxiliary information;
    5th receiving module, request is got for receiving the red packet that the second terminal is sent;
    Module is provided, red packet is provided for the second terminal for getting request according to the red packet.
  19. 19. predetermined server according to claim 18, it is characterised in that the setup module, including:
    Shift submodule, for according to the red packet number by the article of respective amount from the first terminal corresponding in account It is transferred in account corresponding to the predetermined server;
    Sub-module stored, for storing the corresponding relation between the red packet number and red packet insertion position coordinate.
  20. 20. predetermined server according to claim 18, it is characterised in that the 4th sending module, be used for:
    The movement locus with red packet is sent to second terminal corresponding with the target recipient identification.
  21. 21. predetermined server according to claim 18, it is characterised in that the 4th sending module, be used for:
    Search at least one default recipient's mark corresponding with first terminal mark;
    The movement locus with red packet is sent to second terminal corresponding to default recipient's mark.
  22. 22. predetermined server according to claim 18, it is characterised in that the granting module, be used for:
    The mark of the second terminal is matched with least one target recipient identification;
    Or, the mark of the second terminal is matched with least one default recipient's mark;
    If the match is successful, it is determined that red packet number corresponding with the current position coordinates;
    Calculate the similarity of user's actual motion track and the movement locus with red packet;
    According to red packet number corresponding to the similarity and the current position coordinates, calculate and provide number;
    Described the is transferred in account according to corresponding to the granting number by the article of respective amount from the predetermined server In account corresponding to two terminals.
CN201710991837.0A 2017-10-18 2017-10-18 Movement locus sharing method and mobile terminal Pending CN107566259A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710991837.0A CN107566259A (en) 2017-10-18 2017-10-18 Movement locus sharing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710991837.0A CN107566259A (en) 2017-10-18 2017-10-18 Movement locus sharing method and mobile terminal

Publications (1)

Publication Number Publication Date
CN107566259A true CN107566259A (en) 2018-01-09

Family

ID=60985947

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710991837.0A Pending CN107566259A (en) 2017-10-18 2017-10-18 Movement locus sharing method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107566259A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108182574A (en) * 2018-01-17 2018-06-19 维沃移动通信有限公司 A kind of resource transfers method and relevant device
CN108256835A (en) * 2018-01-10 2018-07-06 百度在线网络技术(北京)有限公司 Implementation method, device and the server of electronics red packet
CN108320148A (en) * 2018-01-17 2018-07-24 维沃移动通信有限公司 A kind of resource transfers method and relevant device
CN108846658A (en) * 2018-06-07 2018-11-20 广东小天才科技有限公司 A kind of method, apparatus that collecting electronics red packet and smartwatch
CN109246225A (en) * 2018-09-25 2019-01-18 上海掌门科技有限公司 Method is provided and got to a kind of resource allocation

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106056369A (en) * 2016-06-02 2016-10-26 财付通支付科技有限公司 Information processing method and device
CN106961460A (en) * 2016-01-08 2017-07-18 深圳市星电商科技有限公司 Resource sharing method, the method for server share resource and correspondence client and server
CN106959984A (en) * 2016-01-08 2017-07-18 深圳市星电商科技有限公司 Resource interaction method, system and resource acquisition device
CN106982158A (en) * 2016-01-18 2017-07-25 腾讯科技(深圳)有限公司 The sharing method and device of movement locus
US20170254650A1 (en) * 2015-09-02 2017-09-07 Junhua Xue Interactive dynamic cloud navigation system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170254650A1 (en) * 2015-09-02 2017-09-07 Junhua Xue Interactive dynamic cloud navigation system
CN106961460A (en) * 2016-01-08 2017-07-18 深圳市星电商科技有限公司 Resource sharing method, the method for server share resource and correspondence client and server
CN106959984A (en) * 2016-01-08 2017-07-18 深圳市星电商科技有限公司 Resource interaction method, system and resource acquisition device
CN106982158A (en) * 2016-01-18 2017-07-25 腾讯科技(深圳)有限公司 The sharing method and device of movement locus
CN106056369A (en) * 2016-06-02 2016-10-26 财付通支付科技有限公司 Information processing method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108256835A (en) * 2018-01-10 2018-07-06 百度在线网络技术(北京)有限公司 Implementation method, device and the server of electronics red packet
CN108182574A (en) * 2018-01-17 2018-06-19 维沃移动通信有限公司 A kind of resource transfers method and relevant device
CN108320148A (en) * 2018-01-17 2018-07-24 维沃移动通信有限公司 A kind of resource transfers method and relevant device
CN108846658A (en) * 2018-06-07 2018-11-20 广东小天才科技有限公司 A kind of method, apparatus that collecting electronics red packet and smartwatch
CN109246225A (en) * 2018-09-25 2019-01-18 上海掌门科技有限公司 Method is provided and got to a kind of resource allocation

Similar Documents

Publication Publication Date Title
CN107566259A (en) Movement locus sharing method and mobile terminal
CN108347704A (en) Information recommendation method and mobile terminal
CN107846352A (en) A kind of method for information display, mobile terminal
CN110472145A (en) A kind of content recommendation method and electronic equipment
CN108234289A (en) A kind of message display method, device and mobile terminal
CN108159688A (en) Interface sharing method, mobile terminal and computer readable storage medium
CN108156228A (en) A kind of ad data method for pushing and device
CN108551534A (en) The method and device of multiple terminals voice communication
CN107886301A (en) The based reminding method and device of a kind of transport information
CN108256853A (en) A kind of method of payment and mobile terminal
CN110519699A (en) A kind of air navigation aid and electronic equipment
CN107888392A (en) A kind of information processing method, server and mobile terminal
CN109993821A (en) A kind of expression playback method and mobile terminal
CN108055388A (en) A kind of methods of exhibiting, device and the mobile terminal of virtual red packet
CN108195392A (en) A kind of more people's layout of roads methods and terminal
CN107864408A (en) Information displaying method, apparatus and system
CN108519089A (en) A kind of more people's route planning methods and terminal
CN108712321A (en) A kind of reminding method and mobile terminal of message
CN108958579A (en) A kind of red packet sends, collection methods and red packet are sent, collection apparatus
CN109618055A (en) A kind of position sharing method and mobile terminal
CN108037885A (en) A kind of operation indicating method and mobile terminal
CN108494946A (en) The bearing calibration of electronic compass and device in mobile terminal
CN108429856A (en) A kind of location information acquisition methods and mobile terminal
CN107835495A (en) A kind of message prompt method, device and mobile terminal
CN108108338A (en) A kind of method for processing lyric, lyric display method, server and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180109