Summary of the invention
Method, terminal and the system of main purpose of the present invention for a kind of position information share is provided realizes in time sharing with time-delay of positional information, improves user experience.
The present invention proposes a kind of method of position information share, comprising:
At least one first terminal sends the positional information of local terminal at least one second terminal; Described positional information comprises first current location information of terminal and/or the trace information that is formed by its historical position;
Described second terminal loads map and mark and the described positional information of demonstration on described map according to described positional information.
Preferably, carrying out before the positional information of described at least one first terminal with local terminal be sent at least one second terminal, also comprising:
When first terminal detects gravity and changes, judge whether Gravity changer meets default rule;
When described Gravity changer meets defaultly when regular, send the instruction that sends positional information.
Preferably, described second terminal loads map and mark and the described positional information of demonstration and comprises on described map according to described positional information:
Resolve positional information, obtain the longitude and latitude of positional information;
Load map and locate described longitude and latitude;
According to described location, add mark and demonstration.
The present invention also proposes a kind of terminal that sends positional information, comprising:
Acquisition module is used for obtaining positional information by GPS; Described positional information comprises current location information and/or the trace information that is formed by its historical position;
Sending module is used for described positional information is sent at least one second terminal by wired or wireless mode.
Preferably, also comprise:
Detection module when being used to detect gravity and changing, judges whether Gravity changer meets default rule;
Send instruction module, be used for meeting defaultly when regular, send the instruction that sends positional information when described Gravity changer.
The present invention also proposes a kind of terminal of sharing positional information, comprising:
Receiver module is used to receive the positional information that at least one first terminal sends; Described positional information comprises first current location information of terminal and/or the trace information that is formed by historical position;
Labeling module is used for according to described positional information, loads map and marks and show that described positional information is on described map.
Preferably, described labeling module comprises:
Resolution unit is used to resolve positional information, obtains the longitude and latitude of positional information;
Positioning unit is used for the described longitude and latitude in location on the map that loads;
Indexing unit is used for according to described location, adds mark and demonstration.
The present invention also proposes a kind of system of sharing positional information, comprises at least one first terminal and at least one second terminal, wherein,
First terminal sends positional information to the second terminal of local terminal; Described positional information comprises first current location information of terminal and/or the trace information that is formed by historical position;
Described second terminal loads map and mark and the described positional information of demonstration on described map according to described positional information.
Preferably, described first terminal comprises:
Acquisition module is used for obtaining positional information by GPS;
Sending module is used to receive user instruction, and described positional information is sent to described second terminal by wired or wireless mode.
Preferably, also comprise:
Detection module when being used to detect gravity and changing, judges whether Gravity changer meets default rule;
Send the transmission instruction module, be used for meeting defaultly when regular, send the instruction that sends positional information when described Gravity changer.
Described second terminal comprises:
Receiver module is used to receive the positional information that described first terminal sends;
Labeling module is used for according to described positional information, loads map and mark and the described positional information of demonstration on described map.
Preferably, described labeling module comprises:
Resolution unit is used to resolve positional information, obtains the longitude and latitude of positional information;
Positioning unit is used for the described longitude and latitude in location on the map that loads;
Indexing unit is used for according to described location, adds mark and demonstration.
Method, terminal and the system of a kind of position information share that the present invention proposes, the user sends at least one opposite end with the positional information of local terminal, load map and this positional information of mark by the opposite end, realize in time sharing of positional information, improved user experience with time-delay.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
With reference to Fig. 1, the method for the position information share of one embodiment of the invention comprises:
Step S11: at least one first terminal sends the positional information of local terminal at least one second terminal; Described positional information comprises first current location information of terminal and/or the trace information that is formed by historical position;
In the present embodiment, can comprise one or more first terminal, also can comprise one or more second terminal.Longitude and latitude, height and the check code etc. that current position information comprises first terminal are obtained in GPS locating module or mobile LBS service that first terminal is installed by local terminal.First terminal is sent to one or more second terminal with above-mentioned positional information with the form that multimedia message, text message etc. is suitable for second terminal, can connect by wireless transmission methods such as wired mode or WIFI, bluetooth, cellular based communications between first terminal and second terminal.
Step S12: described second terminal loads map and mark and the described positional information of demonstration on described map according to described positional information.
After second terminal is obtained first location information of terminals, load map, when comprising authorization information such as check code when first location information of terminals, second terminal need be imported corresponding identifying code, by obtaining first location information of terminals after being proved to be successful.First location information of terminals that second terminal will get access to marks on telling map.Second terminal can show on local terminal or external display unit and mark first location information of terminals, when the display screen of local terminal is smaller, then only shows the certain limit of the positional information that gets access to; Second terminal also shows second location information of terminals that gets access to except mark, also the positional information of local terminal also can be marked on the map that loads and shows, and mark path between this end positions information simultaneously, be presented in a certain way on the map or and show with written form.
Present embodiment is applicable to following application scenarios:
(1) first terminal and second terminal be by sharing positional information, can learn the other side position mutually and arrive the other side's path, conveniently finds the other side.
(2) in group activity, first terminal has when a plurality of, and second terminal can be obtained a plurality of first location information of terminals simultaneously, can understand the near-far situation of each companion from oneself in real time.
When (3) terminal 10 screens were smaller, when the screen of second terminal was bigger, the positional information of the screen display terminal 10 by second terminal improved the definition of positional information.
(4) application scenarios shared of time-delay: the position information such as travel information that the user of terminal 10 can live through oneself are thrown to or share terminal or server, the user that other needs, can be by certain mode such as network or mobile phone etc., above-mentioned download of information is arrived terminal equipments such as mobile phone or set-top box, and show the overall process of certain tourist attractions of sharing with the user who checks terminal 10.Aforesaid way has not only saved the trouble that the people of issue tourism attack strategy writes attack strategy, just need be in tourism way one the tunnel on map, carry out mark, then certain position is arrived in the information sharing of mark, and saved the user's download that needs this tourism attack strategy, the trouble of duplicating, pasting these information, just these information " need be drawn " application end.The tourism attack strategy of this mode is not only a literal in addition, also image can be arranged, the route map at sight spot, a kind of brand-new mode that provides and obtain the tourism attack strategy.
The adaptable scene of present embodiment is not limited only to above-mentioned four examples, first terminal also can with the out of Memory of the second terminals share local terminal position as nice little shop etc.
First terminal of present embodiment and second terminal can be portable terminals such as mobile phone, PDA, also can be equipment such as set-top box, digital television, all-in-one, computer, pad.
The method of a kind of position information share that the present invention proposes, the user sends at least one opposite end with the positional information of local terminal, loads map and this positional information of mark by the opposite end, realizes sharing of positional information, has improved user experience.
With reference to Fig. 2, in one embodiment, step S11 can comprise:
Step S111: obtain current position information by GPS;
Step S112: send and send instruction, described positional information is sent to second terminal by wired or wireless mode.
First terminal is obtained current position information by GPS, can be by wired or wireless mode directive sending to one or more second terminal, also can send to one or more not specific second terminal with the mode of broadcasting, when using broadcast mode, first terminal should be in positional information the additional identification sign indicating number, avoid positional information to reveal to other unnecessary terminal.
Further comprise before the step S11 among the embodiment among Fig. 1, as shown in Figure 3:
Step S9: when first terminal detects gravity and changes, judge whether Gravity changer meets default rule;
When being provided with gravity sensor in first terminal, gravity sensor is caught the action of " getting rid of " in real time, and described " getting rid of " is the default a kind of operation of first terminal, when the Gravity changer of first terminal meets defaultly when regular, thinks the action that " getting rid of " taken place.Gravity sensor can detect by the following method:
1) with the continuous at interval current direction vector of inquiring about gravity sensor of certain hour;
2) establish the direction vector that adjacent twice inquiry obtain and be respectively a (x
1, y
1, z
1), b (x
2, y
2, z
2),
Then calculate angle between two vectors
When above-mentioned angle theta reaches certain value, think the action that " getting rid of " taken place.
Gravity sensor also can detect gravity by other method, is not limited only to said method.
Step S10:, send the instruction that sends positional information when described Gravity changer meets defaultly when regular.
First terminal will " be got rid of " action as triggering the instruction that first terminal sends positional information, and during the scene of walking for first terminal, the Gravity changer when having utilized walking has been exempted user's manual operation, has greatly made things convenient for the user.
With reference to Fig. 4, the step S12 among Fig. 1 further comprises:
Step S121: resolve positional information, obtain the longitude and latitude of positional information;
Step S122: the described longitude and latitude in location on the map that loads;
Step S123:, add sign and demonstration according to described location.
With reference to Fig. 5, a kind of terminal 10 that sends positional information of the present invention is proposed, comprising:
Acquisition module 11 is used for obtaining positional information by GPS; Described positional information comprises current location information and/or the trace information that is formed by historical position;
Sending module 12 is used for described positional information is sent at least one second terminal by wired or wireless mode.
Acquisition module 11 obtains current position information by GPS locating module or mobile LBS service that terminal 10 is installed, and this positional information can comprise longitude and latitude, height and the check code etc. of terminal 10.Sending module 12 is sent to one or more second terminal with above-mentioned positional information with the form that multimedia message, text message etc. is suitable for second terminal, and the sending module 12 and second terminal can connect by wired mode or wireless transmission methods such as WIFI, bluetooth.
After second terminal is obtained the positional information of first terminal 10, load map by certain way, and with the positional information mark of first terminal 10 be shown on the map.
Present embodiment is applicable to following application scenarios:
(1) terminal 10 and second terminal be by sharing positional information, can learn the other side position mutually and arrive the other side's path, conveniently finds the other side.
(2) in group activity, terminal 10 has when a plurality of, and second terminal can be obtained the positional information of a plurality of terminals 10 simultaneously, can understand the near-far situation of each companion from oneself in real time.
When (3) terminal 10 screens were smaller, when the screen of second terminal was bigger, the positional information of the screen display terminal 10 by second terminal improved the definition of positional information.
(4) application scenarios shared of time-delay: the position information such as travel information that the user of terminal 10 can live through oneself are thrown to or share terminal or server, the user that other needs, can be by certain mode such as network or mobile phone etc., above-mentioned download of information is arrived terminal equipments such as mobile phone or set-top box, and show the overall process of certain tourist attractions of sharing with the user who checks terminal 10.Aforesaid way has not only saved the trouble that the people of issue tourism attack strategy writes attack strategy, just need be in tourism way one the tunnel on map, carry out mark, then certain position is arrived in the information sharing of mark, and saved the user's download that needs this tourism attack strategy, the trouble of duplicating, pasting these information, just these information " need be drawn " application end.The tourism attack strategy of this mode is not only a literal in addition, also image can be arranged, the route map at sight spot, a kind of brand-new mode that provides and obtain the tourism attack strategy.
The adaptable scene of present embodiment is not limited only to above-mentioned four examples, terminal 10 also can with the out of Memory of the second terminals share local terminal position as nice little shop etc.
The terminal 10 of present embodiment and second terminal can be portable terminals such as mobile phone, PDA, also can be equipment such as set-top box, digital television, all-in-one, computer, pad.
A kind of terminal 10 that sends positional information that the present invention proposes sends at least one second terminal with the positional information of local terminal, by the second terminal loads map and this positional information of mark, realizes sharing of positional information, has improved user experience.
With reference to Fig. 6, in one embodiment, also comprise:
Detection module 13 when being used to detect gravity and changing, judges whether Gravity changer meets default rule;
Send instruction module 14, be used for meeting defaultly when regular, send the instruction that sends positional information when described Gravity changer.
Detection module 13 can be the built-in gravity sensor of terminal 10.Detection module 13 is caught the action of " getting rid of " in real time, and described " getting rid of " is the default a kind of operation of terminal 10, when the Gravity changer of terminal 10 meets defaultly when regular, thinks the action that " getting rid of " taken place.Detection module 13 can detect by the following method:
1) with the continuous at interval current direction vector of inquiring about gravity sensor of certain hour.
2) establish the direction vector that adjacent twice inquiry obtain and be respectively a (x
1, y
1, z
1), b (x
2, y
2, z
2),
Then calculate angle between two vectors
When above-mentioned angle theta reaches certain value, think the action that " getting rid of " taken place.
Detection module 13 also can detect gravity by other method, is not limited only to said method.
Send instruction module 14 and will " get rid of " action and send the instruction of positional informations, during the scene that moving for terminal 10, utilized the Gravity changer when mobile, exempted user's manual operation, greatly made things convenient for the user as triggering terminal 10.
With reference to Fig. 7, a kind of terminal 20 of sharing positional information of the present invention is proposed, comprising:
Receiver module 21 is used to receive the positional information that at least one first terminal sends; Described positional information comprises first current location information of terminal and/or the track that is formed by historical position information;
Labeling module 22 is used for according to described positional information, loads map and marks and show that described positional information is on described map.
Current position information is obtained in GPS locating module or mobile LBS service that first terminal is installed by local terminal, and this positional information can comprise longitude and latitude, height and the check code etc. of first terminal.The form that first terminal is suitable for terminal 20 with above-mentioned positional information with multimedia message, text message etc. is sent between receiver module 21, the first terminals of terminal 20 and the receiving element 21 and can connects by wireless transmission methods such as wired mode or WIFI, bluetooth, cellular based communications.
After receiving element 21 obtains first location information of terminals, load map, when comprising authorization information such as check code when first location information of terminals, terminal 20 needs the corresponding identifying code of input, by obtaining first location information of terminals after being proved to be successful.Labeling module 22 marks first location information of terminals on described map.Labeling module 22 can be on local terminal or external display unit mark and show first location information of terminals, when the display screen of local terminal is smaller, then only show the certain limit of the positional information that gets access to; Second terminal also shows second location information of terminals that gets access to except mark, also the positional information of local terminal also can be marked on the map that loads and shows, and mark path between this end positions information simultaneously, be presented in a certain way on the map or and show with written form.
Present embodiment is applicable to following application scenarios:
(1) first terminal and terminal 20 be by sharing positional information, can learn the other side position mutually and arrive the other side's path, conveniently finds the other side.
(2) in group activity, first terminal has when a plurality of, and terminal 20 can be obtained a plurality of first location information of terminals simultaneously, can understand the near-far situation of each companion from oneself in real time.
When (3) first terminal screens are smaller, when the screen of terminal 20 is bigger,, improve the definition of positional information by screen display first location information of terminals of terminal 20.
(4) application scenarios shared of time-delay: the position information such as travel information that the user of terminal 20 can live through oneself are thrown to or share terminal or server, the user that other needs, can be by certain mode such as network or mobile phone etc., above-mentioned download of information is arrived terminal equipments such as mobile phone or set-top box, and show the overall process of certain tourist attractions of sharing with the user who checks terminal 10.Aforesaid way has not only saved the trouble that the people of issue tourism attack strategy writes attack strategy, just need be in tourism way one the tunnel on map, carry out mark, then certain position is arrived in the information sharing of mark, and saved the user's download that needs this tourism attack strategy, the trouble of duplicating, pasting these information, just these information " need be drawn " application end.The tourism attack strategy of this mode is not only a literal in addition, also image can be arranged, the route map at sight spot, a kind of brand-new mode that provides and obtain the tourism attack strategy.
The adaptable scene of present embodiment is not limited only to above-mentioned four examples, and the out of Memory that first terminal also can be shared the local terminal position with terminal 20 is as nice little shop etc.
First terminal of present embodiment and terminal 20 can be portable terminals such as mobile phone, PDA, also can be equipment such as set-top box, digital television, all-in-one, computer, pad.
A kind of terminal 20 of sharing positional information that the present invention proposes receives at least one first location information of terminals, loads map and mark and display position information, realizes sharing of positional information, has improved user experience.
With reference to Fig. 8, in one embodiment, the labeling module 22 among Fig. 7 comprises:
Resolution unit 221 is used to resolve positional information, obtains the longitude and latitude of positional information;
Positioning unit 222 is used for the described longitude and latitude in location on the map that loads;
Indexing unit 223 is used for according to described location, adds mark and demonstration.
With reference to Fig. 9, one embodiment of system that the present invention shares positional information is proposed, comprise at least one first terminal 100 and at least one second terminal 200, wherein,
First terminal 100 sends positional information to the second terminal 200 of local terminal; Described positional information comprises first current location information of terminal and/or the trace information that is formed by historical position;
Described second terminal 200 loads map and mark and the described positional information of demonstration on described map according to described positional information.
The operation principle of above-mentioned first terminal 100 is consistent with terminal 10 shown in Figure 5 with structure, and the described terminal of the operation principle of above-mentioned second terminal 200 and structure and Fig. 7 20 is consistent, repeats no more herein.
The system of a kind of position information share that the present invention proposes, the user of first terminal 100 sends at least one second terminal 200 with the positional information of local terminal, load map and mark and this positional information of demonstration by second terminal 200, realize sharing of positional information, improved user experience.
The above only is the preferred embodiments of the present invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes specification of the present invention and accompanying drawing content to be done; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.